Skip to content

Commit 349de28

Browse files
authored
release 0.6.0 (#47)
1 parent 01b40e0 commit 349de28

File tree

11 files changed

+62
-25
lines changed

11 files changed

+62
-25
lines changed

CHANGELOG.md

+37
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# Changelog
22

3+
## [0.6.0] - 2020-11-16
4+
5+
### Added
6+
7+
- MSRV set to 1.42.0
8+
- Initial support for executing tests with [MIRI](https://github.com/rust-lang/miri)
9+
10+
### Updated
11+
12+
- libfuzzer is now at version 11.0.0
13+
- afl is now at version v2.57b
14+
- honggfuzz is now at version 2.3.1
15+
16+
### Fixes
17+
18+
- Invalid shrinking transformations could result in an empty panic message
19+
- Test name resolution now relies on `core::any::type_name` instead of backtrace inspection
20+
- Generators that panic could result in an empty panic message
21+
22+
### Breaking Changes
23+
24+
#### Deprecate `fuzz` in favor of more general terms
25+
26+
With the end goal of `bolero` becoming a front-end for various types of execution engines outside of fuzzing (e.g. [crux](https://github.com/camshaft/bolero/issues/34), [seer](https://github.com/dwrensha/seer), [haybale](https://github.com/PLSysSec/haybale), etc) we're deprecating specific language about fuzzing and going for a more general vocabulary.
27+
28+
- The `fuzz!` macro has been deprecated in favor of `check!`
29+
- The `cargo bolero fuzz` command has been deprecated in favor of `cargo bolero test`
30+
- The `--fuzzer` flag has been deprecated in favor of `--engine`
31+
32+
#### Default to `--release` build when testing
33+
34+
In order to achieve a better testing rate, tests are now compiled with `--release`. In order to opt out of this behavior, `--release false` can be passed.
35+
36+
#### Default to `--sanitizer address` when testing
37+
38+
Sanitizers provide additional information to the fuzzing engine which produces better results. This is now the default behavior. In order to opt out of this behavior, `--sanitizer NONE` can be passed.
39+
340
## [0.5.0] - 2020-05-21
441

542
### Added

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A copy of the Bolero Book can be found here: http://camshaft.github.io/bolero
1717

1818
```toml
1919
[dev-dependencies]
20-
bolero = "0.5"
20+
bolero = "0.6"
2121
```
2222

2323
`bolero` also provides a CLI program to execute fuzz tests, [`cargo-bolero`](https://crates.io/crates/cargo-bolero). It can be installed globally with cargo:

bolero-afl/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bolero-afl"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
authors = ["Cameron Bytheway <[email protected]>"]
55
description = "afl plugin for bolero"
66
homepage = "https://github.com/camshaft/bolero"
@@ -16,7 +16,7 @@ bin = []
1616
lib = ["bolero-engine"]
1717

1818
[dependencies]
19-
bolero-engine = { version = "0.5", path = "../bolero-engine", optional = true }
19+
bolero-engine = { version = "0.6", path = "../bolero-engine", optional = true }
2020

2121
[build-dependencies]
2222
cc = "1.0"

bolero-engine/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bolero-engine"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
authors = ["Cameron Bytheway <[email protected]>"]
55
description = "fuzz and property testing framework"
66
homepage = "https://github.com/camshaft/bolero"
@@ -17,11 +17,11 @@ rng = ["rand"]
1717
[dependencies]
1818
anyhow = "1.0"
1919
backtrace = "0.3"
20-
bolero-generator = { version = "0.5", path = "../bolero-generator", default-features = false }
20+
bolero-generator = { version = "0.6", path = "../bolero-generator", default-features = false }
2121
lazy_static = "1"
2222
pretty-hex = "0.1.1"
2323
rand = { version = "0.7", optional = true }
2424

2525
[dev-dependencies]
26-
bolero-generator = { version = "0.5", path = "../bolero-generator", features = ["std"] }
26+
bolero-generator = { version = "0.6", path = "../bolero-generator", features = ["std"] }
2727
rand = "0.7"

bolero-generator-derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bolero-generator-derive"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
authors = ["Cameron Bytheway <[email protected]>"]
55
description = "value generator for testing and fuzzing"
66
homepage = "https://github.com/camshaft/bolero"

bolero-generator/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bolero-generator"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
authors = ["Cameron Bytheway <[email protected]>"]
55
description = "value generator for testing and fuzzing"
66
homepage = "https://github.com/camshaft/bolero"
@@ -16,7 +16,7 @@ std = ["alloc", "either/use_std"]
1616
alloc = ["rand_core/alloc"]
1717

1818
[dependencies]
19-
bolero-generator-derive = { version = "0.5.0", path = "../bolero-generator-derive" }
19+
bolero-generator-derive = { version = "0.6.0", path = "../bolero-generator-derive" }
2020
byteorder = { version = "1.3", default-features = false }
2121
either = { version = "1.5", default-features = false, optional = true }
2222
rand_core = { version = "0.5", default-features = false }

bolero-honggfuzz/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bolero-honggfuzz"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
authors = ["Cameron Bytheway <[email protected]>"]
55
description = "honggfuzz plugin for bolero"
66
homepage = "https://github.com/camshaft/bolero"
@@ -16,4 +16,4 @@ bin = []
1616
lib = ["bolero-engine"]
1717

1818
[dependencies]
19-
bolero-engine = { version = "0.5", path = "../bolero-engine", optional = true }
19+
bolero-engine = { version = "0.6", path = "../bolero-engine", optional = true }

bolero-libfuzzer/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bolero-libfuzzer"
3-
version = "0.5.0"
3+
version = "0.6.0"
44
authors = ["Cameron Bytheway <[email protected]>"]
55
description = "libfuzzer plugin for bolero"
66
homepage = "https://github.com/camshaft/bolero"
@@ -16,7 +16,7 @@ bin = []
1616
lib = ["bolero-engine"]
1717

1818
[dependencies]
19-
bolero-engine = { version = "0.5", path = "../bolero-engine", optional = true }
19+
bolero-engine = { version = "0.6", path = "../bolero-engine", optional = true }
2020

2121
[build-dependencies]
2222
cc = "1.0"

bolero/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bolero"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
authors = ["Cameron Bytheway <[email protected]>"]
55
description = "fuzz and property testing front-end"
66
homepage = "https://github.com/camshaft/bolero"
@@ -17,18 +17,18 @@ std = ["alloc", "bolero-generator/std"]
1717
alloc = ["bolero-generator/alloc"]
1818

1919
[dependencies]
20-
bolero-engine = { version = "0.5", path = "../bolero-engine" }
21-
bolero-generator = { version = "0.5", path = "../bolero-generator", default-features = false }
20+
bolero-engine = { version = "0.6", path = "../bolero-engine" }
21+
bolero-generator = { version = "0.6", path = "../bolero-generator", default-features = false }
2222
cfg-if = "0.1"
2323

2424
[target.'cfg(fuzzing_afl)'.dependencies]
25-
bolero-afl = { version = "0.5", path = "../bolero-afl" }
25+
bolero-afl = { version = "0.6", path = "../bolero-afl" }
2626

2727
[target.'cfg(fuzzing_libfuzzer)'.dependencies]
28-
bolero-libfuzzer = { version = "0.5", path = "../bolero-libfuzzer" }
28+
bolero-libfuzzer = { version = "0.6", path = "../bolero-libfuzzer" }
2929

3030
[target.'cfg(fuzzing_honggfuzz)'.dependencies]
31-
bolero-honggfuzz = { version = "0.5", path = "../bolero-honggfuzz" }
31+
bolero-honggfuzz = { version = "0.6", path = "../bolero-honggfuzz" }
3232

3333
[target.'cfg(not(fuzzing))'.dependencies]
3434
libtest-mimic = "0.2.0"

book/src/library-installation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
```toml
66
[dev-dependencies]
7-
bolero = "0.5"
7+
bolero = "0.6"
88
```
99

1010
## Structured Test Generation
@@ -13,7 +13,7 @@ If your crate wishes to implement structured test generation on public data stru
1313

1414
```toml
1515
[dependencies]
16-
bolero-generator = "0.5"
16+
bolero-generator = "0.6"
1717
```
1818

1919
The derive attribute can now be used:

cargo-bolero/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-bolero"
3-
version = "0.5.2"
3+
version = "0.6.0"
44
authors = ["Cameron Bytheway <[email protected]>"]
55
description = "cargo command for running bolero fuzz tests"
66
homepage = "https://github.com/camshaft/bolero"
@@ -18,16 +18,16 @@ honggfuzz = ["bolero-honggfuzz"]
1818
[dependencies]
1919
anyhow = "1.0"
2020
bit-set = "0.5"
21-
bolero-afl = { version = "0.5", path = "../bolero-afl", default-features = false, features = ["bin"], optional = true }
22-
bolero-honggfuzz = { version = "0.5", path = "../bolero-honggfuzz", default-features = false, features = ["bin"], optional = true }
21+
bolero-afl = { version = "0.6", path = "../bolero-afl", default-features = false, features = ["bin"], optional = true }
22+
bolero-honggfuzz = { version = "0.6", path = "../bolero-honggfuzz", default-features = false, features = ["bin"], optional = true }
2323
humantime = "2"
2424
structopt = "0.3"
2525
serde = { version = "1.0", features = ["derive"] }
2626
serde_json = "1.0"
2727
tempfile = "3"
2828

2929
[dev-dependencies]
30-
bolero = { version = "0.5", path = "../bolero" }
30+
bolero = { version = "0.6", path = "../bolero" }
3131

3232
[[test]]
3333
name = "fuzz_bytes"

0 commit comments

Comments
 (0)