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
- Support text/uri-list attachments (#355)
22.2.0 - 2024-06-21
- Support for externalised attachments (#353)
22.1.0 - 2024-03-15
- Support
TestStepResult.exception
in results (#345)
22.0.0 - 2023-12-09
- BREAKING CHANGE: Switch to ESM (#338)
- Switch search implementation to Orama (#337)
- Apply search query on change (#337)
21.1.1 - 2023-07-13
- Switch out
mime-types
formime
(#334)
21.1.0 - 2023-07-13
- Add ability to download unsupported attachments (#333)
21.0.1 - 2022-11-26
- Fix missing stylesheets in npm package
21.0.0 - 2022-11-25
- BREAKING CHANGE: React 18+ is now required (#279)
- Omit filtered-out pickles from rendered documents (#321)
20.2.0 - 2022-09-13
- Single line breaks in descriptions are rendered less surprisingly (#227)
- Omit filtered-out pickles from counts, filters (#273)
20.1.0 - 2022-05-27
- Allow showing detail of every example, simplify examples table (#159)
20.0.2 - 2022-04-14
- Downgrade
@fortawesome
packages which seemed to cause issues with html-formatter
20.0.1 - 2022-04-14
- Downgrade
@fortawesome
packages which seemed to cause issues with html-formatter
20.0.0 - 2022-04-12
- Render hook names if present (#137)
- 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
- 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
- Text attachments in the html report are now displayed as collapsible sections
19.1.1 - 2022-03-22
- Fix build issue where styles were not included in package.
19.1.0 - 2022-03-22
- Most content is now rendered with a sans serif font.
19.0.0 - 2022-01-24
- Add
<EnvelopesWrapper/>
component to succinctly populate query contexts from an array of messages. - Add 'auto' theme, honouring platform light/dark preference.
- Add
useQueries
anduseSearch
hooks to avoid accessing many contexts directly.
- 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.
- 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.
- Remove global stylesheet, all styles are now encapsulated in appropriate components.
18.1.2 - 2021-09-08
- The 8.1.1 release was accidentally released without compiling the TypeScript code
18.1.1 - 2021-09-08
- The 8.1.0 release was accidentally released without compiling the TypeScript code
18.1.0 - 2021-09-08
- Make
<GherkinDocument>
customiseable.
- 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
- Upgrade dependencies including
@cucumber/messages
to 17.0.0,@cucumber/query
to 11.0.0 and@cucumber/gherkin-utils
to 6.O.0
- 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
- Export the
<GherkinDocument>
React component.
16.1.0 - 2021-05-27
- Add
preExpand
property to<GherkinDocumentList>
, controlling whether or not non-PASSED feature files are expanded or not.
16.0.2 - 2021-05-27
- Don't use
GherkinDocument#uri
as theuuid
property in<AccordionItem>
since it cannot be assumed to be a validuuid
. Rely on the autogenerated UUID instead. - Remove a
console.log
debug statement in the code.
16.0.1 - 2021-05-27
- Fixed a bug in
Step.tsx
that threw an error when aGroup#value
had valueundefined
16.0.0 - 2021-05-26
- New
<MDG>
component for rendering Markdown with Gherkin documents. - Experimental support for theming and custom rendering (1391)
- Various look and feel changes (1391)
14.0.0 - 2021-05-17
- [JavaScript] Export
StatusIcon
component. (#1478 [@vincent-psarga])
- Upgrade to messages 16.0.0
- 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
- Upgrade to gherkin 17.0.0
- Upgrade to messages 14.0.0
- Upgrade to query 8.0.0
- [JavaScript] removed circular dependencies. (#1292 davidjgoss)
- Fixed search button (#1298 #1299 hWorblehat)
- Fixed inability to scroll horizontally in long text attachments
11.0.2 - 2020-12-17
- Upgraded
@cucumber/query
(only change is the dropped dependency on@cucumber/gherkin
)
11.0.1 - 2020-12-17
- Fixed
react
andreact-dom
peerDependencies version range from^16 | ^17
(incorrect) to~16 || ~17
11.0.0 - 2020-12-17
- Make image and video attachments collapsible; show collapsed by default.
- Prevent images from growing wider than their container. (#1220 #1205 #1260 davidjgoss)
- Markdown rendering of
description
fields are now done withreact-markdown
instead ofmarked
. This is a more secure protection agains XSS (#1275 #1276 aslakhellesoy)
10.1.2 - 2020-12-13
- Allow
react
andreact-dom
peer dependencies to be^16 | ^17
.
10.1.1 - 2020-11-06
- Replaced
git-url-parse
with our own simpler implementation that doesn't need a browser polyfill.
10.1.0 - 2020-11-04
- 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 typos in some CSS class names
10.0.1 - 2020-09-02
- 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
- Export all the
*Context
classes
- Update
messages
to 13.0.1
- Added missing CSS class on BackgroundTitle anchor link.
9.0.0 - 2020-08-07
- semantic CSS classes on elements.
- expose
filterByStatus
method
- fix
filterByStatus
signature
- Updated
messages
to v12.4.0
8.1.0 - 2020-07-30
- Display visible anchors for headers (#983)
- Make Duration human readable.
- 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)
- Expose
<FilteredResults>
in exports so we don't need to reach intodist
8.0.1 - 2020-06-29
- Make
ansi-to-html
a runtime dependency
8.0.0 - 2020-06-29
- Display execution summary (#1067)
- Display failed Hooks and attachments added in Hooks (#975)
- Use ANSI color to render logs (#1057)
- Add search (#895)
- Do not rely on line number to obtain Step or Row status.
- Upgrade internal dependencies
7.0.0 - 2020-04-14
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:
- Upgrade to messages 12.0.0
- Upgrade to gherkin 13.0.0
6.0.0 - 2020-04-01
- Upgrade to messages 11.x
- Image attachment data processing is possibly faster since no
btoa
conversion is needed anymore
- Removed
btoa
prop from<QueriesWrapper>
- Removed
<Wrapper>
5.1.0 - 2020-03-04
- Add
<QueriesWrapper>
which allows incrementally updating queries without having to rebuild them every time the envelope list is updated. Use this instead of<Wrapper>
- The
<Wrapper>
component is deprecated in favour of<QueriesWrapper>
.
- Fix a bug in rendering of steps before test cases have been received
5.0.0 - 2020-03-02
- Render Markdown in descriptions (#909 [#codemrkay])
- Upgrade messages and query
4.1.1 - 2020-02-28
- Fix broken 4.1.0 release
- Add compiled stylesheets to package
4.0.0 - 2020-02-14
- Display attachments (
image/*
andtext/*
media types)
- Upgraded messages and query
3.3.0 - 2020-01-22
- Accordion now displays the aggregated status colour
- Render Examples rows properly (#778 aslakhellesoy)
- Do not highlight placeholders (#826 aslakhellesoy)
- [JavaScript] changed module name to
@cucumber/react
- Replace styled-components with external CSS (#839 aslakhellesoy)
- Render errors in
<pre>
- Upgrade to cucumber-messages 8.0.0
- Only display accordion
- Upgrade to cucumber-messages 7.0.0
- Extract lookup logic to cucumber-query 1.0.0
- Removed the side nav
- Upgrade to cucumber-messages 6.0.2
- Better layout and styling
- Better results aggregation
- Better support for empty/malformed Gherkin documents
- First release