Skip to content

Upgrade console to 0.16, bump MSRV to 1.66#885

Merged
max-sixty merged 1 commit intomitsuhiko:masterfrom
max-sixty:msrv
Mar 14, 2026
Merged

Upgrade console to 0.16, bump MSRV to 1.66#885
max-sixty merged 1 commit intomitsuhiko:masterfrom
max-sixty:msrv

Conversation

@max-sixty
Copy link
Copy Markdown
Collaborator

Upgrades console from 0.15.4 to 0.16 in both insta and cargo-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 std feature is explicitly enabled for console in insta, as 0.16 gates style/Term behind it.

Supersedes #790

This was written by Claude Code on behalf of @max-sixty

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>
@max-sixty
Copy link
Copy Markdown
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

@max-sixty max-sixty merged commit aa12933 into mitsuhiko:master Mar 14, 2026
15 checks passed
@max-sixty max-sixty mentioned this pull request Mar 27, 2026
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant