Repository navigation
Update dependencies and replace chrono with jiff - #102
Merged
Merged
Conversation
RUSTSEC-2026-0543 marks every chrono release unmaintained, filed by its maintainer, who recommends jiff, so `cargo deny check` fails on it and no chrono update can clear it. jiff comes without its default features: the index needs UTC instants and civil dates only, so no time zone database is built. It is pinned at 0.2.43 with the jiff-core that shipped beside it, because 1.0.0 is five days old and the shared Renovate policy waits seven; the 1.0 release notes list no change to the calls used here. Recorded timestamps and `--since`/`--until` read every RFC 3339 form as before and store the same UTC millisecond text. What differs lies outside what the agents write: a second of 60 is stored as 59, a time with more than nine fractional digits, a U+2212 minus sign, or an instant after 9999-12-30T22:00:00Z is refused, a year before 0 is written with six digits, and other ISO 8601 spellings such as `20261001T00Z` or an offset of `+02` are now read. A filter with a fraction of a second serializes without its trailing zeros, so a cursor issued for one by an earlier binary is refused. `PARSER_VERSION` rises to 6 because `src/normalize.rs` changed, so refreshes reindex the files an earlier version indexed.
RUSTSEC-2026-0459 fails `cargo deny check` on main: the SQLite that libsqlite3-sys 0.38.2 bundles can return uninitialized memory when a database is opened beside a `-wal` file of another page size. rusqlite 0.42.0 brings libsqlite3-sys 0.40.0, which bundles SQLite 3.54.1. Since rusqlite 0.41, `Connection::progress_handler` takes the connection exclusively, so `search`, `scan`, and `sql` take `&mut Connection`, and `with_deadline` passes its work a shared borrow. A transaction guard borrows the connection for as long as it lives, so the commands begin their read snapshot with `BEGIN` and it ends with the connection, as the guard's rollback did. `Statement::column_names` now returns an iterator. The lock file takes the versions Renovate's lock file maintenance proposed, and with them zstd 0.14.4, Rust 1.100.0, and taiki-e/install-action v2.90.3. Two of their licenses needed placing. zstd-sys 2.1.3 declares BSD-2-Clause for the legacy-format decoders, which only its `legacy` feature builds and this build leaves off; cargo-deny and cargo-about accept it for that crate, and the package's notices carry its text. ar_archive_writer, a build dependency of psm that pest 2.9.6 brings in, is Apache-2.0 WITH LLVM-exception and is allowed for that crate alone. regex 1.13.2, clap 4.6.9, and bumpalo 3.20.4 stay out until they are seven days old, as the shared Renovate policy asks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cargo deny checkfails on main and on every open Renovate pull request. This takes all the pending updates in one change and clears the three findings behind those failures, so it supersedes #91, #97, and #101.RUSTSEC-2026-0459 flags the SQLite that libsqlite3-sys 0.38.2 bundles; rusqlite 0.42.0 brings libsqlite3-sys 0.40.0 with SQLite 3.54.1. RUSTSEC-2026-0543 marks every chrono release unmaintained, so chrono is replaced with jiff, which its maintainer recommends. The lock file update brings two licenses cargo-deny rejected, zstd-sys's BSD-2-Clause legacy decoders and ar_archive_writer's Apache-2.0 WITH LLVM-exception, and each is allowed for that crate alone. The same change takes zstd 0.14.4, Rust 1.100.0, and taiki-e/install-action v2.90.3. regex 1.13.2, clap 4.6.9, and jiff 1.0 stay out until they are seven days old, as the shared Renovate policy asks.
PARSER_VERSIONrises to 6 becausesrc/normalize.rschanged, so after upgrading, refreshes reindex history within their budget;sessidx indexfinishes it in one run. The release notes need to say so.Two things deserve a review:
progress_handlerneeds&mut Connection, which a transaction guard's borrow prevents. The lookups now begin their read snapshot withBEGINon the connection, and it ends when the connection closes, as the guard's rollback did.:59, times past 9999-12-30T22:00:00Z or with more than nine fractional digits are refused, and other ISO 8601 spellings such as+02offsets are now accepted. The timestamps in this machine's session logs had only the two shapes both libraries treat identically.