Skip to content

Commit

Permalink
Updates CHANGELOG for new behaviour around JPA entities
Browse files Browse the repository at this point in the history
  • Loading branch information
jqno committed Jul 7, 2023
1 parent 22ed6f5 commit 2f3f538
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Check that getters are used for all mapped fields in JPA entities, not just the ones with `FetchType.LAZY`. ([Issue 830](https://github.com/jqno/equalsverifier/issues/830))<br/>Note that this is a **breaking change** for JPA entity tests. This can be disabled by suppressing `Warning.JPA_GETTER`. See the [manual page about JPA entities](/equalsverifier/manual/jpa-entities), specifically the section on Materialized fields, for more details.

### Added

- `#withFieldnameToGetterConverter()` to override the derivation of getter names from field names when testing JPA entities. ([Issue 829](https://github.com/jqno/equalsverifier/issues/829))
- `Warning.JPA_GETTER` to suppress the check that getters should be used instead of direct field references in JPA entities.


## [3.14.3] - 2023-06-23

### Fixed
Expand Down

0 comments on commit 2f3f538

Please sign in to comment.