Skip to content

Commit

Permalink
Prepare 0.11.0-rc.1 release
Browse files Browse the repository at this point in the history
- fix GIF in README on GitHub

Additionally:
- auto-cancel concurrent CI pipelines for the same branch
  • Loading branch information
tyranron committed Dec 28, 2021
1 parent c969313 commit 5975834
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 26 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
env:
RUST_BACKTRACE: 1

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

##########################
Expand Down Expand Up @@ -53,8 +57,7 @@ jobs:
# Testing #
###########

cargo-feature:
name: Cargo feature
feature:
if: ${{ github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/v')
|| !contains(github.event.head_commit.message, '[skip ci]') }}
Expand Down Expand Up @@ -152,6 +155,7 @@ jobs:
- run: make test.cargo crate=${{ matrix.crate }}

test-book:
name: Test Book
if: ${{ github.ref == 'refs/heads/main'
|| startsWith(github.ref, 'refs/tags/v')
|| !contains(github.event.head_commit.message, '[skip ci]') }}
Expand Down Expand Up @@ -196,8 +200,8 @@ jobs:
release-github:
name: Release on GitHub
needs:
- cargo-feature
- clippy
- feature
- msrv
- rustdoc
- rustfmt
Expand Down
23 changes: 13 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ All user visible changes to `cucumber` crate will be documented in this file. Th



## [0.11.0] · 2021-??-??
[0.11.0]: /../../tree/v0.11.0
## [0.11.0-rc.1] · 2021-12-28
[0.11.0-rc.1]: /../../tree/v0.11.0-rc.1

[Diff](/../../compare/v0.10.2...v0.11.0) | [Milestone](/../../milestone/3)
[Diff](/../../compare/v0.10.2...v0.11.0-rc.1) | [Milestone](/../../milestone/3)

### BC Breaks

- Moved `World` type parameter of `WriterExt` trait to methods. ([#160])
- Renamed `Normalized` and `Summarized` `Writer`s to `Normalize` and `Summarize`. ([#162])
- Removed `writer::Basic` `Default` impl and change `writer::Basic::new()` return type to `writer::Normalize<writer::Basic>`. ([#162])
- Bump up [MSRV] to 1.57 for better error reporting in `const` assertions. ([cef3d480])
- Switch to [`gherkin`] crate instead of [`gherkin_rust`]. ([rev])
- Switch to [`gherkin`] crate instead of [`gherkin_rust`]. ([e2a41ab0])
- Renamed `@allow_skipped` built-in tag to `@allow.skipped`. ([#181])
- Switched CLI to `clap` from `structopt`. ([#188])
- Switched CLI to `clap` from `structopt`. ([#188], [#155])
- Reworked `verbose` CLI option of `writer::Basic`: ([#193], [#192])
- Removed long form.
- Made `-v` default behavior (no additional output).
Expand All @@ -42,17 +42,18 @@ All user visible changes to `cucumber` crate will be documented in this file. Th
- Support for custom parameters in [Cucumber Expressions] via `#[derive(cucumber::Parameter)]` macro. ([#168])
- Merging tags from `Feature` and `Rule` with `Scenario` when filtering with `--tags` CLI option. ([#166])
- `writer::AssertNormalized` forcing `Normalized` implementation. ([#182])
- `cli::Colored` trait for propagating `Coloring` to arbitrary `Writer`s. ([#189])
- `cli::Colored` trait for propagating `Coloring` to arbitrary `Writer`s. ([#189], [#186])

### Fixed

- Template regex in `Scenario Outline` expansion from `<(\S+)>` to `<([^>\s]+)>`. ([#163])
- Multiple `Examples` in `Scenario Outline`. ([#165], [#164])
- Docstring and name expansion in `Scenario Outline`. ([#178], [#172])
- `writer::Summarized` ignoring `Coloring` options. ([#189], [#188])
- `writer::Summarized` ignoring `Coloring` options. ([#189], [#186])

[#147]: /../../pull/147
[#151]: /../../pull/151
[#155]: /../../issues/155
[#157]: /../../pull/157
[#159]: /../../pull/159
[#160]: /../../pull/160
Expand All @@ -62,15 +63,17 @@ All user visible changes to `cucumber` crate will be documented in this file. Th
[#165]: /../../pull/165
[#166]: /../../pull/166
[#168]: /../../pull/168
[#172]: /../../pull/172
[#172]: /../../issues/172
[#178]: /../../pull/178
[#181]: /../../pull/181
[#182]: /../../pull/182
[#186]: /../../issues/186
[#188]: /../../pull/188
[#192]: /../../pull/192
[#189]: /../../pull/189
[#192]: /../../issues/192
[#193]: /../../pull/193
[cef3d480]: /../../commit/cef3d480579190425461ddb04a1248675248351e
[rev]: /../../commit/rev-full
[e2a41ab0]: /../../commit/e2a41ab0a4398fe26075f0b066cc67e6e8a19e6c
[0110-1]: https://llg.cubic.org/docs/junit
[0110-2]: https://github.com/cucumber/cucumber-json-schema

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.11.0-dev"
version = "0.11.0-rc.1"
edition = "2021"
rust-version = "1.57"
description = """\
Expand Down Expand Up @@ -53,7 +53,7 @@ regex = "1.5"
sealed = "0.3"

# "macros" feature dependencies.
cucumber-codegen = { version = "0.11.0-dev", path = "./codegen", optional = true }
cucumber-codegen = { version = "0.11.0-rc.1", path = "./codegen", optional = true }
cucumber-expressions = { version = "0.1.0", features = ["into-regex"], optional = true }
inventory = { version = "0.2", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ name = "readme"
harness = false # allows Cucumber to print output instead of libtest
```

![asciicast]
![](book/src/rec/readme.gif)![][asciicast]

For more examples check out the Book ([current][1] | [edge][2]).

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.11", features = ["output-json"] }
cucumber = { version = "0.11.0-rc.1", 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.11", features = ["output-junit"] }
cucumber = { version = "0.11.0-rc.1", 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 @@ -9,7 +9,7 @@ Add this to `Cargo.toml`:
```toml
[dev-dependencies]
async-trait = "0.1"
cucumber = "0.11.0-dev"
cucumber = "0.11.0-rc.1"
futures = "0.3"

[[test]]
Expand Down Expand Up @@ -425,7 +425,7 @@ Let's switch our runtime to `tokio`:
```toml
[dev-dependencies]
async-trait = "0.1"
cucumber = "0.11.0-dev"
cucumber = "0.11.0-rc.1"
tokio = { version = "1.10", features = ["macros", "rt-multi-thread", "time"] }

[[test]]
Expand Down
2 changes: 1 addition & 1 deletion book/tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ publish = false
[dependencies]
async-trait = "0.1"
clap = { version = "3.0.0-rc.8", features = ["derive"] }
cucumber = { version = "0.11.0-dev", path = "../..", features = ["output-json", "output-junit"] }
cucumber = { version = "0.11.0-rc.1", path = "../..", features = ["output-json", "output-junit"] }
futures = "0.3"
humantime = "2.1"
once_cell = { version = "1.8", features = ["parking_lot"] }
Expand Down
8 changes: 4 additions & 4 deletions codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ All user visible changes to `cucumber-codegen` crate will be documented in this



## [0.11.0] · 2021-??-??
[0.11.0]: /../../tree/v0.11.0/codegen
## [0.11.0-rc.1] · 2021-12-28
[0.11.0-rc.1]: /../../tree/v0.11.0-rc.1/codegen

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

### BC Breaks

- Bump up [MSRV] to 1.57 for better error reporting in `const` assertions. ([rev])
- Bump up [MSRV] to 1.57 for better error reporting in `const` assertions. ([cef3d480])

### Added

Expand All @@ -24,7 +24,7 @@ All user visible changes to `cucumber-codegen` crate will be documented in this
[#151]: /../../pull/151
[#157]: /../../pull/157
[#168]: /../../pull/168
[rev]: /../../commit/rev-full
[cef3d480]: /../../commit/cef3d480579190425461ddb04a1248675248351e



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.11.0-dev" # should be the same as main crate version
version = "0.11.0-rc.1" # should be the same as main crate version
edition = "2021"
rust-version = "1.57"
description = "Code generation for `cucumber` crate."
Expand Down

0 comments on commit 5975834

Please sign in to comment.