Releases: approvals/ApprovalTests.Java
Breaking Change: Removing obsolete features
Removed:
LegacyApprovalsMethodExecutionPathObjectUtils.move()
These classes are obsolete since Java 8. Instead use CombinationApprovals and Java lambdas.
It is hard to know what is obsolete on a public API with no telemetry. If you feel we have made an important error, please reach out.
Breaking Change: move SQL approvals to SqlApprovals
We have moved SQL-specific APIs from Approvals to a separate class, SqlApprovals.
This will break the following calls:
- Approvals.verify(ResultSet)
+ SqlApprovals.verify(ResultSet)
- Approvals.verify(SqlLoader)
+ SqlApprovals.verify(SqlLoader)No behavior change; only the entry point moved.
We did this for compatibility with Java Modules (JPMS).
Removed deprecated methods from Approvals.java
28.0.0 . d reformatted code and updated markdown snippets
Breaking change to reporter names
This update is moving to a unified reporter generation. Its purpose is to keep the diff tools more up-to-date and consistent across languages. Most of the reporters names have changed.
For example:
Old: BeyondCompareReporter
New: ReportWithBeyondCompare
This naming pattern helps with discoverability when using autocomplete.
Fix NullPointerException for null Instant in JSON serialization
verify(java.nio.file.Path)
26.7.0 . d reformatted code and updated markdown snippets
Better help message for DateScrubber
26.6.1 . d reformatted code and updated markdown snippets
Fixed name of ExtensionFileFilter class
Fixed a speling mistake
DateScrubber supports more dates
This addresses the requests from @thomo (timezone offsets) and @thunderhook (LocalDateTime without Z).