Skip to content

Upgrade to Symfony 8.2 - #125

Merged
lyrixx merged 1 commit into
mainfrom
sf-8.2
Dec 1, 2026
Merged

lyrixx merged 1 commit into
mainfrom
sf-8.2

Conversation

@lyrixx

@lyrixx lyrixx commented Dec 1, 2026

Copy link
Copy Markdown
Member

Upgrade to Symfony 8.2, then use its new features to remove code: template routes instead of empty controllers, a void action for the 204, entry_point_path instead of the start() of the authenticators, before/after instead of hardcoded listener priorities, and no more config that 8.2 sets by default.

  • An invalid CSRF token on my_top_move now returns a 403 instead of starting a login (a Symfony 8.2 change).
  • The recipes are updated: the config moves to the new root keys (messenger:, router:…), with the same resolved config (debug:config diff). Not taken: moving the migrations to src/Migrations (their namespace is stored in the production database) and asset_mapper.metadata_dir.
  • config/reference.php and config/schema.json are now ignored: the container rebuilds them in debug.
  • Flex downgraded intl-messageformat in the importmap: the previous versions are restored.

Not tested in a browser yet: the CSRF JS of the recipe and session.isolate_attributes.

@lyrixx
lyrixx marked this pull request as ready for review December 1, 2026 14:34
@lyrixx
lyrixx merged commit ac17993 into main Dec 1, 2026
3 checks passed
@lyrixx
lyrixx deleted the sf-8.2 branch December 1, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant