Release Notes

AssertJ DB 3.0.2

Release date: 2026-02-21

Contributors

Thanks to @fl0rian-p and Jonathan Maniquet for their contributions.

Improvements

Fixed

Chore

AssertJ DB 3.0.1

Release date: 2025-12-21

Contributors

Thanks to @fl0rian-p for his contribution.

Fixed

Chore

  • Upgrade to AssertJ Parent POM 2.27.6

AssertJ DB 3.0.0

Release date: 2024-11-20

Improvements

  • Fluent construction of AssertJ-DB connection to database

  • Cacheable database schema metadata

  • Fluent database element builder ( Table, Request, Changes )

Breaking changes

  • Remove classes : Source, SourceWithLetterCase, DataSourceWithLetterCase

  • Remove public constructor of classes : Table, Request, Changes

Fixed

  • issue #117: setStartPoint opens a lot of connections to the db

Chore

  • Upgrade GitHub actions

  • Upgrade to AssertJ Core 3.21.0

AssertJ DB 2.0.2

Release date: 2020-10-17

Contributors

Thanks to @soezen for his contribution.

Fixed

Chore

  • Upgrade to AssertJ Core 3.17.2

  • Upgrade to AssertJ Parent POM 2.2.8

  • Upgrade to ByteBuddy 1.10.17

AssertJ DB 2.0.1

Release date: 2020-10-07

Contributors

Thanks to Yosuke Nishikawa ( @sciencesakura ) for his contribution.

Improvements

  • Implement isNotEqualTo, isBefore, isBeforeOrEqualTo, isAfter, isAfterOrEqualTo for JSR-310 types

Fixed

  • Fix isEqualTo for JSR-310 types

AssertJ DB 2.0.0

Release date: 2020-07-06

Contributors

Thanks to Yosuke Nishikawa ( @sciencesakura ), Pascal Schumacher and @sullis for their contributions.

Improvements

  • Baseline upgrade to Java 8

  • Upgrade to AssertJ Core 3.16.1

  • Support JSR-310 types ( LocalDate, LocalTime, LocalDateTime )

  • Move from CGLIB to Bytebuddy for soft assertions

Breaking changes

  • Baseline upgrade to Java 8

  • Upgrade to AssertJ Core 3.16.1

Chore

  • Replace Travis by GitHub actions

  • Activate SonarCloud analysis

AssertJ DB 1.3.0

Release date: 2019-12-26

Improvements

Fixed

  • issue #62: Fix close-to when tolerance exceed 60 seconds

AssertJ DB 1.2.0

Release date: 2017-05-08

Improvements

  • issue #36: Add order on table (with Order)

  • issue #41: Add BDDAssertions so you can use then() instead of assertThat() (Pascal Schumacher)

  • issue #43: Add isEqualTo(Character) and isNotEqualTo(Character) for values. Add hasValues(Character…​) and containsValues(Character…​) for columns. Add hasValues(Character) and hasValues(Character, Character) for columns of changes

  • issue #45: Add support for testing that a row contains no Null values: hasOnlyNotNullValues() assertion method (fiery-phoenix)

  • Add isEmpty() assertion method related to number of rows (fiery-phoenix)

Fixed

  • issue #39: Add start delimiter and end delimiter for table name and column name (used to generate the request) in Table

  • issue #49: NullPointerException while asserting no changes

  • issue #52: Fix about the outputs with column name and value with %

AssertJ DB 1.1.1

Release date: 2016-04-23

Fixed

  • issue #37: assertj-db 1.1.0 does not work with java 7

AssertJ DB 1.1.0

Release date: 2016-04-14

Improvements

  • Add from(Calendar) and now() methods to DateValue, TimeValue and DateTimeValue

  • issue #9: Provide a way to view the data of a Table, of a Request or of Changes with Outputs

  • issue #15: Add support for UUID type columns (Otoniel Isidoro)

  • Add a isOfClass(Class) assertion method for value and column

  • issue #18: Add isCloseTo(…​) methods for Number, DateValue, TimeValue and DateTimeValue

  • issue #19: Add support for BLOBs and CLOBs

  • issue #22: Add isEqualTo(Object) for values. Add hasValues(Object…​) for columns. Add hasValues(Object) and hasValues(Object, Object) for columns of changes

  • issue #25: Add containsValues(…​) methods for columns

  • issue #29: Add hasNumberOfXXXGreaterThan(…​), hasNumberOfXXXLessThan(…​), hasNumberOfXXXGreaterThanOrEqualTo(…​) and hasNumberOfXXXLessThanOrEqualTo(…​) methods for the rows, columns, changes and modified columns

  • issue #34: Enhance exception message when column does not exist

Fixed

  • issue #21: Add possibility to pass a reference containing a null value like parameter to isEqualTo() and isNotEqualTo()

  • issue #23: Fix support of Numbers (bug when the mapping is a Double instance)

  • issue #31: Fix detection of primary keys (caused by letter case) in some DBMS

  • issue #32: Fix SQL requests for DBMS with letter case different from upper case in the name of the DB elements

AssertJ DB 1.0.1

Release date: 2015-08-09

Fixed

  • issue #13: AbstractMethodError when creating a Table using a Datasource instead of a Source

AssertJ DB 1.0.0

Release date: 2015-07-12

First AssertJ DB release.