Skip to content

Commit 134bd21

Browse files
committed
[site] a couple of updates + changelog updates
1 parent 32085ab commit 134bd21

File tree

6 files changed

+30
-9
lines changed

6 files changed

+30
-9
lines changed

nextest-filtering/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [0.12.0] - 2024-08-28
4+
5+
### Changed
6+
7+
- Renamed references from "default-set" to "default-filter" to match cargo-nextest changes.
8+
39
## [0.11.0] - 2024-08-25
410

511
### Changed
@@ -128,6 +134,7 @@ For more information, see the changelog for [cargo-nextest 0.9.64](https://nexte
128134

129135
Initial release.
130136

137+
[0.12.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-filtering-0.12.0
131138
[0.11.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-filtering-0.11.0
132139
[0.10.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-filtering-0.10.0
133140
[0.9.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-filtering-0.9.0

nextest-metadata/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## [0.12.0] - 2024-08-28
4+
5+
### Changed
6+
7+
- Renamed references from "default-set" to "default-filter" to match cargo-nextest changes.
8+
9+
### Removed
10+
11+
- `NextestExitCode::INVALID_FILTERSET` no longer exists.
12+
313
## [0.11.3] - 2024-08-25
414

515
### Changed
@@ -229,6 +239,7 @@ This release is compatible with cargo-nextest 0.9.10 and later.
229239

230240
- Initial version, with support for listing tests.
231241

242+
[0.12.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-metadata-0.12.0
232243
[0.11.3]: https://github.com/nextest-rs/nextest/releases/tag/nextest-metadata-0.11.3
233244
[0.11.2]: https://github.com/nextest-rs/nextest/releases/tag/nextest-metadata-0.11.2
234245
[0.11.1]: https://github.com/nextest-rs/nextest/releases/tag/nextest-metadata-0.11.1

nextest-metadata/src/exit_codes.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ impl NextestExitCode {
6363
/// A filterset failed to parse.
6464
pub const INVALID_FILTERSET: i32 = 94;
6565

66-
/// Deprecated form of [`Self::INVALID_FILTERSET`].
67-
#[deprecated(since = "0.11.3", note = "Use `INVALID_FILTERSET` instead")]
68-
pub const INVALID_FILTER_EXPRESSION: i32 = Self::INVALID_FILTERSET;
69-
7066
/// A self-update was requested but this version of cargo-nextest cannot perform self-updates.
7167
pub const SELF_UPDATE_UNAVAILABLE: i32 = 93;
7268

nextest-runner/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [0.60.0] - 2024-08-28
4+
5+
See the changelog for [cargo-nextest 0.9.77](https://nexte.st/changelog#0.9.77).
6+
37
## [0.59.0] - 2024-08-25
48

59
See the changelog for [cargo-nextest 0.9.76](https://nexte.st/changelog#0.9.76).
@@ -462,6 +466,7 @@ Thanks to [Guiguiprim](https://github.com/Guiguiprim) for their contributions to
462466

463467
- Initial version.
464468

469+
[0.60.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.60.0
465470
[0.59.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.59.0
466471
[0.58.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.58.0
467472
[0.57.0]: https://github.com/nextest-rs/nextest/releases/tag/nextest-runner-0.57.0

site/src/docs/filtersets/index.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,19 @@ cargo nextest run -E 'test(my_test) + package(my-crate)'
5151

5252
### Filtersets with the default set
5353

54-
<!-- md:version 0.9.76 -->
54+
<!-- md:version 0.9.78 -->
5555

56-
If [a default filter](../running.md#running-a-subset-of-tests-by-default) for tests is configured, filtersets on the command line are intersected with the default filter.
56+
If [a default filter](../running.md#running-a-subset-of-tests-by-default) for tests is configured,
57+
filtersets on the command line are intersected with the default filter.
5758

5859
To match against all tests, not just the default set, pass in `--ignore-default-filter`.
5960

61+
The default filter can also be referred to explicitly via the `default()` predicate.
62+
6063
Filtersets specified in configuration (for example, in [per-test
6164
settings](../configuration/per-test-overrides.md), or `default-filter` itself) do not take into
62-
account the default filter.
65+
account the default filter. To do so explicitly (other than in `default-filter`), use the
66+
`default()` predicate.
6367

6468
## DSL reference
6569

site/src/docs/running.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ The default filter is available in the filterset DSL via the `default()` predica
9191

9292
!!! info "Overriding the default filter"
9393

94-
<!-- md:version 0.9.76 -->
95-
9694
By default, command-line arguments are always interpreted with respect to the default filter. For example, `cargo nextest -E 'all()'` will run all tests that match the default filter.
9795

9896
To override the default set on the command line, use `--ignore-default-filter`. For example, `cargo nextest -E 'all()' --ignore-default-filter` will run all tests, including those not in the default set.

0 commit comments

Comments
 (0)