From 80cd0ebd266c09f25513246d76998015a93e1f91 Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Wed, 8 May 2024 16:18:27 +0530 Subject: [PATCH] versino changes --- CHANGELOG.md | 9 +++++++++ app/build.gradle | 2 +- examples/with-thirdparty/README.md | 2 +- examples/with-thirdparty/app/build.gradle.kts | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a2fbc9..5f53d41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.0] - 2024-04-08 + +### Breaking changes + +The `shouldDoInterceptionBasedOnUrl` function now returns true: +- If `sessionTokenBackendDomain` is a valid subdomain of the URL's domain. This aligns with the behavior of browsers when sending cookies to subdomains. +- Even if the ports of the URL you are querying are different compared to the `apiDomain`'s port ot the `sessionTokenBackendDomain` port (as long as the hostname is the same, or a subdomain of the `sessionTokenBackendDomain`): https://github.com/supertokens/supertokens-website/issues/217 + + ## [0.3.6] - 2024-03-14 - New FDI version support: 1.19 diff --git a/app/build.gradle b/app/build.gradle index 90e6b43..c3b2bba 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,6 +1,6 @@ apply plugin: 'com.android.library' apply plugin: 'maven-publish' -def publishVersionID = "0.3.6" +def publishVersionID = "0.4.0" android { compileSdkVersion 32 diff --git a/examples/with-thirdparty/README.md b/examples/with-thirdparty/README.md index a67c8aa..febcf6d 100644 --- a/examples/with-thirdparty/README.md +++ b/examples/with-thirdparty/README.md @@ -23,7 +23,7 @@ dependencyResolutionManagement { Add the folliwing to your app level `build.gradle` ```gradle -implementation("com.github.supertokens:supertokens-android:0.3.6") +implementation("com.github.supertokens:supertokens-android:0.4.0") implementation ("com.google.android.gms:play-services-auth:20.7.0") implementation("com.squareup.retrofit2:retrofit:2.9.0") implementation("net.openid:appauth:0.11.1") diff --git a/examples/with-thirdparty/app/build.gradle.kts b/examples/with-thirdparty/app/build.gradle.kts index 699a140..5480a94 100644 --- a/examples/with-thirdparty/app/build.gradle.kts +++ b/examples/with-thirdparty/app/build.gradle.kts @@ -41,7 +41,7 @@ dependencies { implementation("androidx.appcompat:appcompat:1.6.1") implementation("com.google.android.material:material:1.8.0") implementation("androidx.constraintlayout:constraintlayout:2.1.4") - implementation("com.github.supertokens:supertokens-android:0.3.6") + implementation("com.github.supertokens:supertokens-android:0.4.0") implementation ("com.google.android.gms:play-services-auth:20.7.0") implementation("com.squareup.retrofit2:retrofit:2.9.0") implementation("net.openid:appauth:0.11.1")