Releases: toedter/spring-hateoas-jsonapi
Releases · toedter/spring-hateoas-jsonapi
v2.0.0
Features
- Supports JSON:API 1.1 specification
- Supports new JSON:API object, see JSON:API specification
- Now serializes only JSON:API-compliant links by default, see reference documentation
- Provides configuration option for allowing links that are not JSON:API-compliant
- Now adapt some Spring HATEOAS link properties as top-level JSON:API link properties, see reference documentation
- Provides configuration option for backward-compatibility and serialize those link properties also in the link meta
- Unsafe
[
and]
characters are now url encode when automatically creating link hrefs (e.g., for pagination links)
Misc
- Needs Java 17 or later
- JSON results in tests are checked against the JSON:API schema
- Configuration
jsonApiVersionRendered
is now deprecated, usejsonApiObject
instead - Better reference documentation with improved format for configuration
Dependency Bumps
- Bump dependencies to Spring HATEOAS 2.0.0
- Bump dependencies based on Spring Boot 3.0.0
v1.6.0
v1.5.1
v1.5.0
Features
- New configuration for creating JSON without the JSON:API id attribute. This is useful for POST requests, see https://toedter.github.io/spring-hateoas-jsonapi/1.5.0/reference/#postWithNoId (#60)
Dependency Bumps
- Bump dependencies to Spring HATEOAS 1.5.0
- Bump dependencies based on Spring Boot 2.7.0
Misc
- Added sonarcloud integration and badge in readme.
v1.4.0
Features
- Attributes of "included" relationships are set when deserializing into entities with
@JsonApiRelationships
. (#58)
Bugfixes
- Deserialization of relationships when deserializing
CollectionModel<EntityModel<Entity>>
works properly now. (#57)
Dependency Bumps
- Bump dependencies based on Spring Boot 2.6.5
v1.3.0
v1.2.1
v1.2.0
Features
- Experimental: Render Spring HATEOAS affordances as JSON:API link meta
Bugfixes
- Page meta is not created automatically when not set in the configuration
- Example: fix /movies query parameter handling
Dependency Bumps
- Spring HATEOAS from 1.3.5 to 1.4.0
- Example: Bump Spring Boot from 2.5.6 to 2.6.0
v1.1.1
Bugfixes
- ids of type Long, long, Integer, int are deserialized correctly (#44)
- only deserialize ids of type Long, long, Integer, int when value is not null
- correct "include" (was "included") query parameter in example
Dependency Bumps
- Spring HATEOAS from 1.3.4 to 1.3.5
- Example: Bump Spring Boot from 2.5.5 to 2.5.6
v1.1.0
Features:
- Native deserialization support of
java.util.UUID
based ids - New configuration available for ignoring empty resource attributes
- For backward compatibility, the default is still:
"attributes":{}
- For backward compatibility, the default is still:
Bug Fixes:
PagedModel
metadata is deserialized correctlyPagedModel<EntityModel<?>>
is deserialized correctly, includingEntityModel
links