Skip to content

Commit

Permalink
Merge pull request #1166 from frontegg/release/next
Browse files Browse the repository at this point in the history
v7.0.0
  • Loading branch information
TomerFrontegg authored Aug 15, 2024
2 parents fb7a3bf + 6230398 commit 6870cac
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 30 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ cypress/videos
.nyc_output
cypress/screenshots
.idea
packages/demo-saas/build
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# Change Log

## [7.0.0](https://github.com/frontegg/frontegg-react/compare/v6.0.48...v7.0.0) (2024-8-5)

### 🚀 Major Changes
- **Store Management:**
- Replaced the existing Redux store with Valtio. This change significantly reduces the bundle size, removes the boilerplate code associated with generator functions, and enables actions to be `async/await`. The new approach provides better stack traces and allows actions to be awaited directly, eliminating the need for callback functions.

### 🔧 Upgrades
- **TypeScript:**
- Upgraded TypeScript from version `v3.9.7` to `v5.5.4`. This update ensures compatibility with the latest TypeScript features and improves overall type-checking and developer experience.

- **Testing Framework:**
- Upgraded Jest to version `v29`. This upgrade includes performance improvements, new features, and bug fixes, ensuring more reliable and faster tests.

- **UI Dependencies:**
- Upgraded Material UI, Emotion, and Stylis to their latest versions, enhancing UI component performance, styling flexibility, and overall user experience.

- **Node.js:**
- Upgraded Node.js from version `16` to `18.18`, ensuring compatibility with the latest features and security updates.

### 🛠 Enhancements
- **Refactor:**
- Refactored code to use nested imports in Material UI, which helps reduce bundle size.

- **MFA (Multi-Factor Authentication):**
- Changed the MFA code input to auto-submit upon completion for a smoother user experience.

- **Dependencies:**
- Incremented various dependencies, Node.js, and TypeScript to align with the latest standards and ensure better performance and security.

- **New Feature:**
- Added a "Resend Invitation Email" action to the users table on the "All Accounts" page, improving user management capabilities.

### ⚠️ Breaking Changes
- **Permissions & Privacy Page:**
- Removed permissions from the privacy page. The user privacy page will now be displayed for all users in the admin portal.


# Change Log

## [6.0.48](https://github.com/frontegg/frontegg-react/compare/v6.0.47...v6.0.48) (2024-7-22)

- FR-16990 - Fixed social logins container styling
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"build:watch": "rm -rf dist && mkdir dist && rollup -w -c ./rollup.config.js"
},
"dependencies": {
"@frontegg/js": "7.0.0-alpha.9",
"@frontegg/react-hooks": "7.0.0-alpha.9"
"@frontegg/js": "7.2.0",
"@frontegg/react-hooks": "7.2.0"
},
"peerDependencies": {
"react": ">16.9.0",
Expand Down
70 changes: 42 additions & 28 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2514,53 +2514,55 @@
resolved "https://registry.yarnpkg.com/@frontegg/entitlements-javascript-commons/-/entitlements-javascript-commons-1.1.2.tgz#8c771cac0796fde5bbc05abe750cb6b8677ec2c6"
integrity sha512-vwCFxj9KSIKHXinOH0HbBf4DhKRbUWhjCnL14+JfQnwuEl/zKtSGZoZecrXcPajWUypdi0uT+8q3GGcqnCW13Q==

"@frontegg/js@7.0.0-alpha.9":
version "7.0.0-alpha.9"
resolved "https://registry.yarnpkg.com/@frontegg/js/-/js-7.0.0-alpha.9.tgz#a7d6f68566289642d29f36274ed36c46024d301f"
integrity sha512-9pugsQmk4d2hZKCQ3nSNbbyZ7TZkEcjEBi1DVbA1XFftwgi6lzjSSHDYExQbPDOL84PxwVrTn5H1fsG0fSAP4w==
"@frontegg/js@7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@frontegg/js/-/js-7.2.0.tgz#0b96867c91bf2ce806b567ee640943fb1d9d97f8"
integrity sha512-F8vLItGUcwOKF8QlmvWTr7XJZHu07RuDWV972I3nJ6e2/SpVyDXyZIC2Dr2NWgavryTURtgzIx/wUIkjntgJeg==
dependencies:
"@babel/runtime" "^7.18.6"
"@frontegg/types" "7.0.0-alpha.9"
"@frontegg/types" "7.2.0"

"@frontegg/react-hooks@7.0.0-alpha.9":
version "7.0.0-alpha.9"
resolved "https://registry.yarnpkg.com/@frontegg/react-hooks/-/react-hooks-7.0.0-alpha.9.tgz#9d41e4ae55e6b33ce6db27dc71586b37dc0836de"
integrity sha512-EQ9KczRFj2DGLfSMxYxBaVQSQdBuWI9mn8zOw5m0Ev5mZn/hUTWfAAneFL9ziA2pY4XtvgUpcTlaqT0TccvS3Q==
"@frontegg/react-hooks@7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@frontegg/react-hooks/-/react-hooks-7.2.0.tgz#271db94a57c3d85b6334f95cd59b43a643119d1b"
integrity sha512-s7jjXLQn8x394nnUnTnZECD+ssfFFlWy6sQBdHIkVYt+60XG7glgX9z+e+8jJSuOhATtU5E/un9pr1N3X0x9IQ==
dependencies:
"@babel/runtime" "^7.18.6"
"@frontegg/redux-store" "7.0.0-alpha.9"
"@frontegg/types" "7.0.0-alpha.9"
"@frontegg/redux-store" "7.2.0"
"@frontegg/types" "7.2.0"
"@types/react" "*"
"@types/react-is" "^17.0.7"
get-value "^3.0.1"
react-is "^17.0.2"

"@frontegg/redux-store@7.0.0-alpha.9":
version "7.0.0-alpha.9"
resolved "https://registry.yarnpkg.com/@frontegg/redux-store/-/redux-store-7.0.0-alpha.9.tgz#ae25592ac8c17a91b3f2225b3653f5587fa2306d"
integrity sha512-dKaF/LYJHjqJ4I/qEBLDD4st1MYbZjZmm5AQsLPQe5EUcEn4YXI4qUxeBKHIU8cO8yFjM3EgPb2vARULjL+3pg==
"@frontegg/redux-store@7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@frontegg/redux-store/-/redux-store-7.2.0.tgz#0af9bb722aa957d7fabc60c8090e27ed65a5e81e"
integrity sha512-D+LtolPceZHgHIzr++VX9aWWE5/xZgZnJ9WB0gtF2MQBrGZnoF3tKDmkNMYy1DrmjnstmvC9PuK0QYkmg4zxfw==
dependencies:
"@babel/runtime" "^7.18.6"
"@frontegg/entitlements-javascript-commons" "1.1.2"
"@frontegg/rest-api" "3.1.79-alpha.10029056154"
"@frontegg/rest-api" "3.2.0"
fast-deep-equal "3.1.3"
set-value "^4.1.0"
uuid "^8.3.2"
valtio "^1.13.0"
uuid "^10.0.0"
valtio "1.13.2"

"@frontegg/rest-api@3.1.79-alpha.10029056154":
version "3.1.79-alpha.10029056154"
resolved "https://registry.yarnpkg.com/@frontegg/rest-api/-/rest-api-3.1.79-alpha.10029056154.tgz#18fd970c270d405caeae1283e290fa8bb524574f"
integrity sha512-BuaWboxVOj4bNjPLhtvZJ6+SrY3sX748Qa7AEvvvz56X6iBL58xngYFu7sK0CMy7K6ou1NkrHhPqI/tehMPw9A==
"@frontegg/rest-api@3.2.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@frontegg/rest-api/-/rest-api-3.2.0.tgz#d15938d38dc54dc783a3cac353662ec5b30ac6b8"
integrity sha512-VgIfXtrWa+2WM/GmrDv3hE2OSGoPFeqwFzF9vlA2aEALHg+qC10UIlg14iIqw5ODmdDxAvNxg9yLCb4H5CTK1w==
dependencies:
"@babel/runtime" "^7.17.2"
"@frontegg/entitlements-javascript-commons" "1.1.2"

"@frontegg/types@7.0.0-alpha.9":
version "7.0.0-alpha.9"
resolved "https://registry.yarnpkg.com/@frontegg/types/-/types-7.0.0-alpha.9.tgz#8e4ba1bc0f87f79e4ae5812047bf40dac787b5d9"
integrity sha512-eFqy0ycJkJCYWISeF0uvQD3LhAOOrINxoFT4Nf8mK2R3d62AlbeQpmM3vOucnFzQkbtzn2GooLFE/nCdvWRsvQ==
"@frontegg/types@7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@frontegg/types/-/types-7.2.0.tgz#b453ea843d886e59c410ac6118f782463be7b680"
integrity sha512-DbTyuSjToZynOyE6pl77LcAoYFfbOATIz5vRFBjPtB0sGwifB3hdlqcJqvtWLU1sP2xKVaKA2r4yS8yVhPn2Ew==
dependencies:
"@babel/runtime" "^7.18.6"
"@frontegg/redux-store" "7.0.0-alpha.9"
"@frontegg/redux-store" "7.2.0"
csstype "^3.0.9"
deepmerge "^4.2.2"

Expand Down Expand Up @@ -4733,6 +4735,13 @@
dependencies:
"@types/react" "*"

"@types/react-is@^17.0.7":
version "17.0.7"
resolved "https://registry.yarnpkg.com/@types/react-is/-/react-is-17.0.7.tgz#1402c8f14e8533eaeeac128c0bfa11478202ae37"
integrity sha512-WrTEiT+c6rgq36QApoy0063uAOdltCrhF0QMXLIgYPaTvIdQhAB8hPb5oGGqX18xToElNILS9UprwU6GyINcJg==
dependencies:
"@types/react" "^17"

"@types/react-router-dom@^5.3.3":
version "5.3.3"
resolved "https://registry.yarnpkg.com/@types/react-router-dom/-/react-router-dom-5.3.3.tgz#e9d6b4a66fcdbd651a5f106c2656a30088cc1e83"
Expand Down Expand Up @@ -15238,6 +15247,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=

uuid@^10.0.0:
version "10.0.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-10.0.0.tgz#5a95aa454e6e002725c79055fd42aaba30ca6294"
integrity sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==

uuid@^8.3.2:
version "8.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
Expand Down Expand Up @@ -15288,7 +15302,7 @@ validate-npm-package-name@^4.0.0:
dependencies:
builtins "^5.0.0"

valtio@^1.13.0:
[email protected].2:
version "1.13.2"
resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.13.2.tgz#e31d452d5da3550935417670aafd34d832dc7241"
integrity sha512-Qik0o+DSy741TmkqmRfjq+0xpZBXi/Y6+fXZLn0xNF1z/waFMbE3rkivv5Zcf9RrMUp6zswf2J7sbh2KBlba5A==
Expand Down

0 comments on commit 6870cac

Please sign in to comment.