Skip to content

Commit

Permalink
Release 1.10.0 (#461)
Browse files Browse the repository at this point in the history
Update CHANGELOG and up versions.

Resolves: OLPEDGE-2548

Signed-off-by: Oleksii Zubko <ext-oleksii.zubko@here.com>
  • Loading branch information
OleksiiZubko committed May 14, 2021
1 parent 99c3031 commit 9f31501
Show file tree
Hide file tree
Showing 9 changed files with 87 additions and 68 deletions.
4 changes: 2 additions & 2 deletions @here/olp-sdk-authentication/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/olp-sdk-authentication",
"version": "1.9.0",
"version": "1.10.0",
"description": "Wrapper around the HERE Authentication and Authorization REST API obtaining short-lived access tokens that are used to authenticate requests to HERE services.",
"main": "index.js",
"browser": "index.web.js",
Expand Down Expand Up @@ -49,7 +49,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@here/olp-sdk-core": "^1.4.0",
"@here/olp-sdk-core": "^1.5.0",
"@here/olp-sdk-fetch": "^1.9.0",
"properties-reader": "^0.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion @here/olp-sdk-authentication/test/OAuth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe("oauth-request-offline", function() {

const options: RequestInit & any = fetchMock.calls()[0][1];
expect(options.headers.get("Authorization")).to.be.equal(
`OAuth oauth_consumer_key="mocked-key",oauth_nonce="mocked-nonce",oauth_signature_method="HMAC-SHA256",oauth_timestamp="1550777140",oauth_version="1.0",oauth_signature="QbfSZff9wtPYD4B0EHWNhDIdWgAa5%2BLtImIAPVR69fc%3D"`
`OAuth oauth_consumer_key="mocked-key",oauth_nonce="mocked-nonce",oauth_signature_method="HMAC-SHA256",oauth_timestamp="1550777140",oauth_version="1.0",oauth_signature="f4Em2nCgW%2FXyIduZsrMkPO09Br5NXRVlhx2NaSlpb14%3D"`
);
});

Expand Down
2 changes: 1 addition & 1 deletion @here/olp-sdk-core/lib.version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
* License-Filename: LICENSE
*/

export const LIB_VERSION = "1.9.0";
export const LIB_VERSION = "1.10.0";
4 changes: 2 additions & 2 deletions @here/olp-sdk-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/olp-sdk-core",
"version": "1.4.0",
"version": "1.5.0",
"description": "Core features of the HERE Data Platform",
"main": "index.js",
"browser": "index.web.js",
Expand Down Expand Up @@ -50,7 +50,7 @@
"license": "Apache-2.0",
"dependencies": {
"@here/olp-sdk-fetch": "^1.9.0",
"@here/olp-sdk-dataservice-api": "^1.9.0"
"@here/olp-sdk-dataservice-api": "^1.10.0"
},
"devDependencies": {
"@types/chai": "^4.2.7",
Expand Down
2 changes: 1 addition & 1 deletion @here/olp-sdk-dataservice-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/olp-sdk-dataservice-api",
"version": "1.9.1",
"version": "1.10.0",
"description": "Generated from the OpenAPI specification of the HERE Open Location Platform Data API",
"main": "index.js",
"typings": "index",
Expand Down
6 changes: 3 additions & 3 deletions @here/olp-sdk-dataservice-read/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/olp-sdk-dataservice-read",
"version": "1.9.0",
"version": "1.10.0",
"description": "Wrapper around a subset of the HERE Open Location Platform Data REST API related to reading data from OLP catalogs",
"main": "index.js",
"browser": "index.web.js",
Expand Down Expand Up @@ -49,8 +49,8 @@
},
"license": "Apache-2.0",
"dependencies": {
"@here/olp-sdk-core": "^1.4.0",
"@here/olp-sdk-dataservice-api": "^1.9.0",
"@here/olp-sdk-core": "^1.5.0",
"@here/olp-sdk-dataservice-api": "^1.10.0",
"@here/olp-sdk-fetch": "^1.9.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions @here/olp-sdk-dataservice-write/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/olp-sdk-dataservice-write",
"version": "1.4.0",
"version": "1.5.0",
"description": "Wrapper around a subset of the HERE Open Location Platform Data REST API related to writing data to OLP catalogs",
"main": "index.js",
"browser": "index.web.js",
Expand Down Expand Up @@ -50,8 +50,8 @@
},
"license": "Apache-2.0",
"dependencies": {
"@here/olp-sdk-core": "^1.4.0",
"@here/olp-sdk-dataservice-api": "^1.9.0",
"@here/olp-sdk-core": "^1.5.0",
"@here/olp-sdk-dataservice-api": "^1.10.0",
"@here/olp-sdk-fetch": "^1.9.0"
},
"devDependencies": {
Expand Down
127 changes: 73 additions & 54 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
## v1.10.0 (14/05/2021)

**olp-sdk-dataservice-write**

- Added the `MultiPartUploadWrapper` class. You can use it to upload large files in a browser and Node.js to the Blob API v1 and v2 services in chunks.
- Changed `VersionedLayerClient`. Now, to upload large files to versioned layers, use the `MultiPartUploadWrapper` class.
- Added the abstracted `BlobData` class. It is a wrapper of data (`Blob`, `Buffer`, `File`, string, and so on)
that allows to read a specific range of bytes and get data size.

**olp-sdk-dataservice-api**

- Fixed the issue with the incorrect `body` parameter in the `ObjectApi.startMultipartUploadByKey` function.

**olp-sdk-core**

- Added export for `fs` symbols to the Node.js index file.

**olp-sdk-authentication**

- Updated dependencies.

**olp-sdk-dataservice-read**

- Updated dependencies.

## v1.9.1 (24/03/2021)

**olp-sdk-dataservice-api**
Expand Down Expand Up @@ -102,12 +127,12 @@

**olp-sdk-core**

- Removed the `User-Agent` custom header from the requests. This was necessary due to issues sending a custom user-agent in Mozilla browsers.
- Removed the `User-Agent` custom header from the requests. This was necessary due to issues sending a custom user-agent in Mozilla browsers.

**olp-sdk-authentication**

- Removed the `User-Agent` custom header from the requests. This was necessary due to issues sending a custom user-agent in Mozilla browsers.
- Updated `@here/olp-sdk-fetch` to version 1.6.0.
- Updated `@here/olp-sdk-fetch` to version 1.6.0.

**olp-sdk-dataservice-api**

Expand All @@ -128,7 +153,6 @@
- Updated `@here/olp-sdk-core` to version 1.1.0.
- Updated `@here/olp-sdk-fetch` to version 1.6.0.


## v1.5.1 (19/08/2020)

**olp-sdk-core**
Expand All @@ -147,7 +171,6 @@

- Updated `olp-sdk-core` to version ^1.0.0.


## v1.5.0 (18/08/2020)

**olp-sdk-core**
Expand Down Expand Up @@ -214,7 +237,6 @@
- Added the `VersionedLayerClient.getBatch()` method. You can use it to retrieve publication details.
- Added the `VersionedLayerClient.completeBatch()` method. You can use it to submit a publication, that is a batch, and if necessary, initiate post-processing.


## v1.4.0 (30/04/2020)

**olp-sdk-authentication**
Expand Down Expand Up @@ -255,6 +277,7 @@
- Updated dependencies.

The following bugs are fixed:

- Version "0" was incorrectly handled. It is now fixed.
- Additional fields were not passed correctly into the request. It is now fixed.

Expand Down Expand Up @@ -298,103 +321,99 @@ The following bugs are fixed:

**Common**

* Updated the development dependencies.
- Updated the development dependencies.

**olp-sdk-dataservice-read**

* Fixed the crash in `VersionedLayerClient` and `VolatileLayerClient` that happened when a non-existing tile was requested.
- Fixed the crash in `VersionedLayerClient` and `VolatileLayerClient` that happened when a non-existing tile was requested.

**olp-sdk-authentication**

* Reverted the API break in `AuthCredentials`.

- Reverted the API break in `AuthCredentials`.

## v1.2.0 (04/02/2020)

**Common**

* Updated the development dependencies.
- Updated the development dependencies.

**olp-sdk-dataservice-read**

* Added the `IndexLayerClient` class that is used to access index layers on OLP. This class implements the `getPartitions` and `getData` methods.
* Added the `HttpError` class that extends the `Error` class and adds a status code to HTTP errors.
* Improved error propagations in all public methods. Now, these methods reject the promises with the `HttpError` instance or `Error` class when errors occur.
- Added the `IndexLayerClient` class that is used to access index layers on OLP. This class implements the `getPartitions` and `getData` methods.
- Added the `HttpError` class that extends the `Error` class and adds a status code to HTTP errors.
- Improved error propagations in all public methods. Now, these methods reject the promises with the `HttpError` instance or `Error` class when errors occur.

**olp-sdk-authentication**

* Added the `HttpError` class that extends the `Error` class and adds a status code to HTTP errors.
* Improved error propagations in all public methods. Now, these methods reject the promises with the `HttpError` instance or `Error` class when errors occur.

* **Breaking Change** Improved the return type of the `getEarliestVersion` method in `CatalogClient`. It is now the same as the return type of the `getLatestVersion` method.
* **Breaking Change** Public methods now reject the promises with the `HttpError` instance or `Error` class instead of strings when errors occur.
- Added the `HttpError` class that extends the `Error` class and adds a status code to HTTP errors.
- Improved error propagations in all public methods. Now, these methods reject the promises with the `HttpError` instance or `Error` class when errors occur.

- **Breaking Change** Improved the return type of the `getEarliestVersion` method in `CatalogClient`. It is now the same as the return type of the `getLatestVersion` method.
- **Breaking Change** Public methods now reject the promises with the `HttpError` instance or `Error` class instead of strings when errors occur.

## v1.1.0 (11/12/2019)

**Common**

* Updated the development dependencies.
- Updated the development dependencies.

**olp-sdk-dataservice-read**

* Added the `getPartitionsById` method to `QueryClient`. Now, you can fetch metadata from specific partitions using their IDs.
* Updated the `getPartitions` method in `VersionedLayerClient` and `VolatileLayerClient`. Now, you can fetch metadata from specific partitions of a volatile or versioned layer using partitions IDs.
* Updated documentation for the public API.
- Added the `getPartitionsById` method to `QueryClient`. Now, you can fetch metadata from specific partitions using their IDs.
- Updated the `getPartitions` method in `VersionedLayerClient` and `VolatileLayerClient`. Now, you can fetch metadata from specific partitions of a volatile or versioned layer using partitions IDs.
- Updated documentation for the public API.

**olp-sdk-authentication**

* The scope support was added to `UserAuth` through `UserAuthConfig`. You can now access the project bound resources using the `UserAuthConfig` scope field.
* Updated documentation for the public API.

- The scope support was added to `UserAuth` through `UserAuthConfig`. You can now access the project bound resources using the `UserAuthConfig` scope field.
- Updated documentation for the public API.

## v1.0.0 (02/12/2019)

**olp-sdk-dataservice-read**

* Added new class `OlpClientSetting` with `KeyValueCache` instance to be used for context.
* Added the `VersionedLayerClient` class that is used to access versioned layers on OLP. This class implements the `getData` and `getPartitions` methods.
* Added the `VolatileLayerClient` class that is used to access volatile layers on OLP. This class implements the `getPartitions` and `getData` methods.
* Added the `ArtifactClient` class that is used to access the artifact service on OLP. This class implements the `getSchemaDetails` and `getSchema` methods.
* Added the `ConfigClient` class that is used to access the configuration service on OLP. This class implements the `getCatalogs` method.
* Added the `QueryClient` class that is used to access the query service on OLP. This class implements the `fetchQuadTreeIndex` method.
* Added a possibility to abort requests using `AbortSignal`.
* Added a possibility to set an optional billing tag in each request.
* Added `QuadKeyUtils` that has a set of utilities and functions intended for work with quadkeys: convert a quadkey to a Morton code, convert a Morton code to a quadkey, and validate a quadkey.
* Added the `RequestFactory` class that is used for look-up requests. This class implements the static `create` method that returns the built `DatastoreDownloadManager` instance with a correct base URL to service, and the `getBaseUrl` method that caches and returns base URLs to services.
* The `CatalogClient` constructor changed. Users must pass now `OlpClientSettings` by value not by reference anymore. Removed `KeyValueCache` as it is now a part of `OlpClientSettings`.

* **Breaking Change** The `getLayer` method was removed from `CatalogClient`. Now, to initialize a deprecated `CatalogLayer`, use the `VersionedLayerClient` or `VolatileLayerClient` classes.
* **Breaking Change** The `getTile` method was removed from `CatalogClient`. Now, to get layer data, use `VersionedLayerClient.getData()` or `VolatileLayerClient.getData()`.
* **Breaking Change** The `getAgregatedTile` method was removed from `CatalogClient`. Now, to get partitions metadata and layer data, use `VersionedLayerClient.getPartitions()` and `VersionedLayerClient.getData()` or `VolatileLayerClient.getPartitions()` and `VolatileLayerClient.getData()`.
* **Breaking Change** The `getSchema` and `getSchemaDetails` methods were removed from `CatalogClient`. Now, to get schemas and schema metadata, use the `ArtifactClient` class.
* **Breaking Change** The `HypeDataProvider` class was removed. Now, catalog and layer clients can be initialized without additional classes.
* **Breaking Change** The `DatastoreClient` class was removed. Now, `CatalogClient` can be initialized without additional classes.
* **Breaking Change** Replaced RequestInit with AbortSignal in all public APIs.
- Added new class `OlpClientSetting` with `KeyValueCache` instance to be used for context.
- Added the `VersionedLayerClient` class that is used to access versioned layers on OLP. This class implements the `getData` and `getPartitions` methods.
- Added the `VolatileLayerClient` class that is used to access volatile layers on OLP. This class implements the `getPartitions` and `getData` methods.
- Added the `ArtifactClient` class that is used to access the artifact service on OLP. This class implements the `getSchemaDetails` and `getSchema` methods.
- Added the `ConfigClient` class that is used to access the configuration service on OLP. This class implements the `getCatalogs` method.
- Added the `QueryClient` class that is used to access the query service on OLP. This class implements the `fetchQuadTreeIndex` method.
- Added a possibility to abort requests using `AbortSignal`.
- Added a possibility to set an optional billing tag in each request.
- Added `QuadKeyUtils` that has a set of utilities and functions intended for work with quadkeys: convert a quadkey to a Morton code, convert a Morton code to a quadkey, and validate a quadkey.
- Added the `RequestFactory` class that is used for look-up requests. This class implements the static `create` method that returns the built `DatastoreDownloadManager` instance with a correct base URL to service, and the `getBaseUrl` method that caches and returns base URLs to services.
- The `CatalogClient` constructor changed. Users must pass now `OlpClientSettings` by value not by reference anymore. Removed `KeyValueCache` as it is now a part of `OlpClientSettings`.

- **Breaking Change** The `getLayer` method was removed from `CatalogClient`. Now, to initialize a deprecated `CatalogLayer`, use the `VersionedLayerClient` or `VolatileLayerClient` classes.
- **Breaking Change** The `getTile` method was removed from `CatalogClient`. Now, to get layer data, use `VersionedLayerClient.getData()` or `VolatileLayerClient.getData()`.
- **Breaking Change** The `getAgregatedTile` method was removed from `CatalogClient`. Now, to get partitions metadata and layer data, use `VersionedLayerClient.getPartitions()` and `VersionedLayerClient.getData()` or `VolatileLayerClient.getPartitions()` and `VolatileLayerClient.getData()`.
- **Breaking Change** The `getSchema` and `getSchemaDetails` methods were removed from `CatalogClient`. Now, to get schemas and schema metadata, use the `ArtifactClient` class.
- **Breaking Change** The `HypeDataProvider` class was removed. Now, catalog and layer clients can be initialized without additional classes.
- **Breaking Change** The `DatastoreClient` class was removed. Now, `CatalogClient` can be initialized without additional classes.
- **Breaking Change** Replaced RequestInit with AbortSignal in all public APIs.

**olp-sdk-dataservice-api**

* Fixed issues with requests to the Blob REST APIs.
- Fixed issues with requests to the Blob REST APIs.

**olp-sdk-authentication**

* Added a possibility to read credentials from a file using Node.js.

- Added a possibility to read credentials from a file using Node.js.

## v0.9.2-beta (28/10/2019)

* Changed prepare process before publishing.
* Changed configuration to the TypeDoc.
* Fixed tslints.
* Align Version and Volatile Layers with DatastoreApi.
- Changed prepare process before publishing.
- Changed configuration to the TypeDoc.
- Fixed tslints.
- Align Version and Volatile Layers with DatastoreApi.

## v0.9.1-beta (17/10/2019)

**olp-sdk-authentication**

* Fixed build process for web.
* **Breaking Change** UserAuthConfig.tokenRequester is required now.
- Fixed build process for web.
- **Breaking Change** UserAuthConfig.tokenRequester is required now.

**olp-sdk-dataservice-read**

* Fixed build process for web.
- Fixed build process for web.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/olp-sdk-ts",
"version": "1.9.1",
"version": "1.10.0",
"description": "HERE OLP SDK for TypeScript",
"author": {
"name": "HERE Europe B.V.",
Expand Down

0 comments on commit 9f31501

Please sign in to comment.