Skip to content

Commit 135bb23

Browse files
committed
Update changelog for v0.15.0, bump Cargo.toml, fix README
1 parent 67f704e commit 135bb23

File tree

3 files changed

+41
-4
lines changed

3 files changed

+41
-4
lines changed

CHANGELOG.md

+39-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.15.0] - 2024-09-??
11+
12+
This update contains breaking changes that remove the `raw` API with the hope of
13+
centralising on the `HashTable` API in the future. You can follow the discussion
14+
and progress in #545 to discuss features you think should be added to this API
15+
that were previously only possible on the `raw` API.
16+
17+
### Added
18+
19+
- Added `borsh` feature with `BorshSerialize` and `BorshDeserialize` impls. (#525)
20+
- Added `Assign` impls for `HashSet` operators. (#529)
21+
- Added `Default` impls for iterator types. (#542)
22+
- Added `HashTable::iter_hash{,_mut}` methods. (#549)
23+
- Added `Hash{Table,Map,Set}::allocation_size` methods. (#553)
24+
- Implemented `Debug` and `FusedIterator` for all `HashTable` iterators. (#561)
25+
- Specialized `Iterator::fold` for all `HashTable` iterators. (#561)
26+
1027
### Changed
1128

12-
- Changed `hash_set::{Entry, VacantEntry}::insert` to return `OccupiedEntry`. (#495)
29+
- Changed `hash_set::VacantEntry::insert` to return `OccupiedEntry`. (#495)
30+
- Improved`hash_set::Difference::size_hint` lower-bound. (#530)
31+
- Improved `HashSet::is_disjoint` performance. (#531)
32+
- `equivalent` feature is now enabled by default. (#532)
33+
- `HashSet` operators now return a set with the same allocator. (#529)
34+
- `ahash` feature has been renamed to `default-hasher`. (#533)
35+
- Entry API has been reworked and several methods have been renamed. (#535)
36+
- `Hash{Map,Set}::insert_unique_unchecked` is now unsafe. (#556)
37+
38+
### Fixed
39+
40+
* Fixed typos, stray backticks in docs. (#558, #560)
41+
42+
### Removed
43+
44+
- Raw entry API is now under `raw-entry` feature, to be eventually removed. (#534, #555)
45+
- Raw table API has been made private and the `raw` feature is removed;
46+
in the future, all code should be using the `HashTable` API instead. (#531, #546)
47+
- `rykv` feature was removed; this is now provided by the `rykv` crate instead. (#554)
48+
- `HashSet::get_or_insert_owned` was removed in favor of `get_or_insert_with`. (#555)
1349

1450
## [v0.14.5] - 2024-04-28
1551

@@ -485,7 +521,8 @@ This release was _yanked_ due to a breaking change for users of `no-default-feat
485521

486522
- Initial release
487523

488-
[Unreleased]: https://github.com/rust-lang/hashbrown/compare/v0.14.5...HEAD
524+
[Unreleased]: https://github.com/rust-lang/hashbrown/compare/v0.15.0...HEAD
525+
[v0.15.0]: https://github.com/rust-lang/hashbrown/compare/v0.14.5...v0.15.0
489526
[v0.14.5]: https://github.com/rust-lang/hashbrown/compare/v0.14.4...v0.14.5
490527
[v0.14.4]: https://github.com/rust-lang/hashbrown/compare/v0.14.3...v0.14.4
491528
[v0.14.3]: https://github.com/rust-lang/hashbrown/compare/v0.14.2...v0.14.3

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hashbrown"
3-
version = "0.14.5"
3+
version = "0.15.0"
44
authors = ["Amanieu d'Antras <[email protected]>"]
55
description = "A Rust port of Google's SwissTable hash map"
66
license = "MIT OR Apache-2.0"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ This crate has the following Cargo features:
103103
- `serde`: Enables serde serialization support.
104104
- `borsh`: Enables borsh serialization support.
105105
- `rayon`: Enables rayon parallel iterator support.
106-
- `equivalent`: Allows comparisons to be customized with the `Equivalent` trait.
106+
- `equivalent`: Allows comparisons to be customized with the `Equivalent` trait. (enabled by default)
107107
- `raw-entry`: Enables access to the deprecated `RawEntry` API.
108108
- `inline-more`: Adds inline hints to most functions, improving run-time performance at the cost
109109
of compilation time. (enabled by default)

0 commit comments

Comments
 (0)