Skip to content

Releases: Open-EO/openeo-js-client

v2.0.0

06 Jul 13:46
82e4da3
Compare
Choose a tag to compare

Added

  • Added events to Connection to populate changes for Auth Tokens (tokenChanged) and Auth Providers (authProviderChanged).
  • Added new methods to Connection for working with events: on, off and emit.

Changed

  • OpenID Connect authentication has been rewritten.
  • Default grant type for OpenID Connect is "AuthCode w/ PKCE" instead of "Implicit".
  • Support for OpenID Connect session renewal via refresh tokens.
  • Updated STAC support to STAC v1.0.0.

Removed

  • OidcProvider: Methods getGrant, getScopes, getIssuer and getUser removed. Use the properties grant, scopes, issuer and user instead.
  • Removed deprecated method getResultsAsItem in favor of getResultsAsStac.

v1.3.2

27 May 15:12
Compare
Choose a tag to compare

Fixed

  • Fixed error handling for HTTP requests

v1.3.1

29 Apr 18:26
Compare
Choose a tag to compare

Fixed

  • Invalid dependency version for @openeo/js-commons

v1.3.0

29 Apr 18:19
Compare
Choose a tag to compare

Added

  • Custom process specifications can be added to the process builder after first initialization.
  • The process builder supports implicitly wrapping:
    • an array returned from a callback using the array_create process.
    • non-objects (e.g. numbers) returned from a callback using the constant process.
  • Support for "Default OpenID Connect Clients" (detecting default client IDs).

Fixed

  • Arrow functions can be used as callbacks in process graph building.

v1.2.0

11 Mar 16:57
Compare
Choose a tag to compare

Added

  • Added new method listCollectionItems for searching and retrieving Items from GET /collections/{collectionId}/items.

Changed

  • Methods returning STAC (e.g. listCollections, describeCollection, getResultAsStac, listCollectionItems) always return the data compliant to the latest STAC version (currently 1.0.0-rc.1).

v1.1.0

18 Feb 12:39
Compare
Choose a tag to compare

Added

  • Added new method getResultsAsStac for Jobs, which includes support for STAC Collections returned by the API for batch job results.

Deprecated

  • Deprecated method getResultsAsItem in favor of getResultsAsStac.

Fixed

  • TypeScript declaration for Links has been fixed
  • Updated dependencies

v1.0.3

01 Feb 17:54
Compare
Choose a tag to compare

Fixed

  • Updated axios dependency to fix a vulnerability.
  • Updated oidc-client dependency to support the OpenID Connect flow AuthCode with PKCE. Default is still the Implicit Flow.

v1.0.2

02 Dec 13:39
Compare
Choose a tag to compare

Changed

  • Make client more flexible to allow setting the client to use OIDC Authentication Code Flow with PKCE instead of Implicit Flow in the future

Fixed

  • Client doesn't throw errors on back-ends with version numbers >= 1.0.1

v1.0.1

19 Nov 14:59
de4a7bd
Compare
Choose a tag to compare

Fixed

  • Security related: Don't set unnecessary withCredentials option on HTTP requests for better CORS support. openeo-api#41

v1.0.0

17 Nov 13:51
Compare
Choose a tag to compare

Fixed

  • Throw better error message in case openeo-identifier can't be retrieved. #37