Upgrade console to 0.16, bump MSRV to 1.66#885
Merged
max-sixty merged 1 commit intomitsuhiko:masterfrom Mar 14, 2026
Merged
Conversation
Upgrades the `console` dependency from 0.15.4 to 0.16 in both `insta` and `cargo-insta`. This avoids duplicate `console` compilations for downstream projects that already depend on console 0.16 (e.g. via indicatif). Bumps MSRV from 1.64/1.65 to 1.66 (the minimum required by console 0.16.0). Console is pinned to 0.16.0 in the lockfile since 0.16.1+ requires Rust 1.71. The `std` feature is now explicitly enabled for console in insta, as console 0.16 gates `style` and `Term` behind it (these were ungated in 0.15). Co-Authored-By: Claude <noreply@anthropic.com>
Collaborator
Author
|
this is consistent with a norm of MSRV of a version released three years ago. it's important for the project to be conservative on this. though probably this will be less salient when the MSRV-aware resolver is available for the older rust versions. let me know any thoughts or feedback — if a more conservative policy would be helpful, happy to update |
Merged
max-sixty
added a commit
that referenced
this pull request
Mar 27, 2026
## Summary - Bump version to 1.47.0 - Update CHANGELOG ### Changes included in this release - Add `Comparator` trait for customizing how snapshot values are compared. #872 (@dstu) - Sort sequences in `sort_maps` to fix non-deterministic `HashSet` snapshots. #876 - Improve TOML serialization error message for unsupported types. #880 - Remove unnecessary `Send + Sync` bounds from `Redaction`, allowing non-`Send` closures in dynamic redactions. #874 - Don't use `Arc` in `Settings` unnecessarily. #873 (@dstu) - Upgrade `console` to 0.16 and MSRV to 1.66. #885 - Upgrade `toml-edit` to 0.25. #882 (@alexanderkjall) > _This was written by Claude Code on behalf of max-sixty_ Co-authored-by: Claude <noreply@anthropic.com>
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.
Upgrades
consolefrom 0.15.4 to 0.16 in bothinstaandcargo-insta, avoiding duplicate compilations for downstream projects that already depend on console 0.16 (e.g. via indicatif).MSRV bumps from 1.64/1.65 to 1.66 — the minimum required by console 0.16.0. Console is pinned to 0.16.0 in the lockfile since 0.16.1+ requires Rust 1.71. The
stdfeature is explicitly enabled for console in insta, as 0.16 gatesstyle/Termbehind it.Supersedes #790