Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle] Deprecate the "--env" and "--no-debug" console options#28653
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
48a49e1 to2f92fddCompare2f92fdd to399b5acCompare
fabpot left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
You should add a note in the UPGRADE/CHANGELOG files
399b5ac to01c4720Comparechalasr commentedOct 1, 2018
@fabpot done, thanks for the reminder. |
Uh oh!
There was an error while loading.Please reload this page.
161ea03 to654aa3fCompare654aa3f to7f42065CompareUPGRADE-5.0.md Outdated
| * Added support for the SameSite attribute for session cookies. It is highly recommended to set this setting (`framework.session.cookie_samesite`) to `lax` for increased security against CSRF attacks. | ||
| * The `ContainerAwareCommand` class has been removed, use `Symfony\Component\Console\Command\Command` | ||
| with dependency injection instead. | ||
| * The `--env` console option and its "-e" shortcut have been deprecated, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
In 5.0 this option would removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
good catch, fixed
7f42065 to9f60ff8Comparefabpot commentedOct 3, 2018
Thank you@chalasr. |
…g" console options (chalasr)This PR was merged into the 4.2-dev branch.Discussion----------[FrameworkBundle] Deprecate the "--env" and "--no-debug" console options| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | yes| BC breaks? | n/a| Deprecations? | yes| Tests pass? | yes| Fixed tickets | n/a| License | MIT| Doc PR | n/aCommits-------9f60ff8 [FrameworkBundle] Deprecate the "--env" and "--no-debug" options
weaverryan commentedOct 7, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Can you open a docs issue / pr? |
chalasr commentedOct 7, 2018
@weaverryan sorry, forgot about it. Just openedsymfony/symfony-docs#10444 |
gnugat commentedOct 8, 2018
Hi, I can't seem to be able to find any explanations on this decision, is there a link to a discussion about it somewhere I could be pointed to? Also Thanks for you answers, and keep up the good work. |
ogizanagi commentedOct 8, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@gnugat : This was discussed a bit a long time ago.Here is a comment from Fabien mentioning this. |
gnugat commentedOct 8, 2018
@ogizanagi thanks for the link, that's exactly what I was looking for (the description in this PR was empty). Also thanks for the explanation on the BC break policy 👍 |
chalasr commentedOct 8, 2018
@gnugat link added to the PR body, sorry about that |
c33s commentedOct 24, 2018
this is really a bad decision, it makes the use on windows much more complicated. this is really a very bad DX. vs vs also the handy autocomplete possibility with clink on windows and bash-completion on linux is gone with this change. environment variables are cool but not the holy grail for everything. there is a reason for having flags on commands. imagine you have to call all commands like this: please revert this. |
nicolas-grekas commentedOct 24, 2018
@c33s can you please open a separate issue? Commenting on anything closed is likely going to get low traction. |
nicolas-grekas commentedNov 13, 2018
Reverted in#29204 |
…-env and --no-debug console options (chalasr)This PR was merged into the 4.2-dev branch.Discussion----------[FrameworkBundle][WebServerBundle] Revert deprecation of --env and --no-debug console optionsThis reverts commit9f60ff8.This reverts commit31b5615.| Q | A| ------------- | ---| Branch? | 4.2| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#28984| License | MIT| Doc PR | -Working on recipes with@weaverryan, we figured out that this deprecation is just making our life more difficult. Let's revert it.Same as#29126, reverts#28745 and#28653Commits-------443f8ad [FrameworkBundle][WebServerBundle] Revert deprecation of --env and --no-debug console options
Uh oh!
There was an error while loading.Please reload this page.
See#23343 (comment)