2.1 KiB
2.1 KiB
Change Log
All user visible changes to this project will be documented in this file. This project adheres to Semantic Versioning, as described for Rust libraries in RFC #1105
Unreleased
- None.
Breaking changes
None.
2.0.2 - 2022-06-29
- Don't move the
Values being compared inassert_json_matches
2.0.1 - 2021-02-14
- Add maintenance status to readme and
Cargo.toml.
2.0.0 - 2021-01-23
Unreleased
- A less strict numeric mode for comparisons is now supported. The
AssumeFloatmode will make1 == 1.0. This mode can be set viaConfig::numeric_mode. - A panicking
assert_json_matchesmacro has been added which takes aConfig. - Remove dependency on "extend".
Breaking changes
- Some breaking changes have been made to support customizing how the JSON values are compared:
assert_json_eq_no_panicandassert_json_include_no_panichave been replaced byassert_json_matches_no_panicwhich takes aConfigthat describes how the comparison should work.- This setup will support adding further customizations without more breaking changes.
1.1.0 - 2020-07-12
- All methods now accept any
T: Serializerather than justserde_json::Value.
1.0.3 - 2020-02-21
- Introduce non-panicking functions with
assert_json_include_no_panicandassert_json_eq_no_panic.
1.0.2 - 2020-02-19
- Internal diffing algorithm simplified. There should be no external changes. Some error messages might have changed, but everything that passed/failed before should still do the same.
1.0.1 - 2019-10-24
- Update to 2018 edition
1.0.0 - 2019-02-15
Fixed
- Make macros work with trailing comma
0.2.1 - 2018-11-15
Fixed
- Fix wrong error message when a JSON atom was missing from actual.
0.2.0 - 2018-11-16
Added
- Add
assert_json_include. It does partial matching the same way the oldassert_json_eqdid.
Changed
- Change
assert_json_eqdo exact matching. If the two values are not exactly the same, it'll panic.
0.1.0 - 2018-10-17
Initial release.