Skip to content

Commit f7d7347

Browse files
committed
release: v1.3.0-alpha01 with crypto module, API cleanup, and perf gains
1 parent d563ee5 commit f7d7347

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

CHANGELOG.md

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

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

5+
## [1.3.0-alpha01] - 2025-09-08
6+
7+
### Added
8+
- **Crypto-only module:** New `:safebox-crypto` published as a standalone artifact. ([#110](https://github.com/harrytmthy/safebox/issues/110))
9+
- **SafeBoxCrypto helper:** Simple string-in, string-out ChaCha20-Poly1305 helper with URL-safe Base64. ([#121](https://github.com/harrytmthy/safebox/issues/121))
10+
11+
### Changed
12+
- **Public API cleanup:** Removed alias-based params from public APIs. Creation now manages aliases internally. ([#111](https://github.com/harrytmthy/safebox/issues/111))
13+
14+
### Performance
15+
- **Smaller dependency footprint:** Switched to `bcprov-jdk15on` and replaced blanket keeps with minimal rules. Minified apps are ≈9.5× smaller than before for SafeBox impact. ([#115](https://github.com/harrytmthy/safebox/issues/115))
16+
- **Lower contention:** Isolated ChaCha providers so key and value ciphers do not block each other. ([#117](https://github.com/harrytmthy/safebox/issues/117))
17+
18+
### Fixed
19+
- **R8 errors:** Removed LDAP/X.509 pulls and missing-class warnings while keeping ChaCha20-Poly1305 intact. ([#115](https://github.com/harrytmthy/safebox/issues/115))
20+
- **Single DEK per file:** Ensure both ciphers for a given file resolve the same DEK with per-file locking and lazy load. ([#119](https://github.com/harrytmthy/safebox/issues/119))
21+
- **Listener parity:** Notifications aligned with `SharedPreferences` semantics. ([#102](https://github.com/harrytmthy/safebox/issues/102))
22+
23+
### CI
24+
- **Faster builds:** Remove duplicate Gradle caching and scope concurrency per workflow. ([#108](https://github.com/harrytmthy/safebox/issues/108))
25+
26+
### Breaking changes
27+
- **Alias-based creation removed:** If you previously used a custom `valueKeyStoreAlias`, reads may fail on upgrade. Migrate data to the default alias before adopting this version. ([#103](https://github.com/harrytmthy/safebox/issues/103), [#111](https://github.com/harrytmthy/safebox/issues/111))
28+
529
## [1.2.0] - 2025-09-01
630

731
### 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")
56+
implementation("io.github.harrytmthy:safebox:1.3.0-alpha01")
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"
26+
version = "1.3.0-alpha01"
2727

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

0 commit comments

Comments
 (0)