Skip to content

Commit

Permalink
update frontegg js versions
Browse files Browse the repository at this point in the history
  • Loading branch information
frontegg-david committed Aug 12, 2024
1 parent 5b90597 commit 0477e99
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 27 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@

## [7.0.0](https://github.com/frontegg/frontegg-angular/compare/v6.34.0...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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@angular/platform-browser": "^12.0.0",
"@angular/platform-browser-dynamic": "^12.0.0",
"@angular/router": "^12.0.0",
"@frontegg/js": "7.0.0-alpha.9",
"@frontegg/js": "7.2.0-alpha.3",
"csstype": "^3.0.8",
"rxjs": "~6.6.0",
"stream": "^0.0.2",
Expand Down
6 changes: 4 additions & 2 deletions projects/frontegg-app/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"@frontegg/js",
"@frontegg/redux-store",
"@frontegg/entitlements-javascript-commons",
"@babel/runtime/regenerator",
"@babel/runtime",
"fast-deep-equal",
"valtio/vanilla",
"csstype",
"stream"
],
Expand All @@ -18,7 +19,8 @@
"@frontegg/rest-api": "FronteggRestApi",
"fast-deep-equal": "FastDeepEqual",
"@frontegg/entitlements-javascript-commons": "FronteggEntitlementsJavascriptCommons",
"@babel/runtime/regenerator": "BabelRuntimeRegenerator"
"@babel/runtime": "BabelRuntime",
"valtio/vanilla": "ValtioVanilla"
}
}
}
2 changes: 1 addition & 1 deletion projects/frontegg-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@angular/core": ">=12.0.0"
},
"dependencies": {
"@frontegg/js": "7.0.0-alpha.9",
"@frontegg/js": "7.2.0-alpha.3",
"csstype": "^3.0.8",
"fast-deep-equal": "^3.1.3",
"stream": "^0.0.2",
Expand Down
51 changes: 28 additions & 23 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1556,42 +1556,42 @@
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-alpha.3":
version "7.2.0-alpha.3"
resolved "https://registry.yarnpkg.com/@frontegg/js/-/js-7.2.0-alpha.3.tgz#5dfd46134aab2fe4d390a340a31d40f40871f843"
integrity sha512-QmSni7+2uGfl+hLs9OMDm5KE58Vzu9XXoAJztRj98Joqn6Upw9wo1X1u57wHRsr120aUmLCgI5PR0EHqnLygqg==
dependencies:
"@babel/runtime" "^7.18.6"
"@frontegg/types" "7.0.0-alpha.9"
"@frontegg/types" "7.2.0-alpha.3"

"@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-alpha.3":
version "7.2.0-alpha.3"
resolved "https://registry.yarnpkg.com/@frontegg/redux-store/-/redux-store-7.2.0-alpha.3.tgz#5eb0511dbcd5d65f30c14c2a183fd196e2d7e76d"
integrity sha512-tErRYBuSy0m4Z0rBIc7xzKLx8/pvbywqd9RvJFtOHppALfOFzvMznW7jQSl4DJBljGg5OOTWHqk7ekXyfVALnA==
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-alpha.3":
version "7.2.0-alpha.3"
resolved "https://registry.yarnpkg.com/@frontegg/types/-/types-7.2.0-alpha.3.tgz#52dbcd4369f880db50f1bd7fbbfb72b215ff7420"
integrity sha512-kFj9bcDfdCq3O2UojPpekaZm/NGsPH2/iI5H6AmQqZ8BLuXkVFutuqxCf9hFEUrx7sbLD8k8LWFkYg1iaMGx0g==
dependencies:
"@babel/runtime" "^7.18.6"
"@frontegg/redux-store" "7.0.0-alpha.9"
"@frontegg/redux-store" "7.2.0-alpha.3"
csstype "^3.0.9"
deepmerge "^4.2.2"

Expand Down Expand Up @@ -10753,11 +10753,16 @@ utils-merge@1.0.1:
resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=

uuid@8.3.2, uuid@^8.3.2:
uuid@8.3.2:
version "8.3.2"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==

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@^3.3.2, uuid@^3.4.0:
version "3.4.0"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
Expand All @@ -10770,7 +10775,7 @@ validate-npm-package-name@^3.0.0:
dependencies:
builtins "^1.0.3"

valtio@^1.13.0:
valtio@1.13.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 0477e99

Please sign in to comment.