Releases: TypedRest/TypedRest-Java
Releases · TypedRest/TypedRest-Java
0.32.0
Changes
- Added convenience extensions for collection/indexer endpoints
- Added support for HAL link arrays
- Behavior changes
- Set
Acceptheader based on registered serializers even when injecting anOkHttpClient - Append missing trailing slash to
EntryEndpointbase URI EntryEndpoint.readMeta()uses HTTP GET instead of OPTIONS- Stream
BlobEndpointandUploadEndpointrequest bodies instead of buffering in memory - Advertise
text/jsonalongsideapplication/jsonin JSON serializers - JSON serializers defaults to omit nulls and tolerate unknown fields
- Set
- Exceptions
- Throw
NotFoundExceptioninstead ofIllegalStateExceptioninlink() - Throw
IllegalStateExceptionfor deserialization failures instead ofNotFoundException - Only retry update on
ConflictException
- Throw
- Resilience
- Tolerate HTTP Basic Auth data in URI with empty string or username-only
- Tolerate whitespace and missing spaces in
AllowandAccept-Rangesheaders - Tolerate unknown fields when parsing JSON error bodies
- Bug fixes
- Fixed
NotFoundExceptiononCache-Control: no-store - Fixed
HalLinkExtractorconsuming the response body - Fixed append trailing slashes to URIs containing query parameters
- Fixed double-encoding child IDs in
IndexerEndpointandCollectionEndpointURI templates - Avoid potential int overflow when computing cache expiry
- Fixed