Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8d22819

Browse filesBrowse files
minor #34582 [HttpFoundation] Update CHANGELOG for PdoSessionHandler BC BREAK in 4.4 (tseho)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- [HttpFoundation] Update CHANGELOG for PdoSessionHandler BC BREAK in 4.4 | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Fix #34491 | License | MIT As explained in #34491, there was a BC BREAK between 4.3 and 4.4, when using `PdoSessionHandler` with MySQL, where the column `sess_lifetime` was modified from `MEDIUMINT` to `INTEGER UNSIGNED`. This PR updates `UPGRADE-4.4.md` with a suggested query for updating the database accordingly. Commits ------- eda4d68 [HttpFoundation] Update CHANGELOG for PdoSessionHandler BC BREAK in 4.4
2 parents ed22c85 + eda4d68 commit 8d22819
Copy full SHA for 8d22819

3 files changed

+9Lines changed: 9 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎UPGRADE-4.4.md‎

Copy file name to clipboardExpand all lines: UPGRADE-4.4.md
+3Lines changed: 3 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ HttpFoundation
104104

105105
* `ApacheRequest` is deprecated, use `Request` class instead.
106106
* Passing a third argument to `HeaderBag::get()` is deprecated since Symfony 4.4, use method `all()` instead
107+
* [BC BREAK] `PdoSessionHandler` with MySQL changed the type of the lifetime column,
108+
make sure to run `ALTER TABLE sessions MODIFY sess_lifetime INTEGER UNSIGNED NOT NULL` to
109+
update your database.
107110
* `PdoSessionHandler` now precalculates the expiry timestamp in the lifetime column,
108111
make sure to run `CREATE INDEX EXPIRY ON sessions (sess_lifetime)` to update your database
109112
to speed up garbage collection of expired sessions.
Collapse file

‎UPGRADE-5.0.md‎

Copy file name to clipboardExpand all lines: UPGRADE-5.0.md
+3Lines changed: 3 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@ HttpFoundation
271271
* `ApacheRequest` has been removed, use the `Request` class instead.
272272
* The third argument of the `HeaderBag::get()` method has been removed, use method `all()` instead.
273273
* Getting the container from a non-booted kernel is not possible anymore.
274+
* [BC BREAK] `PdoSessionHandler` with MySQL changed the type of the lifetime column,
275+
make sure to run `ALTER TABLE sessions MODIFY sess_lifetime INTEGER UNSIGNED NOT NULL` to
276+
update your database.
274277

275278
HttpKernel
276279
----------
Collapse file

‎src/Symfony/Component/HttpFoundation/CHANGELOG.md‎

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ CHANGELOG
77
* passing arguments to `Request::isMethodSafe()` is deprecated.
88
* `ApacheRequest` is deprecated, use the `Request` class instead.
99
* passing a third argument to `HeaderBag::get()` is deprecated, use method `all()` instead
10+
* [BC BREAK] `PdoSessionHandler` with MySQL changed the type of the lifetime column,
11+
make sure to run `ALTER TABLE sessions MODIFY sess_lifetime INTEGER UNSIGNED NOT NULL` to
12+
update your database.
1013
* `PdoSessionHandler` now precalculates the expiry timestamp in the lifetime column,
1114
make sure to run `CREATE INDEX EXPIRY ON sessions (sess_lifetime)` to update your database
1215
to speed up garbage collection of expired sessions.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.