NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #526 most downloaded on crates.io
Overwrite `assert_eq!` and `assert_ne!` with drop-in replacements, adding colorful diffs.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 2.0 years
Some releases are documented
notes for 10 of 26 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
26 releases · first in 2017
Show feature-flagged code in documentation. Thanks to @sandydoo for the fix!
yansi version to 1.x. Thanks to @SergioBenitez for the update, and maintaining this library! (#121)One column per quarter.
MSRV bumped to 1.54.0 (see #102 )
ansi_term::Style. This was never intended for public use. (see #102)ansi_term crate to yansi for ANSI terminal escape code support. Thanks to @Roguelazer for reporting and fixing this! (#102, @Roguelazer)Fixed a panic caused by diffing two str -like values where only the left has a trailing newline - thanks @Michael-F-Bryan for reporting this ( #97 , @
str-like values where only the left has a trailing newline - thanks @Michael-F-Bryan for reporting this (#97, @tommilligan)assert_eq compares str -like values without Debug formatting. ( #92 , @dtolnay )
Add assert_str_eq for comparing two str -like values without Debug formatting. Thanks to @x3ro for implementing this! ( #88 , @x3ro )
assert_str_eq for comparing two str-like values without Debug formatting. Thanks to @x3ro for implementing this! (#88, @x3ro)…the version to 1.0.0 instead of 0.8.0 . No breaking changes are expected.
Note: As pretty_assertions has in practice had a stable API for several years, this feature release takes the opportunity to increment the version to 1.0.0 instead of 0.8.0. No breaking changes are expected.
assert_ne no longer warns if values match using PartialEq but not with Debug. This was noted as no longer being necessary after Rust 1.25 (current MSRV 1.35.0)no_std (thanks to @Luro02 for the report and reviews!). Adds the std and alloc features to the pretty_assertions crate, with std enabled by default (#83, @tommilligan)unstable feature to the pretty_assertions crate, for use with nightly rustc (#81, @tommilligan)assert_matches macro, behind the unstable flag - thanks @gilescope for the suggestion! (#81, @tommilligan)Fix macro hygiene for expansion in a no_implicit_prelude context ( #70 , @tommilligan )
no_implicit_prelude context (#70, @tommilligan)Fix a bug where multiline changes showed an unhelpful inline diff ( #66 , @tommilligan )
Move from difference to diff for calculating diffs. The exact assertion messages generated may differ from previous versions. ( #52 , @tommilligan )
difference to diff for calculating diffs. The exact assertion messages generated may differ from previous versions. (#52, @tommilligan)For example, the following assertion message from v0.7.0:
Was previously rendered like this in v0.6.1:
Comparison struct, which was previously hidden. This can be used to generate a pretty diff of two values without panicking. (#52, @tommilligan)ansi_term version to 0.12 (#34, @waywardmonkeys)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →