|
1 |
| -### Current |
| 1 | +`cucumber` changelog |
| 2 | +==================== |
2 | 3 |
|
3 |
| -#### Known issues: |
| 4 | +All user visible changes to `cucumber` crate will be documented in this file. This project uses [Semantic Versioning 2.0.0]. |
4 | 5 |
|
5 |
| -- `Scenario Outline` is treated the same as `Outline` or `Example` in the parser ([gherkin/#19](https://github.com/bbqsrc/gherkin-rust/issues/19)) |
6 | 6 |
|
7 |
| -### [0.10.0] — ??? |
| 7 | + |
| 8 | + |
| 9 | +## [0.10.0] · 2021-??-?? |
8 | 10 | [0.10.0]: /../../tree/v0.10.0
|
9 | 11 |
|
10 |
| -- **Breaking change** Complete redesign: |
11 |
| - - Introduce new abstractions: `Parser`, `Runner`, `Writer`. |
12 |
| - - Provide reference implementations for those abstractions. |
13 |
| - - Add ability to run `Scenario`s concurrently. |
14 |
| - - Update book to reflect redesign. |
| 12 | +[Diff](/../../compare/v0.9.0...v0.10.0) |
| 13 | + |
| 14 | +### BC Breaks |
| 15 | + |
| 16 | +- Renamed crate to `cucumber`. |
| 17 | +- Complete redesign: ([#128]) |
| 18 | + - Introduce new abstractions: `Parser`, `Runner`, `Writer`; |
| 19 | + - Provide reference implementations for those abstractions. |
| 20 | +- Replaced `#[given(step)]`, `#[when(step)]` and `#[then(step)]` function argument attributes with a single `#[step]`. ([#128]) |
| 21 | + |
| 22 | +### Added |
| 23 | + |
| 24 | +- Ability to run `Scenario`s concurrently. ([#128]) |
| 25 | + |
| 26 | +[#128]: /../../pull/128 |
| 27 | + |
| 28 | + |
15 | 29 |
|
16 |
| -### [0.9.0] — 2021-07-19 |
| 30 | + |
| 31 | +## [0.9.0] · 2021-07-19 |
17 | 32 | [0.9.0]: /../../tree/v0.9.0
|
18 | 33 |
|
19 |
| -- **Breaking change:** the second parameter in the test callbacks is now a `StepContext` object, which contains the `Step` as a `step` field. |
20 |
| -- Feature: Add `before` and `after` lifecycle functions to the Cucumber builder |
21 |
| - - This function takes a selector for determining when to run 'before' or 'after', and a callback |
22 |
| -- Fix: literal paths to .feature files will now work in the Cucumber builder |
23 |
| -- Fix: remove unnecessary internal `Rc<T>` usage. |
| 34 | +[Diff](/../../compare/v0.8.4...v0.9.0) |
| 35 | + |
| 36 | +### BC Breaks |
| 37 | + |
| 38 | +- The second parameter in the test callbacks is now a `StepContext` object, which contains the `Step` as a `step` field. |
| 39 | + |
| 40 | +### Added |
| 41 | + |
| 42 | +- Add `before` and `after` lifecycle functions to the `Cucumber` builder. These functions take a selector for determining when to run `before` or `after`, and a callback. |
| 43 | + |
| 44 | +### Fixed |
| 45 | + |
| 46 | +- Literal paths to `.feature` files will now work in the `Cucumber` builder. |
| 47 | +- Removed unnecessary internal `Rc<T>` usage. |
| 48 | + |
| 49 | + |
24 | 50 |
|
25 |
| -### [0.8.4] — 2021-02-18 |
| 51 | + |
| 52 | +## [0.8.4] · 2021-02-18 |
26 | 53 | [0.8.4]: /../../tree/v0.8.4
|
27 | 54 |
|
28 |
| -- Feature: add `language` argument to Cucumber builder to set default language for all feature files |
29 |
| -- Feature: add `--debug` flag to always print stdout and stderr per step |
| 55 | +[Diff](/../../compare/v0.8.3...v0.8.4) |
| 56 | + |
| 57 | +### Added |
| 58 | + |
| 59 | +- `language` argument to `Cucumber` builder to set default language for all `.feature` files. |
| 60 | +- `--debug` flag to always print STDOUT and STDERR per step. |
| 61 | + |
| 62 | + |
30 | 63 |
|
31 |
| -### [0.8.3] — 2021-02-09 |
| 64 | + |
| 65 | +## [0.8.3] · 2021-02-09 |
32 | 66 | [0.8.3]: /../../tree/v0.8.3
|
33 | 67 |
|
34 |
| -- Update `t!` macro to support specifying type of world argument in closure |
| 68 | +[Diff](/../../compare/v0.8.2...v0.8.3) |
| 69 | + |
| 70 | +### Changed |
| 71 | + |
| 72 | +- Update `t!` macro to support specifying type of `World` argument in closure. |
| 73 | + |
35 | 74 |
|
36 |
| -### [0.8.2] — 2021-01-30 |
| 75 | + |
| 76 | + |
| 77 | +## [0.8.2] · 2021-01-30 |
37 | 78 | [0.8.2]: /../../tree/v0.8.2
|
38 | 79 |
|
39 |
| -- Re-export `async_trait::async_trait` and `futures` crate for convenience |
40 |
| -- Update examples to use `tokio` |
| 80 | +[Diff](/../../compare/v0.8.1...v0.8.2) |
| 81 | + |
| 82 | +### Added |
| 83 | + |
| 84 | +- Re-export `async_trait::async_trait` and `futures` crate for convenience. |
| 85 | +- Update examples to use `tokio`. |
| 86 | + |
41 | 87 |
|
42 |
| -### [0.8.1] — 2021-01-30 |
| 88 | + |
| 89 | + |
| 90 | +## [0.8.1] · 2021-01-30 |
43 | 91 | [0.8.1]: /../../tree/v0.8.1
|
44 | 92 |
|
45 |
| -- Added proper i18n support via gherkin 0.9 |
| 93 | +[Diff](/../../compare/v0.8.0...v0.8.1) |
| 94 | + |
| 95 | +### Added |
| 96 | + |
| 97 | +- Proper i18n support via [`gherkin_rust`] `0.9`. |
46 | 98 |
|
47 |
| -### [0.8.0] — 2021-01-18 |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | +## [0.8.0] · 2021-01-18 |
48 | 103 | [0.8.0]: /../../tree/v0.8.0
|
49 | 104 |
|
50 |
| -- Fixed filtering of tests by tag ([#67](https://github.com/cucumber-rs/cucumber/issues/67)) |
51 |
| -- Implemented failure reporting ([#91](https://github.com/cucumber-rs/cucumber/issues/91)) |
52 |
| -- Removed unnecessary dependent traits from `World` trait |
53 |
| -- Added proc-macro variant (thanks Ilya Solovyiov and Kai Ren) |
| 105 | +[Diff](/../../compare/v0.7.3...v0.8.0) |
| 106 | + |
| 107 | +### Added |
| 108 | + |
| 109 | +- Failure reporting. ([#91]) |
| 110 | +- `macros` feature providing attributes: ([#81]) |
| 111 | + - [`given`](https://docs.rs/cucumber_rust/0.8.0/cucumber_rust/attr.given.html); |
| 112 | + - [`when`](https://docs.rs/cucumber_rust/0.8.0/cucumber_rust/attr.when.html); |
| 113 | + - [`then`](https://docs.rs/cucumber_rust/0.8.0/cucumber_rust/attr.then.html). |
| 114 | + |
| 115 | +### Fixed |
| 116 | + |
| 117 | +- Filtering of tests by tag. ([#67]) |
| 118 | +- Removed unnecessary dependent traits from `World` trait. |
| 119 | + |
| 120 | +[#67]: /../../issues/67 |
| 121 | +[#81]: /../../pull/81 |
| 122 | +[#91]: /../../issues/91 |
| 123 | + |
54 | 124 |
|
55 |
| -### [0.7.3] — 2020-09-20 |
| 125 | + |
| 126 | + |
| 127 | +## [0.7.3] · 2020-09-20 |
56 | 128 | [0.7.3]: /../../tree/v0.7.3
|
57 | 129 |
|
58 |
| -- Fix missing mut in t! macro for regexes ([#68](https://github.com/cucumber-rs/cucumber/issues/68)) — thanks [@stefanpieck](https://github.com/stefanpieck)! |
| 130 | +[Diff](/../../compare/v0.7.2...v0.7.3) |
| 131 | + |
| 132 | +### Fixed |
| 133 | + |
| 134 | +- Fix missing `mut` in `t!` macro for regexes — thanks [@stefanpieck](https://github.com/stefanpieck)! ([#68]) |
| 135 | + |
| 136 | +[#68]: /../../issues/68 |
59 | 137 |
|
60 |
| -### [0.7.2] — 2020-09-14 |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | +## [0.7.2] · 2020-09-14 |
61 | 142 | [0.7.2]: /../../tree/v0.7.2
|
62 | 143 |
|
63 |
| -- Enforce `UnwindSafe` on async test types |
| 144 | +[Diff](/../../compare/v0.7.1...v0.7.2) |
| 145 | + |
| 146 | +### Added |
64 | 147 |
|
65 |
| -### [0.7.1] — 2020-09-09 |
| 148 | +- Enforce `UnwindSafe` on async test types. |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | +## [0.7.1] · 2020-09-09 |
66 | 154 | [0.7.1]: /../../tree/v0.7.1
|
67 | 155 |
|
68 |
| -- Fix issue with `t!` macro for unbraced blocks |
| 156 | +[Diff](/../../compare/v0.7.0...v0.7.1) |
| 157 | + |
| 158 | +### Fixed |
| 159 | + |
| 160 | +- Issue with `t!` macro for unbraced blocks. |
| 161 | + |
| 162 | + |
| 163 | + |
69 | 164 |
|
70 |
| -### [0.7.0] — 2020-09-07 |
| 165 | +## [0.7.0] · 2020-09-07 |
71 | 166 | [0.7.0]: /../../tree/v0.7.0
|
72 | 167 |
|
73 |
| -- **Breaking changes**: the macro approach provided in 0.6.x and lower has been entirely removed. It was hard to maintain and limited maintenance of the tests themselves. |
| 168 | +[Diff](/../../compare/v0.6.8...v0.7.0) |
| 169 | + |
| 170 | +### BC Breaks |
| 171 | + |
| 172 | +- The macro approach provided in `0.6.x` and lower has been entirely removed. It was hard to maintain and limited maintenance of the tests themselves. |
| 173 | + |
| 174 | +### Added |
| 175 | + |
74 | 176 | - A new builder approach has been implemented.
|
75 | 177 | - Support for asynchronous tests has been implemented — this is runtime agnostic.
|
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | +[`gherkin_rust`]: https://docs.rs/gherkin_rust |
| 183 | + |
| 184 | +[Semantic Versioning 2.0.0]: https://semver.org |
0 commit comments