All changes required to migrate generated Apigen projects to new versions will be documented in this file.
No migration required
No migration required
Update the management endpoints properties
Old:
management.endpoints.enabled-by-default=false
management.endpoint.<id>.enabled=true
New:
management.endpoints.access.default=none
management.endpoint.<id>.access=read-only
Remove the deprecated spring.mvc.throw-exception-if-no-handler-found
property
No migration required
Update to Java 21
No migration required
No migration required
This version requires to replace the hibernate uuid generation.
Old:
@Id
@GeneratedValue(
generator = "uuid"
)
@GenericGenerator(
name = "uuid",
strategy = "uuid2"
)
@Column(
name = "id"
)
private String id;
New:
@Id
@UuidGenerator
@Column(
name = "id"
)
private String id;
No migration required
No migration required
In this version Apigen has been updated to use Spring Boot 3, so now you need a java version >= 17
Support for PATCH endpoints has been added and the PUT endpoint behaviour has changed.
To maintain the same functionality as in the previous versions you need to use
AbstractRelationsLegacyManager
and AbstractCrudLegacyService
instead of AbstractRelationsManager
and AbstractCrudService
No migration required
In this version Apigen has been updated to be auto documented with spring-doc
and all the dependencies have been updated.
- Replace the autogenerated documentation annotations in controllers from
io.swagger.annotations.Api
toio.swagger.v3.oas.annotations.tags.Tag
- Perform the Spring Boot migration from
2.4.x
to2.6.x
- Remove the property
apigen.documentation.enabled
, now the documentation is managed by thespring-doc
official properties