Skip to content

Commit

Permalink
Release v2.0.0-beta.0 (#459)
Browse files Browse the repository at this point in the history
* Release v2.0.0-beta.0

* Update CHANGELOG.md

Co-authored-by: Adam Mcgrath <[email protected]>

* Ensure Ship orb and CI run on same Node version

Co-authored-by: Adam Mcgrath <[email protected]>
Co-authored-by: frederikprijck <[email protected]>
  • Loading branch information
3 people authored Dec 13, 2022
1 parent 67ce84e commit 4f90251
Show file tree
Hide file tree
Showing 42 changed files with 4,102 additions and 2,093 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ workflows:
- browserstack-env
- ship/node-publish:
publish-command: npm publish --tag beta
node-version: 18.12.1
context:
- publish-npm
- publish-gh
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

## [v2.0.0-beta.0](https://github.com/auth0/auth0-react/tree/v2.0.0-beta.0) (2022-12-12)

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.0](https://github.com/auth0/auth0-react/tree/v1.12.0) (2022-10-12)
[Full Changelog](https://github.com/auth0/auth0-react/compare/v1.11.0...v1.12.0)

Expand Down
56 changes: 28 additions & 28 deletions docs/assets/highlight.css
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
:root {
--light-hl-0: #800000;
--dark-hl-0: #808080;
--light-hl-1: #267F99;
--dark-hl-1: #4EC9B0;
--light-hl-2: #000000;
--dark-hl-2: #D4D4D4;
--light-hl-3: #FF0000;
--light-hl-0: #000000;
--dark-hl-0: #D4D4D4;
--light-hl-1: #008000;
--dark-hl-1: #6A9955;
--light-hl-2: #AF00DB;
--dark-hl-2: #C586C0;
--light-hl-3: #001080;
--dark-hl-3: #9CDCFE;
--light-hl-4: #0000FF;
--dark-hl-4: #569CD6;
--light-hl-5: #001080;
--dark-hl-5: #9CDCFE;
--light-hl-6: #000000FF;
--dark-hl-6: #D4D4D4;
--light-hl-7: #008000;
--dark-hl-7: #6A9955;
--light-hl-8: #0070C1;
--dark-hl-8: #4FC1FF;
--light-hl-9: #795E26;
--dark-hl-9: #DCDCAA;
--light-hl-10: #AF00DB;
--dark-hl-10: #C586C0;
--light-hl-11: #800000;
--dark-hl-11: #569CD6;
--light-hl-12: #A31515;
--dark-hl-12: #CE9178;
--light-hl-4: #A31515;
--dark-hl-4: #CE9178;
--light-hl-5: #795E26;
--dark-hl-5: #DCDCAA;
--light-hl-6: #800000;
--dark-hl-6: #808080;
--light-hl-7: #267F99;
--dark-hl-7: #4EC9B0;
--light-hl-8: #FF0000;
--dark-hl-8: #9CDCFE;
--light-hl-9: #0000FF;
--dark-hl-9: #569CD6;
--light-hl-10: #000000FF;
--dark-hl-10: #D4D4D4;
--light-hl-11: #0070C1;
--dark-hl-11: #4FC1FF;
--light-hl-12: #800000;
--dark-hl-12: #569CD6;
--light-hl-13: #098658;
--dark-hl-13: #B5CEA8;
--light-code-background: #F5F5F5;
--light-code-background: #FFFFFF;
--dark-code-background: #1E1E1E;
}

Expand Down Expand Up @@ -67,7 +67,7 @@
--code-background: var(--dark-code-background);
} }

body.light {
:root[data-theme='light'] {
--hl-0: var(--light-hl-0);
--hl-1: var(--light-hl-1);
--hl-2: var(--light-hl-2);
Expand All @@ -85,7 +85,7 @@ body.light {
--code-background: var(--light-code-background);
}

body.dark {
:root[data-theme='dark'] {
--hl-0: var(--dark-hl-0);
--hl-1: var(--dark-hl-1);
--hl-2: var(--dark-hl-2);
Expand Down
Loading

0 comments on commit 4f90251

Please sign in to comment.