@cucumber/cucumber 7.2.0 → 7.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/lib/cli/argv_parser.d.ts +0 -1
  2. package/lib/cli/argv_parser.js +0 -1
  3. package/lib/cli/argv_parser.js.map +1 -1
  4. package/lib/cli/configuration_builder.d.ts +0 -1
  5. package/lib/cli/configuration_builder.js +5 -5
  6. package/lib/cli/configuration_builder.js.map +1 -1
  7. package/lib/cli/helpers.js +41 -22
  8. package/lib/cli/helpers.js.map +1 -1
  9. package/lib/cli/index.d.ts +1 -3
  10. package/lib/cli/index.js +27 -30
  11. package/lib/cli/index.js.map +1 -1
  12. package/lib/cli/profile_loader.d.ts +2 -5
  13. package/lib/cli/profile_loader.js +2 -3
  14. package/lib/cli/profile_loader.js.map +1 -1
  15. package/lib/cli/publish_banner.js +1 -1
  16. package/lib/cli/publish_banner.js.map +1 -1
  17. package/lib/formatter/builder.d.ts +4 -8
  18. package/lib/formatter/builder.js +17 -32
  19. package/lib/formatter/builder.js.map +1 -1
  20. package/lib/formatter/get_color_fns.d.ts +6 -2
  21. package/lib/formatter/get_color_fns.js +18 -12
  22. package/lib/formatter/get_color_fns.js.map +1 -1
  23. package/lib/formatter/helpers/event_data_collector.d.ts +14 -17
  24. package/lib/formatter/helpers/event_data_collector.js +14 -8
  25. package/lib/formatter/helpers/event_data_collector.js.map +1 -1
  26. package/lib/formatter/helpers/gherkin_document_parser.d.ts +5 -6
  27. package/lib/formatter/helpers/gherkin_document_parser.js +1 -4
  28. package/lib/formatter/helpers/gherkin_document_parser.js.map +1 -1
  29. package/lib/formatter/helpers/issue_helpers.d.ts +6 -6
  30. package/lib/formatter/helpers/issue_helpers.js +5 -6
  31. package/lib/formatter/helpers/issue_helpers.js.map +1 -1
  32. package/lib/formatter/helpers/pickle_parser.d.ts +9 -10
  33. package/lib/formatter/helpers/pickle_parser.js.map +1 -1
  34. package/lib/formatter/helpers/step_argument_formatter.d.ts +2 -2
  35. package/lib/formatter/helpers/step_argument_formatter.js.map +1 -1
  36. package/lib/formatter/helpers/summary_helpers.d.ts +2 -2
  37. package/lib/formatter/helpers/summary_helpers.js +32 -14
  38. package/lib/formatter/helpers/summary_helpers.js.map +1 -1
  39. package/lib/formatter/helpers/test_case_attempt_formatter.js +33 -14
  40. package/lib/formatter/helpers/test_case_attempt_formatter.js.map +1 -1
  41. package/lib/formatter/helpers/test_case_attempt_parser.d.ts +5 -5
  42. package/lib/formatter/helpers/test_case_attempt_parser.js +27 -9
  43. package/lib/formatter/helpers/test_case_attempt_parser.js.map +1 -1
  44. package/lib/formatter/helpers/usage_helpers/index.d.ts +3 -3
  45. package/lib/formatter/helpers/usage_helpers/index.js +44 -15
  46. package/lib/formatter/helpers/usage_helpers/index.js.map +1 -1
  47. package/lib/formatter/html_formatter.js +1 -1
  48. package/lib/formatter/html_formatter.js.map +1 -1
  49. package/lib/formatter/http_stream.js +1 -1
  50. package/lib/formatter/http_stream.js.map +1 -1
  51. package/lib/formatter/json_formatter.d.ts +21 -27
  52. package/lib/formatter/json_formatter.js +50 -23
  53. package/lib/formatter/json_formatter.js.map +1 -1
  54. package/lib/formatter/message_formatter.js +1 -1
  55. package/lib/formatter/message_formatter.js.map +1 -1
  56. package/lib/formatter/progress_bar_formatter.d.ts +6 -6
  57. package/lib/formatter/progress_bar_formatter.js +3 -3
  58. package/lib/formatter/progress_bar_formatter.js.map +1 -1
  59. package/lib/formatter/progress_formatter.d.ts +2 -2
  60. package/lib/formatter/progress_formatter.js +29 -10
  61. package/lib/formatter/progress_formatter.js.map +1 -1
  62. package/lib/formatter/rerun_formatter.js +22 -4
  63. package/lib/formatter/rerun_formatter.js.map +1 -1
  64. package/lib/formatter/snippets_formatter.js +21 -2
  65. package/lib/formatter/snippets_formatter.js.map +1 -1
  66. package/lib/formatter/step_definition_snippet_builder/index.d.ts +3 -3
  67. package/lib/formatter/step_definition_snippet_builder/index.js.map +1 -1
  68. package/lib/formatter/step_definition_snippet_builder/javascript_snippet_syntax.js.map +1 -1
  69. package/lib/formatter/summary_formatter.d.ts +2 -2
  70. package/lib/formatter/summary_formatter.js.map +1 -1
  71. package/lib/formatter/usage_formatter.js +22 -3
  72. package/lib/formatter/usage_formatter.js.map +1 -1
  73. package/lib/formatter/usage_json_formatter.js.map +1 -1
  74. package/lib/index.d.ts +14 -12
  75. package/lib/index.js +3 -3
  76. package/lib/index.js.map +1 -1
  77. package/lib/models/data_table.d.ts +3 -4
  78. package/lib/models/data_table.js.map +1 -1
  79. package/lib/models/definition.d.ts +2 -2
  80. package/lib/models/definition.js.map +1 -1
  81. package/lib/models/test_case_hook_definition.d.ts +2 -2
  82. package/lib/models/test_case_hook_definition.js.map +1 -1
  83. package/lib/models/test_step_hook_definition.d.ts +2 -2
  84. package/lib/models/test_step_hook_definition.js.map +1 -1
  85. package/lib/pickle_filter.d.ts +9 -11
  86. package/lib/pickle_filter.js +4 -4
  87. package/lib/pickle_filter.js.map +1 -1
  88. package/lib/runtime/assemble_test_cases.d.ts +13 -0
  89. package/lib/runtime/assemble_test_cases.js +88 -0
  90. package/lib/runtime/assemble_test_cases.js.map +1 -0
  91. package/lib/runtime/attachment_manager/index.d.ts +2 -2
  92. package/lib/runtime/attachment_manager/index.js +23 -4
  93. package/lib/runtime/attachment_manager/index.js.map +1 -1
  94. package/lib/runtime/helpers.d.ts +2 -2
  95. package/lib/runtime/helpers.js.map +1 -1
  96. package/lib/runtime/index.d.ts +4 -3
  97. package/lib/runtime/index.js +31 -13
  98. package/lib/runtime/index.js.map +1 -1
  99. package/lib/runtime/parallel/command_types.d.ts +10 -9
  100. package/lib/runtime/parallel/command_types.js.map +1 -1
  101. package/lib/runtime/parallel/coordinator.d.ts +10 -9
  102. package/lib/runtime/parallel/coordinator.js +54 -43
  103. package/lib/runtime/parallel/coordinator.js.map +1 -1
  104. package/lib/runtime/parallel/worker.d.ts +2 -2
  105. package/lib/runtime/parallel/worker.js +8 -14
  106. package/lib/runtime/parallel/worker.js.map +1 -1
  107. package/lib/runtime/step_runner.d.ts +3 -3
  108. package/lib/runtime/step_runner.js +16 -12
  109. package/lib/runtime/step_runner.js.map +1 -1
  110. package/lib/runtime/stopwatch.d.ts +4 -4
  111. package/lib/runtime/stopwatch.js +21 -2
  112. package/lib/runtime/stopwatch.js.map +1 -1
  113. package/lib/runtime/{pickle_runner.d.ts → test_case_runner.d.ts} +16 -32
  114. package/lib/runtime/{pickle_runner.js → test_case_runner.js} +104 -147
  115. package/lib/runtime/test_case_runner.js.map +1 -0
  116. package/lib/step_arguments.d.ts +4 -4
  117. package/lib/step_arguments.js.map +1 -1
  118. package/lib/support_code_library_builder/index.d.ts +9 -7
  119. package/lib/support_code_library_builder/index.js +11 -10
  120. package/lib/support_code_library_builder/index.js.map +1 -1
  121. package/lib/support_code_library_builder/types.d.ts +21 -23
  122. package/lib/support_code_library_builder/types.js.map +1 -1
  123. package/lib/support_code_library_builder/validate_arguments.js +8 -8
  124. package/lib/support_code_library_builder/validate_arguments.js.map +1 -1
  125. package/lib/support_code_library_builder/world.d.ts +7 -1
  126. package/lib/support_code_library_builder/world.js.map +1 -1
  127. package/lib/time.d.ts +2 -10
  128. package/lib/time.js +24 -48
  129. package/lib/time.js.map +1 -1
  130. package/package.json +38 -40
  131. package/CHANGELOG.md +0 -1874
  132. package/lib/importers.js +0 -17
  133. package/lib/runtime/pickle_runner.js.map +0 -1
  134. package/lib/status.d.ts +0 -3
  135. package/lib/status.js +0 -5
  136. package/lib/status.js.map +0 -1
  137. package/lib/wrapper.mjs +0 -38
package/CHANGELOG.md DELETED
@@ -1,1874 +0,0 @@
1
- # Changelog
2
- All notable changes to this project will be documented in this file.
3
-
4
- The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
- and this project adheres to [Semantic Versioning](http://semver.org/).
6
-
7
- Please see [CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md) on how to contribute to Cucumber.
8
-
9
- ----
10
- ## [Unreleased] (In Git)
11
-
12
- ### Added
13
-
14
- ### Changed
15
-
16
- ### Deprecated
17
-
18
- ### Removed
19
-
20
- ### Fixed
21
-
22
- ## [7.2.0] (2021-04-20)
23
-
24
- ### Added
25
-
26
- * Experimental support for native ES modules via the [`--esm` flag](./docs/cli.md#es-modules-experimental-nodejs-12) ([#1589](https://github.com/cucumber/cucumber-js/pull/1589))
27
-
28
- ## [7.1.0] (2021-04-06)
29
-
30
- ### Added
31
-
32
- - Support attachments that are already base64-encoded via a prefix on the MIME type e.g. `this.attach(base64String, 'base64:image/png')` ([#1552](https://github.com/cucumber/cucumber-js/pull/1552))
33
- - Support tagged rules ([cucumber#1123](https://github.com/cucumber/cucumber/issues/1123))
34
-
35
- ### Fixed
36
-
37
- * Fix types for hook functions so they can return e.g. `'skipped'` ([#1542](https://github.com/cucumber/cucumber-js/pull/1542))
38
- * Display the response of the reports server when an error is returned before failing. ([#1608](https://github.com/cucumber/cucumber-js/pull/1608))
39
- * Remove unnecessary implicit dependency on `long` package ([cucumber#1313](https://github.com/cucumber/cucumber/pull/1313))
40
- * Remove unnecessary transitive dependencies on `react` etc ([cucumber#1308](https://github.com/cucumber/cucumber/pull/1308))
41
-
42
- ## [7.0.0] (2020-12-21)
43
-
44
- ### Added
45
-
46
- * Add a built in `html` formatter for rich HTML reports output as a standalone page ([#1432](https://github.com/cucumber/cucumber-js/pull/1432))
47
- * Add support for `BeforeStep` and `AfterStep` hooks ([#1416](https://github.com/cucumber/cucumber-js/pull/1416))
48
- * Custom formatters can now be resolved by a module name (as well as by a relative path), enabling use of Yarn PnP ([#1413](https://github.com/cucumber/cucumber-js/pull/1413))
49
-
50
- ### Removed
51
-
52
- * Support for running Cucumber in web browsers has been removed ([#1508](https://github.com/cucumber/cucumber-js/pull/1508)). This feature was increasingly difficult to support and seldom used. Node.js will now be the only support runtime for Cucumber itself; of course as before you can still use tools like WebDriver and Puppeteer to instrument testing of browser-based software. See [the discussion in #1437](https://github.com/cucumber/cucumber-js/issues/1437) for more about why this change is happening.
53
-
54
- ### Fixed
55
-
56
- * Wrong version in meta message [#1439](https://github.com/cucumber/cucumber-js/issues/1439) [#1442](https://github.com/cucumber/cucumber-js/pull/1442)
57
-
58
- ## [7.0.0-rc.0] (2020-09-14)
59
-
60
- See the [migration guide](./docs/migration.md) for details of how to migrate from 6.x.x.
61
-
62
- ### New Features
63
-
64
- * Add `--publish` option to publish reports to [reports.cucumber.io](https://reports.cucumber.io) [#1423](https://github.com/cucumber/cucumber-js/issues/1423), [#1424](https://github.com/cucumber/cucumber-js/pull/1424)
65
- * Add support for Gherkin's [Rule/Example syntax](https://cucumber.io/docs/gherkin/reference/#rule)
66
- * Add `transpose` method to [data table interface](docs/support_files/data_table_interface.md)
67
- * Add `log` function to world, providing a shorthand to log plain text as [attachment(s)](docs/support_files/attachments.md)
68
- * Now includes [TypeScript](https://www.typescriptlang.org/) type definitions, deprecating the need for `@types/cucumber` in TypeScript projects
69
-
70
- ### Breaking changes
71
-
72
- * The npm module has changed name from `cucumber` to `@cucumber/cucumber` - `require`/`import` statements must be changed from `cucumber` to `@cucumber/cucumber`
73
- * TypeScript users must rename `TableDefinition` to `DataTable`
74
- * Drop support for Node.js 8, add support for Node.js 14
75
- * Formatters
76
- * Events are now based on [cucumber-messages](https://github.com/cucumber/cucumber/tree/master/messages)
77
- * `event-protocol` formatter has been removed and replaced with `message`
78
- * Remove long-deprecated `typeName` from options object for `defineParameterType` in favour of `name`
79
- * Parallel runtime environment variables renamed for inclusivity:
80
- * `CUCUMBER_TOTAL_SLAVES` is now `CUCUMBER_TOTAL_WORKERS`
81
- * `CUCUMBER_SLAVE_ID` is now `CUCUMBER_WORKER_ID`
82
- * Custom formatters are now loaded via the regular require paths relative to the current directory, unless it begins with a dot (e.g. `--format=./relpath/to/formatter`). Previously this was always loaded as a file relative to the current directory.
83
-
84
- ### Deprecations
85
-
86
- * `json` formatter is deprecated and will be removed in next major release. Custom formatters should migrate to use the `message` formatter, or the [standalone JSON formatter](https://github.com/cucumber/cucumber/tree/master/json-formatter) as a stopgap.
87
-
88
- ### Bug fixes
89
-
90
- * don't execute BeforeAll and AfterAll hooks when in dry-run
91
- * support correct case for `--retry-tag-filter` CLI argument
92
-
93
- ## [6.0.5] (2019-11-13)
94
-
95
- ### Bug fixes
96
-
97
- * json formatter: fix duration to be nanoseconds (was femtoseconds)
98
-
99
- ## [6.0.4] (2019-11-10)
100
-
101
- ### Bug fixes
102
-
103
- * retry: create a new World instance for every attempt
104
-
105
- ## [6.0.3] (2019-10-27)
106
-
107
- * Revert JSON formatter changes to be backward compatible
108
-
109
- ## [6.0.2] (2019-10-07)
110
-
111
- * Upgrade to cucumber-expressions 8.0.1 to fix failure on multiple installs
112
-
113
- ## [6.0.1] (2019-10-06)
114
-
115
- * Release to fix missing lib
116
-
117
- ## [6.0.0] (2019-10-06)
118
-
119
- ### BREAKING CHANGES
120
-
121
- * Drop support for Node.js 6
122
- * JSON formatter has major breaking changes. View some sample outputs [here](/features/fixtures/formatters/). The `*.json.js` files contain the js objects the json parses to. (UPDATE - reverted in 6.0.3)
123
- * Duration is now in nanoseconds in event-protocol formatter and in events sent to custom formatters
124
- * Custom formatters: Formatter helpers and EventDataCollector had breaking changes to support retry
125
-
126
- ### Bug fixes
127
-
128
- * Prevent after hooks from updating skipped scenarios to passed
129
- * Parallel: beforeAll / afterAll errors fail the suite
130
- * Fix CLI help link
131
-
132
- ### New features
133
-
134
- * Add ability to retry flaky tests
135
- * Use `--retry <NUMBER>` and limit what tests will be retried with `--retryTagFilter <EXPRESSION>`
136
- * Event-protocol added an `attemptNumber` to test case started, test case finished, and all test step events and a `retried` boolean to the test case result to signify if the test case was retried
137
- * usage-json formatter: add code and patternType
138
- * Add support for Node.js 12
139
-
140
- ## [5.1.0] (2018-12-28)
141
-
142
- ### Internals
143
-
144
- * Upgrade to babel 7
145
-
146
- ## [5.0.3] (2018-12-03)
147
-
148
- ### Speed Improvements
149
-
150
- * Only create Cucumber Expressions once
151
-
152
- ## [5.0.2] (2018-10-06)
153
-
154
- ### Bug Fixes
155
-
156
- * Update default of formatters' colors enabled to be true only if the stream is a TTY
157
- * Allow writing to stdout when running in parallel
158
- * Skip other before hooks if one returns skipped
159
-
160
- ## [5.0.1] (2018-04-09)
161
-
162
- ### Bug Fixes
163
-
164
- * Update dependencies to avoid licensing problems
165
-
166
- ## [5.0.0] (2018-04-09)
167
-
168
- ### BREAKING CHANGES
169
-
170
- * Drop support for Node.js 4
171
-
172
- ### Bug Fixes
173
-
174
- * Update dependencies to avoid licensing problems
175
- * Provide better error message when trying to attach data after the scenario has finished. This is possible if not waiting for the attach to finish.
176
-
177
- ### New features
178
-
179
- * Add support for Node.js 10
180
-
181
- ## [4.2.1] (2018-04-09)
182
-
183
- ### Bug Fixes
184
-
185
- * improve the error message for gherkin parse errors
186
-
187
- ## [4.2.0] (2018-04-03)
188
-
189
- * add cli option `--order <TYPE[:SEED]>` to run scenarios in the specified order. Type should be `defined` or `random`
190
-
191
- ## [4.1.0] (2018-03-27)
192
-
193
- ### New Features
194
-
195
- * update step timeout error message for each interface ([#1028](https://github.com/cucumber/cucumber-js/pull/1028), Bruce Lindsay)
196
- * default to synchronous snippets
197
- * print text step attachments ([#1041](https://github.com/cucumber/cucumber-js/pull/1041), DevSide)
198
-
199
- ### Bug Fixes
200
-
201
- * cucumber-expressions: Upgrade from 5.0.7 to [5.0.13](https://github.com/cucumber/cucumber/blob/master/cucumber-expressions/CHANGELOG.md#5013---2018-01-21)
202
- * fix error serialization in parallel mode
203
-
204
- ## [4.0.0] (2018-01-24)
205
-
206
- ### BREAKING CHANGES
207
-
208
- * cucumber now waits for the event loop to drain before exiting. To exit immediately when the tests finish running use `--exit`. Use of this flag is discouraged. See [here](/docs/cli.md#exiting) for more information
209
- * remove `--compiler` option. See [here](/docs/cli.md#transpilers) for the new way to use transpilers
210
- * remove binaries `cucumber.js` and `cucumberjs`. Use `cucumber-js`
211
-
212
- ### New Features
213
-
214
- * can now use glob patterns for selecting what features to run
215
- * update `--require` to support glob patterns
216
- * add `--require-module <NODE_MODULE>` to require node modules before support code is loaded
217
- * add snippet interface "async-await"
218
- * add `--parallel <NUMBER_OF_SLAVES>` option to run tests in parallel. Note this is an experimental feature. See [here](/docs/cli.md#parallel-experimental) for more information
219
-
220
- ### Bug Fixes
221
-
222
- * revert json formatter duration to nanoseconds
223
-
224
- ### Deprecations
225
-
226
- * `defineSupportCode` is deprecated. Require/import the individual methods instead
227
- ```js
228
- var {defineSupportCode} = require('cucumber');
229
-
230
- defineSupportCode(function({Given}) {
231
- Given(/^a step$/, function() {});
232
- });
233
-
234
- // Should be updated to
235
-
236
- var {Given} = require('cucumber');
237
-
238
- Given(/^a step$/, function() {});
239
- ```
240
-
241
- ## [3.2.1] (2018-01-03)
242
-
243
- ### Bug Fixes
244
- * revert json formatter mime type ([#995](https://github.com/cucumber/cucumber-js/pull/995)
245
-
246
- ## [3.2.0] (2017-12-08)
247
-
248
- ### New Features
249
- * add exception to `test-case-finished` event ([#952](https://github.com/cucumber/cucumber-js/pull/952) Giuseppe DiBella)
250
- * compiler option - allow `:` in module name to support specifying an absolute path on Windows ([#958](https://github.com/cucumber/cucumber-js/pull/958) Darrin Holst)
251
- * json formatter: format step result exception ([#973](https://github.com/cucumber/cucumber-js/pull/973) Valerio Innocenti Sedili)
252
-
253
- ### Bug Fixes
254
- * cucumber-expressions: Upgrade from 5.0.3 to [5.0.6](https://github.com/cucumber/cucumber/blob/master/cucumber-expressions/CHANGELOG.md#506---2017-11-28)
255
- * tag-expressions: Upgrade from 1.0.1 to [1.1.1](https://github.com/cucumber/cucumber/blob/master/tag-expressions/CHANGELOG.md#111---2017-12-01)
256
-
257
- ## [3.1.0] (2017-10-25)
258
-
259
- ### New Features
260
- * add `--language` cli option to provide the default language for feature files
261
-
262
- ### Bug Fixes
263
- * pickle filter: support relative paths ([#962](https://github.com/cucumber/cucumber-js/pull/962) Marco Muller)
264
-
265
- ## [3.0.6] (2017-10-18)
266
-
267
- * cli: fix `--format` option parsing on Windows ([#954](https://github.com/cucumber/cucumber-js/pull/954) Darrin Holst)
268
-
269
- ## [3.0.5] (2017-10-14)
270
-
271
- ### New Features
272
-
273
- * `defineParameterType`: The `transformer` function's `this` object is now the current World (as long as it's not an arrow function). ([#948](https://github.com/cucumber/cucumber-js/pull/948) Aslak Hellesøy)
274
- * `Before` / `After`: The first argument now includes a `pickle` property which can
275
- be used to get the name / tags of the running scenario. ([#947](https://github.com/cucumber/cucumber-js/pull/947) Giuseppe DiBella)
276
-
277
- ## [3.0.4] (2017-10-04)
278
-
279
- ### New Features
280
-
281
- * cli: make `--tags` option repeatable (joined with `and`) ([#940](https://github.com/cucumber/cucumber-js/issues/940), Ilya Kozhevnikov)
282
- * rerun formatter: make separator configurable. See docs [here](https://github.com/cucumber/cucumber-js/blob/fb9e8fc2e68d4395b9b0a124d18e036d00a8c69f/docs/cli.md) ([#930](https://github.com/cucumber/cucumber-js/issues/930), Máté Karácsony)
283
-
284
- ## [3.0.3] (2017-09-23)
285
-
286
- ### New Features
287
-
288
- * support to imperatively skip steps. See documentation [here](/docs/support_files/step_definitions.md#skipped-steps) ([#912](https://github.com/cucumber/cucumber-js/issues/912), jshifflet)
289
-
290
- ## [3.0.2] (2017-09-13)
291
-
292
- ### New Features
293
-
294
- * `defineParameterType`: new options `useForSnippets` and `preferForRegexpMatch`. Please see documentation for usage.
295
-
296
- ### Bug Fixes
297
-
298
- * fix `usage` and `usage-json` formatters when there are undefined steps
299
-
300
- ### Deprecations
301
-
302
- * `defineParameterType`: `typeName` option is deprecated in favor of `name`
303
-
304
- ## [3.0.1] (2017-08-28)
305
-
306
- ### Bug Fixes
307
-
308
- * JSON formatter: add type to scenario ([#893](https://github.com/cucumber/cucumber-js/issues/893), szymonprz)
309
- * BeforeAll/AfterAll hooks: fix timeout support ([#899](https://github.com/cucumber/cucumber-js/issues/899))
310
- * format output paths: allow absolute paths ([#906](https://github.com/cucumber/cucumber-js/issues/906), Darrin Holst)
311
- * Before/After: fix undefined hook parameter ([#919](https://github.com/cucumber/cucumber-js/issues/919))
312
-
313
- ### Documentation
314
-
315
- * update nodejs example
316
- ([#898](https://github.com/cucumber/cucumber-js/issues/898), João Guilherme Farias Duda)
317
- * fix typo and make punctuation consistent
318
- ([#909](https://github.com/cucumber/cucumber-js/issues/909), Dmitry Shirokov)
319
- * normalize CHANGELOG
320
- ([#915](https://github.com/cucumber/cucumber-js/issues/915), Jayson Smith)
321
-
322
- ## [3.0.0] (2017-08-08)
323
-
324
- ### BREAKING CHANGES
325
-
326
- * `pretty` formatter has been removed. All errors are now reported in a `pretty` format instead. The `progress` formatter is now the default.
327
- * Major changes to [custom formatter](/docs/custom_formatters.md) and [custom snippet syntax](/docs/custom_snippet_syntaxes.md) APIs due to rewrite in support of the event protocol. Please see the updated documentation.
328
- * Remove `registerHandler` and `registerListener`. Use `BeforeAll` / `AfterAll` for setup code. Use the event protocol formatter if used for reporting. Please open an issue if you have another use case.
329
- * Remove deprecated `addTransform`. Use `defineParameterType` instead.
330
- * `cucumber-expressions`:
331
- * using an undefined parameter type now results in an error
332
- * `{stringInDoubleQuotes}` is now `{string}` which works for strings in single or double quotes
333
- * Undefined steps fail the build in non-strict mode. Non-strict mode only allows pending steps now.
334
-
335
- ### New Features
336
-
337
- * Add `--i18n-languages` and `--i18n-keywords <ISO 639-1>` CLI options
338
- * Add `BeforeAll` / `AfterAll` hooks for suite level setup / teardown
339
- * Add event protocol formatter
340
- * `cucumber-expressions`:
341
- * Add built in `{word}` parameter type which is equivalent to `[A-Za-z0-9_]+`
342
- * Allow multiple parameter types to use the same regular expression
343
- * Improve error message when using multiple asynchronous interfaces
344
-
345
- ### Bug Fixes
346
-
347
- * Fix support code line and uri references when using direct imports
348
-
349
- ## [2.3.1] (2017-06-09)
350
-
351
- ### New Features
352
-
353
- * pass step specific options to definition function wrapper ([#838](https://github.com/cucumber/cucumber-js/issues/838), Łukasz Gandecki)
354
-
355
- ## [2.3.0] (2017-06-01)
356
-
357
- ### New Features
358
-
359
- * Add support code aliases for every method in the [support code API](./docs/support_files/api_reference.md). The following are now equivalent:
360
- ```javascript
361
- // Using defineSupportCode
362
- var {defineSupportCode} = require('cucumber');
363
-
364
- defineSupportCode(function({Given}) {
365
- Given(/^a step$/, function() {});
366
- });
367
-
368
- // Using aliases
369
- var {Given} = require('cucumber');
370
-
371
- Given(/^a step$/, function() {});
372
- ```
373
- (Nico Jansen and Łukasz Gandecki)
374
-
375
- ## [2.2.0] (2017-05-20)
376
-
377
- ### New Features
378
-
379
- * Add `progress-bar` formatter inspired by [fuubar-cucumber]( https://github.com/martinciu/fuubar-cucumber) and [fuubar](https://github.com/thekompanee/fuubar) which outputs a progress bar and errors as they happen
380
-
381
- ## [2.1.0](https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.9...v2.1.0) (2017-05-12)
382
-
383
- ### Bug Fixes
384
-
385
- * throw descriptive error message when running a global install
386
-
387
- ## [1.3.3] (2016-04-26)
388
-
389
- ### Bug Fixes
390
-
391
- * fix unhandled rejections in handlers ([#792](https://github.com/cucumber/cucumber-js/issues/792), yaronassa)
392
-
393
- ## [1.3.2] (2016-03-20)
394
-
395
- ### Bug Fixes
396
-
397
- * dependency: fix use of gherkin to not rely on removed field
398
-
399
- ## [2.0.0-rc.9](https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.8...v2.0.0-rc.9) (2017-03-16)
400
-
401
- ### Bug Fixes
402
-
403
- * dependency: fix use of gherkin to not rely on removed field
404
-
405
- ## [2.0.0-rc.8](https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.7...v2.0.0-rc.8) (2017-03-10)
406
-
407
- ### Bug Fixes
408
-
409
- * generated step definition snippets are not found ([#732](https://github.com/cucumber/cucumber-js/issues/732), Aslak Hellesøy)
410
- * catch attempt to define duplicate parameter type regular expression ([#780](https://github.com/cucumber/cucumber-js/issues/780), Aslak Hellesøy)
411
- * catch errors in parameter type transform functions (Aslak Hellesøy)
412
-
413
- ### New Features
414
-
415
- * all async parameter type transform functions (Aslak Hellesøy)
416
- * make all formatters available when requiring
417
-
418
- ### Deprecations
419
-
420
- * `addTransform` was deprecated in favor of `defineParameterType`
421
-
422
- ### Documentation
423
-
424
- * normalize syntax highlighting ([#726](https://github.com/cucumber/cucumber-js/issues/726), Martin Delille)
425
- * fix setWorldConstructor example
426
-
427
- ## [2.0.0-rc.7](https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.6...v2.0.0-rc.7) (2017-01-30)
428
-
429
- ### Bug Fixes
430
-
431
- * fix after hook run order ([#743](https://github.com/cucumber/cucumber-js/issues/743))
432
-
433
- ### Documentation
434
-
435
- * normalize syntax highlighting ([#726](https://github.com/cucumber/cucumber-js/issues/726), (Martin Delille)
436
- * fix addTransform parameter name ([#738](https://github.com/cucumber/cucumber-js/issues/738))
437
-
438
- ## [2.0.0-rc.6](https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.5...v2.0.0-rc.6) (2017-01-06)
439
-
440
- ### New Features
441
-
442
- * usage and usage-json formatters
443
- * update error reporting for `registerHandler` errors
444
- * add ability to disable timeout
445
-
446
- ### Bug Fixes
447
-
448
- * update snippets to new support code interface
449
-
450
- ## [2.0.0-rc.5](https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.4...v2.0.0-rc.5) (2016-12-22)
451
-
452
- ### Breaking Changes
453
-
454
- * Drop support for Node 0.12
455
- * format assertion errors to display diffs
456
-
457
- ### Documentation
458
-
459
- * fix CLI format-options name ([#703](https://github.com/cucumber/cucumber-js/issues/703), Florian Ribon)
460
- * add link on README.md to custom formatters documentation
461
-
462
- ## [2.0.0-rc.4](https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.3...v2.0.0-rc.4) (2016-12-19)
463
-
464
- ### Breaking Changes
465
-
466
- * update support code library interface - instead of exporting a function and calling methods on `this`, require the `cucumber` module and call `defineSupportCode` which passes an object as the first argument whch exposes the methods. Overriding the world constructor has changed from overriding the World property to calling `setWorldConstructor`.
467
-
468
- ```javascript
469
- // 1.3.1
470
- module.exports = function () {
471
- this.Given(/^a step$/, function() {});
472
- this.World = CustomWorld
473
- });
474
-
475
- // 2.0.0
476
- var {defineSupportCode} = require('cucumber');
477
-
478
- defineSupportCode(function({Given, setWorldConstructor}) {
479
- Given(/^a step$/, function() {});
480
- setWorldConstructor(CustomWorld);
481
- });
482
- ```
483
-
484
- ## [2.0.0-rc.3](https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.2...v2.0.0-rc.3) (2016-12-19)
485
-
486
- ### Breaking Changes
487
-
488
- * make strict the default
489
- * previously pending and undefined steps did not cause an exit code of 1. This could be overridden with `--strict`. Strict is now the default and you can use `--no-strict` to return to the previous behavior.
490
- * update automatically required files
491
- * if the features live in a `features` directory at any level, all support files in the `features` directory are loaded.
492
-
493
- ### Bug Fixes
494
-
495
- * prevent crash on empty feature file
496
-
497
- ### New Features
498
-
499
- * validate argument types
500
-
501
- ### Documentation
502
-
503
- * docs: fix tag expression migration guide ([#691](https://github.com/cucumber/cucumber-js/issues/691), Aslak Hellesøy)
504
-
505
- ## [2.0.0-rc.2](https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.1...v2.0.0-rc.2) (2016-12-04)
506
-
507
- ### Breaking Changes
508
-
509
- * pass `attach` to world constructor instead of assigning it to world
510
- * the world constructor now receives `{attach, parameters}` as the first argument instead of `parameters`
511
-
512
- ### New Features
513
-
514
- * json formatter: add `isBackground` to steps
515
-
516
- ### Bug Fixes
517
-
518
- * clear timeouts of asynchronous hooks/steps
519
- * stop running features with no scenarios
520
-
521
- ### Documentation
522
-
523
- * update node js example
524
-
525
- ## [2.0.0-rc.1](https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.0...v2.0.0-rc.1) (2016-11-25)
526
-
527
- ### Bug Fixes
528
-
529
- * fix browser version
530
-
531
- ## [2.0.0-rc.0](https://github.com/cucumber/cucumber-js/compare/v1.3.1...v2.0.0-rc.0) (2016-11-25)
532
-
533
- ### Breaking Changes
534
-
535
- * Dropped support for Node 0.10
536
- * CLI
537
- * `--colors / --no-colors` has moved to `--format-options '{"colorsEnabled": <BOOLEAN>}'`
538
- * `--require <DIR|FILE>`: the required files are no longer reordered to require anything in a `support` directory first
539
- * `--snippet-interface <INTERFACE>` has moved to `--format-options '{"snippetInterface": "<INTERFACE>"}'`
540
- * `--snippet-syntax <SYNTAX>` has moved to `--format-options '{"snippetSyntax": "<SYNTAX>"}'`
541
- * `--tags <EXPRESSION>` now uses [cucumber-tag-expressions](https://docs.cucumber.io/tag-expressions/). It is no longer repeatable and new values will override previous
542
- * `--tags @dev` stays the same
543
- * `--tags ~@dev` becomes `--tags 'not @dev'`
544
- * `--tags @foo,@bar` becomes `--tags '@foo or @bar'`
545
- * `--tags @foo --tags @bar` becomes `--tags '@foo and @bar'`
546
- * Internals
547
- * complete rewrite using ES2015 and promises
548
- * JSON Formatter
549
- * String attachments are no longer base64 encoded. Buffer and Stream attachments are still base64 encoded.
550
- * Support Files
551
- * Attachments
552
- * The `attach` function used for adding attachments moved from the API scenario object to world. It is thus now available in step definitions without saving a reference to the scenario.
553
-
554
- ```javascript
555
- // 1.3.0
556
- this.After(function(scenario, callback) {
557
- scenario.attach(new Buffer([137, 80, 78, 71]), 'image/png')
558
- });
559
-
560
- // 2.0.0
561
- this.After(function() {
562
- this.attach(new Buffer([137, 80, 78, 71]), 'image/png');
563
- });
564
- ```
565
-
566
- * When attaching buffers or strings, the callback argument is ignored.
567
- * Hooks
568
- * Hooks now receive a [ScenarioResult](/src/models/scenario_result.js) instead of the Scenario
569
-
570
- ```javascript
571
- // 1.3.0
572
- this.After(function(scenario) {});
573
-
574
- // 2.0.0
575
- this.After(function(scenarioResult) {});
576
- ```
577
-
578
- * The `tags` option for hook should now be a string instead of an array and uses [cucumber-tag-expressions](https://docs.cucumber.io/tag-expressions/)
579
-
580
- ```javascript
581
- // 1.3.0
582
- this.Before({tags: ["@foo"]}, function (scenario) {})
583
- this.Before({tags: ["@foo,@bar"]}, function (scenario) {})
584
- this.Before({tags: ["@foo", "@bar"]}, function (scenario) {})
585
-
586
- // 2.0.0
587
- this.Before({tags: "@foo"}, function (scenario) {})
588
- this.Before({tags: "@foo and @bar"}, function (scenario) {})
589
- this.Before({tags: "@foo or @bar"}, function (scenario) {})
590
- ```
591
-
592
- * Step Definitions
593
- * String patterns were removed in favor [cucumber-expressions](https://docs.cucumber.io/cucumber-expressions/)
594
- * Regular Expressions
595
- * capture groups matching `(-?\d+)` will be automatically converted to an integer using `parseInt`
596
- * capture groups matching `(-?\d*\.?\d+)` will be automatically converted to a float using `parseFloat`
597
- * Generator functions are no longer automatically run with `co`. To retain the previous functionality, use [this.setDefinitionFunctionWrapper](/docs/support_files/step_definitions.md#definition-function-wrapper)
598
- * Event Handlers
599
- * Objects no longer have `get*` methods and instead have exposed properties
600
- * For example: `scenario.getName()` is now just `scenario.name`
601
- * `StepResult` duration is now in milliseconds instead of nanoseconds
602
-
603
- ### Bug Fixes
604
-
605
- * remove empty lines from `@rerun` files ([#660](https://github.com/cucumber/cucumber-js/issues/660), Cody Ray Hoeft)
606
- * catch uncaught errors in the browser (Charlie Rudolph)
607
-
608
- ### New Features
609
-
610
- * Support Files
611
- * Attachments:
612
- * When attaching a stream, the interface can either accept a callback as a third argument or will return a promise if not passed a callback
613
- * Step Definitions
614
- * Ability to add custom argument transformations
615
- * Fail fast / rerun formatter
616
- * When used together rerun formatter will output all skipped scenarios that didn't run due to a failure
617
-
618
- ### Documentation
619
-
620
- * fix typo ([#659](https://github.com/cucumber/cucumber-js/issues/659), gforceg)
621
- * update support files api reference ([#661](https://github.com/cucumber/cucumber-js/issues/661), Zearin)
622
-
623
- ## [1.3.1] (2016-09-30)
624
-
625
- ### Bug Fixes
626
-
627
- * pass formatter options to listener ([#641](https://github.com/cucumber/cucumber-js/issues/641), Charlie Rudolph)
628
- * rerun formatter: output any scenario that doesn't pass (Charlie Rudolph)
629
- * populate scenario definition ([#647](https://github.com/cucumber/cucumber-js/issues/647), Charlie Rudolph)
630
- * handle empty stacktraces ([#605](https://github.com/cucumber/cucumber-js/issues/605), Hugues Malphettes)
631
- * use cross-platform symbols ([#635](https://github.com/cucumber/cucumber-js/issues/635), Kevin Goslar)
632
-
633
- ### Documentation
634
-
635
- * fix node.js example ([#637](https://github.com/cucumber/cucumber-js/issues/637), Jonathan Gomez)
636
- * fix links in event_handlers.md ([#638](https://github.com/cucumber/cucumber-js/issues/638), Oliver Rogers)
637
- * fix hooks example ([#644](https://github.com/cucumber/cucumber-js/issues/644), John McLaughlin)
638
-
639
- ## [1.3.0] (2016-09-08)
640
-
641
- ### New Features
642
-
643
- * add `--snippet-interface <INTERFACE>` CLI option (Charlie Rudolph)
644
- * add `--world-parameters <JSON>` CLI option (Charlie Rudolph)
645
- * add snippets formatter (Charlie Rudolph)
646
- * add support for ES6 default module syntax (dbillingham)
647
- * pretty formatter: add symbols (Charlie Rudolph)
648
- * add simplified hook parameters (Charlie Rudolph)
649
-
650
- ### Bug Fixes
651
-
652
- * step definition snippets internationalization (Charlie Rudolph)
653
-
654
- ### Documentation
655
-
656
- * document order of execution for multiple hooks (John McLaughlin)
657
- * breakup README.md, organize docs (Charlie Rudolph)
658
-
659
- ## [1.2.2] (2016-08-05)
660
-
661
- ### Bug Fixes
662
-
663
- * Fix error when stack trace has no frames ([#610](https://github.com/cucumber/cucumber-js/issues/610), Jan Molak)
664
-
665
- ## [1.2.1] (2016-07-01)
666
-
667
- ### Bug Fixes
668
-
669
- * Fix hook / step definition location and stacktraces in the browser ([#567](https://github.com/cucumber/cucumber-js/issues/567), [#538](https://github.com/cucumber/cucumber-js/issues/538), Charlie Rudolph)
670
-
671
- ## [1.2.0] (2016-06-24)
672
-
673
- ### Bug Fixes
674
-
675
- * Attachments
676
- * Remove intermediate conversion to string (Charlie Rudolph)
677
- * Use native base64 encoding which can encode binary ([#589](https://github.com/cucumber/cucumber-js/issues/589), Benjamín Eidelman)
678
-
679
- ## [1.1.0] (2016-06-23)
680
-
681
- ### New Features
682
-
683
- * Add full support to `registerHandler` (Charlie Rudolph)
684
- * Can now use all supported functions interfaces (synchronous, callback, promise, generators)
685
- * Will throw any error received and immediately kill the test suite
686
- * Supports handler specific timeouts
687
- * Updated documentation
688
-
689
- ### Bug Fixes
690
-
691
- * CLI format: support absolute path on windows (Charlie Rudolph)
692
- * Fix typo in event name. ([#590](https://github.com/cucumber/cucumber-js/issues/590), Artur Pomadowski)
693
- * Don't run hooks in dry run mode (Charlie Rudolph)
694
-
695
- ## [1.0.0] (2016-05-30)
696
-
697
- ### Bug Fixes
698
-
699
- * Escape all instances of special characters in example / data table (Charlie Rudolph)
700
-
701
- ## [0.10.4] (2016-05-30)
702
-
703
- ### New Features
704
-
705
- * Allow time to be faked by utilities such as `sinon.useFakeTimers` (John McLaughlin)
706
-
707
- ## [0.10.3] (2016-05-19)
708
-
709
- ### Bug Fixes
710
-
711
- * Escape newlines in table cells in pretty formatter (Julien Biezemans)
712
- * Fix handling of unusual error objects (efokschaner)
713
-
714
- ## [0.10.2] (2016-04-07)
715
-
716
- ### New Features
717
-
718
- * Add match location to JSON formatter output (Charlie Rudolph)
719
-
720
- ### Bug Fixes
721
-
722
- * Undefined background step (Scott Deakin)
723
-
724
- ## [0.10.1] (2016-04-01)
725
-
726
- ### New Features
727
-
728
- * Support generators for hooks/step definitions (Ádám Gólya)
729
-
730
- ## [0.10.0] (2016-04-01)
731
-
732
- ### Breaking changes
733
-
734
- * removed around hooks (Charlie Rudolph)
735
- * how to update: use separate before and after hooks. If this is not sufficient, please create an issue.
736
-
737
- * updated pending step interface (Charlie Rudolph)
738
- * how to update: change `callback.pending()` to `callback(null, 'pending')` or use one of the new pending step interfaces
739
-
740
- * updated tagged hook interface (Charlie Rudolph)
741
- * how to update:
742
-
743
- ```javascript
744
- this.Before('@tagA', function() { ... })
745
- // becomes
746
- this.Before({tags: ['@tagA']}, function() { ... })
747
-
748
- this.Before('@tagA', '@tagB,@tagC', function() { ... })
749
- // becomes
750
- this.Before({tags: ['@tagA', '@tagB,@tagC']}, function() { ... })
751
- ```
752
-
753
-
754
- ### New Features
755
-
756
- * support hook specific timeouts (Charlie Rudolph)
757
- * reworked formatter error reporting (Charlie Rudolph)
758
-
759
- ## [0.9.5] (2016-02-16)
760
-
761
- ### Bug Fixes
762
-
763
- * Fix rerun formatter output (Charlie Rudolph)
764
-
765
- ### New Features
766
-
767
- * Allow rerun file to be in subfolder (Charlie Rudolph)
768
-
769
- ## [0.9.4] (2016-01-28)
770
-
771
- ### Bug Fixes
772
-
773
- * Publish release folder to npm (Charlie Rudolph)
774
-
775
- ## [0.9.3] (2016-01-27)
776
-
777
- ### New Features
778
-
779
- * Run scenario by name (Charlie Rudolph)
780
-
781
- ### Bug Fixes
782
-
783
- * Prevent maximum call stack from being exceeded (John Krull)
784
-
785
- ### Documentation
786
-
787
- * Add documentation of profiles (Charlie Rudolph)
788
- * README improvements (Miika Hänninen, Kevin Goslar, Maxim Koretskiy)
789
-
790
- ## [0.9.2]
791
-
792
- ### New Features
793
-
794
- * Bump stack-chain (Rick Lee-Morlang)
795
-
796
- ## [0.9.1]
797
-
798
- ### New Features
799
-
800
- * Add rerun formatter (Charlie Rudolph)
801
-
802
- ### Fixes
803
-
804
- * Add ability to execute scenario outline example (Charlie Rudolph)
805
- * Support tags on scenario outline examples (Charlie Rudolph)
806
-
807
- ### Documentation
808
-
809
- * Fix invalid hook documentation (Charlie Rudolph)
810
-
811
- ## [0.9.0]
812
-
813
- ### Breaking changes
814
-
815
- * catch ambiguous step definitions (Charlie Rudolph)
816
- * remove use of domain (Charlie Rudolph)
817
-
818
- ### New Features
819
-
820
- * pretty formatter: source shows step definition location (Charlie Rudolph)
821
- * support node 5 (Charlie Rudolph)
822
-
823
- ### Fixes
824
-
825
- * Fix `Api.Scenario#attach` callback handling (Julien Biezemans)
826
-
827
- ### Documentation
828
-
829
- * Add async example to README (Artem Bronitsky)
830
- * Document hooks sync/async protocols (Julien Biezemans)
831
- * Remove useless callbacks in documentation (Julien Biezemans)
832
- * Fix browser example (Karine Pires)
833
-
834
- ## [v0.8.1]
835
-
836
- ### Documentation, internals and tests
837
-
838
- * Update World constructor documentation (Charlie Rudolph)
839
- * Remove badges from README.md (Charlie Rudolph)
840
-
841
- ## [v0.8.0]
842
-
843
- ### Breaking changes
844
-
845
- * Add strict function length checking to hooks and step definitions (Charlie Rudolph)
846
- * Make World constructors strictly synchronous (Julien Biezemans)
847
-
848
- ### New features
849
-
850
- * Add cli option to fail fast (Charlie Rudolph)
851
- * Add cli for specifying multiple formatters (Charlie Rudolph)
852
- * Add support for passing multiple line numbers (Charlie Rudolph)
853
- * Add ability to disable colors (Charlie Rudolph)
854
- * Add support for custom snippet syntaxes (Charlie Rudolph)
855
-
856
- ### Changed features
857
-
858
- * Hide errors in pretty formatter summary (Charlie Rudolph)
859
- * Remove unnecessary whitespaces in pretty formatter output (Charlie Rudolph)
860
-
861
- ### Fixes
862
-
863
- * Properly ask configurations for strict mode (Julien Biezemans)
864
-
865
- ### Documentation, internals and tests
866
-
867
- * Document data table interface (Charlie Rudolph)
868
- * Refactor: statuses (Charlie Rudolph)
869
- * Refactor: cleanup step definitions (Charlie Rudolph)
870
- * Cleanup: remove log to console from listeners (Charlie Rudolph)
871
- * Use svg badges (Charlie Rudolph)
872
- * Rename CONTRIBUTE.md to CONTRIBUTING.md (Julien Biezemans)
873
- * Require maintainers to document API changes in release tag descriptions (Julien Biezemans)
874
- * Add build-release NPM script (Julien Biezemans)
875
-
876
- ## [v0.7.0]
877
-
878
- ### New features
879
-
880
- * Time out steps that take too long (Charles Rudolph)
881
- * Print execution time (Charles Rudolph)
882
-
883
- ### Changed features
884
-
885
- * Remove callback.fail() (Charles Rudolph)
886
- * Update hooks interface (Charles Rudolph)
887
-
888
- ### Fixes
889
-
890
- * Don't try to handle empty features (Julien Biezemans)
891
- * Fix unpredictable nopt behavior (Charles Rudolph)
892
- * Fix pretty formatter step indentation after doc string (Charles Rudolph)
893
-
894
- ### Documentation, internals and tests
895
-
896
- * Rename Collection functions: forEach/syncForEach -> asyncForEach/forEach (Charles Rudolph)
897
- * Simplify installation instructions (Charles Rudolph)
898
- * Fix spec on Windows (Marcel Hoyer)
899
- * Simplify World examples in README (Charles Rudolph)
900
- * Update license in package.json (Charles Rudolph)
901
- * Convert test framework from jasmine-node to jasmine (Charles Rudolph)
902
- * Separate test output (Charles Rudolph)
903
- * Remove ruby, legacy features, cucumber-tck (Charles Rudolph)
904
-
905
- ## [v0.6.0]
906
-
907
- ### New features
908
-
909
- * Add --no-source to hide uris (Eddie Loeffen)
910
- * Add dry run capability (Karthik Viswanath)
911
- * Introduce --compiler CLI option (Charles Rudolph)
912
-
913
- ### Documentation, internals and tests
914
-
915
- * Stop IRC and email notifications from Travis (Julien Biezemans)
916
- * Remove Node.js 0.11 explicit support (Julien Biezemans)
917
- * Use basic for loop for array iterations (Charles Rudolph)
918
- * Bump browserify (Charles Rudolph)
919
- * Add CLI help for --profile (Charles Rudolph)
920
- * Use colors library (Charles Rudolph)
921
- * Improve --compiler help (Julien Biezemans)
922
- * Fix loading of external compiler modules (Julien Biezemans)
923
- * Document a few common compiler usages (Julien Biezemans)
924
-
925
- ## [v0.5.3]
926
-
927
- ### New features
928
-
929
- * Add support for profiles (Charles Rudolph)
930
-
931
- ### Changed features
932
-
933
- * Allow for multiple instances of placeholder (Charles Rudolph)
934
- * Print relative paths in summary output (Charles Rudolph)
935
-
936
- ### Fixes
937
-
938
- * Remove duplicate line number from output (Charles Rudolph)
939
- * Return clone of array from DataTable.Row.raw() (Julien Biezemans)
940
-
941
- ### Documentation, internals and tests
942
-
943
- * Update various urls (Dale Gardner)
944
- * Bump CoffeeScript (Julien Biezemans)
945
- * Bump PogoScript (Julien Biezemans)
946
- * Bump underscore (Julien Biezemans)
947
- * Bump underscore.string (Julien Biezemans)
948
- * Bump stack-chain (Julien Biezemans)
949
- * Bump nopt (Julien Biezemans)
950
- * Bump connect (Julien Biezemans)
951
- * Bump exorcist (Julien Biezemans)
952
- * Bump uglifyify (Julien Biezemans)
953
- * Bump through (Julien Biezemans)
954
- * Bump serve-static (Julien Biezemans)
955
- * Bump rimraf (Julien Biezemans)
956
- * Bump mkdirp (Julien Biezemans)
957
- * Bump jshint (Julien Biezemans)
958
- * Remove extra bracket in README example (Julien Biezemans)
959
- * Officially support Node.js 4.x (Julien Biezemans)
960
- * Use a profile for own build (Julien Biezemans)
961
-
962
- ## [v0.5.2]
963
-
964
- ### New features
965
-
966
- * Add rowsHash method to data tables (Mark Amery)
967
-
968
- ### Documentation, internals and tests
969
-
970
- * Remove CLI resource leak timeout (Julien Biezemans)
971
- * Point to cucumber.io instead of cukes.info (Julien Biezemans)
972
- * Fix mixed tabs and spaces (Mark Amery)
973
- * Use hexadecimal values for console colours (Julien Biezemans)
974
- * Update walkdir module to 0.0.10 (Artem Repko)
975
- * Fix ruby tests on Windows (zs-zs)
976
- * Fix npm test to run on Windows (zs-zs)
977
- * Normalize OS-specific path separators in output assertions (zs-zs)
978
- * Relax check for promises in step definitions (zs-zs)
979
- * Add Ast.Feature.getFeatureElements() (Mark Derbecker)
980
- * Add Util.Collection.sort() (Mark Derbecker)
981
- * Add waffle.io badge (Julien Biezemans)
982
-
983
- ## [v0.5.1]
984
-
985
- ### New features
986
-
987
- * Support placeholders in scenario outlines (chrismilleruk)
988
- * Add failure exception to scenario object (Mateusz Derks)
989
-
990
- ### Documentation, internals and tests
991
-
992
- * Fix World example in README (Julien Biezemans)
993
- * Remove moot `version` property from bower.json (Kevin Kirsche)
994
- * Remove obsolete release instruction for bower (Julien Biezemans)
995
- * Add Gitter badge (Julien Biezemans)
996
- * Rephrase spec example (Julien Biezemans)
997
- * Add documentation for attachments (Simon Dean)
998
- * Fix name of Cucumber.Api.Scenario in README (Simon Dean)
999
-
1000
- ## [v0.5.0]
1001
-
1002
- ### New features
1003
-
1004
- * Support promises from step definitions (Will Farrell)
1005
- * Support synchronous step definitions (Julien Biezemans)
1006
-
1007
- ### Documentation, internals and tests
1008
-
1009
- * Remove irrelevant feature file (Julien Biezemans)
1010
- * Reorganise callback feature (Julien Biezemans)
1011
- * Remove unused dependency (Julien Biezemans)
1012
- * Document new step definition styles (Julien Biezemans)
1013
- * Make step definitions synchronous in example app (Julien Biezemans)
1014
-
1015
- ## [v0.4.9]
1016
-
1017
- ### New features
1018
-
1019
- * Make pretty formatter the default (Julien Biezemans)
1020
- * Filter stack traces (close [#157](https://github.com/cucumber/cucumber-js/issues/157), Julien Biezemans)
1021
-
1022
- ### Documentation, internals and tests
1023
-
1024
- * Separate source map from bundle (Julien Biezemans)
1025
- * Hint (Julien Biezemans)
1026
- * Fix misspelling io.js (Sonny Piers)
1027
- * Add 0.12 to supported engines in NPM manifest (Julien Biezemans)
1028
- * Fix test script to be more portable (Sam Saccone)
1029
- * Force Cucumber <2 for now (Julien Biezemans)
1030
- * Bump Cucumber gem to 2.0.0 (Julien Biezemans)
1031
- * Explicitly require json module in Ruby stepdefs (Julien Biezemans)
1032
- * Add CLI help section for --backtrace (Julien Biezemans)
1033
-
1034
- ## [v0.4.8]
1035
-
1036
- ### New features
1037
-
1038
- * Support IO.js (Sam Saccone)
1039
- * Support Node.js 0.12 (Julien Biezemans)
1040
-
1041
- ### Fixes
1042
-
1043
- * Handle BOM and fix regexp for hyphenated languages ([#144](https://github.com/cucumber/cucumber-js/issues/144), Aslak Hellesøy)
1044
- * Fix attachment clean up in hooks ([#282](https://github.com/cucumber/cucumber-js/issues/282), nebehr)
1045
-
1046
- ### Documentation, internals and tests
1047
-
1048
- * More thorough specs for GherkinLexer. Fix build? (Aslak Hellesøy)
1049
- * Add jshintrc (Jesse Harlin)
1050
- * Hint lib/ (Julien Biezemans)
1051
- * Hint bundler and bin (Julien Biezemans)
1052
- * Hint spec/ (Julien Biezemans)
1053
- * Be consistent in anonymous function syntax (Julien Biezemans)
1054
- * Use named functions for all constructors (Julien Biezemans)
1055
- * Indent (Julien Biezemans)
1056
- * Add more diagnostics to build (Julien Biezemans)
1057
- * Remove unnecessary spaces in shell commands (Julien Biezemans)
1058
-
1059
- ## [v0.4.7]
1060
-
1061
- ### Documentation, internals and tests
1062
-
1063
- * Do not dispose of step domains (Julien Biezemans)
1064
- * Refactor and add debug code (Julien Biezemans)
1065
- * Create a single domain per run (Julien Biezemans)
1066
- * Add missing AstTreeWalker specs (Julien Biezemans)
1067
- * Indent (Julien Biezemans)
1068
- * Spec domain enter/exit in AstTreeWalker (Julien Biezemans)
1069
-
1070
- ## [v0.4.6]
1071
-
1072
- ### New features
1073
-
1074
- * Add --no-snippets flag to CLI (close [#207](https://github.com/cucumber/cucumber-js/issues/207), Krispin Schulz)
1075
- * Add strict mode (close [#211](https://github.com/cucumber/cucumber-js/issues/211), Elwyn)
1076
- * Add strict mode to volatile configuration (close [#258](https://github.com/cucumber/cucumber-js/issues/258), Jan-Eric Duden)
1077
-
1078
- ### Fixes
1079
-
1080
- * Fix code loader on windows (close [#226](https://github.com/cucumber/cucumber-js/issues/226), Gary Taylor)
1081
-
1082
- ### Documentation, internals and tests
1083
-
1084
- * Connect to Rubygems through SSL (Julien Biezemans)
1085
- * Use Node domain's enter/exit in stepdefs (Julien Biezemans)
1086
- * Do not display snippets in build (Julien Biezemans)
1087
- * Asynchronously dispose of step domains (Julien Biezemans)
1088
- * Change order of tests in build (Julien Biezemans)
1089
- * Fix tests to run on Windows (close [#216](https://github.com/cucumber/cucumber-js/issues/216), kostya.misura)
1090
- * Fix registerHandler() example in README (Julien Biezemans)
1091
- * Fix typo in variable name (Julien Biezemans)
1092
- * Fix World property assignment in README example (Julian)
1093
- * Unix EOLs (Julien Biezemans)
1094
- * Ignore .ruby-* (Julien Biezemans)
1095
-
1096
- ## [v0.4.5]
1097
-
1098
- ### Documentation, internals and tests
1099
-
1100
- * Fix issue with npm upgrade on node.js v0.8 (Simon Dean)
1101
- * Use Node domain to handle asynchronous exceptions (Julien Biezemans)
1102
-
1103
- ## [v0.4.4]
1104
-
1105
- ### Fixes
1106
-
1107
- * Allow >1 parameter in string step definitions (Craig Morris)
1108
- * Don't skip scenario outlines (close [#245](https://github.com/cucumber/cucumber-js/issues/245), Julien Biezemans)
1109
-
1110
- ### Documentation, internals and tests
1111
-
1112
- * Bump nopt (Julien Biezemans)
1113
- * Bump coffee-script (Julien Biezemans)
1114
- * Bump pogo (Julien Biezemans)
1115
- * Bump underscore (Julien Biezemans)
1116
- * Bump rimraf (Julien Biezemans)
1117
- * Bump jasmine-node (Julien Biezemans)
1118
- * Bump connect (Julien Biezemans)
1119
- * Rewrite bundling system (close [#186](https://github.com/cucumber/cucumber-js/issues/186), Julien Biezemans)
1120
- * Rename release script (Julien Biezemans)
1121
- * Upgrade NPM on Travis (Julien Biezemans)
1122
- * Drop Node 0.6 support (Julien Biezemans)
1123
- * Drop Node 0.6 support (manifest) (Julien Biezemans)
1124
-
1125
- ## [v0.4.3]
1126
-
1127
- ### Fixes
1128
-
1129
- * Scenario outline fixes (Simon Dean)
1130
- * Correct the embeddings JSON to match other ports of Cucumber (Simon Dean)
1131
-
1132
- ## [v0.4.2]
1133
-
1134
- ### New features
1135
-
1136
- * Support attachments (close [#189](https://github.com/cucumber/cucumber-js/issues/189), Julien Biezemans)
1137
-
1138
- ### Documentation, internals and tests
1139
-
1140
- * Fix world example in main readme (Sam Saccone)
1141
- * Update instructings for running tests (Sam Saccone)
1142
-
1143
- ## [v0.4.1]
1144
-
1145
- ### New features
1146
-
1147
- * Target scenario by line number on CLI (close [#168](https://github.com/cucumber/cucumber-js/issues/168), Simon Lampen)
1148
-
1149
- ### Fixes
1150
-
1151
- * Ensure no stdout output is lost (Simon Dean)
1152
- * Properly tag scenario outlines (close [#195](https://github.com/cucumber/cucumber-js/issues/195), [#197](https://github.com/cucumber/cucumber-js/issues/197), Artur Kania)
1153
-
1154
- ### Documentation, internals and tests
1155
-
1156
- * Align snippet comment with Cucumber-Ruby/JVM (close [#150](https://github.com/cucumber/cucumber-js/issues/150), Julien Biezemans)
1157
- * Update build badge URL on README (Julien Biezemans)
1158
- * Add line number pattern to --help on CLI (Julien Biezemans)
1159
- * Document AfterFeatures event (close [#171](https://github.com/cucumber/cucumber-js/issues/171), Eddie Loeffen)
1160
- * Include 'features' in *Features events payload (Stanley Shyiko)
1161
- * Try to fix build on Travis (Julien Biezemans)
1162
- * Remove bower as a dev dependency (close [#191](https://github.com/cucumber/cucumber-js/issues/191), Simon Dean)
1163
- * Remove obsolete Travis trick for Node 0.8 (Julien Biezemans)
1164
- * Remove development status table from README (Julien Biezemans)
1165
- * Help the guy produce changelogs (Julien Biezemans)
1166
-
1167
- ## [v0.4.0]
1168
-
1169
- ### New features
1170
-
1171
- * Add support for scenario outlines and examples (close [#155](https://github.com/cucumber/cucumber-js/issues/155), Ben Van Treese)
1172
- * Add i18n support (close [#156](https://github.com/cucumber/cucumber-js/issues/156), Lukas Degener)
1173
-
1174
- ### Changed features
1175
-
1176
- * Pass scenario to hooks (Marat Dyatko)
1177
- * Minor change to stepdef snippets (JS) (Julien Biezemans)
1178
- * Make feature id in JSON output replace all spaces (close #[127](https://github.com/cucumber/cucumber-js/issues/127), Tim Perry)
1179
- * Bump CoffeeScript (close [#154](https://github.com/cucumber/cucumber-js/issues/154), Gabe Hayes)
1180
-
1181
- ### Documentation, internals and tests
1182
-
1183
- * Add Hook spec example for single-arg function (close [#143](https://github.com/cucumber/cucumber-js/issues/143), Julien Biezemans)
1184
- * Update README with Hook scenario object doc (Julien Biezemans)
1185
- * Style (Julien Biezemans)
1186
-
1187
- ## [v0.3.3]
1188
-
1189
- ### New features
1190
-
1191
- * Output step definition snippets in CoffeeScript (John George Wright)
1192
- * Add colors to CLI (Johny Jose)
1193
-
1194
- ### Changed features
1195
-
1196
- * Add durations to JSON formatter (Simon Dean)
1197
-
1198
- ### Documentation, internals and tests
1199
-
1200
- * Bump most dependencies (Julien Biezemans)
1201
- * DRY (Julien Biezemans)
1202
- * Refactor (Julien Biezemans)
1203
-
1204
- ## [v0.3.2]
1205
-
1206
- ### New features
1207
-
1208
- * Add PogoScript support (Josh Chisholm)
1209
- * Add listener and event handler registration (close [#130](https://github.com/cucumber/cucumber-js/issues/130), Paul Shannon)
1210
-
1211
- ### Documentation, internals and tests
1212
-
1213
- * Added some nice stats (Aslak Hellesøy)
1214
- * Fix spelling of "GitHub" (Peter Suschlik)
1215
- * Add Code Climate badge to README (Julien Biezemans)
1216
- * Update README.md (Sebastian Schürmann)
1217
-
1218
- ## [v0.3.1]
1219
-
1220
- ### New features
1221
-
1222
- * Add DataTable.rows() (Niklas Närhinen)
1223
- * Officially support Node 0.10 and 0.11 (Julien Biezemans)
1224
-
1225
- ### Changed features
1226
-
1227
- * Update cucumber-html (Aslak Hellesøy)
1228
- * Bump Gherkin (Julien Biezemans)
1229
- * Add options parameter to JSON formatter (Israël Hallé)
1230
- * Updated CoffeeScript (Matteo Collina)
1231
- * Specify strict coffee-script version number (Julien Biezemans)
1232
- * Bump jasmine-node (Julien Biezemans)
1233
-
1234
- ### Fixes
1235
-
1236
- * Fix travis build Node versions (Julien Biezemans)
1237
- * Fix Travis CI configuration (Julien Biezemans)
1238
-
1239
- ### Documentation, internals and tests
1240
-
1241
- * Remove words in History (Julien Biezemans)
1242
- * Update dev status table in README (Julien Biezemans)
1243
- * Update LICENSE (Julien Biezemans)
1244
- * Add contributors (Julien Biezemans)
1245
- * Move data table scenario to TCK (Julien Biezemans)
1246
- * Be consistent in spec matchers (Julien Biezemans)
1247
- * Remove cucumber.no.de links (Kim, Jang-hwan)
1248
- * Fix broken link in README dev status table ([#118](https://github.com/cucumber/cucumber-js/issues/118), Michael Zedeler)
1249
- * Refactor hook-related Given steps in JS stepdefs (Julien Biezemans)
1250
- * Refactor failing mapping JS step definitions (Julien Biezemans & Matt Wynne)
1251
- * Update README.md to correct error in example for zombie initialization (Tom V)
1252
- * Update minor typos in README.md (David Godfrey)
1253
-
1254
-
1255
-
1256
- ## [v0.3.0]
1257
-
1258
- ### New features
1259
-
1260
- * Allow for node-like callback errors (Julien Biezemans)
1261
- * Accept multiple features in volatile configuration ([#52](https://github.com/cucumber/cucumber-js/issues/52), Julien Biezemans)
1262
-
1263
- ### Fixes
1264
-
1265
- * Add ^ prefix and $ suffix to string-based step definition regexps ([#77](https://github.com/cucumber/cucumber-js/issues/77), Julien Biezemans)
1266
- * Allow for unsafe regexp characters in stepdef string patterns ([#77](https://github.com/cucumber/cucumber-js/issues/77), Julien Biezemans)
1267
-
1268
- ### Documentation, internals and tests
1269
-
1270
- * Build on Node.js 0.8 on Travis (Julien Biezemans)
1271
- * Rewrite README's status table in HTML (Julien Biezemans)
1272
- * Bump Gherkin ([#78](https://github.com/cucumber/cucumber-js/issues/78), Julien Biezemans)
1273
- * Switch to HTML tables in README (Julien Biezemans)
1274
- * Bump Aruba (Julien Biezemans)
1275
-
1276
-
1277
-
1278
- ## [v0.2.x](https://github.com/cucumber/cucumber-js/compare/v0.2.0...v0.3.0^)
1279
-
1280
- ## [v0.2.22]
1281
-
1282
- ### New features
1283
-
1284
- * Print data tables and doc strings in pretty formatter output ([#89](https://github.com/cucumber/cucumber-js/issues/89), [#81](https://github.com/cucumber/cucumber-js/issues/81), Julien Biezemans)
1285
-
1286
- ### Fixes
1287
-
1288
- * Exclude unmatched features from AST ([#80](https://github.com/cucumber/cucumber-js/issues/80), Julien Biezemans)
1289
-
1290
-
1291
-
1292
- ## [v0.2.21]
1293
-
1294
- ### New features
1295
-
1296
- * Add bundler (Julien Biezemans)
1297
-
1298
-
1299
-
1300
- **TBD**
1301
-
1302
- ## [v0.2.20]
1303
-
1304
- ### New features
1305
-
1306
- * Add JSON formatter ([#79](https://github.com/cucumber/cucumber-js/issues/79), Chris Young)
1307
-
1308
- ### Fixes
1309
-
1310
- * Fix data table and tags handling in JSON formatter (Julien Biezemans)
1311
-
1312
- ### Documentation, internals and tests
1313
-
1314
- * Force example feature execution order in JSON feature (Julien Biezemans)
1315
-
1316
-
1317
-
1318
- ## [v0.2.19]
1319
-
1320
- ### Fixes
1321
-
1322
- * Fix CLI arguments passing ([#83](https://github.com/cucumber/cucumber-js/issues/83), Omar Gonzalez)
1323
-
1324
- ### Documentation, internals and tests
1325
-
1326
- * Refactor "summarizer" listener to summary formatter ([#71](https://github.com/cucumber/cucumber-js/issues/71), 28b74ef, Julien Biezemans)
1327
- * Add "summary" formatter to available CLI formatters (Julien Biezemans)
1328
- * Fix spec example description (Julien Biezemans)
1329
-
1330
-
1331
-
1332
- ## [v0.2.18]
1333
-
1334
- ### Fixes
1335
-
1336
- * Replace findit with walkdir to fix file loading on Windows ([#73](https://github.com/cucumber/cucumber-js/issues/73), Aaron Garvey)
1337
-
1338
- ### Documentation, internals and tests
1339
-
1340
- * Rename spec file (Julien Biezemans)
1341
- * Extract developer documentation from README to CONTRIBUTE (Julien Biezemans)
1342
- * Bump browserify (Julien Biezemans)
1343
- * Update supported Node.js versions (Julien Biezemans)
1344
-
1345
-
1346
-
1347
- ## [v0.2.17]
1348
-
1349
- ### New features
1350
-
1351
- * Add pretty formatter (simplified, monochrome) ([#59](https://github.com/cucumber/cucumber-js/issues/59), @renier, Julien Biezemans)
1352
-
1353
- ### Documentation, internals and tests
1354
-
1355
- * Display only master branch build status in README (Julien Biezemans)
1356
- * Rename "summary logger" to "summarizer" ([#59](https://github.com/cucumber/cucumber-js/issues/59), Julien Biezemans)
1357
- * Extract common formatter methods ([#59](https://github.com/cucumber/cucumber-js/issues/59), [#63](https://github.com/cucumber/cucumber-js/issues/63), Julien Biezemans)
1358
-
1359
-
1360
-
1361
- ## [v0.2.16]
1362
-
1363
- ### New features
1364
-
1365
- * Display failing scenario URIs in summary (Julien Biezemans)
1366
-
1367
- ### Documentation, internals and tests
1368
-
1369
- * Ran a gem update (Aslak Hellesøy)
1370
- * Update NPM dependencies ([#69](https://github.com/cucumber/cucumber-js/issues/69), Aslak Hellesøy)
1371
- * Refactor listener infrastructure ([#35](https://github.com/cucumber/cucumber-js/issues/35), [#59](https://github.com/cucumber/cucumber-js/issues/59), [#63](https://github.com/cucumber/cucumber-js/issues/63), Julien Biezemans)
1372
- * Extract summary logger from progress formatter ([#59](https://github.com/cucumber/cucumber-js/issues/59), [#63](https://github.com/cucumber/cucumber-js/issues/63), Julien Biezemans)
1373
- * Store URI on AST elements (Julien Biezemans)
1374
-
1375
-
1376
-
1377
- ## [v0.2.15]
1378
-
1379
- ### New features
1380
-
1381
- * Handle asynchronous exceptions ([#51](https://github.com/cucumber/cucumber-js/issues/51), Julien Biezemans)
1382
-
1383
- ### Documentation, internals and tests
1384
-
1385
- * Remove commented code (Julien Biezemans)
1386
-
1387
-
1388
-
1389
- ## [v0.2.14]
1390
-
1391
- ### New features
1392
-
1393
- * Mention CS support in README (Julien Biezemans)
1394
- * Update command-line documentation in README (Julien Biezemans)
1395
-
1396
- ### Fixes
1397
-
1398
- * Add alternate binary script for Windows ([#60](https://github.com/cucumber/cucumber-js/issues/60), Julien Biezemans)
1399
-
1400
-
1401
-
1402
- ## [v0.2.13]
1403
-
1404
- ### New features
1405
-
1406
- * Add support for string-based step definition patterns ([#48](https://github.com/cucumber/cucumber-js/issues/48), Ted de Koning, Julien Biezemans)
1407
-
1408
- ### Documentation, internals and tests
1409
-
1410
- * Pass step instance to step definition invocation ([#57](https://github.com/cucumber/cucumber-js/issues/57), Julien Biezemans)
1411
- * Refactor step result specs (Julien Biezemans)
1412
- * Store step on step results ([#57](https://github.com/cucumber/cucumber-js/issues/57), Julien Biezemans)
1413
- * Increase Aruba timeout delay for slow Travis (Julien Biezemans)
1414
- * Decouple pattern from regexp in step definition ([#48](https://github.com/cucumber/cucumber-js/issues/48), Julien Biezemans)
1415
-
1416
-
1417
-
1418
- ## [v0.2.12]
1419
-
1420
- ### Changed features
1421
-
1422
- * Allow World constructor to set explicit World object ([#50](https://github.com/cucumber/cucumber-js/issues/50), Julien Biezemans)
1423
-
1424
- ### Documentation, internals and tests
1425
-
1426
- * Add semicolons (Julien Biezemans)
1427
- * Add documentation about World to README (Julien Biezemans)
1428
-
1429
-
1430
-
1431
- ## [v0.2.11]
1432
-
1433
- ### Changed features
1434
-
1435
- * Simplify World callbacks ([#49](https://github.com/cucumber/cucumber-js/issues/49), Julien Biezemans)
1436
-
1437
- ### Fixes
1438
-
1439
- * Fix callback.fail() when called without any reasons (Julien Biezemans)
1440
-
1441
- ### Documentation, internals and tests
1442
-
1443
- * Add toHaveBeenCalledWithInstanceOfConstructorAsNthParameter() spec helper (Julien Biezemans)
1444
- * Simplify default World constructor callback (Julien Biezemans)
1445
- * Adapt World constructors (Julien Biezemans)
1446
-
1447
-
1448
-
1449
- ## [v0.2.10]
1450
-
1451
- ### Fixes
1452
-
1453
- * Fix path handling on Windows platforms ([#47](https://github.com/cucumber/cucumber-js/issues/47), Julien Biezemans)
1454
-
1455
- ### Documentation, internals and tests
1456
-
1457
- * Add tagged hooks example to README (Julien Biezemans)
1458
- * Fix browserify setup for example page load (Julien Biezemans)
1459
- * Rename bundle to 'cucumber.js' in web example (Julien Biezemans)
1460
- * Remove obsolete browserify directive (Julien Biezemans)
1461
- * Improve platform detection (Julien Biezemans)
1462
-
1463
-
1464
-
1465
- ## [v0.2.9]
1466
-
1467
- ### New features
1468
-
1469
- * Add support for tagged hooks ([#32](https://github.com/cucumber/cucumber-js/issues/32), Julien Biezemans)
1470
-
1471
- ### Changed features
1472
-
1473
- * Allow for whitespaces in tag groups (Julien Biezemans)
1474
-
1475
- ### Documentation, internals and tests
1476
-
1477
- * Add Cucumber.Type.String and String#trim(, Julien Biezemans)
1478
- * Remove unnecessary this. from stepdefs (Julien Biezemans)
1479
- * Simplify tag-related stepdefs (Julien Biezemans)
1480
- * Simplify tag selection syntax in volatile configuration (Julien Biezemans)
1481
- * Mark hooks "done" in README dev status (Julien Biezemans)
1482
-
1483
-
1484
-
1485
- ## [v0.2.8]
1486
-
1487
- ### New features
1488
-
1489
- * Add around hooks ([#32](https://github.com/cucumber/cucumber-js/issues/32), Julien Biezemans)
1490
-
1491
- ### Changed features
1492
-
1493
- * Treat undefined and skipped step as any other step (Julien Biezemans)
1494
-
1495
- ### Documentation, internals and tests
1496
-
1497
- * Remove unused parameter in parser spec (Julien Biezemans)
1498
- * Add JS stepdef for async failing steps scenario (Julien Biezemans)
1499
- * Assign zombie in README example ([#44](https://github.com/cucumber/cucumber-js/issues/44), Julien Biezemans)
1500
- * Remove trailing spaces (Julien Biezemans)
1501
- * Get rid of obsolete PendingStepException (Julien Biezemans)
1502
- * Refactor SupportCode.Library spec (Julien Biezemans)
1503
- * Add around hooks documentation ([#32](https://github.com/cucumber/cucumber-js/issues/32), Julien Biezemans)
1504
-
1505
-
1506
-
1507
- ## [v0.2.7]
1508
-
1509
- ### New features
1510
-
1511
- * Allow for asynchronous pending steps (Julien Biezemans)
1512
- * Allow for asynchronous step failures (Julien Biezemans)
1513
-
1514
- ### Fixes
1515
-
1516
- * Fix matching groups in step definition snippets ([#42](https://github.com/cucumber/cucumber-js/issues/42), Julien Biezemans)
1517
- * Remove obsolete dependency from snippet builder spec (Julien Biezemans)
1518
-
1519
- ### Documentation, internals and tests
1520
-
1521
- * Add steps to release process in README (Julien Biezemans)
1522
- * Update development status table in README (Julien Biezemans)
1523
- * Import implementation-specific scenarios from cucumber-tck/undefined_steps (Julien Biezemans)
1524
- * Switch from throwing exceptions to callback.fail() in web example (Julien Biezemans)
1525
- * Add callback.fail() example to README (Julien Biezemans)
1526
-
1527
- ## [v0.2.6]
1528
-
1529
- ### New features
1530
-
1531
- * Add tags support ([#7](https://github.com/cucumber/cucumber-js/issues/7), Julien Biezemans)
1532
- * Add support for tags on features ([#7](https://github.com/cucumber/cucumber-js/issues/7), Julien Biezemans)
1533
-
1534
- ### Changed features
1535
-
1536
- * Handle missing instance in World constructor callback ([#40](https://github.com/cucumber/cucumber-js/issues/40), Julien Biezemans)
1537
-
1538
- ### Documentation, internals and tests
1539
-
1540
- * Update development status in README (Julien Biezemans)
1541
- * Typo in README (Julien Biezemans)
1542
- * Refactor parser and add AST assembler (required by [#7](https://github.com/cucumber/cucumber-js/issues/7), Julien Biezemans)
1543
- * Indent properly (Julien Biezemans)
1544
- * Refactor AST assembler to be stateful (needed by [#7](https://github.com/cucumber/cucumber-js/issues/7), Julien Biezemans)
1545
- * Update master diff in History (Julien Biezemans)
1546
- * Add --tags documentation to --help (CLI, Julien Biezemans)
1547
-
1548
-
1549
-
1550
- ## [v0.2.5]
1551
-
1552
- ### New features
1553
-
1554
- * Add Before/After hooks ([#32](https://github.com/cucumber/cucumber-js/issues/32), [#31](https://github.com/cucumber/cucumber-js/issues/31), Tristan Dunn)
1555
-
1556
- ### Changed features
1557
-
1558
- * Interpret "*" step keyword as a repeat keyword (Julien Biezemans)
1559
-
1560
- ### Documentation, internals and tests
1561
-
1562
- * Add NPM publishing to README release checklist (Julien Biezemans)
1563
- * Add "Help & Support" to README (Julien Biezemans)
1564
- * Words in README (Julien Biezemans)
1565
- * Document before and after hooks (Julien Biezemans)
1566
-
1567
-
1568
-
1569
- ## [v0.2.4]
1570
-
1571
- ### New features
1572
-
1573
- * Add --version to CLI (Julien Biezemans)
1574
- * Add --help to CLI (Julien Biezemans)
1575
-
1576
- ### Changed features
1577
-
1578
- * Add styles for reported errors on web example (Julien Biezemans)
1579
- * Make and expect World constructors to be asynchronous ([#39](https://github.com/cucumber/cucumber-js/issues/39), Julien Biezemans)
1580
-
1581
- ### Documentation, internals and tests
1582
-
1583
- * Update README (Julien Biezemans)
1584
- * Add development status to README (Julien Biezemans)
1585
- * Add link to demo at cucumber.no.de (Julien Biezemans)
1586
- * Add link to example app to README (Julien Biezemans)
1587
- * Add usage documentation to README ([#23](https://github.com/cucumber/cucumber-js/issues/23), Olivier Melcher)
1588
- * Add examples to run features with the CLI (Olivier Melcher)
1589
- * Fix header levels and whitespaces in README (Julien Biezemans)
1590
- * Add Opera to supported browsers in README (Julien Biezemans)
1591
- * Fix World constructor in README (Julien Biezemans)
1592
- * Simplify World#visit in README (Julien Biezemans)
1593
- * Rewrite step definition and wrapper documentation (Julien Biezemans)
1594
- * Remove useless words (Julien Biezemans)
1595
- * Use more consistent Markdown in README (Julien Biezemans)
1596
- * Fix Gherkin comment in README (Julien Biezemans)
1597
- * Add credits (Julien Biezemans)
1598
- * Add Aruba setup details to README (Julien Biezemans)
1599
- * Fix World constructor on web example according to the recent API changes (Julien Biezemans)
1600
- * Tell Travis CI to post build results to #cucumber (Julien Biezemans)
1601
- * Add release checklist to README (Julien Biezemans)
1602
-
1603
-
1604
-
1605
- ## [v0.2.3]
1606
-
1607
- ### New features
1608
-
1609
- * Add support for Node 0.6 (Julien Biezemans)
1610
-
1611
- ### Fixes
1612
-
1613
- * Prevent the same step definition snippet from being suggested twice (Julien Biezemans)
1614
-
1615
- ### Documentation, internals and tests
1616
-
1617
- * Don't make NPM ignore `example/` anymore (Julien Biezemans)
1618
- * Bump cucumber-features (Julien Biezemans)
1619
- * Use non-deprecated "url" key instead of "web" in NPM manifest (Julien Biezemans)
1620
- * Add JS step definitions related to data table scenarios (Julien Biezemans)
1621
- * Move from cucumber-features to cucumber-tck (Julien Biezemans)
1622
- * Bump Gherkin (Julien Biezemans)
1623
- * Bump jasmine-node (Julien Biezemans)
1624
- * Bump connect (Julien Biezemans)
1625
- * Fix Travis build (Julien Biezemans)
1626
- * Bump browserify (Julien Biezemans)
1627
- * Bump nopt (Julien Biezemans)
1628
- * Bump underscore (Julien Biezemans)
1629
- * Bump underscore.string (Julien Biezemans)
1630
- * Bump rimraf (Julien Biezemans)
1631
- * Bump mkdirp (Julien Biezemans)
1632
- * Bump Aruba (Julien Biezemans)
1633
-
1634
-
1635
-
1636
- ## [v0.2.2]
1637
-
1638
- ### New features
1639
-
1640
- * Suggest step definition snippets for undefined steps ([#33](https://github.com/cucumber/cucumber-js/issues/33), Julien Biezemans)
1641
-
1642
- ### Documentation, internals and tests
1643
-
1644
- * Add contributors to NPM package manifest (Julien Biezemans)
1645
- * Clean up JS step definitions (Julien Biezemans)
1646
- * Bump cucumber-features and reflect step changes (Julien Biezemans)
1647
- * Set up [continuous integration on Travis CI](http://travis-ci.org/#!/cucumber/cucumber-js) (Julien Biezemans)
1648
- * Add Travis's build status icon to README (Julien Biezemans)
1649
-
1650
-
1651
-
1652
- ## [v0.2.1]
1653
-
1654
- ### New features
1655
-
1656
- * Allow custom World constructors (Julien Biezemans)
1657
- * Add support for data tables (with conversion to hashes) ([#12](https://github.com/cucumber/cucumber-js/issues/12), Julien Biezemans)
1658
-
1659
- ### Changed features
1660
-
1661
- * Demonstrate World object usages in web example (Julien Biezemans)
1662
-
1663
-
1664
-
1665
- ## [v0.2.0]
1666
-
1667
- ### New features
1668
-
1669
- * Setup application to run on [Travis CI](http://travis-ci.org/#!/jbpros/cucumber-js) (Julien Biezemans)
1670
- * Add CoffeeScript support for step definition files (Paul Jensen)
1671
- * Add "World" ([#26](https://github.com/cucumber/cucumber-js/issues/26), Julien Biezemans)
1672
-
1673
- ### Changed features
1674
-
1675
- * Add link to the Github repository on web example (Julien Biezemans)
1676
- * Allow specifying the port the web example server should listen on (Julien Biezemans)
1677
- * Update web example to use cucumber-html formatter (Julien Biezemans)
1678
-
1679
- ### Fixes
1680
-
1681
- * Fix load paths in spec helper (Julien Biezemans)
1682
- * Prevent 'crypto' module from being included by browserify in web example (Julien Biezemans)
1683
- * Fix HTML indentation (Julien Biezemans)
1684
- * Prevent CLI support code loader from calling module main exports which are not functions (Julien Biezemans)
1685
- * Remove use of username for submodule (Kushal Pisavadia)
1686
-
1687
- ### Documentation, internals and tests
1688
-
1689
- * Bump jasmine-node
1690
- * Update README (Julien Biezemans)
1691
- * Bump Gherkin twice (Julien Biezemans)
1692
- * Bump cucumber-features twice (Julien Biezemans)
1693
- * Add missing getters on several AST feature elements (mostly getLine()) (Julien Biezemans)
1694
- * Ignore example/ on NPM (Julien Biezemans)
1695
- * Add Procfile (used by Heroku when deploying to cucumber.heroku.com) (Julien Biezemans)
1696
- * Bump Aruba (Julien Biezemans)
1697
- * Add guard-jasmine-node (Julien Biezemans)
1698
- * Improve Guardfile regular expressions (Julien Biezemans)
1699
- * Bump cucumber-html and remove DOM templates from web example HTML file (Julien Biezemans)
1700
- * Fix PathExpander internal name (Julien Biezemans)
1701
- * Remove unneeded requires from FeaturePathExpander (Julien Biezemans)
1702
- * Bump browserify (Julien Biezemans)
1703
- * Remove "glob" from dependencies (Julien Biezemans)
1704
- * Refactor SupportCodePathExpander spec (Julien Biezemans)
1705
- * Add feature for CoffeeScript support ([#29](https://github.com/cucumber/cucumber-js/issues/29), Julien Biezemans)
1706
-
1707
-
1708
-
1709
- ## [v0.1.x](https://github.com/cucumber/cucumber-js/compare/v0.1.0...v0.2.0^)
1710
-
1711
- ## [v0.1.5]
1712
-
1713
- ### New features
1714
-
1715
- * Add support for background ([#9](https://github.com/cucumber/cucumber-js/issues/9), Julien Biezemans)
1716
-
1717
- ### Documentation, internals and tests
1718
-
1719
- * Bump cucumber-features (twice) (Julien Biezemans)
1720
- * Bump gherkin and reflect changes in its API (add DocString content type) (Julien Biezemans)
1721
-
1722
-
1723
-
1724
- ## [v0.1.4]
1725
-
1726
- ### Changed features
1727
-
1728
- * Stop polluting the global namespace with Given(), When() and Then() ([#2](https://github.com/cucumber/cucumber-js/issues/2), Julien Biezemans)
1729
- * Step definitions can be created with the support code helper passed as 'this':
1730
- this.Given(), this.When(), this.Then() and this.defineStep() ([#2](https://github.com/cucumber/cucumber-js/issues/2), Julien Biezemans)
1731
-
1732
- ### Documentation, internals and tests
1733
-
1734
- * Fix typo "occured" -> "occurred" (Fernando Acorreia)
1735
- * Improve variable names in CLI support code loader (Julien Biezemans)
1736
-
1737
-
1738
-
1739
- ## [v0.1.3]
1740
-
1741
- ### New features
1742
-
1743
- * Allow several features to run at once ([#14](https://github.com/cucumber/cucumber-js/issues/14), Julien Biezemans)
1744
- * Add support for --require (Julien Biezemans)
1745
-
1746
- ### Documentation, internals and tests
1747
-
1748
- * Improve features and support code API (Julien Biezemans)
1749
- * Add "Cli" and "Volatile" configurations (Julien Biezemans)
1750
- * Internal refactoring and cleanup (Julien Biezemans)
1751
- * Cucumber.js can now fully test itself (Julien Biezemans)
1752
- * Remove run_all_features script in favor of bin/cucumber.js (Julien Biezemans)
1753
-
1754
-
1755
-
1756
- ## [v0.1.2]
1757
-
1758
- ### New features
1759
-
1760
- * Add failure reporting to the progress formatter ([#20](https://github.com/cucumber/cucumber-js/issues/20), Julien Biezemans)
1761
-
1762
-
1763
-
1764
- ## [v0.1.1]
1765
-
1766
- ### New features
1767
-
1768
- * Publish Cucumber.js to NPM as [`cucumber`](https://www.npmjs.com/search?q=cucumber) (Julien Biezemans)
1769
-
1770
- ### Changed features
1771
-
1772
- * Throw a clearer exception on missing feature argument (CLI) (Julien Biezemans)
1773
-
1774
- ### Documentation, internals and tests
1775
-
1776
- * Unify and clean up js-specific features and step definitions ([#21](https://github.com/cucumber/cucumber-js/issues/21), Julien Biezemans)
1777
-
1778
-
1779
-
1780
- ## [v0.1.0]
1781
-
1782
- ### New features
1783
-
1784
- * Add cucumber.js executable (Julien Biezemans)
1785
- * Handle step failures ([#6](https://github.com/cucumber/cucumber-js/issues/6), Julien Biezemans)
1786
- * Add the progress formatter ([#16](https://github.com/cucumber/cucumber-js/issues/16), Julien Biezemans)
1787
- * Add support for pending steps ([#18](https://github.com/cucumber/cucumber-js/issues/18), Julien Biezemans)
1788
- * Add support for undefined steps ([#19](https://github.com/cucumber/cucumber-js/issues/19), Julien Biezemans)
1789
-
1790
- ### Changed features
1791
-
1792
- * Update web example to use the new progress formatter (Julien Biezemans)
1793
-
1794
- ### Fixes
1795
-
1796
- * Fix asynchronous step definition callbacks ([#1](https://github.com/cucumber/cucumber-js/issues/1), Julien Biezemans)
1797
- * Fix stepResult.isSuccessful call in ProgressFormatter (Julien Biezemans)
1798
- * Load Gherkin properly in browsers (Julien Biezemans)
1799
- * Remove calls to console.log in web example (Julien Biezemans)
1800
-
1801
- ### Documentation, internals and tests
1802
-
1803
- * Pass against core.feature in its new form, both with the Cucumber-ruby/Aruba pair and cucumber-js itself (Julien Biezemans)
1804
- * Refactor cucumber-features JS mappings (Julien Biezemans)
1805
- * Refactor js-specific features (Julien Biezemans)
1806
- * Rename PyString to DocString ([#15](https://github.com/cucumber/cucumber-js/issues/15), Julien Biezemans)
1807
- * Update Gherkin to 2.4.0 (Julien Biezemans)
1808
- * Modularize the project and use browserify.js to serve a single JS file to browsers. ([#3](https://github.com/cucumber/cucumber-js/issues/3), Julien Biezemans)
1809
- * Rename Cucumber.Types to Cucumber.Type (Julien Biezemans)
1810
- * Use progress formatter in cucumber-features ([#17](https://github.com/cucumber/cucumber-js/issues/17), Julien Biezemans)
1811
-
1812
-
1813
-
1814
- ## [v0.0.x](https://github.com/cucumber/cucumber-js/compare/v0.0.1...v0.1.0^)
1815
-
1816
- ## [v0.0.1](https://github.com/cucumber/cucumber-js/tree/v0.0.1)
1817
-
1818
- * Emerge Cucumber.js with bare support for features, scenarios and steps. It does not handle several Gherkin elements nor failures yet. (Julien Biezemans)
1819
-
1820
-
1821
- <!-- Releases -->
1822
- [Unreleased]: https://github.com/cucumber/cucumber-js/compare/v7.2.0...master
1823
- [7.2.0]: https://github.com/cucumber/cucumber-js/compare/7.2.0-rc.0...7.0.0
1824
- [7.1.0]: https://github.com/cucumber/cucumber-js/compare/7.1.0-rc.0...7.0.0
1825
- [7.0.0]: https://github.com/cucumber/cucumber-js/compare/7.0.0-rc.0...v7.0.0
1826
- [7.0.0-rc.0]: https://github.com/cucumber/cucumber-js/compare/v6.0.5...v7.0.0-rc.0
1827
- [6.0.5]: https://github.com/cucumber/cucumber-js/compare/v6.0.4...v6.0.5
1828
- [6.0.4]: https://github.com/cucumber/cucumber-js/compare/v6.0.3...v6.0.4
1829
- [6.0.3]: https://github.com/cucumber/cucumber-js/compare/v6.0.2...v6.0.3
1830
- [6.0.2]: https://github.com/cucumber/cucumber-js/compare/v6.0.1...v6.0.2
1831
- [6.0.1]: https://github.com/cucumber/cucumber-js/compare/v6.0.0...v6.0.1
1832
- [6.0.0]: https://github.com/cucumber/cucumber-js/compare/v5.1.0...v6.0.0
1833
- [5.1.0]: https://github.com/cucumber/cucumber-js/compare/v5.0.3...v5.1.0
1834
- [5.0.3]: https://github.com/cucumber/cucumber-js/compare/v5.0.2...v5.0.3
1835
- [5.0.2]: https://github.com/cucumber/cucumber-js/compare/v5.0.1...v5.0.2
1836
- [5.0.1]: https://github.com/cucumber/cucumber-js/compare/v4.2.1...v5.0.1
1837
- [4.2.1]: https://github.com/cucumber/cucumber-js/compare/v4.2.0...v4.2.1
1838
- [4.2.0]: https://github.com/cucumber/cucumber-js/compare/v4.1.0...v4.2.0
1839
- [4.1.0]: https://github.com/cucumber/cucumber-js/compare/v4.0.0...v4.1.0
1840
- [4.0.0]: https://github.com/cucumber/cucumber-js/compare/v3.2.1...v4.0.0
1841
- [3.2.1]: https://github.com/cucumber/cucumber-js/compare/v3.2.0...v3.2.1
1842
- [3.2.0]: https://github.com/cucumber/cucumber-js/compare/v3.1.0...v3.2.0
1843
- [3.1.0]: https://github.com/cucumber/cucumber-js/compare/v3.0.6...v3.1.0
1844
- [3.0.6]: https://github.com/cucumber/cucumber-js/compare/v3.0.5...v3.0.6
1845
- [3.0.5]: https://github.com/cucumber/cucumber-js/compare/v3.0.4...v3.0.5
1846
- [3.0.4]: https://github.com/cucumber/cucumber-js/compare/v3.0.3...v3.0.4
1847
- [3.0.3]: https://github.com/cucumber/cucumber-js/compare/v3.0.2...v3.0.3
1848
- [3.0.2]: https://github.com/cucumber/cucumber-js/compare/v3.0.1...v3.0.2
1849
- [3.0.1]: https://github.com/cucumber/cucumber-js/compare/v3.0.0...v3.0.1
1850
- [3.0.0]: https://github.com/cucumber/cucumber-js/compare/v2.3.1...v3.0.0
1851
- [2.3.1]: https://github.com/cucumber/cucumber-js/compare/v2.3.0...v2.3.1
1852
- [2.3.0]: https://github.com/cucumber/cucumber-js/compare/v2.2.0...v2.3.0
1853
- [2.2.0]: https://github.com/cucumber/cucumber-js/compare/v2.1.0...v2.2.0
1854
- [2.1.0]: https://github.com/cucumber/cucumber-js/compare/v2.0.0-rc.9...v2.1.0
1855
- [1.3.3]: https://github.com/cucumber/cucumber-js/compare/v1.3.2...v1.3.3
1856
- [1.3.2]: https://github.com/cucumber/cucumber-js/compare/v1.3.1...v1.3.2
1857
- [1.3.1]: https://github.com/cucumber/cucumber-js/compare/v1.3.0...v1.3.1
1858
- [1.3.0]: https://github.com/cucumber/cucumber-js/compare/v1.2.2...v1.3.0
1859
- [1.2.2]: https://github.com/cucumber/cucumber-js/compare/v1.2.1...v1.2.2
1860
- [1.2.1]: https://github.com/cucumber/cucumber-js/compare/v1.2.0...v1.2.1
1861
- [1.2.0]: https://github.com/cucumber/cucumber-js/compare/v1.1.0...v1.2.0
1862
- [1.1.0]: https://github.com/cucumber/cucumber-js/compare/v1.0.0...v1.1.0
1863
- [1.0.0]: https://github.com/cucumber/cucumber-js/compare/v0.10.4...v1.0.0
1864
- [0.10.4]: https://github.com/cucumber/cucumber-js/compare/v0.10.3...v0.10.4
1865
- [0.10.3]: https://github.com/cucumber/cucumber-js/compare/v0.10.2...v0.10.3
1866
- [0.10.2]: https://github.com/cucumber/cucumber-js/compare/v0.10.1...v0.10.2
1867
- [0.10.1]: https://github.com/cucumber/cucumber-js/compare/v0.10.0...v0.10.1
1868
- [0.10.0]: https://github.com/cucumber/cucumber-js/compare/v0.9.5...v0.10.0
1869
- [0.9.5]: https://github.com/cucumber/cucumber-js/compare/v0.9.4...v0.9.5
1870
- [0.9.4]: https://github.com/cucumber/cucumber-js/compare/v0.9.3...v0.9.4
1871
- [0.9.3]: https://github.com/cucumber/cucumber-js/compare/v0.9.2...v0.9.3
1872
- [0.9.2]: https://github.com/cucumber/cucumber-js/compare/v0.9.1...v0.9.2
1873
- [0.9.1]: https://github.com/cucumber/cucumber-js/compare/v0.9.0...v0.9.1
1874
- [0.9.0]: https://github.com/cucumber/cucumber-js/compare/v0.8.1...v0.9.0