Skip to content

Commit

Permalink
chore: complete PR checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Nov 9, 2023
1 parent 9df44b8 commit a5c9b77
Show file tree
Hide file tree
Showing 16 changed files with 53 additions and 18 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.9.0] - 2023-11-21

### Overview

#### Introducing account-linking

With this release, we are introducing MultiFactorAuthentication and TOTP, this will let you:

- require (2FA or MFA) during sign in
- make use of our TOTP

Check our [guide](https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/multi-factor-auth/overview) for more information.

To use this you'll need compatible versions:

- Core>=8.0.0
- supertokens-node>=17.0.0 (support is pending in other backend SDKs)
- supertokens-website>=17.0.3
- supertokens-web-js>=0.9.0
- supertokens-auth-react>=0.36.0

### Changes

- Added support for FDI 1.19 (Node SDK>= 17.0.0), but keeping support FDI version 1.17 and 1.18 (node >= 15.0.0, golang>=0.13, python>=0.15.0)
- Added `firstFactors` into the return type of `getLoginMethods`
- Added recipes `TOTP` and `MultiFactorAuth`

## [0.8.0] - 2023-09-25

### Overview
Expand Down
2 changes: 1 addition & 1 deletion bundle/emailpassword.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/emailverification.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/multitenancy.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/passwordless.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/supertokens.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/thirdparty.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/thirdpartyemailpassword.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/thirdpartypasswordless.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontendDriverInterfaceSupported.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_comment": "contains a list of frontend-backend interface versions that this package supports",
"versions": ["1.17", "1.18"]
"versions": ["1.17", "1.18", "1.19"]
}
2 changes: 1 addition & 1 deletion lib/build/version.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/build/version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/ts/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
* License for the specific language governing permissions and limitations
* under the License.
*/
export const package_version = "0.8.0";
export const package_version = "0.9.0";

export const supported_fdi = ["1.17", "1.18"];
export const supported_fdi = ["1.17", "1.18", "1.19"];
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "supertokens-web-js",
"version": "0.8.0",
"version": "0.9.0",
"description": "SuperTokens SDK for vanilla JS for all recipes",
"main": "./index.js",
"scripts": {
Expand Down Expand Up @@ -101,6 +101,14 @@
{
"path": "recipe/multitenancy/index.js",
"limit": "25kb"
},
{
"path": "recipe/multifactorauth/index.js",
"limit": "25kb"
},
{
"path": "recipe/totp/index.js",
"limit": "25kb"
}
]
}
2 changes: 1 addition & 1 deletion webJsInterfaceSupported.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_comment": "contains the web js interface version that this package supports",
"version": "0.7"
"version": "0.8"
}

0 comments on commit a5c9b77

Please sign in to comment.