Skip to content

Latest commit

 

History

History
866 lines (516 loc) · 59.2 KB

CHANGELOG.md

File metadata and controls

866 lines (516 loc) · 59.2 KB

Changelog

npm history

8.7.0 (2024-04-02)

Features

  • Add several fields to manage state of database encryption update (#1243) (5d28cda)

8.6.0 (2024-03-25)

Features

  • Add new types ExplainOptions, ExplainMetrics, PlanSummary, ExecutionStats (#1241) (6c409d5)
  • Nodejs transaction redesign feature branch (#1235) (1585d4a)

Bug Fixes

  • deps: Update dependency async-mutex to ^0.5.0 (#1240) (0ba1281)

8.5.0 (2024-02-06)

Features

  • Trusted Private Cloud support, use the universeDomain parameter (#1227) (10480ed)

8.4.0 (2024-01-09)

Features

  • Add new types QueryMode, QueryPlan, ResultSetStats (#1216) (49c1462)

8.3.0 (2023-12-11)

Features

Bug Fixes

  • Change tests to use new filter and use gax warn for warning just once (#1185) (532711b)
  • deps: Update dependency sinon to v17 (#1183) (52adb5e)

8.2.2 (2023-10-17)

Bug Fixes

8.2.1 (2023-10-03)

Bug Fixes

  • Make aggregation query requests run properly inside a transaction (#1166) (263804b)

8.2.0 (2023-10-02)

Features

  • Support for using multiple databases in datastore (#1090) (10ce563)

Bug Fixes

  • Allow users to set environment variable to connect to emulator running on docker (#1164) (a41741b)
  • Check property existence for exclude from indexes with wildcard (#1114) (e6b8ef7)
  • deps: Update dependency sinon to v16 (#1150) (0d8b715)

8.1.0 (2023-09-07)

Features

Bug Fixes

  • Simplify logic for HTTP/1.1 REST fallback option (#1138) (4cefaea)

8.0.0 (2023-08-09)

⚠ BREAKING CHANGES

  • upgrade to Node 14

Miscellaneous Chores

7.5.1 (2023-04-11)

Bug Fixes

7.5.0 (2023-03-29)

Features

  • Add SUM/AVG aggregation query support in the preview branch and improve query API documentation (#1094) (d14f87e)

Bug Fixes

7.4.0 (2023-03-09)

Features

  • Introduce EntityFilter class with support for and/or filters (#1061) (8fc58c0)

Bug Fixes

7.3.2 (2023-02-17)

Bug Fixes

7.3.1 (2023-02-17)

Bug Fixes

  • deps: Roll back dependency @google-cloud/datastore to ^7.2.0 (#1069) (1677c53)

7.3.0 (2023-02-16)

Features

7.2.0 (2023-02-09)

Features

  • Add dynamic routing header annotation to DatastoreV1 (b023ab4)
  • Added Snooze API support (b023ab4)
  • Added SuggestConversationSummary RPC (b023ab4)
  • New transaction options for datastoreV1 (b023ab4)

Bug Fixes

7.1.0 (2023-01-18)

Features

Bug Fixes

7.0.0 (2022-06-13)

⚠ BREAKING CHANGES

  • update library to use Node 12 (#945)

Features

  • add IN/NOT_IN/NOT_EQUALS support to cloud datastore proto (6f22f0f)
  • define Datastore -> Firestore in Datastore mode migration long running operation metadata (#907) (652f66d)
  • expose new read_time API fields, currently only available in private preview (#932) (aef00f8)
  • Query filters for datastore (#936) (51725fa)

Bug Fixes

  • deps: update dependency sinon to v13 (#918) (fa01bd4)
  • deps: update dependency sinon to v14 (#943) (e117702)
  • fixes for dynamic routing and streaming descriptors (#947) (ba6c190)

Build System

6.6.2 (2021-11-08)

Bug Fixes

6.6.1 (2021-11-04)

Bug Fixes

  • deps: update dependency sinon to v12 (#894) (6010464)

6.6.0 (2021-10-13)

Features

  • update retry and timeout logic for generated async/stream (#883) (cd3ae5c)

6.5.0 (2021-08-23)

Features

  • turns on self-signed JWT feature flag (#869) (a42c88e)

6.4.8 (2021-08-17)

Bug Fixes

6.4.7 (2021-07-26)

Bug Fixes

6.4.6 (2021-07-19)

Bug Fixes

  • Updating WORKSPACE files to use the newest version of the Typescript generator. (#855) (1cdba8c)

6.4.5 (2021-07-12)

Bug Fixes

6.4.4 (2021-06-30)

Bug Fixes

6.4.3 (2021-06-30)

Bug Fixes

6.4.2 (2021-06-23)

Bug Fixes

6.4.1 (2021-06-10)

Bug Fixes

6.4.0 (2021-04-29)

Features

Bug Fixes

  • deps: update dependency sinon to v10 (#810) (267992f)

6.3.1 (2020-11-25)

Bug Fixes

6.3.0 (2020-11-09)

Features

Bug Fixes

  • do not modify options object, use defaultScopes (#751) (07a77fe)

6.2.0 (2020-10-08)

Features

  • introduce import/export + Index class (#734) (e329095)

6.1.1 (2020-09-12)

Bug Fixes

6.1.0 (2020-07-06)

Features

Bug Fixes

6.0.0 (2020-05-27)

⚠ BREAKING CHANGES

  • The Datastore.projectId property has been removed, and replaced with an asynchronous getProjectid() method. The projectId cannot be determined synchronously, so the previous approach was to use a {{projectId}} string placeholder if the projectId had not yet been acquired. This made it difficult to know exactly when the property would be defined.
  • The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM.

Features

Bug Fixes

  • deps: update dependency @google-cloud/projectify to v2 (#626) (27fa23f)
  • deps: update dependency @google-cloud/promisify to v2 (#625) (1d64bc1)
  • remove eslint, update gax, fix generated protos, run the generator (#644) (fcc5309)
  • deps: update dependency @grpc/grpc-js to v0.7.1 (#615) (3e83981)
  • identify propertyName (#614) (3635e13)
  • missing await in rollback (#671) (7cb353e)
  • deps: update dependency @grpc/grpc-js to v0.7.4 (#620) (1d36be1)
  • deps: update dependency @grpc/grpc-js to v0.7.8 (#638) (a98ee1a)
  • regenerate files and fixed formatting, lint (#664) (34e9135)
  • support request params {key} with no =value (#660) (1faba1f)
  • trim the dependency tree (#651) (1fd412e)
  • deps: update dependency @grpc/grpc-js to v0.7.9 (#645) (04b2ab2)
  • deps: update dependency google-auth-library to v6 (#628) (eb5f87b)

5.1.0 (2020-03-11)

Features

  • add warning when int value is too large during upload (#591) (5a4821b)
  • export protos in src/index.ts (3fe21ab)
  • move library to Typescript code generation (#608) (d543aa6)

Bug Fixes

  • handle large int out of bounds error in streams (#590) (25b1fc2)
  • deps: update dependency @grpc/grpc-js to v0.7.0 (#613) (8b5d391)

5.0.6 (2020-02-20)

Bug Fixes

5.0.5 (2020-02-12)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to v0.6.16 (#585) (f067258)

5.0.4 (2020-01-29)

Bug Fixes

  • enum, bytes, and Long types now accept strings (86a48fa)

5.0.3 (2019-12-31)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to v0.6.15 (#555) (c015c1c)
  • deps: update dependency sinon to v8 (#560) (2d78de4)

5.0.2 (2019-12-12)

Bug Fixes

  • update datastore_transactional_single_entity_group_read_only to consistently use transaction (#551) (fbff2e7)
  • deps: update dependency @grpc/grpc-js to v0.6.14 (#552) (f4df89c)

5.0.1 (2019-12-05)

Bug Fixes

  • deps: pin TypeScript below 3.7.0 (eeebcf6)
  • deps: update dependency @grpc/grpc-js to v0.6.12 (#541) (972d3e7)
  • deps: update dependency @grpc/grpc-js to v0.6.13 (#548) (f8948c6)

5.0.0 (2019-11-14)

⚠ BREAKING CHANGES

  • keyToLegacyUrlsafe is now an async method (#496)
  • throw error with out of bounds integer values, optionally wrap into DsInt or provide a custom 'integerValue' type cast options #516

Features

  • throw error with out of bounds integer values, optionally wrap into DsInt or provide a custom 'integerValue' type cast options #516 (6c8cc74)

Bug Fixes

  • docs: snippets are now replaced in jsdoc comments (#535) (53ddc21)
  • keyToLegacyUrlsafe is now an async method (#496) (bbd1ebe)

4.5.2 (2019-11-08)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to v0.6.11 (#532) (95cded0)

4.5.1 (2019-11-07)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to v0.6.10 (#527) (beb3bcc)

4.5.0 (2019-11-04)

Features

  • support DSInt / DSDouble recognition from JSON (#480) (9f2fb3c)

Bug Fixes

  • types: removed duplicate declaration (#524) (26cbb67)
  • upgrade and pin to @grpc/grpc-js@0.6.9 (#526) (3b85eab)

4.4.1 (2019-10-22)

Bug Fixes

4.4.0 (2019-10-09)

Bug Fixes

  • transaction#run overloads' param types correction (#501) (c88e66e)
  • deps: update dependency @grpc/grpc-js to ^0.6.0 (#503) (7c3c213)
  • use compatible version of google-gax (567e9dd)

Features

  • .d.ts for protos (#506) (869e673)
  • add merge method for merging an object into an existing entity (#452) (8e026af)

4.3.0 (2019-09-12)

Bug Fixes

  • types: fix and clean up types for request.ts (#472) (928f237)
  • added overload method for transaction.createQuery to handle namespace issue (#486) (28568c1)
  • emit encoding errors on user stream (#492) (8d3b552)
  • refactor and clean up types (#476) (5971c4a)
  • update node version in HTTP headers (#475) (b6e65bb)

Features

  • add support for auto-unindex (#453) (33292d2)
  • load protos from JSON, grpc-fallback support (#485) (1cf85ea)
  • support key re-use from serialized path (#474) (b36c90f)

4.2.0 (2019-08-09)

Bug Fixes

  • deps: update dependency @grpc/grpc-js to ^0.5.0 (#461) (1850f25)
  • deps: update dependency google-auth-library to v5 (#462) (1f97053)
  • types: correct type of Datastore.KEY (#459) (09def6d)
  • allow calls with no request, add JSON proto (771b634)

Features

  • add support for appengine legacy url encoding (#456) (357a9cf)
  • excludeFromIndex allow for '*' wildcard to catch all properties on object (#451) (215cbee)

4.1.4 (2019-07-23)

Bug Fixes

4.1.3 (2019-06-27)

Bug Fixes

4.1.2 (2019-06-20)

Bug Fixes

4.1.1 (2019-06-11)

Bug Fixes

  • added legacy samples back, until we can update external references (#428) (c282ff7)
  • docs: link to up-to-date googleapis.dev doc site (#431) (58d41a5)

4.1.0 (2019-06-05)

Bug Fixes

  • default options to empty object (c04777d)

Features

  • support apiEndpoint override in client constructor (#422) (0f75d38)

4.0.0 (2019-05-15)

Bug Fixes

  • deps: update dependency google-gax to v1 (#402) (547f1a1)
  • correct Long types import (#358) (dfe1def)
  • DEADLINE_EXCEEDED is no longer retried (47eedf0)
  • DEADLINE_EXCEEDED retry code is idempotent (#403) (2a7c3ab)
  • deps: update dependency @google-cloud/projectify to v1 (#391) (761896b)
  • deps: update dependency @google-cloud/promisify to v1 (#392) (94a45bd)
  • deps: update dependency arrify to v2 (2b47d10)
  • deps: update dependency google-auth-library to v4 (#400) (19bc787)
  • deps: update dependency google-gax to ^0.26.0 (#386) (29b81e3)
  • include 'x-goog-request-params' header in requests (#372) (d91be05)
  • lint (#384) (9a4d746)
  • docs: move ts overloads above doc string (#356) (a7f1123)

Build System

BREAKING CHANGES

  • upgrade engines field to >=8.10.0 (#388)

v3.1.2

03-06-2019 12:24 PST

Bug fixes

  • fix: make an explicit dependency on long (#352)
  • fix: include types in package (#351)
  • fix: add missing package, and add install test (#346)

Documentation

  • docs(samples): Update datastore_transaction_retry sample to use function arguments rather than closed variables. (#339)

Internal / Testing Changes

  • refactor(ts): enable noImplicitAny on test/request.ts (#343)
  • refactor(ts): enable noImplicitAny on test/query.ts (#342)
  • build: update release configuration
  • chore: update proto docs and code style
  • chore(deps): update dependency mocha to v6 (#338)

v3.1.1

02-18-2019 22:46 PST

Bug fixes

  • fix: include proto d.ts in the build (#335)
  • fix(deps): update dependency @google-cloud/promisify to ^0.4.0 (#333)
  • fix: throw on invalid credentials (#331)
  • fix(deps): update dependency yargs to v13 (#329)

Documentation

  • build: use linkinator for docs test (#332)
  • docs: update links in contrib guide (#334)

v3.1.0

02-09-2019 17:57 PST

This one's coming hot with fresh new TypeScript types 🔥

New Features

  • feat: typings for gapic files (#307)

Bug fixes

  • fix(types): Make gaxOptions optional in Transaction.rollback() (#310)

Dependencies

  • fix(deps): update dependency google-auth-library to v3 (#302)
  • fix(deps): update dependency google-gax to ^0.25.0 (#316)
  • fix(deps): update dependency google-gax to ^0.24.0 (#312)

Documentation

  • docs: update contributing path in README (#322)
  • chore: move CONTRIBUTING.md to root (#321)
  • docs: add lint/fix example to contributing guide (#319)
  • docs(samples): Update Datastore snippet for read only transaction
  • docs(key): copy Datastore#key examples to Key ctor (#306)

Internal / Testing Changes

  • refactor: clean up types for tests (#325)
  • refactor: asyncify the system test (#324)
  • build: test using @grpc/grpc-js in CI (#323)
  • refactor(types): enable noImplicitAny for transaction.ts & request.ts (#305)
  • chore(deps): update dependency eslint-config-prettier to v4 (#313)
  • build: ignore googleapis.com in doc link check (#311)
  • chore: update year in the license headers. (#304)

v3.0.1

01-15-2019 13:20 PST

Bug fixes

  • fix: ship the build directory (#300)

Internal / Testing Changes

  • build: check broken links in generated docs (#292)

v3.0.0

01-14-2019 20:31 PST

This release has breaking changes! The import style of this library has changed to be consistent with es modules.

Old busted code

const Datastore = require('@google-cloud/datastore')();
// or...
const Datastore = require('@google-cloud/datastore');
const ds = new Datastore();

New hot code

const {Datastore} = require('@google-cloud/datastore');
const ds = new Datastore();

Please take care to update your imports accordingly!

Dependencies

  • fix(deps): update dependency google-gax to ^0.23.0 (#296)
  • fix(deps): update dependency google-gax to ^0.22.0 (#248)
  • fix(deps): update dependency concat-stream to v2 (#290)
  • refactor: remove async module usage (#272)
  • fix(deps): update dependency through2 to v3 (#237)
  • chore: remove unused dependencies (#226)
  • fix(deps): update dependency google-proto-files to ^0.17.0 (#210)

Documentation

  • fix(docs): fix namespace causing 404s (#294)
  • fix(docs): remove unused long running operations types
  • docs: Update doc comment showing structure of entity (#276)
  • docs: update readme badges (#269)
  • refactor(samples): Samples to use async/await
  • docs: update auto-generated jsdoc comments (#245)

Internal / Testing Changes

  • refactor: sprinkle some types about (#291)
  • chore(deps): update dependency @types/sinon to v7.0.2 (#289)
  • chore(deps): update dependency @types/sinon to v7 (#286)
  • refactor(ts): enable lint and fix (#287)
  • chore(build): inject yoshi automation key (#285)
  • chore: update nyc and eslint configs (#284)
  • chore: fix publish.sh permission +x (#282)
  • fix(build): fix Kokoro release script (#281)
  • build: add Kokoro configs for autorelease (#280)
  • chore: always nyc report before calling codecov (#275)
  • chore: nyc ignore build/test by default (#274)
  • chore: update license file (#271)
  • refactor: run gts fix (#265)
  • chore(deps): update dependency typescript to ~3.2.0 (#264)
  • fix(build): fix system key decryption (#266)
  • refactor(samples): convert sample tests from ava to mocha (#259)
  • fix: Pin @types/sinon to last compatible version (#256)
  • chore: add synth.metadata (#254)
  • refactor(ts): enable noImplicitThis (#250)
  • chore(deps): update dependency gts to ^0.9.0 (#247)
  • chore: update eslintignore config (#246)
  • refactor(ts): use es module imports (#244)
  • chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 (#243)
  • chore: drop contributors from multiple places (#241)
  • chore(deps): update dependency @types/is to v0.0.21 (#240)
  • chore: use latest npm on Windows (#239)
  • refactor(ts): convert to typescript (#236)
  • chore: update CircleCI config (#235)
  • chore: include build in eslintignore (#232)
  • chore(deps): update dependency eslint-plugin-node to v8 (#227)
  • chore: update issue templates (#225)
  • chore: remove old issue template (#223)
  • build: run tests on node11 (#222)
  • chores(build): do not collect sponge.xml from windows builds (#221)
  • chores(build): run codecov on continuous builds (#220)
  • chore: update new issue template (#219)
  • build: fix codecov uploading on Kokoro (#213)
  • fix(deps): update dependency sinon to v7 (#212)
  • Update kokoro config (#207)
  • chore(deps): update dependency eslint-plugin-prettier to v3 (#206)

v2.0.0

Breaking Changes

  • chore: really delete node4 and node9 (#131)
  • fix: drop support for node.js 4.x and 9.x (#129)

Dependencies

  • fix(deps): update dependency google-gax to ^0.20.0 (#194)
  • fix(deps): update dependency google-auth-library to v2 (#184)
  • fix(deps): update dependency google-gax to ^0.19.0 (#177)
  • chore: remove safe-buffer (#144)
  • fix(deps): update dependency google-gax to ^0.18.0 (#154)
  • chore: drop dependency on common (#148)
  • chore: remove propprop (#145)
  • refactor: update nodejs-common and google-auth-library (#112)

Documentation

  • doc: fix namespace causing 404 (#170)

Internal / Testing Changes

  • build: prevent system/sample-test from leaking credentials
  • Update CI config (#201)
  • test: remove appveyor config (#200)
  • Update the kokoro config (#199)
  • Enable prefer-const in the eslint config (#197)
  • Enable no-var in eslint (#196)
  • Switch to let/const (#195)
  • Update CI config (#193)
  • Retry npm install in CI (#191)
  • Update CI config (#185)
  • Update CI config (#182)
  • chore(deps): update dependency nyc to v13 (#181)
  • Update the CI config (#180)
  • chore: use arrow functions (#176)
  • chore: make CircleCI config consistent (#178)
  • chore: start converting to es classes (#173)
  • chore(deps): update dependency eslint-config-prettier to v3 (#169)
  • test: use sinon for mocking (#168)
  • chore: do not use npm ci (#166)
  • fix: fix the samples tests (#164)
  • chore: ignore package-lock.json (#162)
  • chore(deps): lock file maintenance (#160)
  • chore: switch back to auto-generated code
  • chore(deps): lock file maintenance (#159)
  • chore: use let and const (#158)
  • chore: update renovate config (#157)
  • Delete reference to non-existent sample. (#149)
  • test: throw on deprecation (#155)
  • chore: move mocha options to mocha.opts (#150)
  • Update CI config (#151)
  • chore: add node templates to synth.py (#143)
  • chore: please eslint (#146)
  • chore(deps): lock file maintenance (#142)
  • chore(deps): update dependency eslint-plugin-node to v7 (#139)
  • test: use strictEqual in tests (#140)
  • chore(deps): lock file maintenance (#138)
  • chore(build): use npm ci instead of npm install (#134)
  • chore(deps): lock file maintenance (#133)
  • chore(deps): lock file maintenance (#132)
  • chore(deps): lock file maintenance (#130)
  • chore(deps): lock file maintenance (#128)
  • chore(deps): lock file maintenance (#127)
  • chore(deps): lock file maintenance (#126)
  • chore(deps): lock file maintenance (#125)
  • chore(deps): lock file maintenance (#124)
  • fix(deps): update dependency yargs to v12 (#122)
  • fix(deps): update dependency sinon to v6 (#120)
  • Configure Renovate (#113)
  • Update google-gax dependency (#119)
  • refactor: drop repo-tool as an exec wrapper (#118)
  • chore: update sample lockfiles (#117)
  • fix: update linking for samples (#115)
  • chore(package): update eslint to version 5.0.0 (#114)
  • chore(package): Update sinon to the latest version 🚀 (#104)