From 88d54a540f6bbde0e9bdcc7f72d58bf1c8c8ce97 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 19 Nov 2025 19:38:44 +0000 Subject: [PATCH 1/3] chore: release v0.16.1 --- CHANGELOG.md | 16 ++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fef4caf7..e05b2eda4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.16.1](https://github.com/rust-lang/hashbrown/compare/v0.16.0...v0.16.1) - 2025-11-19 + +### Other + +- Add `T` to bucket iterators and inline their methods +- Add `HashTable::iter_buckets` and `iter_hash_buckets` +- Add `HashTable::get_bucket_entry_unchecked` +- `get_bucket_entry -> Result` +- Add `get_bucket_unchecked` and `get_bucket_unchecked_mut` +- Make `HashTable` entries use `Tag` instead of a full hash +- Rename `HashTable::buckets` to `num_buckets` +- Add `HashTable` methods related to the raw bucket index +- Merge pull request #579 from djugei/master +- Clean up doc comment for `VacantEntryRef::insert_with_key` +- Add insert_with_key, allowing the user to provide the key at insertion time. + - The `get_many_mut` family of methods have been renamed to `get_disjoint_mut` to match the standard library. The old names are still present for now, but deprecated. diff --git a/Cargo.toml b/Cargo.toml index 2ed5980fa..faa009581 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hashbrown" -version = "0.16.0" +version = "0.16.1" authors = ["Amanieu d'Antras "] description = "A Rust port of Google's SwissTable hash map" license = "MIT OR Apache-2.0" From 2e363b6f123e53198dce3006e51d70565e556b0f Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Thu, 20 Nov 2025 16:22:59 +0000 Subject: [PATCH 2/3] Update CHANGELOG for version 0.16.1 Updated new features and changes for version 0.16.1. --- CHANGELOG.md | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e05b2eda4..a1ce73cfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,25 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.16.1](https://github.com/rust-lang/hashbrown/compare/v0.16.0...v0.16.1) - 2025-11-19 - -### Other - -- Add `T` to bucket iterators and inline their methods -- Add `HashTable::iter_buckets` and `iter_hash_buckets` -- Add `HashTable::get_bucket_entry_unchecked` -- `get_bucket_entry -> Result` -- Add `get_bucket_unchecked` and `get_bucket_unchecked_mut` -- Make `HashTable` entries use `Tag` instead of a full hash -- Rename `HashTable::buckets` to `num_buckets` -- Add `HashTable` methods related to the raw bucket index -- Merge pull request #579 from djugei/master -- Clean up doc comment for `VacantEntryRef::insert_with_key` -- Add insert_with_key, allowing the user to provide the key at insertion time. +## [0.16.1](https://github.com/rust-lang/hashbrown/compare/v0.16.0...v0.16.1) - 2025-11-20 +### Added + +- Added `HashTable` methods related to the raw bucket index (#657) +- Added `VacantEntryRef::insert_with_key` (#579) + +### Changed + +- Removed specialization for `Copy` types (#662) - The `get_many_mut` family of methods have been renamed to `get_disjoint_mut` to match the standard library. The old names are still present for now, but deprecated. +- Recognize and use over-sized allocations when using custom allocators. (#523) +- Depend on `serde_core` instead of `serde`. (#649) +- Optimized `collect` on rayon parallel iterators. (#652) ## [0.16.0](https://github.com/rust-lang/hashbrown/compare/v0.15.5...v0.16.0) - 2025-08-28 From 1876e4f02708b93903d55ef598f68e82a826518f Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Thu, 20 Nov 2025 16:23:58 +0000 Subject: [PATCH 3/3] Add PR link for `get_disjoint_mut` rename --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1ce73cfb..46a488126 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Removed specialization for `Copy` types (#662) - The `get_many_mut` family of methods have been renamed to `get_disjoint_mut` to match the standard library. The old names are still present for now, but - deprecated. + deprecated. (#648) - Recognize and use over-sized allocations when using custom allocators. (#523) - Depend on `serde_core` instead of `serde`. (#649) - Optimized `collect` on rayon parallel iterators. (#652)