Skip to content

Commit

Permalink
v9.2.1 (#392)
Browse files Browse the repository at this point in the history
Co-authored-by: frontegg <[email protected]>
Co-authored-by: David Antoon <[email protected]>
  • Loading branch information
3 people authored Dec 15, 2024
1 parent 3876350 commit 3ba89f0
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 6 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Change Log

## [9.2.1](https://github.com/frontegg/frontegg-nextjs/compare/v9.2.0...v9.2.1) (2024-11-26)

#### **Enhancements**
1. **Improved Backward Compatibility**:
- The deprecated `getSessionOnEdge` function now triggers a warning instead of throwing an error, ensuring smoother upgrades for users.

2. **Seamless Token Refresh in Middleware**:
- Fixed an issue where refreshed tokens were not forwarded to SSR components after middleware processing. Updated cookies are now correctly synchronized, ensuring consistent session handling across the application.

These changes enhance user experience during upgrades and improve session consistency for applications with short token expiration times.

# Change Log

## [9.2.0](https://github.com/frontegg/frontegg-nextjs/compare/v9.1.1...v9.2.0) (2024-11-25)

- FR-18699 - Removed entitlements automatic 30 seconds refresh mechanism
Expand Down
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"packages": [
"packages/*"
],
"version": "9.2.0",
"version": "9.2.1",
"npmClient": "yarn",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"directory": "dist"
}
}
}
2 changes: 1 addition & 1 deletion packages/example-app-directory/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@frontegg/example-app-directory",
"version": "9.2.0",
"version": "9.2.1",
"private": true,
"scripts": {
"clean": "rm -rf ./node_modules && rm -rf ./.next",
Expand Down
2 changes: 1 addition & 1 deletion packages/example-pages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@frontegg/example-pages",
"version": "9.2.0",
"version": "9.2.1",
"private": true,
"scripts": {
"clean": "rm -rf ./node_modules && rm -rf ./.next",
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@frontegg/nextjs",
"libName": "FronteggNextJs",
"version": "9.2.0",
"version": "9.2.1",
"author": "Frontegg LTD",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/src/sdkVersion.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default { version: '9.2.0' };
export default { version: '9.2.1' };

0 comments on commit 3ba89f0

Please sign in to comment.