diff --git a/.version b/.version index 19f7cd1e..d3845ad3 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v5.0.0-beta.6 +v5.0.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1517704d..84b7a4b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,44 @@ # Change Log +## [v5.0.0](https://github.com/auth0/react-native-auth0/tree/v5.0.0) (2025-10-01) + +[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v4.6.0...v5.0.0) + +**💡 Major Refactor**: Version 5.0 features a complete architectural overhaul for improved performance, maintainability, and multi-platform extensibility. Check the [Migration Guide](https://github.com/auth0/react-native-auth0/blob/master/MIGRATION_GUIDE.md) for detailed upgrade instructions. + +**⚠️ BREAKING CHANGES** + +- feat: architectural refactor and react-native-web support [\#1233](https://github.com/auth0/react-native-auth0/pull/1233) ([subhankarmaiti](https://github.com/subhankarmaiti)) + +**Added** + +- feat: add organization parameter support to resetPassword API [\#1286](https://github.com/auth0/react-native-auth0/pull/1286) ([subhankarmaiti](https://github.com/subhankarmaiti)) +- feat(auth): add `saveCredentials` method to `useAuth0` hook [\#1285](https://github.com/auth0/react-native-auth0/pull/1285) ([subhankarmaiti](https://github.com/subhankarmaiti)) +- feat: unify and improve error handling across platforms [\#1261](https://github.com/auth0/react-native-auth0/pull/1261) ([subhankarmaiti](https://github.com/subhankarmaiti)) +- Add `screen_hint` usage for login/signup in FAQ and fix usage in EXAMPLES.md [\#1253](https://github.com/auth0/react-native-auth0/pull/1253) ([subhankarmaiti](https://github.com/subhankarmaiti)) + +**Changed** + +- refactor(android): Migrate native module from Java to Kotlin [\#1239](https://github.com/auth0/react-native-auth0/pull/1239) ([subhankarmaiti](https://github.com/subhankarmaiti)) + +**Fixed** + +- modify getCredential signature and get the user after redirect handle for web [\#1327](https://github.com/auth0/react-native-auth0/pull/1327) ([subhankarmaiti](https://github.com/subhankarmaiti)) +- fix: reload and added default redirect url after login for web [\#1326](https://github.com/auth0/react-native-auth0/pull/1326) ([subhankarmaiti](https://github.com/subhankarmaiti)) +- Fix clearSession operation order to prevent premature user state clearing [\#1309](https://github.com/auth0/react-native-auth0/pull/1309) ([subhankarmaiti](https://github.com/subhankarmaiti)) +- fix: concurrent credential storage errors by preventing unnecessary state updates [\#1302](https://github.com/auth0/react-native-auth0/pull/1302) ([subhankarmaiti](https://github.com/subhankarmaiti)) +- fix(android): add pathPrefix to Android manifest for proper App Links functionality [\#1288](https://github.com/auth0/react-native-auth0/pull/1288) ([subhankarmaiti](https://github.com/subhankarmaiti)) + +**Security** + +- chore(deps): update fetch-mock and node-fetch to latest versions [\#1243](https://github.com/auth0/react-native-auth0/pull/1243) ([subhankarmaiti](https://github.com/subhankarmaiti)) + ## [v5.0.0-beta.6](https://github.com/auth0/react-native-auth0/tree/v5.0.0-beta.6) (2025-09-16) + [Full Changelog](https://github.com/auth0/react-native-auth0/compare/v5.0.0-beta.5...v5.0.0-beta.6) **Fixed** + - fix: concurrent credential storage errors by preventing unnecessary state updates [\#1302](https://github.com/auth0/react-native-auth0/pull/1302) ([subhankarmaiti](https://github.com/subhankarmaiti)) ## [v5.0.0-beta.5](https://github.com/auth0/react-native-auth0/tree/v5.0.0-beta.5) (2025-09-03) diff --git a/MIGRATION_GUIDE.md b/MIGRATION_GUIDE.md index 55d8d129..c8657e2e 100644 --- a/MIGRATION_GUIDE.md +++ b/MIGRATION_GUIDE.md @@ -28,7 +28,7 @@ Before updating the library, ensure your project meets the new minimum requireme ``` 2. **Update this Library:** ```bash - npm install react-native-auth0@beta + npm install react-native-auth0 ``` 3. **Update iOS Target:** In your `ios/Podfile`, set the platform version: ```ruby @@ -47,7 +47,7 @@ Before updating the library, ensure your project meets the new minimum requireme ``` 2. **Update this Library:** ```bash - npm install react-native-auth0@beta + npm install react-native-auth0 ``` 3. **Rebuild Native Code:** ```bash diff --git a/README.md b/README.md index 685462e9..8006ff5b 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,11 @@ 📚 [Documentation](#documentation) • 🚀 [Getting Started](#getting-started) • ⏭️ [Next Steps](#next-steps) • ❓ [FAQs](https://github.com/auth0/react-native-auth0/blob/master/FAQ.md) • ❓ [Feedback](#feedback) -### ⚠️ Important Migration Notice: v4.0.0 and v5.0.0beta +### ⚠️ Important Migration Notice: v4.0.0 and v5.0.0 -We're excited to announce the release of react-native-auth0 `v4.0.0` and the beta release of `v5.0.0`! +We're excited to announce the release of react-native-auth0 `v5.0.0`! -**For v4.0.0 users:** Please note that this update includes breaking changes that require your attention. To ensure a smooth transition, please review our 👉 [Migration Guide](https://github.com/auth0/react-native-auth0/blob/master/MIGRATION_GUIDE.md) 👈 for detailed instructions on updating your integration. - -**For v5.0.0beta users:** This beta version requires React 19 and React Native 0.78.0 or higher. If you're using Expo, this version requires Expo 53 or higher. See the 👉 [Migration Guide](https://github.com/auth0/react-native-auth0/blob/beta/MIGRATION_GUIDE.md) 👈 for compatibility requirements and upgrade instructions. +**For v5.0.0 users:** This version requires React 19 and React Native 0.78.0 or higher. If you're using Expo, this version requires Expo 53 or higher. See the 👉 [Migration Guide](https://github.com/auth0/react-native-auth0/blob/master/MIGRATION_GUIDE.md) 👈 for compatibility requirements and upgrade instructions. ## Documentation diff --git a/package.json b/package.json index 388a99a8..15ed3818 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-auth0", "title": "React Native Auth0", - "version": "5.0.0-beta.6", + "version": "5.0.0", "description": "React Native toolkit for Auth0 API", "main": "lib/commonjs/index.js", "module": "lib/module/index.js",