diff --git a/proptest-derive/CHANGELOG.md b/proptest-derive/CHANGELOG.md index c3949f42..b6b0c23d 100644 --- a/proptest-derive/CHANGELOG.md +++ b/proptest-derive/CHANGELOG.md @@ -3,15 +3,15 @@ ## 0.5.1 - Fix non-local impl nightly warning with allow(non_local_definitions) - ((\#531)[https://github.com/proptest-rs/proptest/pull/531]) + ([\#531](https://github.com/proptest-rs/proptest/pull/531)) - Adds support for re-exporting crate. `proptest-derive` now works correctly when `proptest` is re-exported from another crate. This removes the requirement for `proptest` to be a direct dependency. - ((\#530)[https://github.com/proptest-rs/proptest/pull/530]) + ([\#530](https://github.com/proptest-rs/proptest/pull/530)) - Fix bounds generation for generics in derive(Arbitrary). The implementation of UseTracker expects that iteration over items of used_map gives items in insertion order. However, the order of BTreeSet is based on Ord, not - insertion. ((\#511)[https://github.com/proptest-rs/proptest/pull/511]) + insertion. ([\#511](https://github.com/proptest-rs/proptest/pull/511)) ## 0.5 diff --git a/proptest/CHANGELOG.md b/proptest/CHANGELOG.md index e8e1c393..56033628 100644 --- a/proptest/CHANGELOG.md +++ b/proptest/CHANGELOG.md @@ -1,9 +1,36 @@ ## Unreleased +## 1.6.0 + ### New Features -- When running persisted regressions, the most recently added regression is now run first. -- Added `handle-panics` feature which enables catching panics raised in tests and turning them into failures +- Added `handle-panics` feature which enables catching panics raised in tests + and turning them into failures. ([\#525](https://github.com/proptest-rs/proptest/pull/525)) +- Exit early if shrink disabled. ([\#520]https://github.com/proptest-rs/proptest/pull/520) +- Add `Config::with_failure_persistence`. A convenience constructor making use + of a generic parameter over `FailurePersistence` impls and hiding the + `Some(Box::new(...))`. ([\#508](https://github.com/proptest-rs/proptest/pull/508)) +- Add From's for SizeRange and Probability. ([\#498]([https://github.com/proptest-rs/proptest/pull/498)) +- When running persisted regressions, the most recently added regression is now + run first. ([\#496](https://github.com/proptest-rs/proptest/pull/496])) + +### Bug Fixes + +- Fix WebAssembly support. Hides a few paths, that fail at runtime on + wasm32-unknown-unknown, under conditional compilation. \([#519](https://github.com/proptest-rs/proptest/pull/519)) +- Fix incorrectly reading environment configuration. Previously controlling + proptest configuration via env vars was not properly applied. This caused + vars like `PROPTEST_MAX_DEFAULT_SIZE_RANGE` to be not be properly applied, + leading to unexpected behavior. ([\#457](https://github.com/proptest-rs/proptest/pull/457)) +- Allow trailing comma in prop_assert_eq/ne like std. ([\#510](https://github.com/proptest-rs/proptest/pull/510)) + +### Other Notes + +- Add `no_std` to `alloc` contexts. `no_std` must be used explicitly with + `alloc`. Updated CI and documentation to reflect this. ([\#528](https://github.com/proptest-rs/proptest/pull/528)) +- Make `libm` optional in a `std` environment. ([\#524](https://github.com/proptest-rs/proptest/pull/524)) +- Update `bit-set` and `bit-vec` to `0.8.0`. ([\#501](https://github.com/proptest-rs/proptest/pull/501)) +- Removed unused `frunk` feature. ([\#498](https://github.com/proptest-rs/proptest/pull/498)) ## 1.5.0 @@ -14,10 +41,12 @@ - Empty ranges panic during tree creation instead of during sampling. ### Documentation + - Reference the derive macro in Arbitrary's documentation - Fix broken links in the book ### Bug Fixes + - Fixed issue where config contextualization would clobber existing failure persistence config ## 1.4.0 diff --git a/proptest/Cargo.toml b/proptest/Cargo.toml index e0499b76..33c48e65 100644 --- a/proptest/Cargo.toml +++ b/proptest/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proptest" -version = "1.5.0" +version = "1.6.0" authors = ["Jason Lingle"] license = "MIT OR Apache-2.0" readme = "README.md"