0.14.0 - 2025-02-10
- Internal dependency update: winnow updated to 0.7. Thanks to Ed Page for the update!
0.13.0 - 2025-01-15
- MSRV updated to Rust 1.81.
- Internal dependency updates.
0.12.0 - 2024-08-28
- Renamed references from "default-set" to "default-filter" to match cargo-nextest changes.
0.11.0 - 2024-08-25
- Types renamed from
FilteringExpr
toFilterset
.
0.10.0 - 2024-08-23
- New APIs:
CompiledExpr::matches_binary
andmatches_test
. - Support for parsing default sets and the
default()
predicate.
FilteringExpr::parse
now takes aParseContext
.- The
matches_binary
andmatches_test
functions now take anEvalContext
. - MSRV updated to Rust 1.75.
0.9.0 - 2024-05-23
- MSRV updated to Rust 1.74.
- nextest-metadata updated to 0.11.0.
0.8.0 - 2024-03-04
- MSRV updated to Rust 1.73.
- Parser combinator library changed from nom to winnow. Thanks @epage for creating winnow, and for the contribution!
0.7.1 - 2024-01-09
Internal cleanups: remove reliance on Incomplete. Thanks @epage for the contribution!
0.7.0 - 2023-12-10
nextest-metadata
updated to 0.10.
- The
.crate
files uploaded to crates.io now contain theLICENSE-APACHE
andLICENSE-MIT
license files. Thanks @musicinmybrain for your first contribution!
0.6.0 - 2023-12-03
- Support for glob matchers.
- Support for a new
binary_id
predicate.
For more information, see the changelog for cargo-nextest 0.9.64.
0.5.1 - 2023-10-22
- Internal dependency updates.
- MSRV updated to Rust 1.70.
0.5.0 - 2023-06-25
guppy
updated to 0.17.0.
0.4.0 - 2023-05-15
FilteringExpr
now carries three forms of an expression:input
, which is the raw input as provided.parsed
, which represents a parsed expression that hasn't yet been evaluated against a specificPackageGraph
. This is a newly public typeParsedExpr
.compiled
, which is an expression that has been compiled against aPackageGraph
. This is of typeCompiledExpr
, which is whatFilteringExpr
used to be.
- Newlines are now supported within expressions, for e.g. multiline TOML for nextest's overrides.
- A clean, well-formatted representation of a parsed expression can now be generated via the
Display
impl onParsedExpr
. - The parser has been extensively fuzzed. No bugs were found.
- MSRV updated to Rust 1.66.
0.3.0 - 2022-11-23
guppy
updated to 0.15.0.- MSRV updated to Rust 1.62.
0.2.2 - 2022-10-14
0.2.1 - 2022-07-30
- Evaluation now uses a stack machine via the recursion crate. Thanks Inanna for your first contribution!
0.2.0 - 2022-07-13
- The expression language supports several new predicates:
kind(name-matcher)
: include all tests in binary kinds (e.g.lib
,test
,bench
) matchingname-matcher
.binary(name-matcher)
: include all tests in binary names matchingname-matcher
.platform(host)
orplatform(target)
: include all tests that are built for the host or target platform, respectively.
- It is now possible to evaluate a query without knowing the name of the test. The result is evaluated as a three-valued logic (Kleene K3), and is returned as an
Option<bool>
whereNone
indicates the unknown state.
- The evaluator now takes a
TestQuery
struct, making it easier to add more parameters in the future. - MSRV updated to Rust 1.59.
0.1.0 - 2022-04-16
Initial release.