Skip to content

Commit 41b9542

Browse files
doc: update changelogs
1 parent 8d97e29 commit 41b9542

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

CHANGELOG-Unreleased.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,26 @@
66

77
### New features
88

9+
- [SQLCipher] Add `changePassword(newPassphrase)` API to change encryption key on an open database at runtime (JSI-only)
10+
- [SQLCipher] Add `sqlite3_rekey` support in native C++ layer with post-rekey verification
11+
912
### Fixes
1013

1114
- [LokiJS] Multitab sync issue fix
1215
- [Android] Added linker flag for building with 16kB page alignment
1316
- [TS] make catchError visible to typescript
17+
- [SQLCipher] Fix use-after-free when encrypted database fails to open (error message was read after `sqlite3_close`)
18+
- [SQLCipher] Fix `throw new` to `throw` in native C++ so exceptions are catchable by `catch(const std::exception&)` handlers
19+
- [SQLCipher] Fix sqlite handle leak on `sqlite3_open` failure (missing `sqlite3_close` before throw)
20+
- [SQLCipher] Zero encryption password from memory after use in Database, DatabaseBridge, and SqliteDb layers
21+
- [SQLCipher] Zero password on error path in `changePassword` bridge method
22+
- [SQLCipher] Throw error when `passphrase` is used without `jsi: true` to prevent silent fallback to unencrypted DB
23+
- [SQLCipher] Make passphrase+jsi invariant run in production builds (not dev-only)
24+
- [SQLCipher] Forward `passphrase` in `testClone` to support encrypted database cloning
25+
- [Android] Align gradle property name `isEncryptedDB` with docs and iOS podspec (was `encryptedDB`)
26+
- [Native] Restore `#include` in shared C++ headers for MSVC/GCC portability (revert `#import`)
27+
- [Native] Restore standard `public:`/`private:` indentation in shared header class declarations
28+
- [Native] Clean up debug log markers (`#####`) in encryption path
1429

1530
### Performance
1631

@@ -22,3 +37,5 @@
2237

2338
- Updated internal dependencies
2439
- Updated documentation scripts
40+
- [SQLCipher] Add Node Jest tests for encryption validation and passphrase plumbing
41+
- [SQLCipher] Add RN integration tests for encrypted DB round-trip, `changePassword`, and error cases

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.
44

55
Contributors: Please add your changes to CHANGELOG-Unreleased.md
66

7+
## 0.28.1-1 - 2026-03-26
8+
9+
### New features
10+
11+
- [SQLCipher] Add `changePassword(newPassphrase)` API to change encryption key at runtime (JSI-only)
12+
- [SQLCipher] Add `sqlite3_rekey` support in native C++ layer with post-rekey verification
13+
14+
### Fixes
15+
16+
- [SQLCipher] Fix use-after-free when encrypted database fails to open
17+
- [SQLCipher] Fix `throw new` to `throw` in native C++ so exceptions are catchable
18+
- [SQLCipher] Fix sqlite handle leak on `sqlite3_open` failure
19+
- [SQLCipher] Zero encryption password from memory after use at all native layers
20+
- [SQLCipher] Throw error when `passphrase` is used without `jsi: true`
21+
- [SQLCipher] Forward `passphrase` in `testClone` for encrypted database support
22+
- [Android] Align gradle property `isEncryptedDB` with docs and iOS podspec
23+
- [Native] Restore `#include` in shared C++ headers for cross-platform portability
24+
- [Native] Clean up debug log markers in encryption path
25+
26+
### Internal
27+
28+
- [SQLCipher] Add Node Jest and RN integration tests for encryption
29+
730
## 0.28 - 2025-04-07
831

932
### BREAKING CHANGES

0 commit comments

Comments
 (0)