Debian Codegraph @

debian/rust-vendor/indexmap/RELEASES.md

raw
1 # Releases
2
3 ## 2.14.1 (2026-08-28)
4
5 - Simplify comparisons where `Equivalent` isn't needed (`Q = K`).
6 - Unify index assertions for bounds checks.
7 - Fix (or `expect`) clippy lints.
8
9 ## 2.14.0 (2026-04-09)
10
11 - **MSRV**: Rust 1.85.0 or later is now required.
12 - Updated the `hashbrown` dependency to 0.17.
13 - Made more `map::Slice` methods `const`: `new_mut`, `first_mut`, `last_mut`,
14 `split_at_mut`, `split_at_mut_checked`, `split_first_mut`, `split_last_mut`
15
16 ## 2.13.1 (2026-04-02)
17
18 - Made some `Slice` methods `const`:
19 - `map::Slice::{first,last,split_at,split_at_checked,split_first,split_last}`
20 - `set::Slice::{first,last,split_at,split_at_checked,split_first,split_last}`
21
22 ## 2.13.0 (2026-01-07)
23
24 - Implemented `Clone` for `IntoKeys` and `IntoValues`.
25 - Added `map::Slice::split_at_checked` and `split_at_mut_checked`.
26 - Added `set::Slice::split_at_checked`.
27
28 ## 2.12.1 (2025-11-20)
29
30 - Simplified a lot of internals using `hashbrown`'s new bucket API.
31
32 ## 2.12.0 (2025-10-17)
33
34 - **MSRV**: Rust 1.82.0 or later is now required.
35 - Updated the `hashbrown` dependency to 0.16 alone.
36 - Error types now implement `core::error::Error`.
37 - Added `pop_if` methods to `IndexMap` and `IndexSet`, similar to the
38 method for `Vec` added in Rust 1.86.
39
40 ## 2.11.4 (2025-09-18)
41
42 - Updated the `hashbrown` dependency to a range allowing 0.15 or 0.16.
43
44 ## 2.11.3 (2025-09-15)
45
46 - Make the minimum `serde` version only apply when "serde" is enabled.
47
48 ## 2.11.2 (2025-09-15)
49
50 - Switched the "serde" feature to depend on `serde_core`, improving build
51 parallelism in cases where other dependents have enabled "serde/derive".
52
53 ## 2.11.1 (2025-09-08)
54
55 - Added a `get_key_value_mut` method to `IndexMap`.
56 - Removed the unnecessary `Ord` bound on `insert_sorted_by` methods.
57
58 ## 2.11.0 (2025-08-22)
59
60 - Added `insert_sorted_by` and `insert_sorted_by_key` methods to `IndexMap`,
61 `IndexSet`, and `VacantEntry`, like customizable versions of `insert_sorted`.
62 - Added `is_sorted`, `is_sorted_by`, and `is_sorted_by_key` methods to
63 `IndexMap` and `IndexSet`, as well as their `Slice` counterparts.
64 - Added `sort_by_key` and `sort_unstable_by_key` methods to `IndexMap` and
65 `IndexSet`, as well as parallel counterparts.
66 - Added `replace_index` methods to `IndexMap`, `IndexSet`, and `VacantEntry`
67 to replace the key (or set value) at a given index.
68 - Added optional `sval` serialization support.
69
70 ## 2.10.0 (2025-06-26)
71
72 - Added `extract_if` methods to `IndexMap` and `IndexSet`, similar to the
73 methods for `HashMap` and `HashSet` with ranges like `Vec::extract_if`.
74 - Added more `#[track_caller]` annotations to functions that may panic.
75
76 ## 2.9.0 (2025-04-04)
77
78 - Added a `get_disjoint_mut` method to `IndexMap`, matching Rust 1.86's
79 `HashMap` method.
80 - Added a `get_disjoint_indices_mut` method to `IndexMap` and `map::Slice`,
81 matching Rust 1.86's `get_disjoint_mut` method on slices.
82 - Deprecated the `borsh` feature in favor of their own `indexmap` feature,
83 solving a cyclic dependency that occurred via `borsh-derive`.
84
85 ## 2.8.0 (2025-03-10)
86
87 - Added `indexmap_with_default!` and `indexset_with_default!` to be used with
88 alternative hashers, especially when using the crate without `std`.
89 - Implemented `PartialEq` between each `Slice` and `[]`/arrays.
90 - Removed the internal `rustc-rayon` feature and dependency.
91
92 ## 2.7.1 (2025-01-19)
93
94 - Added `#[track_caller]` to functions that may panic.
95 - Improved memory reservation for `insert_entry`.
96
97 ## 2.7.0 (2024-11-30)
98
99 - Added methods `Entry::insert_entry` and `VacantEntry::insert_entry`, returning
100 an `OccupiedEntry` after insertion.
101
102 ## 2.6.0 (2024-10-01)
103
104 - Implemented `Clone` for `map::IntoIter` and `set::IntoIter`.
105 - Updated the `hashbrown` dependency to version 0.15.
106
107 ## 2.5.0 (2024-08-30)
108
109 - Added an `insert_before` method to `IndexMap` and `IndexSet`, as an
110 alternative to `shift_insert` with different behavior on existing entries.
111 - Added `first_entry` and `last_entry` methods to `IndexMap`.
112 - Added `From` implementations between `IndexedEntry` and `OccupiedEntry`.
113
114 ## 2.4.0 (2024-08-13)
115
116 - Added methods `IndexMap::append` and `IndexSet::append`, moving all items from
117 one map or set into another, and leaving the original capacity for reuse.
118
119 ## 2.3.0 (2024-07-31)
120
121 - Added trait `MutableEntryKey` for opt-in mutable access to map entry keys.
122 - Added method `MutableKeys::iter_mut2` for opt-in mutable iteration of map
123 keys and values.
124
125 ## 2.2.6 (2024-03-22)
126
127 - Added trait `MutableValues` for opt-in mutable access to set values.
128
129 ## 2.2.5 (2024-02-29)
130
131 - Added optional `borsh` serialization support.
132
133 ## 2.2.4 (2024-02-28)
134
135 - Added an `insert_sorted` method on `IndexMap`, `IndexSet`, and `VacantEntry`.
136 - Avoid hashing for lookups in single-entry maps.
137 - Limit preallocated memory in `serde` deserializers.
138
139 ## 2.2.3 (2024-02-11)
140
141 - Added `move_index` and `swap_indices` methods to `IndexedEntry`,
142 `OccupiedEntry`, and `RawOccupiedEntryMut`, functioning like the existing
143 methods on `IndexMap`.
144 - Added `shift_insert` methods on `VacantEntry` and `RawVacantEntryMut`, as
145 well as `shift_insert_hashed_nocheck` on the latter, to insert the new entry
146 at a particular index.
147 - Added `shift_insert` methods on `IndexMap` and `IndexSet` to insert a new
148 entry at a particular index, or else move an existing entry there.
149
150 ## 2.2.2 (2024-01-31)
151
152 - Added indexing methods to raw entries: `RawEntryBuilder::from_hash_full`,
153 `RawEntryBuilder::index_from_hash`, and `RawEntryMut::index`.
154
155 ## 2.2.1 (2024-01-28)
156
157 - Corrected the signature of `RawOccupiedEntryMut::into_key(self) -> &'a mut K`,
158 This a breaking change from 2.2.0, but that version was published for less
159 than a day and has now been yanked.
160
161 ## 2.2.0 (2024-01-28)
162
163 - The new `IndexMap::get_index_entry` method finds an entry by its index for
164 in-place manipulation.
165
166 - The `Keys` iterator now implements `Index<usize>` for quick access to the
167 entry's key, compared to indexing the map to get the value.
168
169 - The new `IndexMap::splice` and `IndexSet::splice` methods will drain the
170 given range as an iterator, and then replace that range with entries from
171 an input iterator.
172
173 - The new trait `RawEntryApiV1` offers opt-in access to a raw entry API for
174 `IndexMap`, corresponding to the unstable API on `HashSet` as of Rust 1.75.
175
176 - Many `IndexMap` and `IndexSet` methods have relaxed their type constraints,
177 e.g. removing `K: Hash` on methods that don't actually need to hash.
178
179 - Removal methods `remove`, `remove_entry`, and `take` are now deprecated
180 in favor of their `shift_` or `swap_` prefixed variants, which are more
181 explicit about their effect on the index and order of remaining items.
182 The deprecated methods will remain to guide drop-in replacements from
183 `HashMap` and `HashSet` toward the prefixed methods.
184
185 ## 2.1.0 (2023-10-31)
186
187 - Empty slices can now be created with `map::Slice::{new, new_mut}` and
188 `set::Slice::new`. In addition, `Slice::new`, `len`, and `is_empty` are
189 now `const` functions on both types.
190
191 - `IndexMap`, `IndexSet`, and their respective `Slice`s all have binary
192 search methods for sorted data: map `binary_search_keys` and set
193 `binary_search` for plain comparison, `binary_search_by` for custom
194 comparators, `binary_search_by_key` for key extraction, and
195 `partition_point` for boolean conditions.
196
197 ## 2.0.2 (2023-09-29)
198
199 - The `hashbrown` dependency has been updated to version 0.14.1 to
200 complete the support for Rust 1.63.
201
202 ## 2.0.1 (2023-09-27)
203
204 - **MSRV**: Rust 1.63.0 is now supported as well, pending publication of
205 `hashbrown`'s relaxed MSRV (or use cargo `--ignore-rust-version`).
206
207 ## 2.0.0 (2023-06-23)
208
209 - **MSRV**: Rust 1.64.0 or later is now required.
210
211 - The `"std"` feature is no longer auto-detected. It is included in the
212 default feature set, or else can be enabled like any other Cargo feature.
213
214 - The `"serde-1"` feature has been removed, leaving just the optional
215 `"serde"` dependency to be enabled like a feature itself.
216
217 - `IndexMap::get_index_mut` now returns `Option<(&K, &mut V)>`, changing
218 the key part from `&mut K` to `&K`. There is also a new alternative
219 `MutableKeys::get_index_mut2` to access the former behavior.
220
221 - The new `map::Slice<K, V>` and `set::Slice<T>` offer a linear view of maps
222 and sets, behaving a lot like normal `[(K, V)]` and `[T]` slices. Notably,
223 comparison traits like `Eq` only consider items in order, rather than hash
224 lookups, and slices even implement `Hash`.
225
226 - `IndexMap` and `IndexSet` now have `sort_by_cached_key` and
227 `par_sort_by_cached_key` methods which perform stable sorts in place
228 using a key extraction function.
229
230 - `IndexMap` and `IndexSet` now have `reserve_exact`, `try_reserve`, and
231 `try_reserve_exact` methods that correspond to the same methods on `Vec`.
232 However, exactness only applies to the direct capacity for items, while the
233 raw hash table still follows its own rules for capacity and load factor.
234
235 - The `Equivalent` trait is now re-exported from the `equivalent` crate,
236 intended as a common base to allow types to work with multiple map types.
237
238 - The `hashbrown` dependency has been updated to version 0.14.
239
240 - The `serde_seq` module has been moved from the crate root to below the
241 `map` module.
242
243 ## 1.9.3 (2023-03-24)
244
245 - Bump the `rustc-rayon` dependency, for compiler use only.
246
247 ## 1.9.2 (2022-11-17)
248
249 - `IndexMap` and `IndexSet` both implement `arbitrary::Arbitrary<'_>` and
250 `quickcheck::Arbitrary` if those optional dependency features are enabled.
251
252 ## 1.9.1 (2022-06-21)
253
254 - The MSRV now allows Rust 1.56.0 as well. However, currently `hashbrown`
255 0.12.1 requires 1.56.1, so users on 1.56.0 should downgrade that to 0.12.0
256 until there is a later published version relaxing its requirement.
257
258 ## 1.9.0 (2022-06-16)
259
260 - **MSRV**: Rust 1.56.1 or later is now required.
261
262 - The `hashbrown` dependency has been updated to version 0.12.
263
264 - `IterMut` and `ValuesMut` now implement `Debug`.
265
266 - The new `IndexMap::shrink_to` and `IndexSet::shrink_to` methods shrink
267 the capacity with a lower bound.
268
269 - The new `IndexMap::move_index` and `IndexSet::move_index` methods change
270 the position of an item from one index to another, shifting the items
271 between to accommodate the move.
272
273 ## 1.8.2 (2022-05-27)
274
275 - Bump the `rustc-rayon` dependency, for compiler use only.
276
277 ## 1.8.1 (2022-03-29)
278
279 - The new `IndexSet::replace_full` will return the index of the item along
280 with the replaced value, if any, by @zakcutner in PR [222].
281
282 [222]: https://github.com/indexmap-rs/indexmap/pull/222
283
284 ## 1.8.0 (2022-01-07)
285
286 - The new `IndexMap::into_keys` and `IndexMap::into_values` will consume
287 the map into keys or values, respectively, matching Rust 1.54's `HashMap`
288 methods, by @taiki-e in PR [195].
289
290 - More of the iterator types implement `Debug`, `ExactSizeIterator`, and
291 `FusedIterator`, by @cuviper in PR [196].
292
293 - `IndexMap` and `IndexSet` now implement rayon's `ParallelDrainRange`,
294 by @cuviper in PR [197].
295
296 - `IndexMap::with_hasher` and `IndexSet::with_hasher` are now `const`
297 functions, allowing static maps and sets, by @mwillsey in PR [203].
298
299 - `IndexMap` and `IndexSet` now implement `From` for arrays, matching
300 Rust 1.56's implementation for `HashMap`, by @rouge8 in PR [205].
301
302 - `IndexMap` and `IndexSet` now have methods `sort_unstable_keys`,
303 `sort_unstable_by`, `sorted_unstable_by`, and `par_*` equivalents,
304 which sort in-place without preserving the order of equal items, by
305 @bhgomes in PR [211].
306
307 [195]: https://github.com/indexmap-rs/indexmap/pull/195
308 [196]: https://github.com/indexmap-rs/indexmap/pull/196
309 [197]: https://github.com/indexmap-rs/indexmap/pull/197
310 [203]: https://github.com/indexmap-rs/indexmap/pull/203
311 [205]: https://github.com/indexmap-rs/indexmap/pull/205
312 [211]: https://github.com/indexmap-rs/indexmap/pull/211
313
314 ## 1.7.0 (2021-06-29)
315
316 - **MSRV**: Rust 1.49 or later is now required.
317
318 - The `hashbrown` dependency has been updated to version 0.11.
319
320 ## 1.6.2 (2021-03-05)
321
322 - Fixed to match `std` behavior, `OccupiedEntry::key` now references the
323 existing key in the map instead of the lookup key, by @cuviper in PR [170].
324
325 - The new `Entry::or_insert_with_key` matches Rust 1.50's `Entry` method,
326 passing `&K` to the callback to create a value, by @cuviper in PR [175].
327
328 [170]: https://github.com/indexmap-rs/indexmap/pull/170
329 [175]: https://github.com/indexmap-rs/indexmap/pull/175
330
331 ## 1.6.1 (2020-12-14)
332
333 - The new `serde_seq` module implements `IndexMap` serialization as a
334 sequence to ensure order is preserved, by @cuviper in PR [158].
335
336 - New methods on maps and sets work like the `Vec`/slice methods by the same name:
337 `truncate`, `split_off`, `first`, `first_mut`, `last`, `last_mut`, and
338 `swap_indices`, by @cuviper in PR [160].
339
340 [158]: https://github.com/indexmap-rs/indexmap/pull/158
341 [160]: https://github.com/indexmap-rs/indexmap/pull/160
342
343 ## 1.6.0 (2020-09-05)
344
345 - **MSRV**: Rust 1.36 or later is now required.
346
347 - The `hashbrown` dependency has been updated to version 0.9.
348
349 ## 1.5.2 (2020-09-01)
350
351 - The new "std" feature will force the use of `std` for users that explicitly
352 want the default `S = RandomState`, bypassing the autodetection added in 1.3.0,
353 by @cuviper in PR [145].
354
355 [145]: https://github.com/indexmap-rs/indexmap/pull/145
356
357 ## 1.5.1 (2020-08-07)
358
359 - Values can now be indexed by their `usize` position by @cuviper in PR [132].
360
361 - Some of the generic bounds have been relaxed to match `std` by @cuviper in PR [141].
362
363 - `drain` now accepts any `R: RangeBounds<usize>` by @cuviper in PR [142].
364
365 [132]: https://github.com/indexmap-rs/indexmap/pull/132
366 [141]: https://github.com/indexmap-rs/indexmap/pull/141
367 [142]: https://github.com/indexmap-rs/indexmap/pull/142
368
369 ## 1.5.0 (2020-07-17)
370
371 - **MSRV**: Rust 1.32 or later is now required.
372
373 - The inner hash table is now based on `hashbrown` by @cuviper in PR [131].
374 This also completes the method `reserve` and adds `shrink_to_fit`.
375
376 - Add new methods `get_key_value`, `remove_entry`, `swap_remove_entry`,
377 and `shift_remove_entry`, by @cuviper in PR [136]
378
379 - `Clone::clone_from` reuses allocations by @cuviper in PR [125]
380
381 - Add new method `reverse` by @linclelinkpart5 in PR [128]
382
383 [125]: https://github.com/indexmap-rs/indexmap/pull/125
384 [128]: https://github.com/indexmap-rs/indexmap/pull/128
385 [131]: https://github.com/indexmap-rs/indexmap/pull/131
386 [136]: https://github.com/indexmap-rs/indexmap/pull/136
387
388 ## 1.4.0 (2020-06-01)
389
390 - Add new method `get_index_of` by @Thermatrix in PR [115] and [120]
391
392 - Fix build script rebuild-if-changed configuration to use "build.rs";
393 fixes issue [123]. Fix by @cuviper.
394
395 - Dev-dependencies (rand and quickcheck) have been updated. The crate's tests
396 now run using Rust 1.32 or later (MSRV for building the crate has not changed).
397 by @kjeremy and @bluss
398
399 [123]: https://github.com/indexmap-rs/indexmap/issues/123
400 [115]: https://github.com/indexmap-rs/indexmap/pull/115
401 [120]: https://github.com/indexmap-rs/indexmap/pull/120
402
403 ## 1.3.2 (2020-02-05)
404
405 - Maintenance update to regenerate the published `Cargo.toml`.
406
407 ## 1.3.1 (2020-01-15)
408
409 - Maintenance update for formatting and `autocfg` 1.0.
410
411 ## 1.3.0 (2019-10-18)
412
413 - The deprecation messages in the previous version have been removed.
414 (The methods have not otherwise changed.) Docs for removal methods have been
415 improved.
416 - From Rust 1.36, this crate supports being built **without std**, requiring
417 `alloc` instead. This is enabled automatically when it is detected that
418 `std` is not available. There is no crate feature to enable/disable to
419 trigger this. The new build-dep `autocfg` enables this.
420
421 ## 1.2.0 (2019-09-08)
422
423 - Plain `.remove()` now has a deprecation message, it informs the user
424 about picking one of the removal functions `swap_remove` and `shift_remove`
425 which have different performance and order semantics.
426 Plain `.remove()` will not be removed, the warning message and method
427 will remain until further.
428
429 - Add new method `shift_remove` for order preserving removal on the map,
430 and `shift_take` for the corresponding operation on the set.
431
432 - Add methods `swap_remove`, `swap_remove_entry` to `Entry`.
433
434 - Fix indexset/indexmap to support full paths, like `indexmap::indexmap!()`
435
436 - Internal improvements: fix warnings, deprecations and style lints
437
438 ## 1.1.0 (2019-08-20)
439
440 - Added optional feature `"rayon"` that adds parallel iterator support
441 to `IndexMap` and `IndexSet` using Rayon. This includes all the regular
442 iterators in parallel versions, and parallel sort.
443
444 - Implemented `Clone` for `map::{Iter, Keys, Values}` and
445 `set::{Difference, Intersection, Iter, SymmetricDifference, Union}`
446
447 - Implemented `Debug` for `map::{Entry, IntoIter, Iter, Keys, Values}` and
448 `set::{Difference, Intersection, IntoIter, Iter, SymmetricDifference, Union}`
449
450 - Serde trait `IntoDeserializer` are implemented for `IndexMap` and `IndexSet`.
451
452 - Minimum Rust version requirement increased to Rust 1.30 for development builds.
453
454 ## 1.0.2 (2018-10-22)
455
456 - The new methods `IndexMap::insert_full` and `IndexSet::insert_full` are
457 both like `insert` with the index included in the return value.
458
459 - The new method `Entry::and_modify` can be used to modify occupied
460 entries, matching the new methods of `std` maps in Rust 1.26.
461
462 - The new method `Entry::or_default` inserts a default value in unoccupied
463 entries, matching the new methods of `std` maps in Rust 1.28.
464
465 ## 1.0.1 (2018-03-24)
466
467 - Document Rust version policy for the crate (see rustdoc)
468
469 ## 1.0.0 (2018-03-11)
470
471 - This is the 1.0 release for `indexmap`! (the crate and datastructure
472 formerly known as “ordermap”)
473 - `OccupiedEntry::insert` changed its signature, to use `&mut self` for
474 the method receiver, matching the equivalent method for a standard
475 `HashMap`. Thanks to @dtolnay for finding this bug.
476 - The deprecated old names from ordermap were removed: `OrderMap`,
477 `OrderSet`, `ordermap!{}`, `orderset!{}`. Use the new `IndexMap`
478 etc names instead.
479
480 ## 0.4.1 (2018-02-14)
481
482 - Renamed crate to `indexmap`; the `ordermap` crate is now deprecated
483 and the types `OrderMap/Set` now have a deprecation notice.
484
485 ## 0.4.0 (2018-02-02)
486
487 - This is the last release series for this `ordermap` under that name,
488 because the crate is **going to be renamed** to `indexmap` (with types
489 `IndexMap`, `IndexSet`) and no change in functionality!
490 - The map and its associated structs moved into the `map` submodule of the
491 crate, so that the map and set are symmetric
492
493 + The iterators, `Entry` and other structs are now under `ordermap::map::`
494
495 - Internally refactored `OrderMap<K, V, S>` so that all the main algorithms
496 (insertion, lookup, removal etc) that don't use the `S` parameter (the
497 hasher) are compiled without depending on `S`, which reduces generics bloat.
498
499 - `Entry<K, V>` no longer has a type parameter `S`, which is just like
500 the standard `HashMap`'s entry.
501
502 - Minimum Rust version requirement increased to Rust 1.18
503
504 ## 0.3.5 (2018-01-14)
505
506 - Documentation improvements
507
508 ## 0.3.4 (2018-01-04)
509
510 - The `.retain()` methods for `OrderMap` and `OrderSet` now
511 traverse the elements in order, and the retained elements **keep their order**
512 - Added new methods `.sort_by()`, `.sort_keys()` to `OrderMap` and
513 `.sort_by()`, `.sort()` to `OrderSet`. These methods allow you to
514 sort the maps in place efficiently.
515
516 ## 0.3.3 (2017-12-28)
517
518 - Document insertion behaviour better by @lucab
519 - Updated dependences (no feature changes) by @ignatenkobrain
520
521 ## 0.3.2 (2017-11-25)
522
523 - Add `OrderSet` by @cuviper!
524 - `OrderMap::drain` is now (too) a double ended iterator.
525
526 ## 0.3.1 (2017-11-19)
527
528 - In all ordermap iterators, forward the `collect` method to the underlying
529 iterator as well.
530 - Add crates.io categories.
531
532 ## 0.3.0 (2017-10-07)
533
534 - The methods `get_pair`, `get_pair_index` were both replaced by
535 `get_full` (and the same for the mutable case).
536 - Method `swap_remove_pair` replaced by `swap_remove_full`.
537 - Add trait `MutableKeys` for opt-in mutable key access. Mutable key access
538 is only possible through the methods of this extension trait.
539 - Add new trait `Equivalent` for key equivalence. This extends the
540 `Borrow` trait mechanism for `OrderMap::get` in a backwards compatible
541 way, just some minor type inference related issues may become apparent.
542 See [#10] for more information.
543 - Implement `Extend<(&K, &V)>` by @xfix.
544
545 [#10]: https://github.com/indexmap-rs/indexmap/pull/10
546
547 ## 0.2.13 (2017-09-30)
548
549 - Fix deserialization to support custom hashers by @Techcable.
550 - Add methods `.index()` on the entry types by @garro95.
551
552 ## 0.2.12 (2017-09-11)
553
554 - Add methods `.with_hasher()`, `.hasher()`.
555
556 ## 0.2.11 (2017-08-29)
557
558 - Support `ExactSizeIterator` for the iterators. By @Binero.
559 - Use `Box<[Pos]>` internally, saving a word in the `OrderMap` struct.
560 - Serde support, with crate feature `"serde-1"`. By @xfix.
561
562 ## 0.2.10 (2017-04-29)
563
564 - Add iterator `.drain(..)` by @stevej.
565
566 ## 0.2.9 (2017-03-26)
567
568 - Add method `.is_empty()` by @overvenus.
569 - Implement `PartialEq, Eq` by @overvenus.
570 - Add method `.sorted_by()`.
571
572 ## 0.2.8 (2017-03-01)
573
574 - Add iterators `.values()` and `.values_mut()`.
575 - Fix compatibility with 32-bit platforms.
576
577 ## 0.2.7 (2016-11-02)
578
579 - Add `.retain()`.
580
581 ## 0.2.6 (2016-11-02)
582
583 - Add `OccupiedEntry::remove_entry` and other minor entry methods,
584 so that it now has all the features of `HashMap`'s entries.
585
586 ## 0.2.5 (2016-10-31)
587
588 - Improved `.pop()` slightly.
589
590 ## 0.2.4 (2016-10-22)
591
592 - Improved performance of `.insert()` ([#3]) by @pczarn.
593
594 [#3]: https://github.com/indexmap-rs/indexmap/pull/3
595
596 ## 0.2.3 (2016-10-11)
597
598 - Generalize `Entry` for now, so that it works on hashmaps with non-default
599 hasher. However, there's a lingering compat issue since libstd `HashMap`
600 does not parameterize its entries by the hasher (`S` typarm).
601 - Special case some iterator methods like `.nth()`.
602
603 ## 0.2.2 (2016-10-02)
604
605 - Disable the verbose `Debug` impl by default.
606
607 ## 0.2.1 (2016-10-02)
608
609 - Fix doc links and clarify docs.
610
611 ## 0.2.0 (2016-10-01)
612
613 - Add more `HashMap` methods & compat with its API.
614 - Experimental support for `.entry()` (the simplest parts of the API).
615 - Add `.reserve()` (placeholder impl).
616 - Add `.remove()` as synonym for `.swap_remove()`.
617 - Changed `.insert()` to swap value if the entry already exists, and
618 return `Option`.
619 - Experimental support as an *indexed* hash map! Added methods
620 `.get_index()`, `.get_index_mut()`, `.swap_remove_index()`,
621 `.get_pair_index()`, `.get_pair_index_mut()`.
622
623 ## 0.1.2 (2016-09-19)
624
625 - Implement the 32/32 split idea for `Pos` which improves cache utilization
626 and lookup performance.
627
628 ## 0.1.1 (2016-09-16)
629
630 - Initial release.