Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prep v1.6.0 release #539

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions proptest-derive/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
33 changes: 31 additions & 2 deletions proptest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion proptest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down