Skip to content

Latest commit

 

History

History
464 lines (376 loc) · 16.8 KB

CHANGELOG.md

File metadata and controls

464 lines (376 loc) · 16.8 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

22.3.0 - 2024-08-02

Added

  • Support text/uri-list attachments (#355)

22.2.0 - 2024-06-21

Added

  • Support for externalised attachments (#353)

22.1.0 - 2024-03-15

Added

  • Support TestStepResult.exception in results (#345)

22.0.0 - 2023-12-09

Changed

  • BREAKING CHANGE: Switch to ESM (#338)
  • Switch search implementation to Orama (#337)
  • Apply search query on change (#337)

21.1.1 - 2023-07-13

Fixed

  • Switch out mime-types for mime (#334)

21.1.0 - 2023-07-13

Added

  • Add ability to download unsupported attachments (#333)

21.0.1 - 2022-11-26

Fixed

  • Fix missing stylesheets in npm package

21.0.0 - 2022-11-25

Changed

  • BREAKING CHANGE: React 18+ is now required (#279)

Fixed

  • Omit filtered-out pickles from rendered documents (#321)

20.2.0 - 2022-09-13

Changed

  • Single line breaks in descriptions are rendered less surprisingly (#227)

Fixed

  • Omit filtered-out pickles from counts, filters (#273)

20.1.0 - 2022-05-27

Changed

  • Allow showing detail of every example, simplify examples table (#159)

20.0.2 - 2022-04-14

Fixed

  • Downgrade @fortawesome packages which seemed to cause issues with html-formatter

20.0.1 - 2022-04-14

Fixed

  • Downgrade @fortawesome packages which seemed to cause issues with html-formatter

20.0.0 - 2022-04-12

Added

  • Render hook names if present (#137)

Changed

  • Scenario outline styling - Examples changed to H3 and aligned with steps
  • Package name is now @cucumber/react-components for clarity

19.2.0 - 2022-03-25

Added

  • Attachment names are now displayed as the title of attachment sections in the report
  • Where an attachment name is not provided then the media type is included in the default name of the attachment

Changed

  • Text attachments in the html report are now displayed as collapsible sections

19.1.1 - 2022-03-22

Fixed

  • Fix build issue where styles were not included in package.

19.1.0 - 2022-03-22

Changed

  • Most content is now rendered with a sans serif font.

19.0.0 - 2022-01-24

Added

  • Add <EnvelopesWrapper/> component to succinctly populate query contexts from an array of messages.
  • Add 'auto' theme, honouring platform light/dark preference.
  • Add useQueries and useSearch hooks to avoid accessing many contexts directly.

Changed

  • New <CucumberReact/> component is used as root component in consuming projects, replacing. <CustomRendering/>.
  • New visual designs for report-related components.
  • Move search-related props from <QueriesWrapper/> to new <SearchWrapper/> component.

Fixed

  • Import correct stylesheet in the Children component. This also allows to override it using CustomRendering.
  • Display step list items correctly (i.e. without bullets) in Backgrounds and in MDX documents.

Removed

  • Remove global stylesheet, all styles are now encapsulated in appropriate components.

18.1.2 - 2021-09-08

Fixed

  • The 8.1.1 release was accidentally released without compiling the TypeScript code

18.1.1 - 2021-09-08

Fixed

  • The 8.1.0 release was accidentally released without compiling the TypeScript code

18.1.0 - 2021-09-08

Added

  • Make <GherkinDocument> customiseable.

18.0.0 - 2021-09-02

Changed

  • The React components are exported via the components property. (#1660 aslakhellesoy)
  • Upgrade to @cucumber/gherkin-utils ^7.0.0
  • Upgrade to @cucumber/messages ^17.1.0
  • Upgrade to @cucumber/query ^11.0.0
  • Upgrade to @cucumber/tag-expressions 4.0.0

17.0.0 - 2021-07-08

Changed

  • Upgrade dependencies including @cucumber/messages to 17.0.0, @cucumber/query to 11.0.0 and @cucumber/gherkin-utils to 6.O.0

Fixed

  • Render attachments in Examples Tables. (#1173 #1619 aslakhellesoy)
  • Handle missing hook message when rendering hook failure
  • Stop the anchor link for the step from overlapping the status icon

16.2.0 - 2021-06-02

Added

  • Export the <GherkinDocument> React component.

16.1.0 - 2021-05-27

Added

  • Add preExpand property to <GherkinDocumentList>, controlling whether or not non-PASSED feature files are expanded or not.

Fixed

16.0.2 - 2021-05-27

Fixed

  • Don't use GherkinDocument#uri as the uuid property in <AccordionItem> since it cannot be assumed to be a valid uuid. Rely on the autogenerated UUID instead.
  • Remove a console.log debug statement in the code.

16.0.1 - 2021-05-27

Fixed

  • Fixed a bug in Step.tsx that threw an error when a Group#value had value undefined

16.0.0 - 2021-05-26

Added

  • New <MDG> component for rendering Markdown with Gherkin documents.
  • Experimental support for theming and custom rendering (1391)

Changed

  • Various look and feel changes (1391)

14.0.0 - 2021-05-17

Added

  • [JavaScript] Export StatusIcon component. (#1478 [@vincent-psarga])

Changed

  • Upgrade to messages 16.0.0

13.0.0 - 2021-04-06

Changed

  • Upgrade dependencies including @cucumber/gherkin ^18.0.0, @cucumber/messages ^15.0.0 and @cucumber/query ^9.0.2

12.0.0 - 2021-02-07

Changed

  • Upgrade to gherkin 17.0.0
  • Upgrade to messages 14.0.0
  • Upgrade to query 8.0.0

Fixed

11.0.2 - 2020-12-17

Fixed

  • Upgraded @cucumber/query (only change is the dropped dependency on @cucumber/gherkin)

11.0.1 - 2020-12-17

Fixed

  • Fixed react and react-dom peerDependencies version range from ^16 | ^17 (incorrect) to ~16 || ~17

11.0.0 - 2020-12-17

Fixed

10.1.2 - 2020-12-13

Fixed

  • Allow react and react-dom peer dependencies to be ^16 | ^17.

10.1.1 - 2020-11-06

Fixed

  • Replaced git-url-parse with our own simpler implementation that doesn't need a browser polyfill.

10.1.0 - 2020-11-04

Added

  • Upgrade to React 17
  • Upgrade to @cucumber/gherkin-utils 2.1.0
  • Upgrade to @cucumber/messages 13.1.0
  • Upgrade to @cucumber/tag-expressions 3.0.0
  • Upgrade to Storybook 6.0.0

Fixed

  • Fixed typos in some CSS class names

10.0.1 - 2020-09-02

Fixed

  • Fix rendering of failed hooks from Cucumber-JVM (#1166 #1167 [@aslakhellesoy] [@sebrose] [@cbliard])
  • Fix react warnings about rendering <li> inside <li>
  • Updated some class names

10.0.0 - 2020-08-08

Added

  • Export all the *Context classes

Changed

  • Update messages to 13.0.1

Fixed

  • Added missing CSS class on BackgroundTitle anchor link.

9.0.0 - 2020-08-07

Added

  • semantic CSS classes on elements.
  • expose filterByStatus method

Changed

  • fix filterByStatus signature

8.2.0 - 2020-07-31

Changed

  • Updated messages to v12.4.0

8.1.0 - 2020-07-30

Added

  • Display visible anchors for headers (#983)
  • Make Duration human readable.

Fixed

  • better styling
  • enhanced responsivness
  • filtering is now alongside search
  • do not display filter when all scenarios have the same status (except if status is "unknown")
  • Various fixes (#1111)

8.0.2 - 2020-06-29

Added

  • Expose <FilteredResults> in exports so we don't need to reach into dist

8.0.1 - 2020-06-29

Fixed

  • Make ansi-to-html a runtime dependency

8.0.0 - 2020-06-29

Added

  • Display execution summary (#1067)
  • Display failed Hooks and attachments added in Hooks (#975)
  • Use ANSI color to render logs (#1057)
  • Add search (#895)

Changed

  • Do not rely on line number to obtain Step or Row status.
  • Upgrade internal dependencies

7.0.0 - 2020-04-14

Added

  • image/*
  • Only base64 content encoding supported
  • video/*
  • Only base64 content encoding supported
  • text/*
  • Both base64 and identity content encoding supported
  • application/json
  • Both base64 and identity content encoding supported
  • JSON is prettified with 2 space indent (#964 #945 aslakhellesoy)
  • The <Attachment> component can now display the following media types:

Changed

  • Upgrade to messages 12.0.0
  • Upgrade to gherkin 13.0.0

6.0.0 - 2020-04-01

Changed

  • Upgrade to messages 11.x
  • Image attachment data processing is possibly faster since no btoa conversion is needed anymore

Removed

  • Removed btoa prop from <QueriesWrapper>
  • Removed <Wrapper>

5.1.0 - 2020-03-04

Added

  • Add <QueriesWrapper> which allows incrementally updating queries without having to rebuild them every time the envelope list is updated. Use this instead of <Wrapper>

Deprecated

  • The <Wrapper> component is deprecated in favour of <QueriesWrapper>.

Fixed

  • Fix a bug in rendering of steps before test cases have been received

5.0.0 - 2020-03-02

Added

  • Render Markdown in descriptions (#909 [#codemrkay])

Changed

  • Upgrade messages and query

4.1.1 - 2020-02-28

Fixed

  • Fix broken 4.1.0 release

4.1.0 - 2020-02-28

Added

  • Add compiled stylesheets to package

4.0.0 - 2020-02-14

Added

  • Display attachments (image/* and text/* media types)

Changed

  • Upgraded messages and query

3.3.0 - 2020-01-22

Fixed

3.2.0 - 2020-01-10

Changed

  • [JavaScript] changed module name to @cucumber/react
  • Replace styled-components with external CSS (#839 aslakhellesoy)

3.1.0 - 2019-12-10

Changed

  • Render errors in <pre>
  • Upgrade to cucumber-messages 8.0.0

3.0.0 - 2019-11-15

Changed

  • Only display accordion
  • Upgrade to cucumber-messages 7.0.0
  • Extract lookup logic to cucumber-query 1.0.0

Removed

  • Removed the side nav

2.0.1 - 2019-10-18

Changed

  • Upgrade to cucumber-messages 6.0.2

2.0.0 - 2019-10-10

1.1.0 - 2019-08-29

Fixed

  • Better layout and styling
  • Better results aggregation
  • Better support for empty/malformed Gherkin documents

1.0.0 - 2019-08-23

Added

  • First release