Skip to content

Commit 57567cf

Browse files
committed
Prepare 0.19.0 release
1 parent 56456e6 commit 57567cf

File tree

8 files changed

+32
-19
lines changed

8 files changed

+32
-19
lines changed

CHANGELOG.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,36 @@ All user visible changes to `cucumber` crate will be documented in this file. Th
66

77

88

9-
## [0.19.0] · 2022-??-??
9+
## [0.19.0] · 2022-12-16
1010
[0.19.0]: /../../tree/v0.19.0
1111

1212
[Diff](/../../compare/v0.18.0...v0.19.0) | [Milestone](/../../milestone/22)
1313

1414
### BC Breaks
1515

16-
- Replaced `writer::FailOnSkipped::writer` field with `writer::FailOnSkipped::inner_writer()` method. ([commit])
17-
- Replaced `writer::Normalized::writer` field with `writer::Normalized::inner_writer()` method. ([commit])
18-
- Replaced `writer::Or::left`/`writer::Or::right` fields with `writer::Or::left_writer()`/`writer::Or::right_writer()` methods. ([commit])
19-
- Replaced `writer::Repeat::writer` field with `writer::Repeat::inner_writer()` method. ([commit])
20-
- Replaced `writer::Summarize::writer` field with `writer::Summarize::inner_writer()` method. ([commit])
21-
- Replaced `writer::Summarize::scenarios`/`writer::Summarize::steps` fields with `writer::Summarize::scenarios_stats()`/`writer::Summarize::steps_stats()` methods. ([commit])
22-
- Made `writer::Summarize::features`/`writer::Summarize::rules` fields private. ([commit])
23-
- Made `writer::Summarize::parsing_errors`/`writer::Summarize::failed_hooks` fields private in favour of `writer::Stats::parsing_errors()`/`writer::Stats::failed_hooks()` methods. ([commit])
16+
- Replaced `writer::FailOnSkipped::writer` field with `writer::FailOnSkipped::inner_writer()` method. ([56456e66])
17+
- Replaced `writer::Normalized::writer` field with `writer::Normalized::inner_writer()` method. ([56456e66])
18+
- Replaced `writer::Or::left`/`writer::Or::right` fields with `writer::Or::left_writer()`/`writer::Or::right_writer()` methods. ([56456e66])
19+
- Replaced `writer::Repeat::writer` field with `writer::Repeat::inner_writer()` method. ([56456e66])
20+
- Replaced `writer::Summarize::writer` field with `writer::Summarize::inner_writer()` method. ([56456e66])
21+
- Replaced `writer::Summarize::scenarios`/`writer::Summarize::steps` fields with `writer::Summarize::scenarios_stats()`/`writer::Summarize::steps_stats()` methods. ([56456e66])
22+
- Made `writer::Summarize::features`/`writer::Summarize::rules` fields private. ([56456e66])
23+
- Made `writer::Summarize::parsing_errors`/`writer::Summarize::failed_hooks` fields private in favour of `writer::Stats::parsing_errors()`/`writer::Stats::failed_hooks()` methods. ([56456e66])
2424

2525
### Added
2626

2727
- [Gherkin] syntax highlighting in the Book. ([#251])
2828
- `runner::Basic::fail_fast()` method as `Cucumber::fail_fast()`. ([#252])
29-
- `Cucumber::with_default_cli()` method. ([commit])
30-
- `Default` implementation for CLI types. ([commit])
29+
- `Cucumber::with_default_cli()` method. ([56456e66])
30+
- `Default` implementation for CLI types. ([56456e66])
3131

3232
### Fixed
3333

3434
- `@serial` `Scenario`s continue running after failure when `--fail-fast()` CLI option is specified. ([#252])
3535

3636
[#251]: /../../pull/251
3737
[#252]: /../../pull/252
38+
[56456e66]: /../../commit/56456e666be41b4190f62fecaf727042ed69c15a
3839

3940

4041

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cucumber"
3-
version = "0.18.0"
3+
version = "0.19.0"
44
edition = "2021"
55
rust-version = "1.65"
66
description = """\
@@ -59,7 +59,7 @@ smart-default = "0.6"
5959

6060
# "macros" feature dependencies.
6161
anyhow = { version = "1.0.58", optional = true }
62-
cucumber-codegen = { version = "0.18", path = "./codegen", optional = true }
62+
cucumber-codegen = { version = "0.19", path = "./codegen", optional = true }
6363
cucumber-expressions = { version = "0.2.1", features = ["into-regex"], optional = true }
6464
inventory = { version = "0.3", optional = true }
6565

book/src/output/intellij.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ IntelliJ Rust integration
55

66
Example below is set up to output with the default [`writer::Basic`] if there is no `--format=json` option, or with [`writer::Libtest`] otherwise.
77
```toml
8-
cucumber = { version = "0.18", features = ["libtest"] }
8+
cucumber = { version = "0.19", features = ["libtest"] }
99
```
1010
```rust
1111
# extern crate cucumber;

book/src/output/json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Cucumber JSON format
55

66
This requires `output-json` feature to be enabled in `Cargo.toml`:
77
```toml
8-
cucumber = { version = "0.18", features = ["output-json"] }
8+
cucumber = { version = "0.19", features = ["output-json"] }
99
```
1010

1111
And configuring output to [`writer::Json`]:

book/src/output/junit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ JUnit XML report
55

66
This requires `output-junit` feature to be enabled in `Cargo.toml`:
77
```toml
8-
cucumber = { version = "0.18", features = ["output-junit"] }
8+
cucumber = { version = "0.19", features = ["output-junit"] }
99
```
1010

1111
And configuring output to [`writer::JUnit`]:

book/src/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ To start, let's create a directory called `tests/` in the root of the project an
88
Add this to `Cargo.toml`:
99
```toml
1010
[dev-dependencies]
11-
cucumber = "0.18"
11+
cucumber = "0.19"
1212
futures = "0.3"
1313

1414
[[test]]
@@ -385,7 +385,7 @@ A contrived example, but it demonstrates that [step]s can be reused as long as t
385385
Let's switch our runtime to `tokio`:
386386
```toml
387387
[dev-dependencies]
388-
cucumber = "0.18"
388+
cucumber = "0.19"
389389
tokio = { version = "1.10", features = ["macros", "rt-multi-thread", "time"] }
390390

391391
[[test]]

codegen/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ All user visible changes to `cucumber-codegen` crate will be documented in this
66

77

88

9+
## [0.19.0] · 2022-12-07
10+
[0.19.0]: /../../tree/v0.19.0/codegen
11+
12+
[Milestone](/../../milestone/22)
13+
14+
### Version bump only
15+
16+
See `cucumber` crate [changelog](https://github.com/cucumber-rs/cucumber/blob/v0.19.0/CHANGELOG.md).
17+
18+
19+
20+
921
## [0.18.0] · 2022-12-07
1022
[0.18.0]: /../../tree/v0.18.0/codegen
1123

codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cucumber-codegen"
3-
version = "0.18.0" # should be the same as main crate version
3+
version = "0.19.0" # should be the same as main crate version
44
edition = "2021"
55
rust-version = "1.65"
66
description = "Code generation for `cucumber` crate."

0 commit comments

Comments
 (0)