Skip to content

Version 15.0.0

Compare
Choose a tag to compare
@LukasLohoff LukasLohoff released this 21 Nov 15:41
· 707 commits to main since this release

🚨 Breaking Changes 🚨

  • breaking: fix serialization issues in BaseService#update and use JsonPatch for updatePartial (#608)

Migration guide:

1. BaseService#updatePartial changed its method signature.

Old:

public S updatePartial(Long entityId, S entity, Map<String, Object> values)

New:

public S updatePartial(S entity, JsonMergePatch patch)

Projects which override updatePartial or use it directly need to update their code accordingly.

2. BaseController#updatePartial changed its signature

Projects using the endpoint PATCH /{entityClass}/{id} should update their client code:

  • supplying the entity id in the json body is no longer necessary

3. Annotate your hibernate models with @DynamicUpdate

For more information see https://www.baeldung.com/spring-rest-json-patch#http-patch-request

♦️ MISC ♦️

  • bump hibernate-types-52 from 2.19.2 to 2.20.0
  • bump jib-maven-plugin from 3.3.0 to 3.3.1
  • bump tika-core from 2.5.0 to 2.6.0
  • bump graphql-java-extended-scalars from 19.0 to 19.1
  • bump swagger-codegen-maven-plugin from 2.4.28 to 2.4.29
  • bump testcontainers.version from 1.17.5 to 1.17.6

Full Changelog: v14.1.0...v15.0.0