Skip to content

Commit

Permalink
prep v1.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rexmas committed Dec 15, 2024
1 parent 5bc4672 commit c350b3c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
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

0 comments on commit c350b3c

Please sign in to comment.