Skip to content

Commit 82d1b6f

Browse files
Merge pull request #108 from antonholmberg/release-4.0.0
Bump version and update CHANGELOG
2 parents b56a328 + 87e608b commit 82d1b6f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Change Log
22
==========
33

4+
## Version 4.0.0
5+
- **Breaking Change**: Added new `AuthorizationResponse.Type.CANCELLED` to differentiate user-initiated cancellations from technical errors.
6+
- User cancellations (browser closed, back button pressed) now return `Type.CANCELLED` with `RESULT_CANCELED`
7+
- Technical errors (malformed responses, missing data) return `Type.EMPTY` with `RESULT_OK`
8+
- OAuth errors (e.g., `access_denied`) continue to return `Type.ERROR` with `RESULT_OK`
9+
- Client applications should update their authorization result handling to account for the new `CANCELLED` type and `RESULT_CANCELED` result code.
10+
411
## Version 3.0.0
512
- Add mandatory redirect path pattern.
613

auth-lib/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ plugins {
3535
}
3636

3737
group = "com.spotify.android"
38-
version = "3.1.0"
38+
version = "4.0.0"
3939

4040
val archivesBaseName = "auth"
4141

0 commit comments

Comments
 (0)