|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -For versions `v0.x.y`, the changes are reported in the [GitHub |
| 3 | +For versions before `v1.0.0`, the changes are reported in the [GitHub |
4 | 4 | releases](https://github.com/lucaong/cubdb/releases). |
5 | 5 |
|
6 | | -After `v1.0.0` is out, `CubDB` will follow [semantic |
7 | | -versioning](https://semver.org) and report changes here. |
| 6 | +Since `v1.0.0`, `CubDB` follows [semantic versioning](https://semver.org), and |
| 7 | +reports changes here. |
| 8 | + |
| 9 | +## v1.0.0 |
| 10 | + |
| 11 | +### Breaking changes from v0.17.0: |
| 12 | + |
| 13 | + - Better defaults: |
| 14 | + * `auto_file_sync` now defaults to `true` (slower but durable) |
| 15 | + * `auto_compact` now defaults to `true` |
| 16 | + - Functions `select/2` and `get_and_update_multi/4` now take the timeout as an option instead of an additional argument |
| 17 | + |
| 18 | +### Other changes from v0.17.0: |
| 19 | + |
| 20 | + - Better internal handling of timeouts that ensures cleanup of resources on the callee side |
| 21 | + - Added `put_and_delete_multi/3` to atomically put and delete entries |
| 22 | + - Added `put_new/3` to put an entry only if the key does not exist yet |
| 23 | + - More efficient implementation of `put_multi/2` and `delete_multi/2` |
| 24 | + - Function `get_multi/2` does not block writers |
| 25 | + - Fix race condition during compaction |
| 26 | + - Function `get_and_update/3` avoids unnecessary disk writes (including the transaction header) when the value is unchanged |
| 27 | + - Remove caller timeout on `put_and_delete_multi/3` and `put_multi/2`, consistently with the other functions. |
| 28 | + - Remove default GenServer timeouts |
| 29 | + - Fix process (and file descriptor) leak upon compaction |
| 30 | + - Fix `cubdb_file?/1` regexp, making it stricter |
0 commit comments