Skip to content

Commit

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

0 comments on commit 1e5d38f

Please sign in to comment.