iron-session breaking changes
iron-session 9.1.0 (November 12, 2026) is its newest release with breaking changes. The first: Behavior changed destroy. Every breaking API change we have recorded in iron-session on npm: 15 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 9.1.1, released November 23, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
iron-session 9.1.0 breaking changes
- Behavior changed
destroy
Calling destroy() after the response body was consumed now throws instead of succeeding silently. Code that calls destroy() at that point must be changed to avoid the error. github.com
iron-session 9.0.0 breaking changes
- Removed
Users with iron-session v6 or older cookies must sign in once more. github.com - Removed
createGetIronSession
Import getIronSession directly instead of creating it with createGetIronSession. github.com - Removed
createSealData
Import sealData directly instead of creating it with createSealData. github.com - Removed
createUnsealData
Import unsealData directly instead of creating it with createUnsealData. github.com - Behavior changed
v9 needs Node 22.13+, and Node 20 is end of life. Stay on iron-session@8 if you must run on older Node. github.com - Behavior changed
Store timestamps with Date.now() instead of Date objects, since v9 throws on Date values. github.com - Behavior changed
destroy
A bare save() after destroy() is ignored, and writing fields back and then saving throws. Do not write to a session after destroy(). github.com - Behavior changed
updateConfig
Passing a new password to updateConfig() now applies it and runs the 32-character check, so short or invalid passwords now fail. github.com - Configuration changed
Password ids are now validated as integers up front, and an empty password map fails with an explicit error. github.com - Configuration changed
cookieOptions.expires
A cookieOptions.expires date in the past is now rejected, so use ttl instead. github.com
And 4 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.