Skip to content

Commit 828c41d

Browse files
committed
Changelog
1 parent f102e4d commit 828c41d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

crates/stackable-operator/CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ All notable changes to this project will be documented in this file.
1212

1313
- BREAKING: The `CustomResourceExt` trait is now re-exported from the `stackable-shared` crate. The
1414
trait functions use the same parameters but return a different error type ([#883]).
15+
- BREAKING: `KeyValuePairs` (as well as `Labels`/`Annotations` via it) is now backed by a `BTreeMap` rather than a `BTreeSet` ([#888]).
16+
- The `Deref` impl now returns a `BTreeMap` instead.
17+
- `iter()` now clones the values.
18+
19+
### Fixed
20+
21+
- BREAKING: `KeyValuePairs::insert` (as well as `Labels::`/`Annotations::` via it) now overwrites the old value if the key already exists ([#888]).
22+
- Previously, `iter()` would return *both* values in lexicographical order (causing further conversions like `Into<BTreeMap>` to prefer the maximum value).
1523

1624
### Removed
1725

@@ -20,6 +28,7 @@ All notable changes to this project will be documented in this file.
2028
use it as a `String`.
2129

2230
[#883]: https://github.com/stackabletech/operator-rs/pull/883
31+
[#888]: https://github.com/stackabletech/operator-rs/pull/888
2332

2433
## [0.78.0] - 2024-09-30
2534

@@ -271,7 +280,7 @@ All notable changes to this project will be documented in this file.
271280

272281
### Changed
273282

274-
- Implement `PartialEq` for most _Snafu_ Error enums ([#757]).
283+
- Implement `PartialEq` for most *Snafu* Error enums ([#757]).
275284
- Update Rust to 1.77 ([#759])
276285

277286
### Fixed

0 commit comments

Comments
 (0)