cloudnativedaysjp / dreamkast-ui

MIT License
7 stars 2 forks source link

fix(deps): update dependency @auth0/auth0-react to v2 #362

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@auth0/auth0-react ^1.11.0 -> ^2.0.0 age adoption passing confidence

Release Notes

auth0/auth0-react ### [`v2.1.0`](https://togithub.com/auth0/auth0-react/blob/HEAD/CHANGELOG.md#v210-httpsgithubcomauth0auth0-reacttreev210-2023-05-05) [Compare Source](https://togithub.com/auth0/auth0-react/compare/v2.0.2...v2.1.0) [Full Changelog](https://togithub.com/auth0/auth0-react/compare/v2.0.2...v2.1.0) **Added** - Adding onBeforeAuthentication to the withAuthenticationRequired HOC [#​534](https://togithub.com/auth0/auth0-react/pull/534) ([stephenkelzer](https://togithub.com/stephenkelzer)) ### [`v2.0.2`](https://togithub.com/auth0/auth0-react/blob/HEAD/CHANGELOG.md#v202-httpsgithubcomauth0auth0-reacttreev202-2023-04-26) [Compare Source](https://togithub.com/auth0/auth0-react/compare/v2.0.1...v2.0.2) [Full Changelog](https://togithub.com/auth0/auth0-react/compare/v2.0.1...v2.0.2) **Fixed** - Remove useUnknownInCatchVariables to be compliant with TS ^4.4 [#​511](https://togithub.com/auth0/auth0-react/pull/511) ([cemercier](https://togithub.com/cemercier)) ### [`v2.0.1`](https://togithub.com/auth0/auth0-react/blob/HEAD/CHANGELOG.md#v201-httpsgithubcomauth0auth0-reacttreev201-2023-02-22) [Compare Source](https://togithub.com/auth0/auth0-react/compare/v2.0.0...v2.0.1) [Full Changelog](https://togithub.com/auth0/auth0-react/compare/v2.0.0...v2.0.1) **Fixed** - Support redirectUri again in a deprecated way [#​507](https://togithub.com/auth0/auth0-react/pull/507) ([frederikprijck](https://togithub.com/frederikprijck)) ### [`v2.0.0`](https://togithub.com/auth0/auth0-react/blob/HEAD/CHANGELOG.md#v200-httpsgithubcomauth0auth0-reacttreev200-2023-01-19) [Compare Source](https://togithub.com/auth0/auth0-react/compare/v1.12.1...v2.0.0) Auth0-React v2 includes many significant changes compared to v1: - Removal of polyfills from bundles - Introduction of `authorizationParams` and `logoutParams` for properties sent to Auth0 - Removal of `buildAuthorizeUrl` and `buildLogoutUrl` - Removal of `redirectMethod` on `loginWithRedirect` in favour of `openUrl` - Removal of `localOnly` from `logout` in favour of `openUrl` - Renaming of `ignoreCache` to `cacheMode` and introduction of `cache-only` - Use `application/x-www-form-urlencoded` by default - Do not fallback to refreshing tokens via iframe by default - Changes to default scopes and removal of `advancedOptions.defaultScope` - Removal of `claimCheck` on `withAuthenticationRequired` As with any major version bump, v2 of Auth0-React contains a set of breaking changes. **Please review [the migration guide](./MIGRATION_GUIDE.md) thoroughly to understand the changes required to migrate your application to v2.** ### [`v1.12.1`](https://togithub.com/auth0/auth0-react/blob/HEAD/CHANGELOG.md#v1121-httpsgithubcomauth0auth0-reacttreev1121-2023-01-12) [Compare Source](https://togithub.com/auth0/auth0-react/compare/v1.12.0...v1.12.1) [Full Changelog](https://togithub.com/auth0/auth0-react/compare/v1.12.0...v1.12.1) **Security** - Upgrade [@​auth0/auth0-spa-js](https://togithub.com/auth0/auth0-spa-js) to 1.22.6 [#​468](https://togithub.com/auth0/auth0-react/pull/468) ([ewanharris](https://togithub.com/ewanharris)) This patch release is identical to `1.12.0` but has been released to ensure tooling no longer detects a vulnerable version of jsonwebtoken being used by `@auth0/auth0-spa-js`. Even though `1.22.5` of `@auth0/auth0-spa-js` was not vulnerable for the related [CVE](https://unit42.paloaltonetworks.com/jsonwebtoken-vulnerability-cve-2022-23529/) because of the fact that `jsonwebtoken` is a devDependency of `@auth0/auth0-spa-js`, we are cutting a release to ensure build tools no longer report our SDK's that use `@auth0/auth0-spa-js` as vulnerable to the mentioned CVE. ### [`v1.12.0`](https://togithub.com/auth0/auth0-react/blob/HEAD/CHANGELOG.md#v1120-httpsgithubcomauth0auth0-reacttreev1120-2022-10-12) [Compare Source](https://togithub.com/auth0/auth0-react/compare/v1.11.0...v1.12.0) [Full Changelog](https://togithub.com/auth0/auth0-react/compare/v1.11.0...v1.12.0) **Added** - \[SDK-3666] Support multiple providers [#​416](https://togithub.com/auth0/auth0-react/pull/416) ([ewanharris](https://togithub.com/ewanharris))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

inductor commented 1 year ago

ref https://github.com/auth0/auth0-react/blob/master/MIGRATION_GUIDE.md#changes-to-parameter-casing

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

hrk091 commented 1 year ago

v2にマイグレーションし、backendと結合してちゃんと認可連携できることが確認できたので、mergeします。