Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: support running CI on custom branches and add new FDI as supported #266

Merged
merged 3 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [20.1.5] - 2024-10-03

### Changes

- Added `3.1` and `4.0` to the list of supported FDIs

## [20.1.4] - 2024-07-11

### Changes
Expand Down
2 changes: 1 addition & 1 deletion bundle/bundle.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,6 +1,6 @@
{
"_comment": "contains a list of frontend-backend interface versions that this package supports",
"versions": [
"1.16", "1.17", "1.18", "1.19", "2.0", "3.0"
"1.16", "1.17", "1.18", "1.19", "2.0", "3.0", "3.1", "4.0"
]
}
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 = "20.1.4";
export const package_version = "20.1.5";

export const supported_fdi = ["1.16", "1.17", "1.18", "1.19", "2.0", "3.0"];
export const supported_fdi = ["1.16", "1.17", "1.18", "1.19", "2.0", "3.0", "3.1", "4.0"];
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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "supertokens-website",
"version": "20.1.4",
"version": "20.1.5",
"description": "frontend sdk for website to be used for auth solution.",
"main": "index.js",
"dependencies": {
Expand Down
8 changes: 7 additions & 1 deletion test/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,13 @@ module.exports.addBrowserConsole = function (page) {

module.exports.coreTagEqualToOrAfter = function (targetTag) {
const currTag = process.env.SUPERTOKENS_CORE_TAG;
if (currTag === undefined || currTag === targetTag) return true;
if (
currTag === undefined ||
currTag === targetTag ||
(!currTag.startsWith("dev-v") && !targetTag.startsWith("v"))
) {
return true;
}

const lparts = currTag.replace(/^(dev-)?v/, "").split(".");
while (lparts.length < 3) lparts.push("0");
Expand Down
Loading