From 48ed49017c9af536bda2916c78e77b619163a2f2 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 30 Aug 2024 11:48:17 -0700 Subject: [PATCH] Release 2.5.0 --- Cargo.toml | 2 +- RELEASES.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 535c1a4e..4590d455 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "indexmap" edition = "2021" -version = "2.4.0" +version = "2.5.0" documentation = "https://docs.rs/indexmap/" repository = "https://github.com/indexmap-rs/indexmap" license = "Apache-2.0 OR MIT" diff --git a/RELEASES.md b/RELEASES.md index daf4493e..bfe8ce83 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,12 @@ # Releases +## 2.5.0 + +- Added an `insert_before` method to `IndexMap` and `IndexSet`, as an + alternative to `shift_insert` with different behavior on existing entries. +- Added `first_entry` and `last_entry` methods to `IndexMap`. +- Added `From` implementations between `IndexedEntry` and `OccupiedEntry`. + ## 2.4.0 - Added methods `IndexMap::append` and `IndexSet::append`, moving all items from