diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ece974..1a63719 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,35 @@ # Changelog -## Unreleased +## 0.14.0 (2020-04-22) * Updated lz4 to v1.9.2 (ordian) * BlockBasedOptions: expose `format_version`, `[index_]block_restart_interval` (ordian) +* Improve `ffi_try` macro to make trailing comma optional (wqfish) +* Add `set_ratelimiter` to the `Options` (PatrickNicholas) +* Add `set_max_total_wal_size` to the `Options` (wqfish) +* Simplify conversion on iterator item (zhangsoledad) +* Add `flush_cf` method to the `DB` (wqfish) +* Fix potential segfault when calling `next` on the `DBIterator` that is at the end of the range (wqfish) +* Move to Rust 2018 (wqfish) +* Fix doc for `WriteBatch::delete` (wqfish) +* Bump `uuid` and `bindgen` dependencies (jonhoo) +* Change APIs that never return error to not return `Result` (wqfish) +* Fix lifetime parameter for iterators (wqfish) +* Add a doc for `optimize_level_style_compaction` method (NikVolf) +* Make `DBPath` use `tempfile` (jder) +* Refactor `db.rs` and `lib.rs` into smaller pieces (jder) +* Check if we're on a big endian system and act upon it (knarz) +* Bump internal snappy version up to 1.1.8 (aleksuss) +* Bump rocksdb version up to 6.7.3 (aleksuss) +* Atomic flush option (mappum) +* Make `set_iterate_upper_bound` method safe (wqfish) +* Add support for data block hash index (dvdplm) +* Add some extra config options (casualjim) +* Add support for range delete APIs (wqfish) +* Improve building `librocksdb-sys` with system libraries (basvandijk) +* Add support for `open_for_read_only` APIs (wqfish) +* Fix doc for `DBRawIterator::prev` and `next` methods (wqfish) +* Add support for `open_as_secondary` APIs (calavera) ## 0.13.0 (2019-11-12) diff --git a/Cargo.toml b/Cargo.toml index c14e29f..5cf221b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rocksdb" description = "Rust wrapper for Facebook's RocksDB embeddable database" -version = "0.13.0" +version = "0.14.0" edition = "2018" authors = ["Tyler Neely ", "David Greenberg "] license = "Apache-2.0" diff --git a/librocksdb-sys/build.rs b/librocksdb-sys/build.rs index 0e62383..fde62f1 100644 --- a/librocksdb-sys/build.rs +++ b/librocksdb-sys/build.rs @@ -28,9 +28,9 @@ fn fail_on_empty_directory(name: &str) { fn rocksdb_include_dir() -> String { match env::var("ROCKSDB_INCLUDE_DIR") { - Ok(val) => return val, - Err(_) => return "rocksdb/include".to_string(), - }; + Ok(val) => val, + Err(_) => "rocksdb/include".to_string(), + } } fn bindgen_rocksdb() {