Skip to content

Commit 6a70102

Browse files
committed
prepare release
1 parent d3e6c69 commit 6a70102

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

CHANGELOG.md

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

3+
## [0.3.0] - 2024-12-24
4+
5+
### Added
6+
7+
- Support for embedding data into the test binary via an optional `include-dir`
8+
feature. For more information and recommendations for when to use this, see [the
9+
readme](https://crates.io/crates/datatest-stable).
10+
11+
### Changed
12+
13+
- The macro call format has changed to:
14+
15+
```rust
16+
datatest_stable::harness! {
17+
{ test = fn_name, path = &include_dir!("path/to/data"), pattern = r"^.*$" },
18+
// ...
19+
}
20+
```
21+
22+
This is both a nicer format for expressing multiple tests, and a signal to
23+
indicate the other breaking changes in this release.
24+
25+
- Regex patterns now match against the path relative to the *include directory*, rather
26+
than paths with respect to the crate root. This change was made for uniformity with the
27+
`include_dir` implementation.
28+
29+
- On Windows, paths are now universally normalized to use forward slashes. This change
30+
was made to ensure that test names and paths are consistent across platforms.
31+
332
## [0.2.10] - 2024-12-08
433

534
- Internal dependency updates: update `libtest-mimic` to 0.8.1, and `fancy-regex` to 0.14.0.
@@ -114,6 +143,7 @@ There are no functional changes in this release.
114143

115144
(Version 0.1.0 was yanked because of a metadata issue.)
116145

146+
[0.3.0]: https://github.com/nextest-rs/datatest-stable/releases/tag/datatest-stable-0.3.0
117147
[0.2.10]: https://github.com/nextest-rs/datatest-stable/releases/tag/datatest-stable-0.2.10
118148
[0.2.9]: https://github.com/nextest-rs/datatest-stable/releases/tag/datatest-stable-0.2.9
119149
[0.2.8]: https://github.com/nextest-rs/datatest-stable/releases/tag/datatest-stable-0.2.8

0 commit comments

Comments
 (0)