Releases: Open-EO/openeo-js-client
Releases · Open-EO/openeo-js-client
v2.0.0
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
andemit
.
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
: MethodsgetGrant
,getScopes
,getIssuer
andgetUser
removed. Use the propertiesgrant
,scopes
,issuer
anduser
instead.- Removed deprecated method
getResultsAsItem
in favor ofgetResultsAsStac
.
v1.3.2
v1.3.1
v1.3.0
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.
- an array returned from a callback using the
- 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
Added
- Added new method
listCollectionItems
for searching and retrieving Items fromGET /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
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 ofgetResultsAsStac
.
Fixed
- TypeScript declaration for Links has been fixed
- Updated dependencies
v1.0.3
v1.0.2
v1.0.1
Fixed
- Security related: Don't set unnecessary
withCredentials
option on HTTP requests for better CORS support. openeo-api#41