Skip to content

v2.6.0

Choose a tag to compare

@github-actions github-actions released this 15 Jul 11:13

Compatibility Notes

  • [odata-v4, temporal-de-serializers] Adjust parsing of Edm.Date, Edm.DateTimeOffset, Edm.Time, and Edm.Duration to be closer to the OData v4 specification.
    There may be loss of precision if using the default (de-)serializers with high-precision fractional seconds. (de85128)
  • [generator] Deprecate generator option versionInPackageJson. If you need to set the version, use the new include option to add your own package.json file instead. (069aa16)
  • [generator] The hidden generator option additionalFiles is renamed to include. (069aa16)
  • [connectivity] Rename transformationFn into serviceBindingTransformFn in DestinationForServiceBindingsOptions to avoid ambiguity and make the function async. (8fdfebd)

New Functionalities

  • [connectivity] Support JWTs without a JKU property. (cb598c1)
  • [connectivity] Add interface DestinationCacheInterface and method setDestinationCache to support implementation of custom destination cache. (0909460)
  • [connectivity] Fetch client credential token for destinations created by service bindings. (93d4128)
  • [generator] New generator option include which allows to add files to generated packages. (069aa16)

Improvements

  • [http-client] Make requestConfig of OriginOptions optional. (e46bb51)

Fixed Issues

  • [connectivity] Fix getDestination() to allow passing an async transform function serviceBindingTransformFn in options. The transform function can also be passed by execute(), executeHttpRequest(), executeRaw(), etc.
  • [http-client] Fix the executeHttpRequest/executeHttpRequestWithOrigin function, so the warning is only shown when overwriting headers by using custom headers. (e44c214)
  • [odata-common, odata-v4, temporal-de-serializers] Fix parsing of Edm.DateTimeOffset with high-precision fractional seconds and edge-cases like 5-digit years. (de85128)
  • [odata-common, generator] Allow OData service to contain an entity name 'entity'. (0675ee3)
  • [odata-v2] Support negative epoch timestamps in serialization. (9ffe082)