@google-cloud/datastore
Advanced tools
Comparing version 8.2.2 to 8.3.0
@@ -52,2 +52,3 @@ /*! | ||
export type LongRunningResponse = [Operation, google.longrunning.IOperation]; | ||
export type Fallback = boolean | 'rest' | 'proto'; | ||
export interface ExportEntitiesConfig extends Omit<google.datastore.admin.v1.IExportEntitiesRequest, 'projectId'> { | ||
@@ -1225,2 +1226,3 @@ bucket?: string | { | ||
databaseId?: string; | ||
fallback?: Fallback; | ||
} | ||
@@ -1227,0 +1229,0 @@ export interface KeyToLegacyUrlSafeCallback { |
@@ -21,2 +21,3 @@ "use strict"; | ||
const filter_1 = require("./filter"); | ||
const gaxInstance = require("google-gax"); | ||
/** | ||
@@ -114,3 +115,3 @@ * Build a Query object. | ||
if (arguments.length > 1) { | ||
process.emitWarning('Providing Filter objects like Composite Filter or Property Filter is recommended when using .filter'); | ||
gaxInstance.warn('filter', 'Providing Filter objects like Composite Filter or Property Filter is recommended when using .filter'); | ||
} | ||
@@ -117,0 +118,0 @@ switch (arguments.length) { |
@@ -7,2 +7,15 @@ # Changelog | ||
## [8.3.0](https://github.com/googleapis/nodejs-datastore/compare/v8.2.2...v8.3.0) (2023-12-11) | ||
### Features | ||
* Allow the user to set fallback to rest ([#1203](https://github.com/googleapis/nodejs-datastore/issues/1203)) ([8a1fa54](https://github.com/googleapis/nodejs-datastore/commit/8a1fa54e3873230256895c48b8b9c6889f75dd98)) | ||
### Bug Fixes | ||
* Change tests to use new filter and use gax warn for warning just once ([#1185](https://github.com/googleapis/nodejs-datastore/issues/1185)) ([532711b](https://github.com/googleapis/nodejs-datastore/commit/532711bfd19b1a12844b02fd314f1703be4b0125)) | ||
* **deps:** Update dependency sinon to v17 ([#1183](https://github.com/googleapis/nodejs-datastore/issues/1183)) ([52adb5e](https://github.com/googleapis/nodejs-datastore/commit/52adb5e13ddc123c2bed33df76be76760d33c06e)) | ||
## [8.2.2](https://github.com/googleapis/nodejs-datastore/compare/v8.2.1...v8.2.2) (2023-10-17) | ||
@@ -9,0 +22,0 @@ |
{ | ||
"name": "@google-cloud/datastore", | ||
"version": "8.2.2", | ||
"version": "8.3.0", | ||
"description": "Cloud Datastore Client Library for Node.js", | ||
@@ -56,3 +56,3 @@ "keywords": [ | ||
"@types/extend": "^3.0.1", | ||
"@types/is": "0.0.23", | ||
"@types/is": "0.0.25", | ||
"@types/js-yaml": "^4.0.0", | ||
@@ -62,3 +62,3 @@ "@types/mocha": "^9.0.0", | ||
"@types/proxyquire": "^1.3.28", | ||
"@types/sinon": "^10.0.0", | ||
"@types/sinon": "^17.0.0", | ||
"async": "^3.2.4", | ||
@@ -78,3 +78,3 @@ "c8": "^8.0.1", | ||
"proxyquire": "^2.1.3", | ||
"sinon": "^16.0.0", | ||
"sinon": "^17.0.0", | ||
"ts-loader": "^8.0.0", | ||
@@ -81,0 +81,0 @@ "typescript": "^5.1.6", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
4046490
69022