Skip to content

Commit 9f31501

Browse files
authored
Release 1.10.0 (#461)
Update CHANGELOG and up versions. Resolves: OLPEDGE-2548 Signed-off-by: Oleksii Zubko <ext-oleksii.zubko@here.com>
1 parent 99c3031 commit 9f31501

File tree

9 files changed

+87
-68
lines changed

9 files changed

+87
-68
lines changed

@here/olp-sdk-authentication/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@here/olp-sdk-authentication",
3-
"version": "1.9.0",
3+
"version": "1.10.0",
44
"description": "Wrapper around the HERE Authentication and Authorization REST API obtaining short-lived access tokens that are used to authenticate requests to HERE services.",
55
"main": "index.js",
66
"browser": "index.web.js",
@@ -49,7 +49,7 @@
4949
},
5050
"license": "Apache-2.0",
5151
"dependencies": {
52-
"@here/olp-sdk-core": "^1.4.0",
52+
"@here/olp-sdk-core": "^1.5.0",
5353
"@here/olp-sdk-fetch": "^1.9.0",
5454
"properties-reader": "^0.3.1"
5555
},

@here/olp-sdk-authentication/test/OAuth.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ describe("oauth-request-offline", function() {
9494

9595
const options: RequestInit & any = fetchMock.calls()[0][1];
9696
expect(options.headers.get("Authorization")).to.be.equal(
97-
`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"`
97+
`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"`
9898
);
9999
});
100100

@here/olp-sdk-core/lib.version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
* License-Filename: LICENSE
1818
*/
1919

20-
export const LIB_VERSION = "1.9.0";
20+
export const LIB_VERSION = "1.10.0";

@here/olp-sdk-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@here/olp-sdk-core",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "Core features of the HERE Data Platform",
55
"main": "index.js",
66
"browser": "index.web.js",
@@ -50,7 +50,7 @@
5050
"license": "Apache-2.0",
5151
"dependencies": {
5252
"@here/olp-sdk-fetch": "^1.9.0",
53-
"@here/olp-sdk-dataservice-api": "^1.9.0"
53+
"@here/olp-sdk-dataservice-api": "^1.10.0"
5454
},
5555
"devDependencies": {
5656
"@types/chai": "^4.2.7",

@here/olp-sdk-dataservice-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@here/olp-sdk-dataservice-api",
3-
"version": "1.9.1",
3+
"version": "1.10.0",
44
"description": "Generated from the OpenAPI specification of the HERE Open Location Platform Data API",
55
"main": "index.js",
66
"typings": "index",

@here/olp-sdk-dataservice-read/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@here/olp-sdk-dataservice-read",
3-
"version": "1.9.0",
3+
"version": "1.10.0",
44
"description": "Wrapper around a subset of the HERE Open Location Platform Data REST API related to reading data from OLP catalogs",
55
"main": "index.js",
66
"browser": "index.web.js",
@@ -49,8 +49,8 @@
4949
},
5050
"license": "Apache-2.0",
5151
"dependencies": {
52-
"@here/olp-sdk-core": "^1.4.0",
53-
"@here/olp-sdk-dataservice-api": "^1.9.0",
52+
"@here/olp-sdk-core": "^1.5.0",
53+
"@here/olp-sdk-dataservice-api": "^1.10.0",
5454
"@here/olp-sdk-fetch": "^1.9.0"
5555
},
5656
"devDependencies": {

@here/olp-sdk-dataservice-write/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@here/olp-sdk-dataservice-write",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "Wrapper around a subset of the HERE Open Location Platform Data REST API related to writing data to OLP catalogs",
55
"main": "index.js",
66
"browser": "index.web.js",
@@ -50,8 +50,8 @@
5050
},
5151
"license": "Apache-2.0",
5252
"dependencies": {
53-
"@here/olp-sdk-core": "^1.4.0",
54-
"@here/olp-sdk-dataservice-api": "^1.9.0",
53+
"@here/olp-sdk-core": "^1.5.0",
54+
"@here/olp-sdk-dataservice-api": "^1.10.0",
5555
"@here/olp-sdk-fetch": "^1.9.0"
5656
},
5757
"devDependencies": {

CHANGELOG.md

Lines changed: 73 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
## v1.10.0 (14/05/2021)
2+
3+
**olp-sdk-dataservice-write**
4+
5+
- 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.
6+
- Changed `VersionedLayerClient`. Now, to upload large files to versioned layers, use the `MultiPartUploadWrapper` class.
7+
- Added the abstracted `BlobData` class. It is a wrapper of data (`Blob`, `Buffer`, `File`, string, and so on)
8+
that allows to read a specific range of bytes and get data size.
9+
10+
**olp-sdk-dataservice-api**
11+
12+
- Fixed the issue with the incorrect `body` parameter in the `ObjectApi.startMultipartUploadByKey` function.
13+
14+
**olp-sdk-core**
15+
16+
- Added export for `fs` symbols to the Node.js index file.
17+
18+
**olp-sdk-authentication**
19+
20+
- Updated dependencies.
21+
22+
**olp-sdk-dataservice-read**
23+
24+
- Updated dependencies.
25+
126
## v1.9.1 (24/03/2021)
227

328
**olp-sdk-dataservice-api**
@@ -102,12 +127,12 @@
102127

103128
**olp-sdk-core**
104129

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

107132
**olp-sdk-authentication**
108133

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

112137
**olp-sdk-dataservice-api**
113138

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

131-
132156
## v1.5.1 (19/08/2020)
133157

134158
**olp-sdk-core**
@@ -147,7 +171,6 @@
147171

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

150-
151174
## v1.5.0 (18/08/2020)
152175

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

217-
218240
## v1.4.0 (30/04/2020)
219241

220242
**olp-sdk-authentication**
@@ -255,6 +277,7 @@
255277
- Updated dependencies.
256278

257279
The following bugs are fixed:
280+
258281
- Version "0" was incorrectly handled. It is now fixed.
259282
- Additional fields were not passed correctly into the request. It is now fixed.
260283

@@ -298,103 +321,99 @@ The following bugs are fixed:
298321

299322
**Common**
300323

301-
* Updated the development dependencies.
324+
- Updated the development dependencies.
302325

303326
**olp-sdk-dataservice-read**
304327

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

307330
**olp-sdk-authentication**
308331

309-
* Reverted the API break in `AuthCredentials`.
310-
332+
- Reverted the API break in `AuthCredentials`.
311333

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

314336
**Common**
315337

316-
* Updated the development dependencies.
338+
- Updated the development dependencies.
317339

318340
**olp-sdk-dataservice-read**
319341

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

324346
**olp-sdk-authentication**
325347

326-
* Added the `HttpError` class that extends the `Error` class and adds a status code to HTTP errors.
327-
* Improved error propagations in all public methods. Now, these methods reject the promises with the `HttpError` instance or `Error` class when errors occur.
328-
329-
* **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.
330-
* **Breaking Change** Public methods now reject the promises with the `HttpError` instance or `Error` class instead of strings when errors occur.
348+
- Added the `HttpError` class that extends the `Error` class and adds a status code to HTTP errors.
349+
- Improved error propagations in all public methods. Now, these methods reject the promises with the `HttpError` instance or `Error` class when errors occur.
331350

351+
- **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.
352+
- **Breaking Change** Public methods now reject the promises with the `HttpError` instance or `Error` class instead of strings when errors occur.
332353

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

335356
**Common**
336357

337-
* Updated the development dependencies.
358+
- Updated the development dependencies.
338359

339360
**olp-sdk-dataservice-read**
340361

341-
* Added the `getPartitionsById` method to `QueryClient`. Now, you can fetch metadata from specific partitions using their IDs.
342-
* 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.
343-
* Updated documentation for the public API.
362+
- Added the `getPartitionsById` method to `QueryClient`. Now, you can fetch metadata from specific partitions using their IDs.
363+
- 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.
364+
- Updated documentation for the public API.
344365

345366
**olp-sdk-authentication**
346367

347-
* The scope support was added to `UserAuth` through `UserAuthConfig`. You can now access the project bound resources using the `UserAuthConfig` scope field.
348-
* Updated documentation for the public API.
349-
368+
- The scope support was added to `UserAuth` through `UserAuthConfig`. You can now access the project bound resources using the `UserAuthConfig` scope field.
369+
- Updated documentation for the public API.
350370

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

353373
**olp-sdk-dataservice-read**
354374

355-
* Added new class `OlpClientSetting` with `KeyValueCache` instance to be used for context.
356-
* Added the `VersionedLayerClient` class that is used to access versioned layers on OLP. This class implements the `getData` and `getPartitions` methods.
357-
* Added the `VolatileLayerClient` class that is used to access volatile layers on OLP. This class implements the `getPartitions` and `getData` methods.
358-
* Added the `ArtifactClient` class that is used to access the artifact service on OLP. This class implements the `getSchemaDetails` and `getSchema` methods.
359-
* Added the `ConfigClient` class that is used to access the configuration service on OLP. This class implements the `getCatalogs` method.
360-
* Added the `QueryClient` class that is used to access the query service on OLP. This class implements the `fetchQuadTreeIndex` method.
361-
* Added a possibility to abort requests using `AbortSignal`.
362-
* Added a possibility to set an optional billing tag in each request.
363-
* 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.
364-
* 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.
365-
* 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`.
366-
367-
* **Breaking Change** The `getLayer` method was removed from `CatalogClient`. Now, to initialize a deprecated `CatalogLayer`, use the `VersionedLayerClient` or `VolatileLayerClient` classes.
368-
* **Breaking Change** The `getTile` method was removed from `CatalogClient`. Now, to get layer data, use `VersionedLayerClient.getData()` or `VolatileLayerClient.getData()`.
369-
* **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()`.
370-
* **Breaking Change** The `getSchema` and `getSchemaDetails` methods were removed from `CatalogClient`. Now, to get schemas and schema metadata, use the `ArtifactClient` class.
371-
* **Breaking Change** The `HypeDataProvider` class was removed. Now, catalog and layer clients can be initialized without additional classes.
372-
* **Breaking Change** The `DatastoreClient` class was removed. Now, `CatalogClient` can be initialized without additional classes.
373-
* **Breaking Change** Replaced RequestInit with AbortSignal in all public APIs.
375+
- Added new class `OlpClientSetting` with `KeyValueCache` instance to be used for context.
376+
- Added the `VersionedLayerClient` class that is used to access versioned layers on OLP. This class implements the `getData` and `getPartitions` methods.
377+
- Added the `VolatileLayerClient` class that is used to access volatile layers on OLP. This class implements the `getPartitions` and `getData` methods.
378+
- Added the `ArtifactClient` class that is used to access the artifact service on OLP. This class implements the `getSchemaDetails` and `getSchema` methods.
379+
- Added the `ConfigClient` class that is used to access the configuration service on OLP. This class implements the `getCatalogs` method.
380+
- Added the `QueryClient` class that is used to access the query service on OLP. This class implements the `fetchQuadTreeIndex` method.
381+
- Added a possibility to abort requests using `AbortSignal`.
382+
- Added a possibility to set an optional billing tag in each request.
383+
- 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.
384+
- 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.
385+
- 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`.
386+
387+
- **Breaking Change** The `getLayer` method was removed from `CatalogClient`. Now, to initialize a deprecated `CatalogLayer`, use the `VersionedLayerClient` or `VolatileLayerClient` classes.
388+
- **Breaking Change** The `getTile` method was removed from `CatalogClient`. Now, to get layer data, use `VersionedLayerClient.getData()` or `VolatileLayerClient.getData()`.
389+
- **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()`.
390+
- **Breaking Change** The `getSchema` and `getSchemaDetails` methods were removed from `CatalogClient`. Now, to get schemas and schema metadata, use the `ArtifactClient` class.
391+
- **Breaking Change** The `HypeDataProvider` class was removed. Now, catalog and layer clients can be initialized without additional classes.
392+
- **Breaking Change** The `DatastoreClient` class was removed. Now, `CatalogClient` can be initialized without additional classes.
393+
- **Breaking Change** Replaced RequestInit with AbortSignal in all public APIs.
374394

375395
**olp-sdk-dataservice-api**
376396

377-
* Fixed issues with requests to the Blob REST APIs.
397+
- Fixed issues with requests to the Blob REST APIs.
378398

379399
**olp-sdk-authentication**
380400

381-
* Added a possibility to read credentials from a file using Node.js.
382-
401+
- Added a possibility to read credentials from a file using Node.js.
383402

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

386-
* Changed prepare process before publishing.
387-
* Changed configuration to the TypeDoc.
388-
* Fixed tslints.
389-
* Align Version and Volatile Layers with DatastoreApi.
405+
- Changed prepare process before publishing.
406+
- Changed configuration to the TypeDoc.
407+
- Fixed tslints.
408+
- Align Version and Volatile Layers with DatastoreApi.
390409

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

393412
**olp-sdk-authentication**
394413

395-
* Fixed build process for web.
396-
* **Breaking Change** UserAuthConfig.tokenRequester is required now.
414+
- Fixed build process for web.
415+
- **Breaking Change** UserAuthConfig.tokenRequester is required now.
397416

398417
**olp-sdk-dataservice-read**
399418

400-
* Fixed build process for web.
419+
- Fixed build process for web.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@here/olp-sdk-ts",
3-
"version": "1.9.1",
3+
"version": "1.10.0",
44
"description": "HERE OLP SDK for TypeScript",
55
"author": {
66
"name": "HERE Europe B.V.",

0 commit comments

Comments
 (0)