Skip to content

Commit

Permalink
DOC Add notice regarding session renewal API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheddam committed Sep 19, 2024
1 parent e87ed52 commit 37e65b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions en/08_Changelogs/6.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ title: 6.0.0 (unreleased)
- [Other changes](#other-changes)
- [MySQL 5 no longer supported](#mysql-5-support)
- [`DBDecimal` default value](#dbdecimal-default-value)
- [Remember Me token rotation](#remember-me-token-rotation)
- [Full list of removed and changed API (by module, alphabetically)](#api-removed-and-changed)

## Features and enhancements
Expand Down Expand Up @@ -384,6 +385,12 @@ MySQL 5.6 and 5.7 are no longer supported. The minimum supported version is MySQ

Previously if an invalid default value was provided for a [`DBDecimal`](api:SilverStripe\ORM\FieldType\DBDecimal) database column, it would silently set the defalt value to `0`. This will now throw an exception instead, so that you're aware your configured value is invalid and can correct it.

### Remember Me token rotation {#remember-me-token-rotation}

[`RememberLoginHash`](api:SilverStripe\Security\RememberLoginHash) no longer rotates its token during session renewal, and related config to control this has been removed. This has no functional impact on the Remember Me feature, and resolves some edgecases that could trigger an unexpected logout.

The related `onAfterRenewToken` extension hook has been renamed to `onAfterRenewSession`, and is triggered at the same logical step in the session renewal process.

### Full list of removed and changed API (by module, alphabetically) {#api-removed-and-changed}

<!--- Changes below this line will be automatically regenerated -->
Expand Down

0 comments on commit 37e65b3

Please sign in to comment.