Skip to content

Commit 5975834

Browse files
committed
Prepare 0.11.0-rc.1 release
- fix GIF in README on GitHub Additionally: - auto-cancel concurrent CI pipelines for the same branch
1 parent c969313 commit 5975834

File tree

10 files changed

+33
-26
lines changed

10 files changed

+33
-26
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
env:
1111
RUST_BACKTRACE: 1
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418

1519
##########################
@@ -53,8 +57,7 @@ jobs:
5357
# Testing #
5458
###########
5559

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

154157
test-book:
158+
name: Test Book
155159
if: ${{ github.ref == 'refs/heads/main'
156160
|| startsWith(github.ref, 'refs/tags/v')
157161
|| !contains(github.event.head_commit.message, '[skip ci]') }}
@@ -196,8 +200,8 @@ jobs:
196200
release-github:
197201
name: Release on GitHub
198202
needs:
199-
- cargo-feature
200203
- clippy
204+
- feature
201205
- msrv
202206
- rustdoc
203207
- rustfmt

CHANGELOG.md

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

77

88

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

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

1414
### BC Breaks
1515

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

4747
### Fixed
4848

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

5454
[#147]: /../../pull/147
5555
[#151]: /../../pull/151
56+
[#155]: /../../issues/155
5657
[#157]: /../../pull/157
5758
[#159]: /../../pull/159
5859
[#160]: /../../pull/160
@@ -62,15 +63,17 @@ All user visible changes to `cucumber` crate will be documented in this file. Th
6263
[#165]: /../../pull/165
6364
[#166]: /../../pull/166
6465
[#168]: /../../pull/168
65-
[#172]: /../../pull/172
66+
[#172]: /../../issues/172
6667
[#178]: /../../pull/178
6768
[#181]: /../../pull/181
6869
[#182]: /../../pull/182
70+
[#186]: /../../issues/186
6971
[#188]: /../../pull/188
70-
[#192]: /../../pull/192
72+
[#189]: /../../pull/189
73+
[#192]: /../../issues/192
7174
[#193]: /../../pull/193
7275
[cef3d480]: /../../commit/cef3d480579190425461ddb04a1248675248351e
73-
[rev]: /../../commit/rev-full
76+
[e2a41ab0]: /../../commit/e2a41ab0a4398fe26075f0b066cc67e6e8a19e6c
7477
[0110-1]: https://llg.cubic.org/docs/junit
7578
[0110-2]: https://github.com/cucumber/cucumber-json-schema
7679

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.11.0-dev"
3+
version = "0.11.0-rc.1"
44
edition = "2021"
55
rust-version = "1.57"
66
description = """\
@@ -53,7 +53,7 @@ regex = "1.5"
5353
sealed = "0.3"
5454

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ name = "readme"
8585
harness = false # allows Cucumber to print output instead of libtest
8686
```
8787

88-
![asciicast]
88+
![](book/src/rec/readme.gif)![][asciicast]
8989

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

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

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

431431
[[test]]

book/tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ publish = false
1212
[dependencies]
1313
async-trait = "0.1"
1414
clap = { version = "3.0.0-rc.8", features = ["derive"] }
15-
cucumber = { version = "0.11.0-dev", path = "../..", features = ["output-json", "output-junit"] }
15+
cucumber = { version = "0.11.0-rc.1", path = "../..", features = ["output-json", "output-junit"] }
1616
futures = "0.3"
1717
humantime = "2.1"
1818
once_cell = { version = "1.8", features = ["parking_lot"] }

codegen/CHANGELOG.md

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

77

88

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

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

1414
### BC Breaks
1515

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

1818
### Added
1919

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

2929

3030

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

0 commit comments

Comments
 (0)