Skip to content

fix(security): migrate cookie serializer from :marshal to :hybrid#2486

Merged
olleolleolle merged 1 commit intocodebar:masterfrom
mroderick:fix/cookie-serializer-migration
Feb 16, 2026
Merged

fix(security): migrate cookie serializer from :marshal to :hybrid#2486
olleolleolle merged 1 commit intocodebar:masterfrom
mroderick:fix/cookie-serializer-migration

Conversation

@mroderick
Copy link
Collaborator

Part 1 of 2-step migration:

  • :hybrid allows reading existing :marshal cookies
  • New cookies are written as :json
  • After sessions expire, will switch to :json

See: https://nts.strzibny.name/migrating-rails-cookies-to-json/

Part 1 of 2-step migration:
- :hybrid allows reading existing :marshal cookies
- New cookies are written as :json
- After sessions expire, will switch to :json
Copy link
Collaborator

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compatible,excellent.

@olleolleolle olleolleolle merged commit 45365e9 into codebar:master Feb 16, 2026
14 of 15 checks passed
@mroderick
Copy link
Collaborator Author

Deployed to production at the time of this comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments