CDK v0.11.0

Version 0.11.0 brings significant architectural changes to enhance database reliability and performance. The major changes include:

1. **Database Engine Change**: Replaced `sqlx` with `rusqlite` as the SQLite database driver and removed support for `redb`. This change provides better performance and reliability for database operations.

2. **Transaction Management**: Introduced robust database transaction support that encapsulates all database changes. The new Transaction trait implements a rollback operation on Drop unless explicitly committed, ensuring data integrity.

3. **Race Condition Prevention**: Added READ-and-lock operations to securely read and lock records from the database for exclusive access, preventing race conditions in concurrent operations.

https://github.com/cashubtc/cdk/releases/tag/v0.11.0

Reply to this note

Please Login to reply.

Discussion

No replies yet.