From 87e608b70d801b31107c6b083e7f3f09281c9492 Mon Sep 17 00:00:00 2001 From: Anton Holmberg Date: Tue, 24 Feb 2026 11:49:03 +0100 Subject: [PATCH] Bump version and update CHANGELOG --- CHANGELOG.md | 7 +++++++ auth-lib/build.gradle.kts | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e63bc2..52a7007 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ Change Log ========== +## Version 4.0.0 +- **Breaking Change**: Added new `AuthorizationResponse.Type.CANCELLED` to differentiate user-initiated cancellations from technical errors. + - User cancellations (browser closed, back button pressed) now return `Type.CANCELLED` with `RESULT_CANCELED` + - Technical errors (malformed responses, missing data) return `Type.EMPTY` with `RESULT_OK` + - OAuth errors (e.g., `access_denied`) continue to return `Type.ERROR` with `RESULT_OK` + - Client applications should update their authorization result handling to account for the new `CANCELLED` type and `RESULT_CANCELED` result code. + ## Version 3.0.0 - Add mandatory redirect path pattern. diff --git a/auth-lib/build.gradle.kts b/auth-lib/build.gradle.kts index 17196d3..f8daa7d 100644 --- a/auth-lib/build.gradle.kts +++ b/auth-lib/build.gradle.kts @@ -35,7 +35,7 @@ plugins { } group = "com.spotify.android" -version = "3.1.0" +version = "4.0.0" val archivesBaseName = "auth"