Skip to content

Releases: exasol/hamcrest-resultset-matcher

1.7.0 Add `matchesInAnyOrder()` with type check mode

26 Aug 14:41
dd8ec4f
Compare
Choose a tag to compare

This release makes matcher matchesInAnyOrder() with argument TypeMatchMode public. This allows matching rows in any order, ignoring Java types. Thanks to @JakubJablonski2-TomTom for contributing this in PR #57.

Features

Dependency Updates

Compile Dependency Updates

  • Updated org.hamcrest:hamcrest:2.2 to 3.0

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:7.0.1 to 7.1.1
  • Updated org.junit.jupiter:junit-jupiter-engine:5.10.2 to 5.11.0
  • Updated org.junit.jupiter:junit-jupiter-params:5.10.2 to 5.11.0
  • Updated org.slf4j:slf4j-jdk14:2.0.12 to 2.0.16
  • Updated org.testcontainers:jdbc:1.19.6 to 1.20.1
  • Updated org.testcontainers:junit-jupiter:1.19.6 to 1.20.1

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:2.0.0 to 2.0.3
  • Updated com.exasol:project-keeper-maven-plugin:4.1.0 to 4.3.3
  • Updated org.apache.maven.plugins:maven-compiler-plugin:3.12.1 to 3.13.0
  • Updated org.apache.maven.plugins:maven-deploy-plugin:3.1.1 to 3.1.2
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.4.1 to 3.5.0
  • Updated org.apache.maven.plugins:maven-gpg-plugin:3.1.0 to 3.2.4
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.6.3 to 3.7.0
  • Updated org.apache.maven.plugins:maven-toolchains-plugin:3.1.0 to 3.2.0
  • Updated org.jacoco:jacoco-maven-plugin:0.8.11 to 0.8.12
  • Updated org.sonarsource.scanner.maven:sonar-maven-plugin:3.10.0.2594 to 4.0.0.4121
  • Updated org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13 to 1.7.0

1.6.5: Fix CVE-2024-25710 and CVE-2024-26308 in test dependency `org.apache.commons:commons-compress`

01 Mar 09:52
d6dd7ec
Compare
Choose a tag to compare

Summary

This release fixes vulnerabilities CVE-2024-25710 and CVE-2024-26308 in test dependency org.apache.commons:commons-compress.

Security

Dependency Updates

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:7.0.0 to 7.0.1
  • Updated org.junit.jupiter:junit-jupiter-engine:5.10.1 to 5.10.2
  • Updated org.junit.jupiter:junit-jupiter-params:5.10.1 to 5.10.2
  • Added org.slf4j:slf4j-jdk14:2.0.12
  • Updated org.testcontainers:jdbc:1.19.3 to 1.19.6
  • Updated org.testcontainers:junit-jupiter:1.19.3 to 1.19.6

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:1.3.1 to 2.0.0
  • Updated com.exasol:project-keeper-maven-plugin:3.0.0 to 4.1.0
  • Updated org.apache.maven.plugins:maven-compiler-plugin:3.11.0 to 3.12.1
  • Updated org.apache.maven.plugins:maven-failsafe-plugin:3.2.3 to 3.2.5
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.2.3 to 3.2.5
  • Updated org.codehaus.mojo:flatten-maven-plugin:1.5.0 to 1.6.0

1.6.4: Upgrade dependencies on top of 1.6.3

21 Dec 08:59
e161b0a
Compare
Choose a tag to compare

Summary

This release updates dependencies compared to version 1.6.3.

Please note that vulnerability CVE-2022-46337 in test dependency org.apache.derby:derby is ignored because fixed versions are not available for Java 11.

Security

  • #51: Updated dependencies

Dependency Updates

Compile Dependency Updates

  • Removed com.exasol:error-reporting-java:1.0.1

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:6.6.3 to 7.0.0
  • Updated org.testcontainers:jdbc:1.19.2 to 1.19.3
  • Updated org.testcontainers:junit-jupiter:1.19.2 to 1.19.3

Plugin Dependency Updates

  • Updated com.exasol:project-keeper-maven-plugin:2.9.16 to 3.0.0
  • Updated org.apache.maven.plugins:maven-failsafe-plugin:3.2.2 to 3.2.3
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.6.2 to 3.6.3
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.2.2 to 3.2.3
  • Added org.apache.maven.plugins:maven-toolchains-plugin:3.1.0
  • Updated org.codehaus.mojo:versions-maven-plugin:2.16.1 to 2.16.2

1.6.3: Fix CVE-2023-4043 in test dependency `org.eclipse.parsson:parsson`

20 Nov 15:36
9ebaedb
Compare
Choose a tag to compare

Summary

This release fixes vulnerability CVE-2023-4043 in test dependency org.eclipse.parsson:parsson. The release also runs integration tests with Exasol 8.

Security

Dependency Updates

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:6.6.2 to 6.6.3
  • Updated org.junit.jupiter:junit-jupiter-engine:5.10.0 to 5.10.1
  • Updated org.junit.jupiter:junit-jupiter-params:5.10.0 to 5.10.1
  • Updated org.testcontainers:jdbc:1.19.1 to 1.19.2
  • Updated org.testcontainers:junit-jupiter:1.19.1 to 1.19.2

Plugin Dependency Updates

  • Updated com.exasol:project-keeper-maven-plugin:2.9.14 to 2.9.16
  • Updated org.apache.maven.plugins:maven-failsafe-plugin:3.1.2 to 3.2.2
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.6.0 to 3.6.2
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.1.2 to 3.2.2

1.6.2: Fix expectation with too many columns

27 Oct 12:54
07e75bc
Compare
Choose a tag to compare

Summary

We fixed an issue where expecting more columns than are actually in the result set would throw an ArrayIndexOutOfBoundsException.

Features

  • #44: Fixed ArrayIndexOutOfBoundsException when expecting more columns than are in the result set.

Dependency Updates

Test Dependency Updates

  • Updated org.testcontainers:jdbc:1.19.0 to 1.19.1
  • Updated org.testcontainers:junit-jupiter:1.19.0 to 1.19.1

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:1.3.0 to 1.3.1
  • Updated com.exasol:project-keeper-maven-plugin:2.9.12 to 2.9.14
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.4.0 to 3.4.1
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.5.0 to 3.6.0
  • Updated org.codehaus.mojo:versions-maven-plugin:2.16.0 to 2.16.1
  • Updated org.jacoco:jacoco-maven-plugin:0.8.10 to 0.8.11
  • Updated org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184 to 3.10.0.2594

1.6.1: Fix CVE-2023-42503

26 Sep 07:49
33eff40
Compare
Choose a tag to compare

Summary

This release fixes CVE-2023-42503 in org.apache.commons:commons-compress by upgrading dependencies.

Security

Dependency Updates

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:6.5.2 to 6.6.2
  • Updated org.junit.jupiter:junit-jupiter-engine:5.9.2 to 5.10.0
  • Updated org.junit.jupiter:junit-jupiter-params:5.9.2 to 5.10.0
  • Updated org.testcontainers:jdbc:1.18.0 to 1.19.0
  • Updated org.testcontainers:junit-jupiter:1.18.0 to 1.19.0

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:1.2.3 to 1.3.0
  • Updated com.exasol:project-keeper-maven-plugin:2.9.7 to 2.9.12
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.3.0 to 3.4.0
  • Updated org.apache.maven.plugins:maven-failsafe-plugin:3.0.0 to 3.1.2
  • Updated org.apache.maven.plugins:maven-gpg-plugin:3.0.1 to 3.1.0
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.0.0 to 3.1.2
  • Updated org.basepom.maven:duplicate-finder-maven-plugin:1.5.1 to 2.0.1
  • Updated org.codehaus.mojo:flatten-maven-plugin:1.4.1 to 1.5.0
  • Updated org.codehaus.mojo:versions-maven-plugin:2.15.0 to 2.16.0
  • Updated org.jacoco:jacoco-maven-plugin:0.8.9 to 0.8.10

1.6.0: Match in any order

17 Apr 13:38
2b868d9
Compare
Choose a tag to compare

Summary

In this release we added the ability to match rows in any order.

This is very useful in case you have unordered results that you need to validate. It also makes sure that you are not forced to introduce artificial ordering in your production code where not required just to enable testing.

There are downsides to unordered matching too, that you should be aware of:

  1. The algorithm uses quadratic time, also known as O(n²), so running it against large result sets comes with worse performance than the ordered counterpart. That being said, this library is intended for functional testing, and you will usually not have use cases where you formulate large expected result sets in your integration tests.
  2. The diagnostic messages are less precise, since matching in any order introduces a lot of fuzziness. For example when the row count differs between expectation and actual result, additionally specifying the first mismatch makes no sense. In an ordered match it does.

Features

  • 16: Match rows in any order

Dependency Updates

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:6.5.1 to 6.5.2
  • Updated org.testcontainers:jdbc:1.17.6 to 1.18.0
  • Updated org.testcontainers:junit-jupiter:1.17.6 to 1.18.0

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:1.2.2 to 1.2.3
  • Updated com.exasol:project-keeper-maven-plugin:2.9.6 to 2.9.7
  • Updated org.apache.maven.plugins:maven-compiler-plugin:3.10.1 to 3.11.0
  • Updated org.apache.maven.plugins:maven-deploy-plugin:3.1.0 to 3.1.1
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.2.1 to 3.3.0
  • Updated org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M8 to 3.0.0
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.4.1 to 3.5.0
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M8 to 3.0.0
  • Added org.basepom.maven:duplicate-finder-maven-plugin:1.5.1
  • Updated org.codehaus.mojo:flatten-maven-plugin:1.3.0 to 1.4.1
  • Updated org.codehaus.mojo:versions-maven-plugin:2.14.2 to 2.15.0
  • Updated org.jacoco:jacoco-maven-plugin:0.8.8 to 0.8.9

1.5.3: Remove decommissioned maven.exasol.com repository

27 Mar 09:51
2d8c9d9
Compare
Choose a tag to compare

Summary

This release removes the decommissioned maven.exasol.com repository to fix the build.

Features

  • #41: Removed decommissioned maven.exasol.com repository

Dependency Updates

Compile Dependency Updates

  • Updated com.exasol:error-reporting-java:0.4.1 to 1.0.1

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:6.2.0 to 6.5.1
  • Updated org.junit.jupiter:junit-jupiter-engine:5.9.0 to 5.9.2
  • Updated org.junit.jupiter:junit-jupiter-params:5.9.0 to 5.9.2
  • Updated org.testcontainers:jdbc:1.17.3 to 1.17.6
  • Updated org.testcontainers:junit-jupiter:1.17.3 to 1.17.6

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:1.1.2 to 1.2.2
  • Updated com.exasol:project-keeper-maven-plugin:2.6.2 to 2.9.6
  • Updated io.github.zlika:reproducible-build-maven-plugin:0.15 to 0.16
  • Updated org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1 to 3.1.0
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.1.0 to 3.2.1
  • Updated org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M5 to 3.0.0-M8
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.4.0 to 3.4.1
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5 to 3.0.0-M8
  • Updated org.codehaus.mojo:flatten-maven-plugin:1.2.7 to 1.3.0
  • Updated org.codehaus.mojo:versions-maven-plugin:2.10.0 to 2.14.2

1.5.2: Fix broken link checker

31 Aug 09:22
a80487f
Compare
Choose a tag to compare

Bugfixes

  • #39: Fixed broken links checker

Dependency Updates

Compile Dependency Updates

  • Updated com.exasol:error-reporting-java:0.4.0 to 0.4.1

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:5.1.0 to 6.2.0
  • Updated org.junit.jupiter:junit-jupiter-engine:5.8.1 to 5.9.0
  • Updated org.junit.jupiter:junit-jupiter-params:5.8.1 to 5.9.0
  • Updated org.testcontainers:jdbc:1.16.0 to 1.17.3
  • Updated org.testcontainers:junit-jupiter:1.16.0 to 1.17.3
  • Removed org.testcontainers:testcontainers:1.16.0

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:0.7.0 to 1.1.2
  • Updated com.exasol:project-keeper-maven-plugin:1.2.0 to 2.6.2
  • Updated io.github.zlika:reproducible-build-maven-plugin:0.13 to 0.15
  • Updated org.apache.maven.plugins:maven-compiler-plugin:3.8.1 to 3.10.1
  • Updated org.apache.maven.plugins:maven-deploy-plugin:2.7 to 3.0.0-M1
  • Updated org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3 to 3.1.0
  • Updated org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M3 to 3.0.0-M5
  • Updated org.apache.maven.plugins:maven-gpg-plugin:1.6 to 3.0.1
  • Updated org.apache.maven.plugins:maven-javadoc-plugin:3.2.0 to 3.4.0
  • Updated org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3 to 3.0.0-M5
  • Added org.codehaus.mojo:flatten-maven-plugin:1.2.7
  • Updated org.codehaus.mojo:versions-maven-plugin:2.8.1 to 2.10.0
  • Updated org.jacoco:jacoco-maven-plugin:0.8.6 to 0.8.8
  • Added org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184
  • Updated org.sonatype.ossindex.maven:ossindex-maven-plugin:3.1.0 to 3.2.0
  • Updated org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8 to 1.6.13

Null-Value Matching

12 Oct 09:06
ab7dfd6
Compare
Choose a tag to compare

Summary

Version 1.5.1 of the hamcrest-result-matcher fixes value matching in case the actual value was a null value.

Features

  • #37: Fix matching of null values

Dependency Updates

Test Dependency Updates

  • Updated com.exasol:exasol-testcontainers:5.0.0 to 5.1.0

Plugin Dependency Updates

  • Updated com.exasol:error-code-crawler-maven-plugin:0.6.0 to 0.7.0