- Discontinued support of Node.js versions less than 18.x.
- Removed
node_fetchfrom the dependencies.
olp-sdk-dataservice-api
- Updated the return type
any=>Responsefor functions:
ArtifactsApi::putArtifactFileUsingPUT,
BlobApi::cancelMultipartUpload,
BlobApi::deleteBlob,
IndexApi::insertIndexes,
IndexApi::performUpdate,
VolatileBlobApi::deleteVolatileBlob,
VolatileBlobApi::putVolatileBlob.
- Removed deprecated interfaces (Removed the deprecated code (heremaps#511).
olp-sdk-dataservice-read
StreamLayerClient::poll()now blocks sending a backend request if there are no messages to submit (heremaps#495).getTilenow does not throw an error on sparse versioned or volatile layers (heremaps#496).- Improved the interactive map layer API (heremaps#497).
olp-sdk-dataservice-api
- Updated the
valueparameter in theUrlBuilder.appendQuery()method. You can also use this parameter as an object:{ [key: string]: string | number }. - Updated the APIs generated by the Interactive API v1. Some interfaces have breaking changes: https://github.com/heremaps/here-data-sdk-typescript/commit/70d7d8799de59c23157dc0437eef0f78a46c8b63.
olp-sdk-core
- Updated the
@here/olp-sdk-dataservice-apidependency.
olp-sdk-authentication
- Removed the deprecated code (heremaps#485).
- Updated the
@here/olp-sdk-coredependency.
olp-sdk-dataservice-api
- Updated the generated code for
ConfigAPIwith information on theInteractiveMapandObjectStorelayer types. - Updated the
datetypes for theSchema,Artifact, andKeysListObjectItemResponseinterfaces ofArtifactAPI. - Removed the deprecated code (heremaps#485).
olp-sdk-dataservice-read
- Removed the deprecated code (heremaps#485).
- Updated the
@here/olp-sdk-coredependency. - Updated the
@here/olp-sdk-dataservice-apidependency.
olp-sdk-dataservice-write
- Updated the
@here/olp-sdk-coredependency. - Updated the
@here/olp-sdk-dataservice-apidependency.
olp-sdk-dataservice-write
- Disable type checking for line
import { fs } from "@here/olp-sdk-core";inNodeFileDataprivate class.
olp-sdk-core
- Change typings settings to
index.web.
olp-sdk-dataservice-write
- Updated dependencies.
olp-sdk-dataservice-api
- Added the APIs generated by the
Interactive V1specification to support IML layers.
olp-sdk-core
- Updated dependencies.
olp-sdk-authentication
- Updated dependencies.
olp-sdk-dataservice-read
- Updated dependencies.
olp-sdk-dataservice-write
- Added the
MultiPartUploadWrapperclass. 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 theMultiPartUploadWrapperclass. - Added the abstracted
BlobDataclass. 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
bodyparameter in theObjectApi.startMultipartUploadByKeyfunction.
olp-sdk-core
- Added export for
fssymbols to the Node.js index file.
olp-sdk-authentication
- Updated dependencies.
olp-sdk-dataservice-read
- Updated dependencies.
olp-sdk-dataservice-api
- Fixed the bug related to the crash in the Config API that occurred when the
catalogExistsfunction was called.
olp-sdk-core
- Added the
isValidmethod toTileKey. - Fixed the bug related to handling 202 and 303 responses.
- Extended the
HttpErrormessages by adding details from the response if it exists. - Changed the Lookup API host URL for SIT.
- Updated dependencies.
olp-sdk-authentication
- Removed the deprecated code (heremaps#425).
- Updated dependencies.
olp-sdk-fetch
- Updated dependencies.
olp-sdk-dataservice-api
- Removed the deprecated code (heremaps#425).
- Added the APIs generated by
Blob V2. - Updated dependencies.
olp-sdk-dataservice-read
- Removed the deprecated code (heremaps#425).
- Updated dependencies.
olp-sdk-dataservice-write
- Updated dependencies.
olp-sdk-core
- Changed the webpack configuration for bundling JS.
olp-sdk-authentication
- Added the maximum validity of the token
expiresInparameter toUserAuthConfig. - Changed the webpack configuration for bundling JS.
olp-sdk-fetch
- Changed the webpack configuration for bundling JS.
olp-sdk-dataservice-api
- Changed the webpack configuration for bundling JS.
olp-sdk-dataservice-read
- Changed the webpack configuration for bundling JS.
olp-sdk-dataservice-write
- Changed the webpack configuration for bundling JS.
olp-sdk-core
- Added the
sentWithquery parameter to each request. - Updated dependencies.
olp-sdk-authentication
- Added the
sentWithquery parameter to each request. - Updated dependencies.
olp-sdk-fetch
- Updated dependencies.
olp-sdk-dataservice-api
- Added generated functions and interfaces that support Authorization APIs. You can find them at
@here/olp-sdk-dataservice-api/lib/authorization-api-v1.1.ts. - Added the
Content-Encodingheader to the PUT blob request. Without this header, it was not possible to upload gzipped blobs. - Breaking change Removed deprecated items that have exceeded the six-month deprecation period. @see #385.
- Updated dependencies.
olp-sdk-dataservice-read
- Now, using a version in the
MetadataCacheRepositoryrequest class is deprecated and will be removed by 05.2021. - Updated dependencies.
- Breaking change Removed deprecated items that have exceeded the six-month deprecation period. @see #385.
olp-sdk-dataservice-write
- Updated dependencies.
olp-sdk-core
- Removed the
User-Agentcustom header from the requests. This was necessary due to issues sending a custom user-agent in Mozilla browsers.
olp-sdk-authentication
- Removed the
User-Agentcustom header from the requests. This was necessary due to issues sending a custom user-agent in Mozilla browsers. - Updated
@here/olp-sdk-fetchto version 1.6.0.
olp-sdk-dataservice-api
- Added generated functions and interfaces for supporting Authorization APIs. You can find them in
@here/olp-sdk-dataservice-api/lib/authorization-api-v1.1.ts.
olp-sdk-fetch
- Updated dependencies.
olp-sdk-dataservice-read
- Fixed the issue with caching partitions metadata without additional fields.
- Started using
RequestFactoryfrom the@here/olp-sdk-corepackage.
olp-sdk-dataservice-write
- Added
@here/olp-sdk-dataservice-apias a dependency. - Updated
@here/olp-sdk-coreto version 1.1.0. - Updated
@here/olp-sdk-fetchto version 1.6.0.
olp-sdk-core
- Added
@here/olp-sdk-dataservice-apias a dependency.
olp-sdk-authentication
- Updated
olp-sdk-coreto version ^1.0.0.
olp-sdk-dataservice-read
- Updated
olp-sdk-coreto version ^1.0.0.
olp-sdk-dataservice-write
- Updated
olp-sdk-coreto version ^1.0.0.
olp-sdk-core
- Added the new
@here/olp-sdk-coremodule v1.0.0 and moved common components to it.
olp-sdk-authentication
- Added
@here/olp-sdk-coreas a dependency. - Updated
olp-sdk-fetchto version 1.5.0. - Deprecated the
lib.version.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
./lib/HttpError.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead.
olp-sdk-dataservice-api
- Added the
checkBlobExistsStatusfunction toblob-api.ts. It is a fork of thecheckBlobExistsfunction. - Deprecated the
checkBlobExistsfunction inblob-api.ts. It will be removed by 02.2021. Use thecheckBlobExistsStatusfunction instead. - Added the
doCompleteMultipartUploadfunction toblob-api.ts. It is a fork of thecompleteMultipartUploadfunction. - Deprecated the
completeMultipartUploadfunction inblob-api.ts. It will be removed by 02.2021. Use thedoCompleteMultipartUploadfunction instead. - Added the
putDatafunction toblob-api.ts. It is a fork of theputBlobfunction. - Deprecated the
putBlobfunction inblob-api.ts. It will be removed by 02.2021. Use theputDatafunction instead. - Added the
doUploadPartfunction toblob-api.ts. It is a fork of theuploadPartfunction. - Deprecated the
uploadPartfunction inblob-api.ts. It will be removed by 02.2021. Use thedoUploadPartfunction instead. - Deprecated the
./lib/HttpError.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead..
olp-sdk-fetch
- Updated dependencies.
olp-sdk-dataservice-read
- Added
@here/olp-sdk-coreas a dependency. - Deprecated the
lib.version.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/DataStoreDownloadManager.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/DataStoreRequestBuilder.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/DownloadManager.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/HRN.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/ApiCacheRepository.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/KeyValueCache.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/LRUCache.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
DataRequest.getQuadKeymethod. It will be removed by 02.2021. If you need to get data using a quadkey, use the [[getAggregatedData]] method instead. - Deprecated the
lib/FetchOptions.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/OlpClientSettings.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/QuadKey.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/getEnvLookupUrl.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/getDataSizeUtil.tsfile. It will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
lib/utils/RequestBuilderFactory.tsfile. This file will be removed by 02.2021. Use the same from the@here/olp-sdk-corepackage instead. - Deprecated the
TileRequestParamsparameter required to constructTileRequest. This signature will be removed by 02.2021. Use the newTileRequest()parameter instead. - Deprecated the
TileRequest.getCatalogVersion()method. It will be removed by 02.2021. Call thegetTilemethod with the following signature instead:getTile(request: TileRequest, params: TileRequestParams, abortSignal?: AbortSignal). - Deprecated the signature for the following function:
getTile(request: TileRequest, abortSignal?: AbortSignal): Promise<Response>;. This signature will be removed by 02.2021. Use the following signature instead:getTile(request: TileRequest, params: TileRequestParams, abortSignal?: AbortSignal): Promise<Response>. - Added the
getAggregatedTilemethod toVersionedLayerClientandVolatileLayerClient. This method fetches data of a tile or its closest ancestor. Use thegetAggregatedTilemethod for tile-tree structures where children tile data is aggregated and stored in parent tiles.
olp-sdk-dataservice-write
- Added the new
olp-sdk-dataservice-writemodule that you can use to upload data to catalogs. For instruction, see the related section in the Developer Guide. - Added
VersionedLayerClient. You can use it to upload data to versioned layers. - Added the
VersionedLayerClient.checkDataExists()method. You can use it to check if a data handle is not used in a layer. - Added the
VersionedLayerClient.getBaseVersion()method. You can use it to get the latest version of a catalog. - Added the
VersionedLayerClient.startBatch()method. You can use it to initialize a new publication for publishing. - Added the
VersionedLayerClient.publishToBatch()method. You can use it to upload a blob and metadata of one partition. If you upload more than 50 MB of data, the data is split and uploaded in parts of 5 MB each. - Added the
VersionedLayerClient.uploadBlob()method. You can use it to upload data blobs of multiple partitions. If you upload more than 50 MB of data, the data is split and uploaded in parts of 5 MB each. - Added the
VersionedLayerClient.uploadPartitions()method. You can use it to upload metadata to the write service. - Added the
VersionedLayerClient.cancelBatch()method. You can use it to cancel a publication if it has not been submitted. - 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.
olp-sdk-authentication
- Updated
olp-sdk-fetchto version 1.4.0.
olp-sdk-dataservice-api
- Deprecated the
commitOffsetsfunction instream-api.ts. It will be removed by 09.2020. Use thedoCommitOffsetsfunction instead.
olp-sdk-fetch
- Updated dependencies.
olp-sdk-dataservice-read
- Added the
LRUCacheclass. - Replaced
MapwithLRUCacheinKeyValueCache. The default LRU cache capacity is 2 MB. - Added metadata caching to the
getPartitionsandgetDatamethods inVersionedLayerClientandVolatileLayerClient. - Added the
getSize,setCapacity, andgetCapacitymethods toKeyValueCache. You can use these methods to perform the following actions with the LRU cache instance: retrieve the current size, set a new size, and retrieve the total capacity. - Deprecated the
getQuadKeyandwithQuadKeymethods inDataRequest. Both methods will be removed by 10.2020. Use thegetTilefunction instead. - Added the
getTilehelper function for retrieving binary data of a versioned or volatile layer using a tile key. This function will optimize the metadata caching by requesting a quadtree with depth 4. This way, all the following requests within the same quadtree will benefit from the already cached metadata. - Added the
withFetchOptionandgetFetchOptionmethods toDataRequestandPartitionsRequest. You can use these methods to define how and from where to retrieve data and metadata. Possible options areOnlineIfNotFound, andOnlineOnly. - Updated
olp-sdk-fetchto version 1.4.0.
olp-sdk-dataservice-read
- Fixed API breaks in
VersionedLayerClientandVolatileLayerClient. - Fixed the incorrectly handled version in
VersionedLayerClient,CatalogClient, andQueryClient. - Fixed the incorrectly handled headers in
DatastoreRequestBuilder.
Common
- 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.
olp-sdk-fetch
- Updated
node-fetchto version 2.6.0.
olp-sdk-authentication
- Updated
olp-sdk-fetchto version 1.3.0.
olp-sdk-dataservice-api
- Added functions and models that are generated from the Stream API specification.
- Added the
isHttpError()method to theHttpErrorclass. - Changed
CoverageAPI. Now, thedataLevelparameter is optional.
olp-sdk-dataservice-read
- Added the
VersionedLayerClientParamsinterface. - Deprecated the
VersionedLayerClientconstructor. Instead, use the constructor that creates theVersionedLayerClientinstance with the help of theVersionedLayerClientParamsobject. - Added the
VersionedLayerClientconstructor that creates theVersionedLayerClientinstance using theVersionedLayerClientParamsobject and lock version. - Deprecated the
DataRequest.getVersion()method. - Deprecated the
DataRequest.withVersion()method. - Changed the
VersionedLayerClient.getDataandVersionedLayerClient.getPartitionsmethods. Now, they ignore versions fromDataRequestandPartitionsRequestand use versions from theVersionedLayerClientinstance. If you initializeVersionedLayerClientwithout any version, on the first call, the latest version is fetched from the service and set in the instance. - Added the
SubscribeRequestclass. This is used byStreamLayerClient.subscribe(). - Deprecated the
StatisticsRequest.withDatalevel()method with a string parameter and added theStatisticsRequest.withDatalevel()method with a number parameter. - Changed
StatisticsRequest.getDataLevel(). Now, it returns one of the following values: string, number, or undefined. - Added
StreamLayerClientand reading support for streamed data usingStreamLayerClient. Currently, you can subscribe, unsubscribe, and consume messages from a stream layer in a serial or parallel mode. Thepollmethod reads messages from a stream layer and commits successfully consumed messages before handing them over to you. With theseekmethod, you can set to start reading messages from a stream layer at any given position. - Added the
PollRequestclass. It is used byStreamLayerClient.poll(). - Added the
UnsubscribeRequestclass. It is used byStreamLayerClient.unsubscribe(). - Added the
SeekRequestclass. It is used byStreamLayerClient.seek(). - Deprecated the
VolatileLayerClientconstructor. Instead, use the constructor that creates theVolatileLayerClientinstance with the help of theVolatileLayerClientParamsobject. - Added the
VolatileLayerClientconstructor that creates theVolatileLayerClientinstance usingVolatileLayerClientClientParamsobject. - Deprecated the
IndexLayerClientconstructor. Instead, use the constructor that creates theIndexLayerClientClientinstance with the help of theIndexLayerClientClientParamsobject. - Added the
IndexLayerClientconstructor that creates theIndexLayerClientClientinstance using theIndexLayerClientClientParamsobject. - Changed the
LookupAPI.getBaseUrl()method. Now, you can fetch all URLs in one request instead of fetching each URL separately. - Changed the
ConfigClient.getCatalogs()method. Now, therequestparameter is optional.
Common
- Updated the development dependencies.
olp-sdk-dataservice-read
- Fixed the crash in
VersionedLayerClientandVolatileLayerClientthat happened when a non-existing tile was requested.
olp-sdk-authentication
- Reverted the API break in
AuthCredentials.
Common
- Updated the development dependencies.
olp-sdk-dataservice-read
- Added the
IndexLayerClientclass that is used to access index layers on OLP. This class implements thegetPartitionsandgetDatamethods. - Added the
HttpErrorclass that extends theErrorclass and adds a status code to HTTP errors. - Improved error propagations in all public methods. Now, these methods reject the promises with the
HttpErrorinstance orErrorclass when errors occur.
olp-sdk-authentication
-
Added the
HttpErrorclass that extends theErrorclass and adds a status code to HTTP errors. -
Improved error propagations in all public methods. Now, these methods reject the promises with the
HttpErrorinstance orErrorclass when errors occur. -
Breaking Change Improved the return type of the
getEarliestVersionmethod inCatalogClient. It is now the same as the return type of thegetLatestVersionmethod. -
Breaking Change Public methods now reject the promises with the
HttpErrorinstance orErrorclass instead of strings when errors occur.
Common
- Updated the development dependencies.
olp-sdk-dataservice-read
- Added the
getPartitionsByIdmethod toQueryClient. Now, you can fetch metadata from specific partitions using their IDs. - Updated the
getPartitionsmethod inVersionedLayerClientandVolatileLayerClient. 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
UserAuththroughUserAuthConfig. You can now access the project bound resources using theUserAuthConfigscope field. - Updated documentation for the public API.
olp-sdk-dataservice-read
-
Added new class
OlpClientSettingwithKeyValueCacheinstance to be used for context. -
Added the
VersionedLayerClientclass that is used to access versioned layers on OLP. This class implements thegetDataandgetPartitionsmethods. -
Added the
VolatileLayerClientclass that is used to access volatile layers on OLP. This class implements thegetPartitionsandgetDatamethods. -
Added the
ArtifactClientclass that is used to access the artifact service on OLP. This class implements thegetSchemaDetailsandgetSchemamethods. -
Added the
ConfigClientclass that is used to access the configuration service on OLP. This class implements thegetCatalogsmethod. -
Added the
QueryClientclass that is used to access the query service on OLP. This class implements thefetchQuadTreeIndexmethod. -
Added a possibility to abort requests using
AbortSignal. -
Added a possibility to set an optional billing tag in each request.
-
Added
QuadKeyUtilsthat 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
RequestFactoryclass that is used for look-up requests. This class implements the staticcreatemethod that returns the builtDatastoreDownloadManagerinstance with a correct base URL to service, and thegetBaseUrlmethod that caches and returns base URLs to services. -
The
CatalogClientconstructor changed. Users must pass nowOlpClientSettingsby value not by reference anymore. RemovedKeyValueCacheas it is now a part ofOlpClientSettings. -
Breaking Change The
getLayermethod was removed fromCatalogClient. Now, to initialize a deprecatedCatalogLayer, use theVersionedLayerClientorVolatileLayerClientclasses. -
Breaking Change The
getTilemethod was removed fromCatalogClient. Now, to get layer data, useVersionedLayerClient.getData()orVolatileLayerClient.getData(). -
Breaking Change The
getAgregatedTilemethod was removed fromCatalogClient. Now, to get partitions metadata and layer data, useVersionedLayerClient.getPartitions()andVersionedLayerClient.getData()orVolatileLayerClient.getPartitions()andVolatileLayerClient.getData(). -
Breaking Change The
getSchemaandgetSchemaDetailsmethods were removed fromCatalogClient. Now, to get schemas and schema metadata, use theArtifactClientclass. -
Breaking Change The
HypeDataProviderclass was removed. Now, catalog and layer clients can be initialized without additional classes. -
Breaking Change The
DatastoreClientclass was removed. Now,CatalogClientcan 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.
olp-sdk-authentication
- Added a possibility to read credentials from a file using Node.js.
- Changed prepare process before publishing.
- Changed configuration to the TypeDoc.
- Fixed tslints.
- Align Version and Volatile Layers with DatastoreApi.
olp-sdk-authentication
- Fixed build process for web.
- Breaking Change UserAuthConfig.tokenRequester is required now.
olp-sdk-dataservice-read
- Fixed build process for web.