Skip to content

0.32.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 May 10:38
· 2 commits to main since this release

Maven package

Changes

  • Added convenience extensions for collection/indexer endpoints
  • Added support for HAL link arrays
  • Behavior changes
    • Set Accept header based on registered serializers even when injecting an OkHttpClient
    • Append missing trailing slash to EntryEndpoint base URI
    • EntryEndpoint.readMeta() uses HTTP GET instead of OPTIONS
    • Stream BlobEndpoint and UploadEndpoint request bodies instead of buffering in memory
    • Advertise text/json alongside application/json in JSON serializers
    • JSON serializers defaults to omit nulls and tolerate unknown fields
  • Exceptions
    • Throw NotFoundException instead of IllegalStateException in link()
    • Throw IllegalStateException for deserialization failures instead of NotFoundException
    • Only retry update on ConflictException
  • Resilience
    • Tolerate HTTP Basic Auth data in URI with empty string or username-only
    • Tolerate whitespace and missing spaces in Allow and Accept-Ranges headers
    • Tolerate unknown fields when parsing JSON error bodies
  • Bug fixes
    • Fixed NotFoundException on Cache-Control: no-store
    • Fixed HalLinkExtractor consuming the response body
    • Fixed append trailing slashes to URIs containing query parameters
    • Fixed double-encoding child IDs in IndexerEndpoint and CollectionEndpoint URI templates
    • Avoid potential int overflow when computing cache expiry