Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Jun 13, 2023
1 parent ab0a715 commit 55fb483
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 19 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 4.0.0

- BREAKING CHANGE: The `--timeout` option now uses seconds instead of milliseconds ([#219](https://github.com/trailofbits/test-fuzz/pull/219))—thanks [@dhruvdabhi101](https://github.com/dhruvdabhi101)
- BREAKING CHANGE: The following deprecated options/functions have been removed ([#234](https://github.com/trailofbits/test-fuzz/pull/234)):
- Options `--display-<OBJECT>` (use `--display <OBJECT>` with no hyphen)
- Options `--replay-<OBJECT>` (use `--replay <OBJECT>` with no hyphen)
- Option `--target <TARGETNAME>` (use just `<TARGETNAME>`)
- Function `cargo_test_fuzz`
- BREAKING CHANGE: `test-fuzz` is now licensed and distributed under the AGPLv3 license with the [Macros and Inline Functions Exception](https://spdx.org/licenses/mif-exception.html). See the [README](https://github.com/trailofbits/test-fuzz#license) for additional details. ([#241](https://github.com/trailofbits/test-fuzz/pull/241))
- Fix a bug involving mutable slices and `str`s ([#230](https://github.com/trailofbits/test-fuzz/pull/230))&mdash;thanks [@0xalpharush](https://github.com/0xalpharush) for reporting the bug

## 3.1.0

- Update dependencies, including `afl` to version 0.13.0 ([c1707f5](https://github.com/trailofbits/test-fuzz/commit/c1707f5c09e9c68113699c67be13fa4944a94405))
Expand Down Expand Up @@ -27,7 +38,7 @@

## 3.0.0

- BREAKING CHANGE: Make `afl` an optional depdency enabled by `--persistent`. This is a breaking change in the following sense. If one tries to use `cargo-test-fuzz` 2.0.x with a target compiled with the new version of `test-fuzz`, one will recieve a `` ... does not depend on `afl` `` error. ([#114](https://github.com/trailofbits/test-fuzz/pull/114))
- BREAKING CHANGE: Make `afl` an optional dependency enabled by `--persistent`. This is a breaking change in the following sense. If one tries to use `cargo-test-fuzz` 2.0.x with a target compiled with the new version of `test-fuzz`, one will receive a `` ... does not depend on `afl` `` error. ([#114](https://github.com/trailofbits/test-fuzz/pull/114))

## 2.0.5

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Fuzzing with `test-fuzz` is essentially three steps:\*
- Add the following `dependencies` to the target crate's `Cargo.toml` file:
```toml
serde = "1.0"
test-fuzz = "3.1"
test-fuzz = "4.0"
```
- Precede the target function with the [`test_fuzz`](#test_fuzz-macro) macro:
```rust
Expand Down Expand Up @@ -395,7 +395,7 @@ Try `cargo afl fuzz --help` to see additional fuzzer options.
The features in this section apply to the `test-fuzz` package as a whole. Enable them in `test-fuzz`'s dependency specification as described in the [The Cargo Book](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#choosing-features). For example, to enable the `auto_concretize` feature, use:

```toml
test-fuzz = { version = "3.1", features = ["auto_concretize"] }
test-fuzz = { version = "4.0", features = ["auto_concretize"] }
```

The `test-fuzz` package currently supports the following features:
Expand Down
6 changes: 3 additions & 3 deletions cargo-test-fuzz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-test-fuzz"
version = "3.1.0"
version = "4.0.0"
edition = "2021"

description = "cargo-test-fuzz"
Expand Down Expand Up @@ -32,8 +32,8 @@ serde = { version = "1.0", features = ["derive"] }
strum_macros = "0.24"
subprocess = "0.2"

internal = { path = "../internal", package = "test-fuzz-internal", version = "=3.1.0" }
test-fuzz = { path = "../test-fuzz", version = "=3.1.0" }
internal = { path = "../internal", package = "test-fuzz-internal", version = "=4.0.0" }
test-fuzz = { path = "../test-fuzz", version = "=4.0.0" }

[dev-dependencies]
assert_cmd = "2.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-fuzz-examples"
version = "3.1.0"
version = "4.0.0"
edition = "2021"
publish = false

Expand All @@ -10,7 +10,7 @@ path = "src/main.rs"

[dependencies]
serde = { version = "1.0", features = ["rc"] }
test-fuzz = { path = "../test-fuzz", version = "=3.1.0" }
test-fuzz = { path = "../test-fuzz", version = "=4.0.0" }

[dev-dependencies]
lazy_static = "1.4"
Expand Down
2 changes: 1 addition & 1 deletion internal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-fuzz-internal"
version = "3.1.0"
version = "4.0.0"
edition = "2021"

description = "test-fuzz-internal"
Expand Down
4 changes: 2 additions & 2 deletions macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-fuzz-macro"
version = "3.1.0"
version = "4.0.0"
edition = "2021"

description = "test-fuzz-macro"
Expand All @@ -23,7 +23,7 @@ subprocess = "0.2"
syn = { version = "2.0", features = ["full", "parsing", "visit", "visit-mut"] }
toolchain_find = "0.4"

internal = { path = "../internal", package = "test-fuzz-internal", version = "=3.1.0" }
internal = { path = "../internal", package = "test-fuzz-internal", version = "=4.0.0" }

[features]
__auto_concretize = []
Expand Down
4 changes: 2 additions & 2 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-fuzz-runtime"
version = "3.1.0"
version = "4.0.0"
edition = "2021"

description = "test-fuzz-runtime"
Expand All @@ -23,7 +23,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_cbor = { version = "0.11", optional = true }
sha-1 = "0.10"

internal = { path = "../internal", package = "test-fuzz-internal", version = "=3.1.0" }
internal = { path = "../internal", package = "test-fuzz-internal", version = "=4.0.0" }

[features]
__serde_bincode = []
Expand Down
8 changes: 4 additions & 4 deletions test-fuzz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-fuzz"
version = "3.1.0"
version = "4.0.0"
edition = "2021"

description = "To make fuzzing Rust easy"
Expand All @@ -13,9 +13,9 @@ repository = "https://github.com/trailofbits/test-fuzz"
afl = { version = "0.13", optional = true }
serde = "1.0"

internal = { path = "../internal", package = "test-fuzz-internal", version = "=3.1.0" }
runtime = { path = "../runtime", package = "test-fuzz-runtime", version = "=3.1.0" }
test-fuzz-macro = { path = "../macro", version = "=3.1.0" }
internal = { path = "../internal", package = "test-fuzz-internal", version = "=4.0.0" }
runtime = { path = "../runtime", package = "test-fuzz-runtime", version = "=4.0.0" }
test-fuzz-macro = { path = "../macro", version = "=4.0.0" }

[dev-dependencies]
assert_cmd = "2.0"
Expand Down
4 changes: 2 additions & 2 deletions testing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-fuzz-testing"
version = "3.1.0"
version = "4.0.0"
edition = "2021"
publish = false

Expand All @@ -16,4 +16,4 @@ log = "0.4"
retry = "2.0"
subprocess = "0.2"

internal = { path = "../internal", package = "test-fuzz-internal", version = "=3.1.0" }
internal = { path = "../internal", package = "test-fuzz-internal", version = "=4.0.0" }

0 comments on commit 55fb483

Please sign in to comment.