Skip to content

Commit

Permalink
Up versions and add changelog.
Browse files Browse the repository at this point in the history
Adding changelog and updating READMEs and versions.
Updating the deprecation dates.

allow_publish_core added to variables on travis.

Resolves: OLPEDGE-2116

Signed-off-by: Oleksii Zubko <[email protected]>
  • Loading branch information
OleksiiZubko committed Aug 18, 2020
1 parent c86de74 commit 975085f
Show file tree
Hide file tree
Showing 31 changed files with 128 additions and 48 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,11 @@ deploy:
cleanup: false
on:
branch: master
condition: [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_write = true ]
condition: [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_write = true ]
- provider: script
script: $WORKSPACE/scripts/publish-packages.sh -core
cleanup: false
on:
branch: master
condition: [ $TRAVIS_EVENT_TYPE = api && $allow_publish_npm = true && $allow_publish_core = true ]

2 changes: 1 addition & 1 deletion @here/olp-sdk-authentication/lib.version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib.version";
4 changes: 2 additions & 2 deletions @here/olp-sdk-authentication/lib/HttpError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*/

/**
* @deprecated This file will be removed by 11.2020.
* Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021.
* Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/utils/HttpError";
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.4.0",
"version": "1.5.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 @@ -51,7 +51,7 @@
"dependencies": {
"@here/olp-sdk-core": "1.0.0",
"@types/properties-reader": "^0.0.1",
"@here/olp-sdk-fetch": "1.4.0",
"@here/olp-sdk-fetch": "1.5.0",
"properties-reader": "^0.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion @here/olp-sdk-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@here/olp-sdk-fetch": "1.4.0"
"@here/olp-sdk-fetch": "1.5.0"
},
"devDependencies": {
"@types/chai": "^4.2.7",
Expand Down
4 changes: 2 additions & 2 deletions @here/olp-sdk-dataservice-api/lib/HttpError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
*/

/**
* @deprecated This class will be removed by 11.2020.
* Please use the same from `@here/olp-sdk-core` package.
* @deprecated This class will be removed by 02.2021.
* Please use the same from the `@here/olp-sdk-core` package.
*
* HttpError class used to be able to provide for consumers
* a more usable errors from services. Would be used in the methods
Expand Down
8 changes: 4 additions & 4 deletions @here/olp-sdk-dataservice-api/lib/blob-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export async function cancelMultipartUpload(
}

/**
* @deprecated This function will be deleted 12.20. Please use checkBlobExistsStatus.
* @deprecated This function will be deleted 02.21. Please use checkBlobExistsStatus.
* Checks if a blob exists for the requested data handle.
*
* @summary Checks if a data handle exists
Expand Down Expand Up @@ -302,7 +302,7 @@ export async function checkBlobExistsStatus(
}

/**
* @deprecated This function will be deleted 01.21. Please use doCompleteMultipartUpload.
* @deprecated This function will be deleted 02.21. Please use doCompleteMultipartUpload.
*
* Call this API when all parts have been uploaded. Please keep in mind that the actual URL for this operation
* must be obtained from the response body of start multipart operation that is
Expand Down Expand Up @@ -485,7 +485,7 @@ export async function getMultipartUploadStatus(
}

/**
* @deprecated This function will be deleted 12.20. Please use `putData`.
* @deprecated This function will be deleted 02.21. Please use `putData`.
* Persists the data blob in the underlying storage mechanism (volume).
* Use this upload mechanism for blobs smaller than 50 MB.
* The size limit for blobs uploaded this way is 5 GB but we do not recommend uploading blobs
Expand Down Expand Up @@ -647,7 +647,7 @@ export async function startMultipartUpload(
}

/**
* @deprecated This function will be deleted 01.21. Please use doUploadPart.
* @deprecated This function will be deleted 02.21. Please use doUploadPart.
*
* Upload a single part of a multipart upload for the blob. Every uploaded part except the last one must have a
* minimum 5 MB of data and maximum of 5 GB, but we do not recommend uploading parts this large.
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.4.0",
"version": "1.5.0",
"description": "Generated from the OpenAPI specification of the HERE Open Location Platform Data API",
"main": "index.js",
"typings": "index",
Expand Down
9 changes: 5 additions & 4 deletions @here/olp-sdk-dataservice-read/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,13 @@ Add minified JavaScript files to your `html` and create an object of userAuth an
settings: olpClientSettings
});
/**
* Get some partition from the layer by ID
* Gets some data from the layer by ID
*/
const request = new DataRequest().withPartitionId("your-partition-id");
volatileLayerClient
.getPartition("some-partition-id")
.then(partitionResponse => {
partitionResponse.blob().then(partitionBlob => {
.getData(request)
.then(response => {
response.blob().then(blob => {
// your blob here
});
});
Expand Down
2 changes: 1 addition & 1 deletion @here/olp-sdk-dataservice-read/lib.version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib.version";
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/utils/DataStoreDownloadManager";
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/utils/DataStoreRequestBuilder";
2 changes: 1 addition & 1 deletion @here/olp-sdk-dataservice-read/lib/DownloadManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/utils/DownloadManager";
2 changes: 1 addition & 1 deletion @here/olp-sdk-dataservice-read/lib/HRN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/utils/HRN";
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/cache/ApiCacheRepository";
2 changes: 1 addition & 1 deletion @here/olp-sdk-dataservice-read/lib/cache/KeyValueCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/cache/KeyValueCache";
2 changes: 1 addition & 1 deletion @here/olp-sdk-dataservice-read/lib/cache/LRUCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/cache/LRUCache";
4 changes: 2 additions & 2 deletions @here/olp-sdk-dataservice-read/lib/client/DataRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class DataRequest {
}

/**
* @deprecated This method will be removed by 10.2020. Please use [[getTile]] function
* @deprecated This method will be removed by 02.2021. Please use [[getAggregatedData]] method
* if you need to get data using a quadkey.
* You can also use the [[getPartitions]] method to get datahandle using a quadkey.
*
Expand All @@ -87,7 +87,7 @@ export class DataRequest {
}

/**
* @deprecated This method will be removed by 10.2020. Please use [[getTile]] function
* @deprecated This method will be removed by 02.2021. Please use [[getAggregatedData]] method
* if you need to get data using a quadkey.
* You can also use the [[getPartitions]] method to get datahandle using a quadkey.
*
Expand Down
2 changes: 1 addition & 1 deletion @here/olp-sdk-dataservice-read/lib/client/FetchOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/utils/FetchOptions";
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/client/OlpClientSettings";
12 changes: 6 additions & 6 deletions @here/olp-sdk-dataservice-read/lib/utils/QuadKeyUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This interface will be removed by 12.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This interface will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
* Addresses a tile in a quadtree.
*
* A quadkey is defined by a row, a column, and a level. The tree has a root at level 0 that contains one
Expand Down Expand Up @@ -101,7 +101,7 @@ const powerOfTwo = [
// tslint:enable:no-magic-numbers

/**
* @deprecated This function will be removed by 12.2020.
* @deprecated This function will be removed by 02.2021.
* Please use the same method from [[TileKey]] class, imported from `@here/olp-sdk-core` package.
*
* Creates a quadkey from a numeric or string Morton code representation.
Expand Down Expand Up @@ -135,7 +135,7 @@ export function quadKeyFromMortonCode(code: number | string): QuadKey {
}

/**
* @deprecated This function will be removed by 12.2020.
* @deprecated This function will be removed by 02.2021.
* Please use the same method from [[TileKey]] class, imported from `@here/olp-sdk-core` package.
*
* Converts a quadkey into a Morton code numeric representation.
Expand Down Expand Up @@ -163,7 +163,7 @@ export function mortonCodeFromQuadKey(key: QuadKey): number {
}

/**
* @deprecated This function will be removed by 12.2020.
* @deprecated This function will be removed by 02.2021.
* Please use the same method from [[TileKey]] class, imported from `@here/olp-sdk-core` package.
*
* Computes a new quadkey that is a result of appending the `subKey` (relative) quadkey to the current quadkey.
Expand All @@ -184,7 +184,7 @@ export function addQuadKeys(root: QuadKey, subKey: QuadKey): QuadKey {
}

/**
* @deprecated This function will be removed by 12.2020.
* @deprecated This function will be removed by 02.2021.
* Please use the same method from [[TileKey]] class, imported from `@here/olp-sdk-core` package.
*
* Computes a new quadkey that is the parent of the current quadkey.
Expand All @@ -208,7 +208,7 @@ export function computeParentKey(key: QuadKey, delta: number = 1): QuadKey {
}

/**
* @deprecated This function will be removed by 12.2020.
* @deprecated This function will be removed by 02.2021.
* Please use the same method from [[TileKey]] class, imported from `@here/olp-sdk-core` package.
*
* Checks if a quadkey is valid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/utils/RequestBuilderFactory";
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/utils/getDataSizeUtil";
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @deprecated This file will be removed by 11.2020. Please use the same from `@here/olp-sdk-core` package.
* @deprecated This file will be removed by 02.2021. Please use the same from the `@here/olp-sdk-core` package.
*/

export * from "@here/olp-sdk-core/lib/utils/getEnvLookupUrl";
5 changes: 3 additions & 2 deletions @here/olp-sdk-dataservice-read/lib/utils/getTile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ export async function getTile(
): Promise<Response>;

/**
* @deprecated This signature will be removed by 11.2020.
* Please use signature getTile(request: TileRequest, params: TileRequestParams, abortSignal?: AbortSignal): Promise<Response>
* @deprecated This signature will be removed by 02.2021.
* Use the following signature instead:
* `getTile(request: TileRequest, params: TileRequestParams, abortSignal?: AbortSignal): Promise<Response>`.
*
* Gets the tile by the key.
*
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.4.0",
"version": "1.5.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 @@ -50,8 +50,8 @@
"license": "Apache-2.0",
"dependencies": {
"@here/olp-sdk-core": "1.0.0",
"@here/olp-sdk-dataservice-api": "1.4.0",
"@here/olp-sdk-fetch": "1.4.0"
"@here/olp-sdk-dataservice-api": "1.5.0",
"@here/olp-sdk-fetch": "1.5.0"
},
"devDependencies": {
"@types/chai": "^4.2.7",
Expand Down
2 changes: 1 addition & 1 deletion @here/olp-sdk-dataservice-write/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"license": "Apache-2.0",
"dependencies": {
"@here/olp-sdk-core": "1.0.0",
"@here/olp-sdk-fetch": "1.4.0"
"@here/olp-sdk-fetch": "1.5.0"
},
"devDependencies": {
"@types/chai": "^4.2.7",
Expand Down
2 changes: 1 addition & 1 deletion @here/olp-sdk-fetch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/olp-sdk-fetch",
"version": "1.4.0",
"version": "1.5.0",
"description": "Adds a subset of the fetch API for Node.js",
"main": "index.js",
"browser": "index.web.js",
Expand Down
Loading

0 comments on commit 975085f

Please sign in to comment.