Debian Codegraph @

RELEASES.md

raw symbols SCIP
1 # Releases
2
3 ## 1.2.0 (2026-02-09)
4
5 - **MSRV**: Rust 1.85.0 or later is now required.
6 - Updated the `indexmap` dependency to version 2.14.0.
7 - New features include `const`-ified methods on `Slice` types.
8
9 ## 1.1.0 (2026-01-07)
10
11 - Updated the `indexmap` dependency to version 2.13.0 for new features:
12 - Implemented `Clone` for `IntoKeys` and `IntoValues`.
13 - Added `map::Slice::split_at_checked` and `split_at_mut_checked`.
14 - Added `set::Slice::split_at_checked`.
15
16 ## 1.0.0 (2025-10-17)
17
18 - **MSRV**: Rust 1.82.0 or later is now required.
19 - Updated the `indexmap` dependency to version 2.12.0.
20 - Added `pop_if` methods to `OrderMap` and `OrderSet`, similar to the
21 method for `Vec` added in Rust 1.86.
22
23 ## 0.5.12 (2025-09-15)
24
25 - Make the minimum `serde` version only apply when "serde" is enabled.
26
27 ## 0.5.11 (2025-09-15)
28
29 - Switched the "serde" feature to depend on `serde_core`, improving build
30 parallelism in cases where other dependents have enabled "serde/derive".
31
32 ## 0.5.10 (2025-09-08)
33
34 - Added a `get_key_value_mut` method to `OrderMap`.
35 - Removed the unnecessary `Ord` bound on `insert_sorted_by` methods.
36
37 ## 0.5.9 (2025-08-22)
38
39 - Added `insert_sorted_by` and `insert_sorted_by_key` methods to `OrderMap`,
40 `OrderSet`, and `VacantEntry`, like customizable versions of `insert_sorted`.
41 - Added `is_sorted`, `is_sorted_by`, and `is_sorted_by_key` methods to
42 `OrderMap` and `OrderSet`, as well as their `Slice` counterparts.
43 - Added `sort_by_key` and `sort_unstable_by_key` methods to `OrderMap` and
44 `OrderSet`, as well as parallel counterparts.
45 - Added `replace_index` methods to `OrderMap`, `OrderSet`, and `VacantEntry`
46 to replace the key (or set value) at a given index.
47 - Added optional `sval` serialization support.
48
49 ## 0.5.8 (2025-06-26)
50
51 - Added `extract_if` methods to `OrderMap` and `OrderSet`, similar to the
52 methods for `HashMap` and `HashSet` with ranges like `Vec::extract_if`.
53 - Added more `#[track_caller]` annotations to functions that may panic.
54
55 ## 0.5.7 (2025-04-04)
56
57 - Added a `get_disjoint_mut` method to `OrderMap`, matching Rust 1.86's
58 `HashMap` method.
59 - Added a `get_disjoint_indices_mut` method to `OrderMap`, matching Rust 1.86's
60 `get_disjoint_mut` method on slices.
61 - Updated the `indexmap` dependency to version 2.9.0.
62
63 ## 0.5.6 (2025-03-10)
64
65 - Added `ordermap_with_default!` and `orderset_with_default!` to be used with
66 alternative hashers, especially when using the crate without `std`.
67 - Updated the `indexmap` dependency to version 2.8.0.
68
69 ## 0.5.5 (2025-01-19)
70
71 - Added `#[track_caller]` to functions that may panic.
72 - Updated the `indexmap` dependency to version 2.7.1.
73
74 ## 0.5.4 (2024-11-30)
75
76 - Added methods `Entry::insert_entry` and `VacantEntry::insert_entry`, returning
77 an `OccupiedEntry` after insertion.
78 - Updated the `indexmap` dependency to version 2.7.0, indirectly updating to
79 `hashbrown` version 0.15 as well.
80
81 ## 0.5.3 (2024-08-30)
82
83 - Added an `insert_before` method to `OrderMap` and `OrderSet`, as an
84 alternative to `shift_insert` with different behavior on existing entries.
85 - Added `first_entry` and `last_entry` methods to `OrderMap`.
86 - Added `From` implementations between `IndexedEntry` and `OccupiedEntry`.
87
88 ## 0.5.2 (2024-08-13)
89
90 - Added methods `OrderMap::append` and `OrderSet::append`, moving all items from
91 one map or set into another, and leaving the original capacity for reuse.
92
93 ## 0.5.1 (2024-08-01)
94
95 - Added trait `MutableEntryKey` for opt-in mutable access to map entry keys.
96 - Added method `MutableKeys::iter_mut2` for opt-in mutable iteration of map
97 keys and values.
98
99 ## 0.5.0 (2024-06-25)
100
101 - Reinstated `ordermap` as a crate that wraps `indexmap` with stronger
102 ordering semantics. It **does** consider order for `PartialEq` and `Eq`,
103 also adding implementations of `PartialOrd`, `Ord`, and `Hash`. Methods
104 like `remove` use the semantics of indexmap's `shift_remove`.
105
106 ## 0.4.2 (2018-11-17)
107
108 - Inserted more deprecation information in the documentation.
109 Note: the crate ordermap has been renamed with no change in functionality
110 to indexmap; please use it under its new name.
111
112 ## 0.4.1 (2018-02-14)
113
114 - Renamed crate to `indexmap`; the `ordermap` crate is now deprecated
115 and the types `OrderMap/Set` now have a deprecation notice.
116
117 ## 0.4.0 (2018-02-02)
118
119 - This is the last release series for this `ordermap` under that name,
120 because the crate is **going to be renamed** to `indexmap` (with types
121 `IndexMap`, `IndexSet`) and no change in functionality!
122 - The map and its associated structs moved into the `map` submodule of the
123 crate, so that the map and set are symmetric
124
125 + The iterators, `Entry` and other structs are now under `ordermap::map::`
126
127 - Internally refactored `OrderMap<K, V, S>` so that all the main algorithms
128 (insertion, lookup, removal etc) that don't use the `S` parameter (the
129 hasher) are compiled without depending on `S`, which reduces generics bloat.
130
131 - `Entry<K, V>` no longer has a type parameter `S`, which is just like
132 the standard `HashMap`'s entry.
133
134 - Minimum Rust version requirement increased to Rust 1.18
135
136 ## 0.3.5 (2018-01-14)
137
138 - Documentation improvements
139
140 ## 0.3.4 (2018-01-04)
141
142 - The `.retain()` methods for `OrderMap` and `OrderSet` now
143 traverse the elements in order, and the retained elements **keep their order**
144 - Added new methods `.sort_by()`, `.sort_keys()` to `OrderMap` and
145 `.sort_by()`, `.sort()` to `OrderSet`. These methods allow you to
146 sort the maps in place efficiently.
147
148 ## 0.3.3 (2017-12-28)
149
150 - Document insertion behaviour better by @lucab
151 - Updated dependences (no feature changes) by @ignatenkobrain
152
153 ## 0.3.2 (2017-11-25)
154
155 - Add `OrderSet` by @cuviper!
156 - `OrderMap::drain` is now (too) a double ended iterator.
157
158 ## 0.3.1 (2017-11-19)
159
160 - In all ordermap iterators, forward the `collect` method to the underlying
161 iterator as well.
162 - Add crates.io categories.
163
164 ## 0.3.0 (2017-10-07)
165
166 - The methods `get_pair`, `get_pair_index` were both replaced by
167 `get_full` (and the same for the mutable case).
168 - Method `swap_remove_pair` replaced by `swap_remove_full`.
169 - Add trait `MutableKeys` for opt-in mutable key access. Mutable key access
170 is only possible through the methods of this extension trait.
171 - Add new trait `Equivalent` for key equivalence. This extends the
172 `Borrow` trait mechanism for `OrderMap::get` in a backwards compatible
173 way, just some minor type inference related issues may become apparent.
174 See [#10] for more information.
175 - Implement `Extend<(&K, &V)>` by @xfix.
176
177 [#10]: https://github.com/indexmap-rs/indexmap/pull/10
178
179 ## 0.2.13 (2017-09-30)
180
181 - Fix deserialization to support custom hashers by @Techcable.
182 - Add methods `.index()` on the entry types by @garro95.
183
184 ## 0.2.12 (2017-09-11)
185
186 - Add methods `.with_hasher()`, `.hasher()`.
187
188 ## 0.2.11 (2017-08-29)
189
190 - Support `ExactSizeIterator` for the iterators. By @Binero.
191 - Use `Box<[Pos]>` internally, saving a word in the `OrderMap` struct.
192 - Serde support, with crate feature `"serde-1"`. By @xfix.
193
194 ## 0.2.10 (2017-04-29)
195
196 - Add iterator `.drain(..)` by @stevej.
197
198 ## 0.2.9 (2017-03-26)
199
200 - Add method `.is_empty()` by @overvenus.
201 - Implement `PartialEq, Eq` by @overvenus.
202 - Add method `.sorted_by()`.
203
204 ## 0.2.8 (2017-03-01)
205
206 - Add iterators `.values()` and `.values_mut()`.
207 - Fix compatibility with 32-bit platforms.
208
209 ## 0.2.7 (2016-11-02)
210
211 - Add `.retain()`.
212
213 ## 0.2.6 (2016-11-02)
214
215 - Add `OccupiedEntry::remove_entry` and other minor entry methods,
216 so that it now has all the features of `HashMap`'s entries.
217
218 ## 0.2.5 (2016-10-31)
219
220 - Improved `.pop()` slightly.
221
222 ## 0.2.4 (2016-10-22)
223
224 - Improved performance of `.insert()` ([#3]) by @pczarn.
225
226 [#3]: https://github.com/indexmap-rs/indexmap/pull/3
227
228 ## 0.2.3 (2016-10-11)
229
230 - Generalize `Entry` for now, so that it works on hashmaps with non-default
231 hasher. However, there's a lingering compat issue since libstd `HashMap`
232 does not parameterize its entries by the hasher (`S` typarm).
233 - Special case some iterator methods like `.nth()`.
234
235 ## 0.2.2 (2016-10-02)
236
237 - Disable the verbose `Debug` impl by default.
238
239 ## 0.2.1 (2016-10-02)
240
241 - Fix doc links and clarify docs.
242
243 ## 0.2.0 (2016-10-01)
244
245 - Add more `HashMap` methods & compat with its API.
246 - Experimental support for `.entry()` (the simplest parts of the API).
247 - Add `.reserve()` (placeholder impl).
248 - Add `.remove()` as synonym for `.swap_remove()`.
249 - Changed `.insert()` to swap value if the entry already exists, and
250 return `Option`.
251 - Experimental support as an *indexed* hash map! Added methods
252 `.get_index()`, `.get_index_mut()`, `.swap_remove_index()`,
253 `.get_pair_index()`, `.get_pair_index_mut()`.
254
255 ## 0.1.2 (2016-09-19)
256
257 - Implement the 32/32 split idea for `Pos` which improves cache utilization
258 and lookup performance.
259
260 ## 0.1.1 (2016-09-16)
261
262 - Initial release.