- (Windows only) Removed the
ctor
andoutput_vt100
dependencies, as their benefit could not be demonstrated (#118)
- Minor documentation fixes (#107)
- MSRV bumped to 1.54.0 (see #102)
- Removed the publically re-exported
ansi_term::Style
. This was never intended for public use. (see #102)
- Moved from the unmaintained
ansi_term
crate toyansi
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, @tommilligan)
- Add
assert_str_eq
for comparing twostr
-like values withoutDebug
formatting. Thanks to @x3ro for implementing this! (#88, @x3ro)
- Ensure license text is included in crate archive - thanks @decathorpe for reporting this (#87, @tommilligan)
assert_ne
no longer warns if values match usingPartialEq
but not withDebug
. This was noted as no longer being necessary after Rust 1.25 (current MSRV 1.35.0)
- Officially support
no_std
(thanks to @Luro02 for the report and reviews!). Adds thestd
andalloc
features to thepretty_assertions
crate, withstd
enabled by default (#83, @tommilligan) - Adds the
unstable
feature to thepretty_assertions
crate, for use with nightly rustc (#81, @tommilligan) - Add a drop in replacement for the unstable stdlib
assert_matches
macro, behind theunstable
flag - thanks @gilescope for the suggestion! (#81, @tommilligan)
- Fix macro hygiene for expansion in a
no_implicit_prelude
context (#70, @tommilligan)
- Fix a bug where multiline changes showed an unhelpful inline diff (#66, @tommilligan)
- Move from
difference
todiff
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
:
- Support for unsized values (#42, @stanislav-tkach)
- Document the
Comparison
struct, which was previously hidden. This can be used to generate a pretty diff of two values without panicking. (#52, @tommilligan)
- Fix some unhygenic macro expansions (#41, @tommilligan)
- Test Windows targets in CI (#46, @tommilligan)
- Bump
ansi_term
version to 0.12 (#34, @waywardmonkeys) - Code health improvements (#34, @waywardmonkeys)