- Raise an error if invalid options are passed to the constructor. - Bugfix: Ensure drop() only removes the specified collection. - Fix initializer double memory allocation. - Fix key/data object allocation: make garbage collection safe. - Move common macros to the global header file. FossilOrigin-Name: 98d3016bd25921dead39d9c5474712766b56519d575bc8cd960932b3fbc16b69
1.5 KiB
1.5 KiB
Release History for MDBX
v0.3.1 [2021-05-16] Mahlon E. Smith mahlon@martini.nu
Bugfix:
- #drop could potentially remove unintended data. Yanked version v0.3.0.
v0.3.0 [2021-04-09] Mahlon E. Smith mahlon@martini.nu
Enhancements:
-
Alter the behavior of #clear, so it doesn't destroy collection environments, but just empties them.
-
Add #drop, which explictly -does- destroy a collection environment.
-
Switching to a collection now automatically creates its environment.
-
Add include? and has_key?, for presence checks without allocating value memory or requiring deserialization.
Bugfixes:
-
Run all cursor methods through rb_protect, to ensure proper cursor cleanup in the event of an exception mid iteration.
-
Fix the block form of collections to support multiple scopes.
v0.2.1 [2021-04-06] Mahlon E. Smith mahlon@martini.nu
Enhancement:
- Automatically stringify any argument to the collection() method.
v0.2.0 [2021-03-19] Mahlon E. Smith mahlon@martini.nu
Enhancement:
- Support dup/clone. This has limited use, as there can only be one open handle per process, but implemented in the interests of avoiding unexpected behavior.
v0.1.1 [2021-03-14] Mahlon E. Smith mahlon@martini.nu
Bugfix:
- Don't inadvertantly close an open transaction while using hash convenience methods.
v0.1.0 [2021-03-14] Mahlon E. Smith mahlon@martini.nu
Initial public release.
v0.0.1 [2020-12-16] Mahlon E. Smith mahlon@martini.nu
Early release, initial basic functionality.