-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Routing] deprecate some router options #30249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Tobion
commented
Feb 14, 2019
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | yes |
Tests pass? | yes |
Fixed tickets | #28865 (comment) |
License | MIT |
Doc PR | symfony/symfony-docs#... |
50bb1f2
to
9ad7aaf
Compare
9ad7aaf
to
763738c
Compare
For some reason the non-insulted functional tests are failing. |
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
Outdated
Show resolved
Hide resolved
763738c
to
a4e592f
Compare
a4e592f
to
bf4cd61
Compare
we should document this in |
Thank you @Tobion. |
This PR was merged into the 4.3-dev branch. Discussion ---------- [Routing] deprecate some router options | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | yes <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #28865 (comment) | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> <!-- Write a short README entry for your feature/bugfix here (replace this comment block.) This will help people understand your PR and can be used as a start of the Doc PR. Additionally: - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> Commits ------- bf4cd61 [Routing] deprecate some router options
This PR was merged into the 4.3-dev branch. Discussion ---------- add deprecated router options to upgrade files | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #30249 (comment) | License | MIT | Doc PR | Commits ------- c3da27a add deprecated router options to upgrade files
This PR was merged into the 5.0-dev branch. Discussion ---------- [Routing] remove deprecations | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | yes <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | | License | MIT | Doc PR | Ref. #30249, #30286, #24894 Commits ------- 5beb5f8 [Routing] remove deprecations
How prefix UrlGenerator and UrlMatcher in cache directory? |
PS: cache_class_prefix is not used now ? |
Hi! Is there any explanation why these options were being deprecated/removed? I use sf routing standalone in a framework where you have separate application modules (each with its own set of routes) and a prefix that is dynamically changeable (well, at least that's the simplified way to put it). The way I implement this is to have one router instance per application module instantiated with the non-prefixed route collection (and before calling Is there any way around this? (pls don't say "use Dynamic Router from Symfony CMF". For one thing, it's not compatible with 5.0 yet, also I would have to write a ton of integration code, and by looking at the repo, it seems to be in deep maintenance mode, and I don't want to add a dependency that could get abandoned any time now) |
ok, found a workaround in the linked ticket: You have to set a different |
@flack Would you like to send a PR with the upgrade instruction improvements that you have in mind? |
…ions (flack) This PR was merged into the 4.4 branch. Discussion ---------- Improve upgrading instructions for deprecated router options See #30249 (comment) | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | #30249 | License | MIT | Doc PR | Commits ------- 2cc7083 Improve upgrading instructions for deprecated router options