Skip to content

Commit 7055b49

Browse files
committed
Release 25.1.0
1 parent 0b6c6e0 commit 7055b49

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-mutants"
3-
version = "25.0.1"
3+
version = "25.1.0"
44
edition = "2021"
55
authors = ["Martin Pool"]
66
license = "MIT"

NEWS.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
# cargo-mutants changelog
22

3-
## Unreleased
3+
## 25.1.0 2025-06-05
4+
5+
- **Changed**: The `--gitignore` option now defaults to `false`, meaning `.gitignore` patterns are no longer respected when copying source trees by default. The `/target` directory is still excluded by default through explicit filtering. To restore the previous behavior, use `--gitignore=true`.
46

57
- New: Mutate `>` to `>=` and `<` to `<=`.
68

7-
- Changed: Mutate `&T` to `Box::leak(Box::new(...))` so that mutants aren't unviable due to returning references to temporary values.
9+
- Changed: Mutate `&T` to `Box::leak(Box::new(...))`, instead of a reference to a value, so that mutants aren't unviable due to returning references to temporary values.
810

911
- New: `--copy-target` option allows copying the `/target` directory to build directories. By default, the target directory is excluded to avoid copying large build artifacts, but `--copy-target=true` can be used if tests depend on existing build artifacts.
1012

1113
- New: Feature-related options can now be configured in `.cargo/mutants.toml`: `features`, `all_features`, and `no_default_features`. Command line arguments take precedence over config file settings for boolean options, while features from both sources are combined.
1214

13-
- **Breaking**: The `--gitignore` option now defaults to `false`, meaning `.gitignore` patterns are no longer respected when copying source trees by default. The `/target` directory is still excluded by default through explicit filtering. To restore the previous behavior, use `--gitignore=true`.
14-
15-
- New: Produce a json schema for the config file with `--emit-schema=config` to support
16-
schema-guided editing. The schema has been proposed to SchemaStore so many editors should in
17-
future support it automatically.
15+
- New: Produce a json schema for the config file with `--emit-schema=config` to support schema-guided editing. The schema has been proposed to SchemaStore so many editors should in future support it automatically.
1816

1917
- New: The config file path can be specified with the `--config` option, overriding the default of `.cargo/mutants.toml`. (The pre-existing `--no-config` option turns it off.)
2018

0 commit comments

Comments
 (0)