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.
4.1.0 - 2021-07-03
- [Java] Add
DataTablePrinter
to the public API, allow configurable printing, and deprecate legacy DataTable.print() methods. (cucumber-jvm/2320 1624 [artysidorenko], mpkorstanje)
4.0.0 - 2021-04-11
- [Java] Use transformer for all
DataTable.asX
methods. (cucumber-jvm/2262 1419 mpkorstanje)- To retain the old behaviour:
- Replace
DataTable.asList()
with ->DataTable.values()
- Replace
DataTable.asLists()
with ->DataTable.cells()
- Replace
DataTable.asMaps()
with ->DataTable.entries()
- Replace
- To retain the old behaviour:
3.5.0 - 2020-09-26
- [Java] Support for Optional (1091 1182 mpkorstanje, rasklaad)
3.4.0 - 2020-08-08
- [Java] Enable consumers to find our version at runtime using
clazz.getPackage().getImplementationVersion()
by upgrading tocucumber-parent:2.1.0
(#976 aslakhellesoy)
3.3.1 - 2020-03-28
- [Java] Improve error messages
(#944
mpkorstanje)
table.asList(String.class)
throw an exception rather then return an empty list
3.3.0 - 2020-02-06
- [Java] Allow Object and String datatable types to be redefined (#885 mpkorstanje)
3.2.1 - 2020-01-25
- [Java] Avoid collisions when converting to maps (#877 mpkorstanje)
3.2.0 - 2020-01-10
- [Java] Add getter for TableConverter (#853 mpkorstanje)
3.1.0 - 2019-12-15
- [Java] Replace wildcard type with its upper bound (#829 mpkorstanje)
3.0.0 - 2019-08-17
- [Java] Remove shaded dependency on Jackson Databind (#682 #679 mpkorstanje)
2.0.0 2019-08-11
- [Java] Annotate function interfaces with @FunctionalInterface (cucumber/cucumber-jvm#1716 mpkorstanje)
- [Java] Mark public api with @API Guardian annotations (cucumber/cucumber-jvm#1536 mpkorstanje)
- [Java] Upgrades to
cucumber-parent:2.0.2
- Allow
null
values inDataTable
. (cucumber/cucumber-jvm#1617 mpkorstanje) - Improve handling of tables without header (#540 mpkorstanje)
- Remove DataTableType convenience methods (cucumber/cucumber-jvm#1643 mpkorstanje)
1.1.14 - 2019-06-14
- Empty cell are not converted to
null
's forDouble
class (#1617 gkalnytskyi)
- Fix parsing BigDecimal with locale (#539 lsuski, mpkorstanje)
1.1.7 - 2018-10-26
- Fix priority of default converters (#514 mpkorstanje)
- Add ability to register default transformers for table cell and entry (#429 lsuski)
- Add
DataTableType#entry(Class)
to easily map tables toList<SomeClass>
(#408 aslakhellesoy) - Add
DataTableType#cell(Class)
to easily map cells toSomeOtherClass
(#408 aslakhellesoy)
- java: OSGi support has been removed. (#412 aslakhellesoy)
- java: Use jackson-databind 2.9.6. (#405 aslakhellesoy kuehl)
1.1.2 - 2018-05-29
There are no (1.1.0 and 1.1.1 releases).
- java: Added
DataTable#diff(DataTable actual)
andDataTable#unorderedDiff(DataTable actual)
so that diffing can be done without Hamcrest matchers. Also exposedTableDiffer
class. - java: Moved
DataTableHasTheSameRowsAs
to packageio.cucumber.datatable.matchers
. The old class is deprecated.
1.0.3 - 2018-05-04
- java: OSGI fixes
1.0.2 - 2018-05-04
- java: OSGI fixes
1.0.1 - 2018-05-04
- java: OSGI fixes