Skip to content

Commit 0525b09

Browse files
committed
Version v1.0.0
Functionally identical to v1.0.0-rc.10
1 parent b442cd6 commit 0525b09

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

CHANGELOG.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,30 @@
11
# Changelog
22

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
44
releases](https://github.com/lucaong/cubdb/releases).
55

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

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule CubDB.Mixfile do
22
use Mix.Project
33

4-
@version "1.0.0-rc.10"
4+
@version "1.0.0"
55
@source_url "https://github.com/lucaong/cubdb"
66

77
def project do

0 commit comments

Comments
 (0)