Skip to content

Commit

Permalink
Prepare 0.19.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Dec 16, 2022
1 parent 56456e6 commit 57567cf
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 19 deletions.
23 changes: 12 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,36 @@ All user visible changes to `cucumber` crate will be documented in this file. Th



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

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

### BC Breaks

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

### Added

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

### Fixed

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

[#251]: /../../pull/251
[#252]: /../../pull/252
[56456e66]: /../../commit/56456e666be41b4190f62fecaf727042ed69c15a



Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cucumber"
version = "0.18.0"
version = "0.19.0"
edition = "2021"
rust-version = "1.65"
description = """\
Expand Down Expand Up @@ -59,7 +59,7 @@ smart-default = "0.6"

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

Expand Down
2 changes: 1 addition & 1 deletion book/src/output/intellij.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ IntelliJ Rust integration

Example below is set up to output with the default [`writer::Basic`] if there is no `--format=json` option, or with [`writer::Libtest`] otherwise.
```toml
cucumber = { version = "0.18", features = ["libtest"] }
cucumber = { version = "0.19", features = ["libtest"] }
```
```rust
# extern crate cucumber;
Expand Down
2 changes: 1 addition & 1 deletion book/src/output/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Cucumber JSON format

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

And configuring output to [`writer::Json`]:
Expand Down
2 changes: 1 addition & 1 deletion book/src/output/junit.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ JUnit XML report

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

And configuring output to [`writer::JUnit`]:
Expand Down
4 changes: 2 additions & 2 deletions book/src/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To start, let's create a directory called `tests/` in the root of the project an
Add this to `Cargo.toml`:
```toml
[dev-dependencies]
cucumber = "0.18"
cucumber = "0.19"
futures = "0.3"

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

[[test]]
Expand Down
12 changes: 12 additions & 0 deletions codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ All user visible changes to `cucumber-codegen` crate will be documented in this



## [0.19.0] · 2022-12-07
[0.19.0]: /../../tree/v0.19.0/codegen

[Milestone](/../../milestone/22)

### Version bump only

See `cucumber` crate [changelog](https://github.com/cucumber-rs/cucumber/blob/v0.19.0/CHANGELOG.md).




## [0.18.0] · 2022-12-07
[0.18.0]: /../../tree/v0.18.0/codegen

Expand Down
2 changes: 1 addition & 1 deletion codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cucumber-codegen"
version = "0.18.0" # should be the same as main crate version
version = "0.19.0" # should be the same as main crate version
edition = "2021"
rust-version = "1.65"
description = "Code generation for `cucumber` crate."
Expand Down

0 comments on commit 57567cf

Please sign in to comment.