Skip to content

Commit

Permalink
Release v2.0.0 (#194)
Browse files Browse the repository at this point in the history
* Bump version and update changelog

* Update circle ci config

* Generate docs for v2
  • Loading branch information
frederikprijck authored Jan 19, 2023
1 parent e719d62 commit 8081358
Show file tree
Hide file tree
Showing 41 changed files with 3,686 additions and 1,887 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ workflows:
context:
- browserstack-env
- ship/node-publish:
publish-command: npm publish --tag beta
publish-command: npm publish
node-version: 16.13.2
context:
- publish-npm
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Change Log

## [v2.0.0](https://github.com/auth0/auth0-vue/tree/v2.0.0-beta.0) (2023-01-19)

[Full Changelog](https://github.com/auth0/auth0-vue/compare/v1.0.3...v2.0.0)

Auth0-Vue v2 includes many significant changes compared to v1:

- Remove polyfills from bundles
- Introduce `authorizationParams` and `logoutParams` to hold properties sent to Auth0
- Remove `buildAuthorizeUrl` and `buildLogoutUrl`
- Remove `redirectMethod`, and replace by `openUrl`
- Remove `localOnly` from `logout` in favor of `openUrl`
- Rework `ignoreCache` to `cacheMode` and introduce `cache-only`
- Use form-encoded data by default
- Do not fallback to refreshing tokens via iframe method by default
- Remove `advancedOptions.defaultScope` and replace with `scope`

As with any major version bump, v2 of Auth0-Vue 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.0.3](https://github.com/auth0/auth0-vue/tree/v1.0.3) (2023-01-12)

[Full Changelog](https://github.com/auth0/auth0-vue/compare/v1.0.2...v1.0.3)
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
![Auth0 SDK for Vue 3 Single Page Applications](https://cdn.auth0.com/website/sdks/banners/auth0-vue-banner.png)

> :warning: Please be aware that v2 is currently in [**Beta**](https://auth0.com/docs/troubleshoot/product-lifecycle/product-release-stages). Whilst we encourage you to test the update within your applications, we do no recommend using this version in production yet. Please follow the [migration guide](./MIGRATION_GUIDE.md) when updating your application.
![Release](https://img.shields.io/npm/v/@auth0/auth0-vue)
[![Codecov](https://codecov.io/gh/auth0/auth0-vue/branch/main/graph/badge.svg)](https://codecov.io/gh/auth0/auth0-vue)
![Downloads](https://img.shields.io/npm/dw/@auth0/auth0-vue)
Expand Down Expand Up @@ -30,13 +28,13 @@ For integrating Auth0 with a Vue 2 application, please read [the Vue 2 Tutorial]
Using [npm](https://npmjs.org):

```sh
npm install @auth0/auth0-vue@beta
npm install @auth0/auth0-vue
```

Using [yarn](https://yarnpkg.com):

```sh
yarn add @auth0/auth0-vue@beta
yarn add @auth0/auth0-vue
```

### Configure Auth0
Expand Down
34 changes: 17 additions & 17 deletions docs/assets/highlight.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
:root {
--light-hl-0: #795E26;
--dark-hl-0: #DCDCAA;
--light-hl-1: #000000;
--dark-hl-1: #D4D4D4;
--light-hl-2: #0070C1;
--dark-hl-2: #4FC1FF;
--light-hl-3: #AF00DB;
--dark-hl-3: #C586C0;
--light-hl-4: #001080;
--dark-hl-4: #9CDCFE;
--light-hl-5: #A31515;
--dark-hl-5: #CE9178;
--light-hl-6: #0000FF;
--dark-hl-6: #569CD6;
--light-hl-0: #000000;
--dark-hl-0: #D4D4D4;
--light-hl-1: #AF00DB;
--dark-hl-1: #C586C0;
--light-hl-2: #001080;
--dark-hl-2: #9CDCFE;
--light-hl-3: #A31515;
--dark-hl-3: #CE9178;
--light-hl-4: #0000FF;
--dark-hl-4: #569CD6;
--light-hl-5: #0070C1;
--dark-hl-5: #4FC1FF;
--light-hl-6: #795E26;
--dark-hl-6: #DCDCAA;
--light-hl-7: #800000;
--dark-hl-7: #808080;
--light-hl-8: #800000;
Expand All @@ -27,7 +27,7 @@
--dark-hl-12: #4EC9B0;
--light-hl-13: #008000;
--dark-hl-13: #6A9955;
--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 8081358

Please sign in to comment.