Skip to content

Commit d69cbcc

Browse files
feat: Take dependencies into account when sorting environment variables (#1249)
* feat: Take dependencies into account when sorting environment variables * feat: Use sorting algorithm for IntoIterator for EnvVarSet * chore: Upgrade spin * chore: Use LazyLock for regexes * chore: Use sort_by_cached_key * fix: escaped dollar signs * chore: Use local error type * chore: Re-add sort_by_cached_key * chore: Improve comment wording * chore: Adapt wording * chore: Use references when sorting environment variables * Apply suggestions from code review Co-authored-by: Techassi <git@techassi.dev> * Fix cyclic call in IntoIterator for EnvVarSet --------- Co-authored-by: Techassi <git@techassi.dev>
1 parent 300422c commit d69cbcc

3 files changed

Lines changed: 472 additions & 16 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/stackable-operator/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- [v2] Add `EnvVarSet::with_env_var` to add a given `EnvVar` to the set ([#1249]).
10+
11+
### Changed
12+
13+
- [v2] BREAKING: Converting an `EnvVarSet` into a `Vec<EnvVar>` takes dependencies between
14+
environment variables into account ([#1249]).
15+
16+
[#1249]: https://github.com/stackabletech/operator-rs/pull/1249
17+
718
## [0.113.4] - 2026-07-09
819

920
### Changed

0 commit comments

Comments
 (0)