Skip to content

Commit 4e2247b

Browse files
authored
release: v1.2.0-alpha02 with read parity and safe alias/AAD handling (#81)
1 parent 54a2e2b commit 4e2247b

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.2.0-alpha02] - 2025-08-29
6+
7+
### Behavior Changes
8+
- **SharedPreferences parity for reads:** `getXxx()` now blocks until the initial load completes. ([#71](https://github.com/harrytmthy/safebox/issues/71))
9+
10+
### Fixed
11+
- **Handle & prevent dead entries:** Carry-over from 1.1.5. Prevents unintentional KEK rotations. When `AEADBadTagException` occurs, SafeBox purges unreadable values safely. ([#72](https://github.com/harrytmthy/safebox/issues/72))
12+
13+
### Deprecated
14+
- **CipherPool** and **CipherPoolExecutor:** Planned for removal in **v1.3**. ([#78](https://github.com/harrytmthy/safebox/issues/78))
15+
- **AAD-taking factory:** AAD is now ignored and planned for removal in **v1.3**. ([#72](https://github.com/harrytmthy/safebox/issues/72))
16+
- **`setInitialLoadStrategy(...)`:** Now a no-op. Planned for removal in **v1.3**. ([#68](https://github.com/harrytmthy/safebox/issues/68))
17+
18+
### Removed
19+
- **SingletonCipherPoolProvider:** Stale internal helper that supported CipherPool. ([#78](https://github.com/harrytmthy/safebox/issues/78))
20+
521
## [1.2.0-alpha01] - 2025-08-25
622

723
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Compared to EncryptedSharedPreferences:
5353

5454
```kotlin
5555
dependencies {
56-
implementation("io.github.harrytmthy:safebox:1.2.0-alpha01")
56+
implementation("io.github.harrytmthy:safebox:1.2.0-alpha02")
5757
}
5858
```
5959

safebox/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ plugins {
2323
}
2424

2525
group = "io.github.harrytmthy"
26-
version = "1.2.0-alpha01"
26+
version = "1.2.0-alpha02"
2727

2828
android {
2929
namespace = "com.harrytmthy.safebox"

0 commit comments

Comments
 (0)