7.9.1 (2024-09-23)
7.9.0 (2024-08-01)
- Add retryOptions passing to underlying Service class (#1390) (a7cd3af)
- Clean cached rows and responses after conversion (#1393) (3fd28b8)
7.8.0 (2024-06-19)
7.7.1 (2024-05-31)
7.7.0 (2024-05-03)
7.6.1 (2024-04-26)
7.6.0 (2024-04-09)
7.5.2 (2024-03-27)
7.5.1 (2024-03-14)
- Add better documentation around usage of BigQueryTimestamp class and .timestamp method. (2b2c3e0)
- BigQueryTimestamp should keep accepting floats #1339 (2b2c3e0)
- Restores BigQueryTimestamp behavior to accept a numeric value in the constructor representing epoch-seconds. The affected 7.5.0 version would parse a numeric value as epoch-microseconds. (2b2c3e0)
7.5.0 (2024-02-21)
- Add support for TPC Universes (#1333) (f67a841)
- Switch timestamp representation to int64 usec (#1332) (fb10f03)
- Update types and generation script (#1336) (496f52c)
7.4.0 (2024-02-06)
7.3.0 (2023-09-28)
- Avoid TypeError if resp is undefined (#1273) (ff51c1d)
- Updated types from API discovery doc (#1284) (1d8a2b7)
- Updating type for test blocking dependency updates (#1282) (1dbe0fe)
7.2.0 (2023-08-17)
- deps: Update dependency @google-cloud/common to v5 (#1253) (0cbfdcd)
- deps: Update dependency @google-cloud/paginator to v5 (#1254) (658ff1a)
- deps: Update dependency @google-cloud/precise-date to v4 (#1261) (7f12f7d)
- deps: Update dependency @google-cloud/promisify to v4 (#1252) (6f04f39)
- Manual update for renovate-bot google cloud storage v7 (#1262) (b58fc29)
7.1.1 (2023-08-03)
7.1.0 (2023-08-01)
- Support and optionally parse JSON field (#1229) (cd11447)
- Support create/list datasets on a different project (#1230) (86c63fb)
7.0.0 (2023-07-31)
- migrate to node 14 (#1236)
6.2.1 (2023-07-10)
- Change view name to match sample comments (#1207) (1002dee)
- Encode values with null prototype (#1219) (1b7a52e)
6.2.0 (2023-03-22)
- Add collation feature tests (#1188) (80d86ba)
- Add support for microseconds precision (#1192) (b5801a6)
- Add typings for named parameter structs (#1198) (c7c2ba1)
- Client endpoint sample error msg (#1193) (e3ea8cd)
- Pass Query.wrapIntegers to job.getQueryResults (#1191) (fb13510)
6.1.0 (2023-01-25)
6.0.3 (2022-08-23)
6.0.2 (2022-08-01)
- adding missing links to bug_report template (#1141) (aa6388a)
- deps: update dependency @google-cloud/common to v4 (#1127) (bea8b42)
- deps: update dependency readable-stream to v4 (#1129) (4a252d0)
6.0.1 (2022-06-17)
- call rowQueue insert callback only if present (#1128) (17a0c0d)
- deps: update dependency @google-cloud/paginator to v4 (#1116) (073abc0)
- deps: update dependency @google-cloud/storage to v6 (#1119) (d607e5a)
6.0.0 (2022-05-20)
- update library to use Node 12 (#1114)
- deps: update dependency @google-cloud/promisify to v3 (#1112) (cb0d601)
- Fix Job#getQueryResultsStream when using startIndex (#1100) (2b7df52)
5.12.0 (2022-03-02)
5.11.0 (2022-02-10)
- add cross-project support (#1079) (f6a7456)
- add table.createInsertStream for native streaming inserts (#997) (0ffe544)
5.10.0 (2022-01-10)
5.9.3 (2021-12-13)
5.9.2 (2021-11-16)
5.9.1 (2021-10-12)
5.9.0 (2021-09-08)
5.8.0 (2021-08-23)
5.7.1 (2021-08-10)
5.7.0 (2021-07-21)
- deps: update dependency yargs to v17 (#954) (28cf08d)
- extend definition of Query.types for simple named parameters (#906) (#907) (44e1ac7)
- handle null query parameter value (#920) (3bf900a)
- promise never returned on table.insert (#953) (a138347)
5.6.0 (2021-04-28)
- deps: update dependency google-auth-library to v7 (#928) (2ce28c7)
- update returned Job with API-determined location in getMetadata (#900) (8c31358)
5.5.0 (2020-11-10)
5.4.0 (2020-11-02)
- optionally wrap INT64 in BigQueryInt or provide a custom INT64 value type cast options (#873) (be7c6e6)
- Detect Geography type during parameterized query (#877) (bc0ca69)
- do not retry jobs.insert when it flakes (#864) (255491b)
- return error when custom getQueryResults() timeout has been exceeded (#872) (96f939c)
- deps: update dependency big.js to v6 (#862) (a47afb5)
5.3.0 (2020-09-30)
- constructor: add option to set baseUrl using environment variable (#849) (8c54f20)
- allow setting BigQuery Job labels in createQueryJob method (#865) (be074e7)
- deps: update dependency yargs to v16 (#854) (58dcf34)
- perf: disable prettyPrint for slimmer API responses (#860) (1e56383)
5.2.0 (2020-08-13)
5.1.0 (2020-07-27)
- add string type for query types (#827) (acdecbd)
- move gitattributes files to node templates (#829) (f26e641)
5.0.1 (2020-07-07)
5.0.0 (2020-06-19)
- don't return Stream from createLoadJob (#647)
- drop Node 8 from engines field (#662)
- drop Node 8 from engines field (#662) (712b029)
- improved types (40087fa)
- update types.d.ts (#667) (a12b094), closes #662 #662 #647 #647 #640 #640 #647 #661 #661 #658 #658 #8203 #8203 #8203 #8203 #8203 #657 #657 #8203 #8203 #8203 #8203 #8203 #8203 #8203 #8203 #660 #660 #8203 #8203 #8203 #8203 #8203 #8203 #8203 #8203 #8203 #8203 #8203 #8203 #665 #665 #454 #454 #456 #456 #463 #463
- userAgent: allow for optional user agent to be provided (#671) (25aeca8)
- add types for hasDrift and seasonalPeriods (#680) (d6c9566)
- deps: update dependency @google-cloud/paginator to v3 (#658) (a09c493)
- apache license URL (#468) (#669) (d3ed602)
- drop dependency on string-format-obj (#698) (cf8f58f)
- load job to a different project ID (#748) (bfb74ad)
- docs: fix link for job configuration load (#678) (ea3d7af)
- selectedFields on getRows not working correctly (#712) (13b7e39)
- deps: update dependency @google-cloud/promisify to v2 (#657) (5d8112c)
- deps: update dependency @google-cloud/storage to v5 (#700) (a2e34ef)
- deps: update dependency google-auth-library to v6 (#660) (3ea642e)
- docs: configuration.copy link (#709) (4a81b1e)
- docs: correct createTablePartitioned sample argument (#701) (9a7520e)
- table: add retries for insert partial failures (#589) (b8639c2), closes #655
- types: drop changes for drift and seasonal (#681) (679d990)
4.7.0 (2020-01-30)
- add support for scripting/routines (#580) (63d7e24)
- params: adds optional param types (#599) (008946a)
4.6.1 (2020-01-13)
4.6.0 (2020-01-05)
4.5.0 (2019-12-05)
- table: allow opting out of default insert id (#582) (6bf2dbd)
- adds policyTags parameter removes IGetParams Interface (#576) (8cf8f1d)
- deps: TypeScript 3.7.0 causes breaking change in typings (#586) (04f8cba)
- deps: update dependency yargs to v15 (#579) (92119e3)
- docs: snippets are now replaced in jsdoc comments (#573) (a0d3538)
4.4.0 (2019-11-08)
- table: typescript support for range partitioning (#559) (a77c28a)
- typescript support for data split result (#570) (2236545)
4.3.0 (2019-10-09)
- TypeScript: introduce IArimaResult interface (4cd3a71)
4.2.1 (2019-09-16)
4.2.0 (2019-09-07)
- deps: update dependency yargs to v14 (#520) (9dd59a6)
- types: update to the latest discovery types (#518) (dccf2cf)
- update root url to
bigquery.googleapis.com
(#531) (277940f)
4.1.8 (2019-08-02)
- allow calls with no request, add JSON proto (885a98a)
4.1.7 (2019-08-01)
- docs: duplicate readme sample names (#512) (56040f5)
- docs: fix formatting of the docs (#513) (d823014)
4.1.6 (2019-07-29)
4.1.5 (2019-07-17)
4.1.4 (2019-07-02)
4.1.3 (2019-06-17)
4.1.2 (2019-06-11)
4.1.1 (2019-05-30)
- job: remove job instance from request params (#465) (27f080d)
- correct name in .repo-metadata.json (#467) (6add722)
4.1.0 (2019-05-29)
4.0.0 (2019-05-20)
- deps: this will ship async/await with the generated code.
- upgrade engines field to >=8.10.0 (#424)
- This removes the
autoCreate
option which may result in a breaking change for TypeScript users.
- deps: update dependency @google-cloud/common to ^0.32.0 (8e28b62), closes #8203
- deps: update dependency @google-cloud/common to v1 (#434) (0e4aeef)
- deps: update dependency @google-cloud/paginator to v1 (#428) (5d925af)
- deps: update dependency @google-cloud/promisify to v1 (#427) (fdeb862)
- deps: update dependency arrify to v2 (de0f687)
- table: allow for TableSchema to be used (#438) (7995be0)
- types: correct interface (#407) (da5ed01)
- correctly encode nested struct/array params (#439) (d7006bd)
- remove teeny-request as a direct dependency (#412) (c6de54a)
04-02-2019 10:02 PDT
- fix(job): check for
errorResult
when polling jobs (#387)
BREAKING CHANGE Previously when polling a BigQuery Job the Node.js client would check for the presence of the errors
field when trying to determine if the job suceeded. We have since changed this logic to instead check for the errorResult
field. This is significant because the errors
array may now be present for passing jobs, however these errors should serve more as warnings. If your application logic depended on this functionality you'll need to manually check for errors
now.
await job.promise();
if (job.metadata.status.errors) {
// optionally handle warnings
}
- fix(ts): provide complete and correct types (#385)
BREAKING CHANGE A number of the BigQuery TypeScript types were incomplete, this change provides more complete types for the entire client.
- feat(geo): add support for geography (#397)
- fix: correctly encode nested custom date/time parameters (#393)
- chore(deps): update dependency tmp to v0.1.0 (#398)
- chore(deps): update dependency @types/tmp to v0.1.0
- chore(deps): update dependency typescript to ~3.4.0
- docs(samples): adds queryParamsNamed and queryParamsPositional (#381)
- refactor(samples): split query and table samples into separate files (#384)
- refactor(samples): fix loadJSONFromGCSTruncate wrong function (#386)
- refactor(samples): add main() function wrappers to samples
- build: use per-repo npm publish token (#382)
- chore: publish to npm using wombat (#390)
- fix(tests): update TIMESTAMP param tests (#394)
03-12-2019 15:30 PDT
- feat: throw errors for missing resource ids (#342)
- fix(types): move JobLoadMetadata writeDisposition (#365)
- fix(types): Allow views to be configured using an object or a string (#333)
- fix(types): add missing parameters (selectedFields, startIndex) in table.getRows() options (#331)
- fix(deps): update dependency @google-cloud/paginator to ^0.2.0 (#373)
- fix(deps): update dependency @google-cloud/common to ^0.31.0 (#371)
- fix(deps): update dependency @google-cloud/promisify to ^0.4.0 (#356)
- fix(deps): update dependency duplexify to v4 (#343)
- docs(table): link to upstream limit docs (#376)
- docs: update samples and docs to match rubric (#374)
- docs: update links in contrib guide (#358)
- docs: update contributing path in README (#350)
- docs: move CONTRIBUTING.md to root (#349)
- docs: add lint/fix example to contributing guide (#344)
- testing: remove nextQuery assertion (#377)
- refactor(samples): split samples into their own files (#368)
- build: Add docuploader credentials to node publish jobs (#370)
- build: use node10 to run samples-test, system-test etc (#369)
- build: system-tests only delete stale resources
- chore: make test prefix unique per run (#363)
- chore(deps): update dependency mocha to v6 (#360)
- test: skip installation test if GOOGLE_CLOUD_TESTS_IN_VPCSC is passed (#345)
- build: use linkinator for docs test (#354)
- fix(deps): update dependency yargs to v13 (#353)
- chore(deps): update dependency @types/tmp to v0.0.34 (#355)
- build: create docs test npm scripts (#352)
- build: test using @grpc/grpc-js in CI (#351)
- build: check for 404s in the docs (#337)
- build: output benchmark data in csv format (#339)
- chore(deps): update dependency eslint-config-prettier to v4 (#338)
01-08-2019 13:52 PST
- fix: correctly iterate query results within stream (#323)
- fix: remove Job.setMetadata method (#319)
- fix(deps): update dependency @google-cloud/common to ^0.29.0 (#314)
- fix(docs): package exports an object, not the BigQuery ctor (#322)
- docs: regenerate README.md (#321)
- refactor: modernize the sample tests (#318)
12-21-2018 13:19 PST
- fix: createQueryJob should accept pageToken (#313)
- fix(test): skip flaky invalid etag test (#317)
- fix(test): labels: should be an object, not arry (#315)
12-19-2018 14:35 PST
- fix(deps): update dependency @google-cloud/common to ^0.28.0 (#308)
- chore(deps): update dependency @types/sinon to v7 (#307)
- fix(deps): update dependency @google-cloud/common to ^0.27.0 (#274)
- fix(docs): move doc comments so stream methods show up in docs correctly (#309)
- chore(build): inject yoshi automation key (#306)
- chore: update nyc and eslint configs (#305)
- chore: fix publish.sh permission +x (#302)
- fix(build): fix Kokoro release script (#301)
- build: add Kokoro configs for autorelease (#298)
12-06-2018 17:10 PST
- fix(docs): move comments above last overload (#292)
- fix(docs): internal links (#293)
- fix(docs): change source location to ./build for ts project (#291)
- docs: fix region tag placement typo (#286)
- chore: always nyc report before calling codecov (#290)
- chore: nyc ignore build/test by default (#289)
12-04-2018 14:04 PST
TypeScript related changes:
- fix: Changing import of Big from big.js so it doesn't use default (#270)
- refactor(ts): enable noImplicitAny (#259)
- refactor(ts): add @types/proxyquire (#256)
- refactor(ts): refactor system tests to drop unused deps (#254)
- fix(ts): CopyTableMetadata type can’t receive optional values
- refactor(ts): complete type annotations for src (#250)
- refactor(ts): add more types (#246)
- fix: Pin @types/sinon to last compatible version (#267)
- chore(deps): update dependency typescript to ~3.2.0 (#276)
- chore(deps): update dependency gts to ^0.9.0 (#263)
- chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 (#261)
- chore(deps): update dependency @types/is to v0.0.21 (#258)
- chore: update license file (#283)
- docs: Improve timestamp documentation. (#280)
- docs: Improve documentationfor load method (#281)
- docs: update readme badges (#279)
- refactor(samples): replace promise with async await (#268)
- fix(build): fix system key decryption (#277)
- refactor(tests): convert samples tests from ava to mocha (#248)
- chore: add synth.metadata
- chore: update eslintignore config (#262)
- chore: drop contributors from multiple places (#260)
- chore: use latest npm on Windows (#257)
- chore: update CircleCI config (#249)
- fix: use teeny-request for HTTP requests (#244)
- chore: include build in eslintignore (#240)
- refactor(ts): enable noImplicitThis in the tsconfig (#237)
- refactor(ts): improve typing (#241)
This release drops support for Node.js 4.x and 9.x. Future releases might not be compatible with your application if they are still on these non-LTS version. BREAKING CHANGE This library is now compatible with es module import syntax
const BigQuery = require('@google-cloud/bigquery')();
// or...
const BigQuery = require('@google-cloud/bigquery');
const bq = new BigQuery();
const {BigQuery} = require('@google-cloud/bigquery');
const bq = new BigQuery();
- refactor(typescript): convert index to es module (#227
- fix: drop support for node.js 4.x and 9.x (#142)
- wait for job result before emitting complete. (#85)
- fix: Update table.js (#78)
- feat: convert to TypeScript (#157)
- Correctly pass
autoPaginate: false
to query methods. (#121) - chore: use more arrow functions (#172)
- chore: convert a few files to es classes (#170)
BigQuery ORC:
- chore(deps): update dependency eslint-plugin-node to v8 (#234)
- chore(deps): lock file maintenance (#143)
- chore(deps): update dependency sinon to v7 (#212)
- chore(deps): update dependency eslint-plugin-prettier to v3 (#207)
- chore(deps): update dependency typescript to ~3.1.0 (#205)
- chore: upgrade to the latest common (#159)
- chore(package): update to the latest @google-cloud/common (#146)
- fix(deps): update dependency @google-cloud/common to ^0.25.0 (#197)
- fix(deps): update dependency @google-cloud/common to ^0.24.0 (#187)
- fix(deps): update dependency @google-cloud/storage to v2: edited (#181)
- chore(deps): update dependency nyc to v13 (#178)
- chore(deps): update dependency eslint-config-prettier to v3 (#169)
- chore(deps): lock file maintenance (#160)
- chore(deps): lock file maintenance (#153)
- chore(deps): lock file maintenance (#150)
- chore(deps): update dependency eslint-plugin-node to v7 (#148)
- chore(deps): lock file maintenance (#147)
- chore(deps): lock file maintenance (#145)
- chore(deps): lock file maintenance (#144)
- chore(deps): lock file maintenance (#141)
- chore(deps): lock file maintenance (#140)
- chore(deps): lock file maintenance (#139)
- chore(deps): update dependency proxyquire to v2 (#135)
- fix(deps): update dependency yargs to v12 (#138)
- fix(deps): update dependency yargs to v11 (#137)
- chore(deps): update dependency sinon to v6 (#136)
- chore(deps): update dependency nyc to v12 (#134)
- chore(deps): update dependency @google-cloud/nodejs-repo-tools to v2.3.0 (#128)
- chore(deps): update dependency uuid to v3.3.0 (#132)
- chore(deps): update dependency ava to v0.25.0 (#129)
- chore(deps): update dependency sinon to v4.5.0 (#131)
- docs: Correct table.load().format options. (#206)
- fix: (docs): Correct query syntax. (#180)
- docs: Fix create job links (#164)
- fix(samples): Refactor query samples to follow python canonical and add disable cache sample (#215)
- chore(samples): Remove unused BigQuery samples and fix comment typos (#201)
- Use async/await in samples (#193)
- remove asserts in samples (#182)
- fix: fix the samples tests (#167)
- fix: update linking for samples (#125)
- chore: make samples test work (#113)
- refactor(ts): re-enable fix and lint (#232)
- fix(tests): fix system-test (#231)
- Pass an empty object. (#191)
- fix: (tests) Use a filter to locate datasets used in tests. (#177)
- chore: update issue templates (#229)
- chore: remove old issue template (#224)
- build: run tests on node11 (#223)
- 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)
- Update kokoro config (#208)
- Don't publish sourcemaps (#202)
- test: remove appveyor config (#200)
- Enable prefer-const in the eslint config (#198)
- Enable no-var in eslint (#196)
- Retry npm install in CI (#184)
- chore: make ci happy (#175)
- chore: use let and const (#161)
- chore: ignore package-lock.json (#162)
- chore: update renovate config (#156)
- remove that whitespace (#155)
- chore: move mocha options to mocha.opts (#152)
- refactor: use @google-cloud/promisify (#151)
- fix: get eslint passing (#149)
- Configure Renovate (#123)
- chore(package): update eslint to version 5.0.0 (#124)
- refactor: drop repo-tool as an exec wrapper (#127)
- chore: update sample lockfiles (#126)
- fix: drop support for node 4.x and 9.x (#122)
- Added support for the NUMERIC values. (#119)
- chore(package): update nyc to version 12.0.2 (#116)
- chore: the ultimate fix for repo-tools EPERM (#108)
- chore: fix prettier incompatibility (#112)
- chore: lock files maintenance (#111)
- chore: lock files (#109)
- chore: timeout for system test (#107)
- chore: lock files maintenance (#106)