Skip to content

[HttpKernel] Revert BC breaking change of Request::isMethodSafe()#20602

Merged
fabpot merged 1 commit into
symfony:2.7from
nicolas-grekas:fix-safe-bc
Nov 24, 2016
Merged

[HttpKernel] Revert BC breaking change of Request::isMethodSafe()#20602
fabpot merged 1 commit into
symfony:2.7from
nicolas-grekas:fix-safe-bc

Conversation

@nicolas-grekas

@nicolas-grekas nicolas-grekas commented Nov 23, 2016

Copy link
Copy Markdown
Member
Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? yes (reverting a previous BC break)
Deprecations? no
Tests pass? yes
Fixed tickets #20562
License MIT
Doc PR -

As spotted in #20562, we should not have broken a minor version. Instead, we should have deprecated the bad behavior. This is done in #20603.

@fabpot

fabpot commented Nov 24, 2016

Copy link
Copy Markdown
Member

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 0c3b7d7 into symfony:2.7 Nov 24, 2016
fabpot added a commit that referenced this pull request Nov 24, 2016
…dSafe() (nicolas-grekas)

This PR was merged into the 2.7 branch.

Discussion
----------

[HttpKernel] Revert BC breaking change of Request::isMethodSafe()

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | yes (reverting a previous BC break)
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #20562
| License       | MIT
| Doc PR        | -

As spotted in #20562, we should not have broken a minor version. Instead, we should have deprecated the bad behavior. This is done in #20603.

Commits
-------

0c3b7d7 [HttpKernel] Revert BC breaking change of Request::isMethodSafe()
fabpot added a commit that referenced this pull request Nov 24, 2016
… in Request::isMethodSafe() (nicolas-grekas)

This PR was merged into the 3.2 branch.

Discussion
----------

[HttpKernel] Deprecate checking for cacheable HTTP methods in Request::isMethodSafe()

| Q             | A
| ------------- | ---
| Branch?       | 3.2
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | no
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Late deprecation for 3.2, see #20602.

Commits
-------

34e7b95 [HttpKernel] Deprecate checking for cacheable HTTP methods in Request::isMethodSafe()
@nicolas-grekas nicolas-grekas deleted the fix-safe-bc branch November 24, 2016 09:34
@fabpot fabpot mentioned this pull request Nov 27, 2016
This was referenced Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants