Skip to content

Commit f3a242f

Browse files
committed
Version 0.12.0
1 parent 61d70a1 commit f3a242f

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

CHANGELOG.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
77

88
## [Unreleased]
99

10-
- Bumped minimum Rust version to 1.56.1 and edition to 2021
11-
- Added `From<[T; N]>` and `From<[(K, V); N]>` for `HashSet` and `HashMap` respectively (#297)
10+
## [v0.12.0] - 2022-01-17
11+
12+
## Added
13+
14+
- Added `From<[T; N]>` and `From<[(K, V); N]>` for `HashSet` and `HashMap` respectively. (#297)
15+
- Added an `allocator()` getter to HashMap and HashSet. (#257)
16+
- Added `insert_unique_unchecked` to `HashMap` and `HashSet`. (#293)
17+
- Added `into_keys` and `into_values` to HashMap. (#295)
18+
- Implement `From<array>` on `HashSet` and `HashMap`. (#298)
19+
- Added `entry_ref` API to `HashMap`. (#201)
20+
21+
## Changed
22+
23+
- Bumped minimum Rust version to 1.56.1 and edition to 2021.
24+
- Use u64 for the GroupWord on WebAssembly. (#271)
25+
- Optimized `find`. (#279)
26+
- Made rehashing and resizing less generic to reduce compilation time. (#282)
27+
- Inlined small functions. (#283)
28+
- Use `BuildHasher::hash_one` when `feature = "nightly"` is enabled. (#292)
29+
- Relaxed the bounds on `Debug` for `HashSet`. (#296)
30+
- Rename `get_each_mut` to `get_many_mut` and align API with the stdlib. (#291)
31+
- Don't hash the key when searching in an empty table. (#305)
32+
33+
## Fixed
34+
35+
- Guard against allocations exceeding isize::MAX. (#268)
36+
- Made `RawTable::insert_no_grow` unsafe. (#254)
37+
- Inline `static_empty`. (#280)
38+
- Fixed trait bounds on Send/Sync impls. (#303)
1239

1340
## [v0.11.2] - 2021-03-25
1441

@@ -310,7 +337,8 @@ This release was _yanked_ due to a breaking change for users of `no-default-feat
310337

311338
- Initial release
312339

313-
[Unreleased]: https://github.com/rust-lang/hashbrown/compare/v0.11.2...HEAD
340+
[Unreleased]: https://github.com/rust-lang/hashbrown/compare/v0.12.0...HEAD
341+
[v0.12.0]: https://github.com/rust-lang/hashbrown/compare/v0.11.2...v0.12.0
314342
[v0.11.2]: https://github.com/rust-lang/hashbrown/compare/v0.11.1...v0.11.2
315343
[v0.11.1]: https://github.com/rust-lang/hashbrown/compare/v0.11.0...v0.11.1
316344
[v0.11.0]: https://github.com/rust-lang/hashbrown/compare/v0.10.0...v0.11.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hashbrown"
3-
version = "0.11.2"
3+
version = "0.12.0"
44
authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
55
description = "A Rust port of Google's SwissTable hash map"
66
license = "Apache-2.0/MIT"

0 commit comments

Comments
 (0)