Releases: vincent-herlemont/native_db
Releases · vincent-herlemont/native_db
0.8.1
0.8.1 (2024-10-14)
Bug Fixes
- upsert duplicate key (4148ff8) :
⚠️ In certain cases, this bug could lead to incorrectly indexed data. To prevent this, please use the methodupgrading_from_version("<0.8.1")
along with the methodrefresh
on your types with secondary indexes. This will help ensure that the data is indexed correctly.
0.8.0
0.8.0 (2024-10-12)
Bug Fixes
- avoid panic during scan (93771b0)
- avoid panic in some cases (db43ab2)
- deps: update rust crate native_model to 0.4.20 (af48118)
- deps: update rust crate redb to 2.1.4 (fc22469)
- downgrade once_cell to 1.19.0 (a13ebf7)
- secondary for rw transaction (7e0d719)
- test chrono example (e278e2b)
Features
- ⭐ support type checking for queries (f3523f9) Now all the queries
get
,scan
,watch
, etc. implement type checks. - add
refresh()
method (82ebe53) - add
upsert()
(40b57b5) - expose
check_integrity()
(08d2fdf) - expose
compact()
(fe01697) - secondary indexes use redb multimap table (488a620)
- setup metadata (5712fc8)
About Performance
- 🚀 benchmarks enhancement (447f9aa) see Native DB vs Sqlite vs Redb.
0.7.1
0.7.0
Documentation improvements, now available:
- The complete API API .
- A quick start guide Quick Start.
Features
-
Breaking / Major:
-
Minor:
- add abort method to RwTransaction (cce2e26)
- allow to implement custom key + refactor internal types (7bb849b)
- support secondary key for len method (887d2d7)
Bug Fixes
- deps: update rust crate native_model to 0.4.19 (e562273)
- deps: update rust crate redb to 2.1.1 (5ae54c9)
- migration: fix migration when another model with a different id exists (47fa6a5)
Special Thanks:
0.6.1
0.6.0
0.6.0 (2024-05-01)
Bug Fixes
- automatically remove the sender when the receiver is removed (0b08e9d)
- compatibilities with redb 2.0.0 (0408b20)
- deps: update rust crate native_model to 0.4.14
- deps: update rust crate redb to 2.1.0 (bc7099a)
- deps: update rust crate redb to v2 (b4f88ae)
- deps: update rust crate uuid to 1.8 (5fed2f3)