All changes required to migrate generated Apigen projects to new versions will be documented in this file.
From 2.0.2 to [2.0.3]
No migration required
No migration required
No migration required
- Perform the Spring Boot migration from
3.5.xto4.0.x
No migration required
No migration required
No migration required
No migration required
No migration required
- Perform the Spring Boot migration from
3.4.xto3.5.x
No migration required
No migration required
No migration required
Update the management endpoints properties
Old:
management.endpoints.enabled-by-default=false
management.endpoint.<id>.enabled=trueNew:
management.endpoints.access.default=none
management.endpoint.<id>.access=read-onlyRemove 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.Apitoio.swagger.v3.oas.annotations.tags.Tag - Perform the Spring Boot migration from
2.4.xto2.6.x - Remove the property
apigen.documentation.enabled, now the documentation is managed by thespring-docofficial properties