@@ -9,14 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
9
9
10
10
## [ v0.13.1] - 2022-11-10
11
11
12
- # Added
12
+ ### Added
13
13
14
14
- Added ` Equivalent ` trait to customize key lookups. (#350 )
15
15
- Added support for 16-bit targets. (#368 )
16
16
- Added ` RawTable::allocation_info ` which provides information about the memory
17
17
usage of a table. (#371 )
18
18
19
- # Changed
19
+ ### Changed
20
20
21
21
- Bumped MSRV to 1.61.0.
22
22
- Upgraded to ` ahash ` 0.8. (#357 )
@@ -28,40 +28,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
28
28
- ` Bucket::drop ` => Use ` RawTable::erase ` instead.
29
29
- ` Bucket::write ` => Use ` Bucket::as_mut ` instead.
30
30
31
- # Fixed
31
+ ### Fixed
32
32
33
33
- Ensure that ` HashMap ` allocations don't exceed ` isize::MAX ` . (#362 )
34
34
- Fixed issue with field retagging in scopeguard. (#359 )
35
35
36
36
## [ v0.12.3] - 2022-07-17
37
37
38
- ## Fixed
38
+ ### Fixed
39
39
40
40
- Fixed double-drop in ` RawTable::clone_from ` . (#348 )
41
41
42
42
## [ v0.12.2] - 2022-07-09
43
43
44
- ## Added
44
+ ### Added
45
45
46
46
- Added ` Entry ` API for ` HashSet ` . (#342 )
47
47
- Added ` Extend<&'a (K, V)> for HashMap<K, V, S, A> ` . (#340 )
48
48
- Added length-based short-circuiting for hash table iteration. (#338 )
49
49
- Added a function to access the ` RawTable ` of a ` HashMap ` . (#335 )
50
50
51
- ## Changed
51
+ ### Changed
52
52
53
53
- Edited ` do_alloc ` to reduce LLVM IR generated. (#341 )
54
54
55
55
## [ v0.12.1] - 2022-05-02
56
56
57
- ## Fixed
57
+ ### Fixed
58
58
59
59
- Fixed underflow in ` RawIterRange::size_hint ` . (#325 )
60
60
- Fixed the implementation of ` Debug ` for ` ValuesMut ` and ` IntoValues ` . (#325 )
61
61
62
62
## [ v0.12.0] - 2022-01-17
63
63
64
- ## Added
64
+ ### Added
65
65
66
66
- Added ` From<[T; N]> ` and ` From<[(K, V); N]> ` for ` HashSet ` and ` HashMap ` respectively. (#297 )
67
67
- Added an ` allocator() ` getter to HashMap and HashSet. (#257 )
@@ -70,7 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
70
70
- Implement ` From<array> ` on ` HashSet ` and ` HashMap ` . (#298 )
71
71
- Added ` entry_ref ` API to ` HashMap ` . (#201 )
72
72
73
- ## Changed
73
+ ### Changed
74
74
75
75
- Bumped minimum Rust version to 1.56.1 and edition to 2021.
76
76
- Use u64 for the GroupWord on WebAssembly. (#271 )
@@ -82,7 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
82
82
- Rename ` get_each_mut ` to ` get_many_mut ` and align API with the stdlib. (#291 )
83
83
- Don't hash the key when searching in an empty table. (#305 )
84
84
85
- ## Fixed
85
+ ### Fixed
86
86
87
87
- Guard against allocations exceeding isize::MAX. (#268 )
88
88
- Made ` RawTable::insert_no_grow ` unsafe. (#254 )
@@ -91,19 +91,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
91
91
92
92
## [ v0.11.2] - 2021-03-25
93
93
94
- ## Fixed
94
+ ### Fixed
95
95
96
96
- Added missing allocator type parameter to ` HashMap ` 's and ` HashSet ` 's ` Clone ` impls. (#252 )
97
97
98
98
## [ v0.11.1] - 2021-03-20
99
99
100
- ## Fixed
100
+ ### Fixed
101
101
102
102
- Added missing ` pub ` modifier to ` BumpWrapper ` . (#251 )
103
103
104
104
## [ v0.11.0] - 2021-03-14
105
105
106
- ## Added
106
+ ### Added
107
107
- Added safe ` try_insert_no_grow ` method to ` RawTable ` . (#229 )
108
108
- Added support for ` bumpalo ` as an allocator without the ` nightly ` feature. (#231 )
109
109
- Implemented ` Default ` for ` RawTable ` . (#237 )
@@ -112,38 +112,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
112
112
- Added ` From<HashMap<T, ()>> ` for ` HashSet<T> ` . (#235 )
113
113
- Added ` try_insert ` method to ` HashMap ` . (#247 )
114
114
115
- ## Changed
115
+ ### Changed
116
116
- The minimum Rust version has been bumped to 1.49.0. (#230 )
117
117
- Significantly improved compilation times by reducing the amount of generated IR. (#205 )
118
118
119
- ## Removed
119
+ ### Removed
120
120
- We no longer re-export the unstable allocator items from the standard library, nor the stable shims approximating the same. (#227 )
121
121
- Removed hasher specialization support from ` aHash ` , which was resulting in inconsistent hashes being generated for a key. (#248 )
122
122
123
- ## Fixed
123
+ ### Fixed
124
124
- Fixed union length comparison. (#228 )
125
125
126
126
## ~~ [ v0.10.0] - 2021-01-16~~
127
127
128
128
This release was _ yanked_ due to inconsistent hashes being generated with the ` nightly ` feature. (#248 )
129
129
130
- ## Changed
130
+ ### Changed
131
131
- Parametrized ` RawTable ` , ` HashSet ` and ` HashMap ` over an allocator. (#133 )
132
132
- Improved branch prediction hints on stable. (#209 )
133
133
- Optimized hashing of primitive types with AHash using specialization. (#207 )
134
134
- Only instantiate ` RawTable ` 's reserve functions once per key-value. (#204 )
135
135
136
136
## [ v0.9.1] - 2020-09-28
137
137
138
- ## Added
138
+ ### Added
139
139
- Added safe methods to ` RawTable ` (#202 ):
140
140
- ` get ` : ` find ` and ` as_ref `
141
141
- ` get_mut ` : ` find ` and ` as_mut `
142
142
- ` insert_entry ` : ` insert ` and ` as_mut `
143
143
- ` remove_entry ` : ` find ` and ` remove `
144
144
- ` erase_entry ` : ` find ` and ` erase `
145
145
146
- ## Changed
146
+ ### Changed
147
147
- Removed ` from_key_hashed_nocheck ` 's ` Q: Hash ` . (#200 )
148
148
- Made ` RawTable::drain ` safe. (#201 )
149
149
0 commit comments