Skip to content

Commit 160d689

Browse files
authored
Merge pull request #676 from jmt-lab/release/0.21.0
Release 0.21.0
2 parents 0ed3a70 + 70ca79d commit 160d689

17 files changed

Lines changed: 197 additions & 210 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
[unreleased]: https://github.com/bottlerocket-os/twoliter/compare/v0.20.0...HEAD
1111

12-
## [0.21.0-rc1] - 2026-06-17
12+
## [0.21.0] - 2026-06-19
1313

1414
### Added
1515
* Support for vendoring dependencies of rust packages ([#674])
1616

17+
### Changed
18+
* pubsys/update-metadata: migrate from `chrono` to `jiff` for date/time handling ([#676])
19+
* **Behavioral change:** RFC 3339 date strings now require zero-padded month and day (e.g. `2019-08-06T15:00:00Z`, not `2019-8-06T15:00:00Z`). Affects manifest deserialization in `update-metadata` and `--expiration-limit` / `--release-start-time` arguments to `pubsys`.
20+
* **Behavioral change:** absolute timestamps and computed expirations are now bounded to the year ±9999 range supported by `jiff::Timestamp`. Offsets that would push past this bound (e.g. `"in 5000000 weeks"`) now return an error instead of being accepted. Production expiration policies (weeks/days) are unaffected.
21+
1722
### Build
1823
* Update coldsnap to 0.11 (#[675])
1924
* Update reqwest to 0.13 (#[675])
2025
* Update cargo dependencies (#[675])
26+
* Update `tough` to 0.23, `tough-kms` to 0.15, `tough-ssm` to 0.18, `tuftool` to 0.16 ([#676])
2127

2228
[#674]: https://github.com/bottlerocket-os/twoliter/pull/674
2329
[#675]: https://github.com/bottlerocket-os/twoliter/pull/675
30+
[#676]: https://github.com/bottlerocket-os/twoliter/pull/676
2431

2532
[0.21.0-rc1]: https://github.com/bottlerocket-os/twoliter/compare/v0.20.0...v0.21.0-rc1
2633

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ testsys = { version = "0.1", path = "tools/testsys", artifact = [ "bin:testsys"
8181
testsys-config = { version = "0.1", path = "tools/testsys-config" }
8282
testsys-model = { version = "0.0.16", git = "https://github.com/bottlerocket-os/bottlerocket-test-system", tag = "v0.0.16" }
8383

84-
twoliter = { version = "0.21.0-rc1", path = "twoliter", artifact = [ "bin:twoliter" ] }
84+
twoliter = { version = "0.21.0", path = "twoliter", artifact = [ "bin:twoliter" ] }
8585
twoliter-tool-advisory-checker = { version = "0.1", path = "twoliter/src/tool-crates/advisory-checker" }
8686
twoliter-tool-buildsys = { version = "0.1", path = "twoliter/src/tool-crates/buildsys" }
8787
twoliter-tool-embedded-bundle = { version = "0.1", path = "twoliter/src/tool-crates/embedded-bundle" }
@@ -117,7 +117,6 @@ bit_field = "0.10"
117117
bon = "3"
118118
bounded-integer = "0.5"
119119
bytes = "1"
120-
chrono = { version = "0.4", default-features = false }
121120
clap = "4"
122121
coldsnap = { version = "0.11", default-features = false }
123122
crc32fast = "1"
@@ -140,6 +139,7 @@ hex-literal = "1"
140139
home = "0.5"
141140
indicatif = "0.18"
142141
inotify = "0.11"
142+
jiff = { version = "0.2", features = ["serde"] }
143143
lazy_static = "1"
144144
libc = "0.2"
145145
log = "0.4"
@@ -183,11 +183,11 @@ tokio = "1"
183183
tokio-stream = "0.1"
184184
tokio-retry = "0.3"
185185
toml = "0.9"
186-
tough = "0.22"
187-
tough-kms = "0.14"
188-
tough-ssm = "0.17"
186+
tough = "0.23"
187+
tough-kms = "0.15"
188+
tough-ssm = "0.18"
189189
tracing = "0.1"
190-
tuftool = { version = "0.15", artifact = [ "bin:tuftool" ] }
190+
tuftool = { version = "0.16", artifact = [ "bin:tuftool" ] }
191191
uds = "0.4"
192192
unescape = "0.1"
193193
url = "2"

deny.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ skip = [
7171
{ name = "darling" },
7272
{ name = "darling_core" },
7373
{ name = "darling_macro" },
74-
# tough has not been bumped to reqwest 0.13 yet, we have a tough release in near future
75-
# that will fix this.
76-
{ name = "reqwest" },
7774
]
7875

7976
skip-tree = [

tools/parse-datetime/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ publish = false
99
exclude = ["README.md"]
1010

1111
[dependencies]
12-
chrono = { workspace = true, features = ["clock", "std"] }
12+
jiff = { workspace = true }
1313
snafu = { workspace = true, features = ["backtraces-impl-backtrace-crate"] }

0 commit comments

Comments
 (0)