Symfony 6.4 LTS is supported again
symfony/console moves from ^7.4 || ^8.0 to ^6.4 || ^7.0 || ^8.0, so applications on the
6.4 LTS can install current swagger-php instead of being held back at 6.0.6. Only the CLI uses
the component — the library core, the analysers, the annotations and the processors never
touch it — so the narrow requirement was reaching consumers who never run bin/openapi.
Raised by @garak in #2180 and fixed by @yceruto in #2196, which also rebuilds the command on
configure()/execute() in place of the 7.4-only attribute syntax. GenerateInput keeps
every public property it had and gains fromInput().
Fixes
- fix(HybridBridge): expand class-string enum in hybrid mode by @DerManoMann in #2198
- fix(HybridBridge): expand class-string enum for ServerVariable in hybrid mode by @DerManoMann in #2199
- fix(Augmenter): stop a method's return type from overwriting a nested inline Property's declared type by @DerManoMann in #2200
- fix(Spec): don't let one unloadable class kill the whole scan by @DerManoMann in #2201
- fix(Compiler): don't drop an explicit example: [] as if it were unset by @DerManoMann in #2202
- fix(HybridBridge): unwrap a Header's JsonContent/XmlContent in hybrid mode by @DerManoMann in #2204
- fix(Type): don't dereference an explicit
additionalProperties: falseas a schema by @DerManoMann in #2205 - fix(ServerVariable): cast enum values to string, as the specification requires by @DerManoMann in #2206
- fix(Docs): keep a union intact when rendering a docblock type by @DerManoMann in #2207
Dependencies
Internal
No effect on generated output or public API.
- chore(Types): clear phpstan level 7 outside classic by @DerManoMann in #2203
- refactor(Docs): give type-alias expansion its own class by @DerManoMann in #2208
- refactor(Types): declare the enum element union once by @DerManoMann in #2209
- chore(Docs): build the docs in CI and publish on merge to master by @DerManoMann in #2210
- chore(deps-dev): bump @redocly/cli from 2.37.0 to 2.53.3 in the npm group across 1 directory by @dependabot[bot] in #2211
- chore(CI): move the node workflows to 22 by @DerManoMann in #2212
Full Changelog: 6.9.0...6.10.0