@openeo/js-client 2.0.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/openeo.d.ts +188 -70
- package/openeo.js +4582 -6899
- package/openeo.min.js +1 -1
- package/package.json +8 -7
- package/src/authprovider.js +1 -1
- package/src/baseentity.js +3 -1
- package/src/builder/builder.js +79 -51
- package/src/builder/formula.js +15 -11
- package/src/builder/node.js +13 -4
- package/src/builder/parameter.js +2 -3
- package/src/builder/tapdigit.js +21 -10
- package/src/capabilities.js +1 -1
- package/src/connection.js +137 -40
- package/src/filetypes.js +3 -3
- package/src/job.js +3 -0
- package/src/oidcprovider.js +3 -3
- package/src/openeo.js +14 -7
- package/src/typedefs.js +13 -3
- package/src/userfile.js +3 -2
- package/src/userprocess.js +9 -1
- package/CHANGELOG.md +0 -118
package/CHANGELOG.md
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
All notable changes to this project will be documented in this file.
|
|
3
|
-
|
|
4
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
-
|
|
7
|
-
## [Unreleased]
|
|
8
|
-
|
|
9
|
-
## [2.0.0] - 2021-07-06
|
|
10
|
-
|
|
11
|
-
### Added
|
|
12
|
-
|
|
13
|
-
- Added events to `Connection` to populate changes for Auth Tokens (`tokenChanged`) and Auth Providers (`authProviderChanged`).
|
|
14
|
-
- Added new methods to `Connection` for working with events: `on`, `off` and `emit`.
|
|
15
|
-
|
|
16
|
-
### Changed
|
|
17
|
-
|
|
18
|
-
- OpenID Connect authentication has been rewritten.
|
|
19
|
-
- Default grant type for OpenID Connect is "AuthCode w/ PKCE" instead of "Implicit".
|
|
20
|
-
- Support for OpenID Connect session renewal via refresh tokens.
|
|
21
|
-
- Updated STAC support to STAC v1.0.0.
|
|
22
|
-
|
|
23
|
-
### Removed
|
|
24
|
-
|
|
25
|
-
- `OidcProvider`: Methods `getGrant`, `getScopes`, `getIssuer` and `getUser` removed. Use the properties `grant`, `scopes`, `issuer` and `user` instead.
|
|
26
|
-
- Removed deprecated method `getResultsAsItem` in favor of `getResultsAsStac`.
|
|
27
|
-
|
|
28
|
-
## [1.3.2] - 2021-05-27
|
|
29
|
-
|
|
30
|
-
### Fixed
|
|
31
|
-
|
|
32
|
-
- Fixed error handling for HTTP requests
|
|
33
|
-
|
|
34
|
-
## [1.3.1] - 2021-04-29
|
|
35
|
-
|
|
36
|
-
### Fixed
|
|
37
|
-
|
|
38
|
-
- Invalid dependency version for @openeo/js-commons
|
|
39
|
-
|
|
40
|
-
## [1.3.0] - 2021-04-29
|
|
41
|
-
|
|
42
|
-
### Added
|
|
43
|
-
|
|
44
|
-
- Custom process specifications can be added to the process builder after first initialization.
|
|
45
|
-
- The process builder supports implicitly wrapping:
|
|
46
|
-
- an array returned from a callback using the `array_create` process.
|
|
47
|
-
- non-objects (e.g. numbers) returned from a callback using the `constant` process.
|
|
48
|
-
- Support for "Default OpenID Connect Clients" (detecting default client IDs).
|
|
49
|
-
|
|
50
|
-
### Fixed
|
|
51
|
-
|
|
52
|
-
- Arrow functions can be used as callbacks in process graph building.
|
|
53
|
-
|
|
54
|
-
## [1.2.0] - 2021-03-11
|
|
55
|
-
|
|
56
|
-
### Added
|
|
57
|
-
|
|
58
|
-
- Added new method `listCollectionItems` for searching and retrieving Items from `GET /collections/{collectionId}/items`.
|
|
59
|
-
|
|
60
|
-
### Changed
|
|
61
|
-
|
|
62
|
-
- 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).
|
|
63
|
-
|
|
64
|
-
## [1.1.0] - 2021-02-18
|
|
65
|
-
|
|
66
|
-
### Added
|
|
67
|
-
|
|
68
|
-
- Added new method `getResultsAsStac` for Jobs, which includes support for STAC Collections returned by the API for batch job results.
|
|
69
|
-
|
|
70
|
-
### Deprecated
|
|
71
|
-
|
|
72
|
-
- Deprecated method `getResultsAsItem` in favor of `getResultsAsStac`.
|
|
73
|
-
|
|
74
|
-
### Fixed
|
|
75
|
-
|
|
76
|
-
- TypeScript declaration for Links has been fixed
|
|
77
|
-
- Updated dependencies
|
|
78
|
-
|
|
79
|
-
## [1.0.3] - 2021-02-02
|
|
80
|
-
|
|
81
|
-
### Fixed
|
|
82
|
-
|
|
83
|
-
- Updated axios dependency to fix a vulnerability.
|
|
84
|
-
- Updated oidc-client dependency to support the OpenID Connect flow *AuthCode with PKCE*. Default is still the Implicit Flow.
|
|
85
|
-
|
|
86
|
-
## [1.0.2] - 2020-12-02
|
|
87
|
-
|
|
88
|
-
### Changed
|
|
89
|
-
- Make client more flexible to allow setting the client to use OIDC Authentication Code Flow with PKCE instead of Implicit Flow in the future
|
|
90
|
-
|
|
91
|
-
### Fixed
|
|
92
|
-
- Client doesn't throw errors on back-ends with version numbers >= 1.0.1
|
|
93
|
-
|
|
94
|
-
## [1.0.1] - 2020-11-19
|
|
95
|
-
|
|
96
|
-
### Fixed
|
|
97
|
-
- Don't set unnecessary `withCredentials` option on HTTP requests for better CORS support. [openeo-api#41](https://github.com/Open-EO/openeo-api/issues/41)
|
|
98
|
-
|
|
99
|
-
## [1.0.0] - 2020-11-17
|
|
100
|
-
|
|
101
|
-
### Fixed
|
|
102
|
-
- Throw better error message in case openeo-identifier can't be retrieved. [#37](https://github.com/Open-EO/openeo-js-client/issues/37)
|
|
103
|
-
|
|
104
|
-
## Prior releases
|
|
105
|
-
|
|
106
|
-
All prior releases have been documented in the [GitHub Releases](https://github.com/Open-EO/openeo-js-client/releases).
|
|
107
|
-
|
|
108
|
-
[Unreleased]: https://github.com/Open-EO/openeo-js-client/compare/v2.0.0...HEAD
|
|
109
|
-
[2.0.0]: https://github.com/Open-EO/openeo-js-client/compare/v1.3.2...v2.0.0
|
|
110
|
-
[1.3.2]: https://github.com/Open-EO/openeo-js-client/compare/v1.3.1...v1.3.2
|
|
111
|
-
[1.3.1]: https://github.com/Open-EO/openeo-js-client/compare/v1.3.0...v1.3.1
|
|
112
|
-
[1.3.0]: https://github.com/Open-EO/openeo-js-client/compare/v1.2.0...v1.3.0
|
|
113
|
-
[1.2.0]: https://github.com/Open-EO/openeo-js-client/compare/v1.1.0...v1.2.0
|
|
114
|
-
[1.1.0]: https://github.com/Open-EO/openeo-js-client/compare/v1.0.3...v1.1.0
|
|
115
|
-
[1.0.3]: https://github.com/Open-EO/openeo-js-client/compare/v1.0.2...v1.0.3
|
|
116
|
-
[1.0.2]: https://github.com/Open-EO/openeo-js-client/compare/v1.0.1...v1.0.2
|
|
117
|
-
[1.0.1]: https://github.com/Open-EO/openeo-js-client/compare/v1.0.0...v1.0.1
|
|
118
|
-
[1.0.0]: https://github.com/Open-EO/openeo-js-client/compare/v1.0.0-rc.5...v1.0.0
|