diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f54f0ab7..1d3464d72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,178 @@ [1]: https://www.npmjs.com/package/@google-cloud/bigquery?activeTab=versions +## 1.0.0 (2022-05-18) + + +### ⚠ BREAKING CHANGES + +* update library to use Node 12 (#1114) +* don't return Stream from createLoadJob (#647) +* drop Node 8 from engines field (#662) +* upgrade engines field to >=8.10.0 (#424) + +### Features + +* accept apiEndpoint override ([#455](https://github.com/googleapis/nodejs-bigquery/issues/455)) ([1eda8ff](https://github.com/googleapis/nodejs-bigquery/commit/1eda8ff3e18a4cb98b9c289c6cedd33d67a22077)) +* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#958](https://github.com/googleapis/nodejs-bigquery/issues/958)) ([9eab78d](https://github.com/googleapis/nodejs-bigquery/commit/9eab78de56d087f3dc756ab2c0974737a80ad43f)) +* add cross-project support ([#1079](https://github.com/googleapis/nodejs-bigquery/issues/1079)) ([f6a7456](https://github.com/googleapis/nodejs-bigquery/commit/f6a745682f2c25d6dfa676975d2af3d0984fe6c0)) +* Add jobs.delete and update to latest discovery types ([#1023](https://github.com/googleapis/nodejs-bigquery/issues/1023)) ([12f7771](https://github.com/googleapis/nodejs-bigquery/commit/12f77710accfca8c512d021a1c75a732c6c666f7)) +* add support for accessing jobs cross-project ([#1083](https://github.com/googleapis/nodejs-bigquery/issues/1083)) ([9e5bae2](https://github.com/googleapis/nodejs-bigquery/commit/9e5bae22cecb8c012504f21d8d09df436dc3d978)) +* add support for loading Firestore export file ([#991](https://github.com/googleapis/nodejs-bigquery/issues/991)) ([c17a44e](https://github.com/googleapis/nodejs-bigquery/commit/c17a44ec97af6acff24a712a519355a0957999a3)) +* add support for scripting/routines ([#580](https://github.com/googleapis/nodejs-bigquery/issues/580)) ([63d7e24](https://github.com/googleapis/nodejs-bigquery/commit/63d7e24bd9347f7b5202127afc1e92be34819a77)) +* Add support for Table IAM policies ([#892](https://github.com/googleapis/nodejs-bigquery/issues/892)) ([005422a](https://github.com/googleapis/nodejs-bigquery/commit/005422a07a46edd0eaf3fba3035753b42a86dadb)) +* add table.createInsertStream for native streaming inserts ([#997](https://github.com/googleapis/nodejs-bigquery/issues/997)) ([0ffe544](https://github.com/googleapis/nodejs-bigquery/commit/0ffe544d8961f294e520519a077b59838135699f)) +* add typescript support for script statistics ([#551](https://github.com/googleapis/nodejs-bigquery/issues/551)) ([d4892ea](https://github.com/googleapis/nodejs-bigquery/commit/d4892ea6d3f310abab071162440ce82019b3f995)) +* adds policyTags parameter removes IGetParams Interface ([#576](https://github.com/googleapis/nodejs-bigquery/issues/576)) ([8cf8f1d](https://github.com/googleapis/nodejs-bigquery/commit/8cf8f1d15cd53406ac911fef512f69132d823873)) +* Adds support for BIGNUMERIC type ([#904](https://github.com/googleapis/nodejs-bigquery/issues/904)) ([ef5552a](https://github.com/googleapis/nodejs-bigquery/commit/ef5552a5230240650fadd5bca8405a69b561a712)) +* allow setting BigQuery Job labels in createQueryJob method ([#865](https://github.com/googleapis/nodejs-bigquery/issues/865)) ([be074e7](https://github.com/googleapis/nodejs-bigquery/commit/be074e72ae1907f0649fbc5e085e22a31c3a6393)) +* **constructor:** add option to set baseUrl using environment variable ([#849](https://github.com/googleapis/nodejs-bigquery/issues/849)) ([8c54f20](https://github.com/googleapis/nodejs-bigquery/commit/8c54f20777a902a343035fcf09e63978d71135ad)) +* detect param type if not in provided types ([#813](https://github.com/googleapis/nodejs-bigquery/issues/813)) ([1e5a4cc](https://github.com/googleapis/nodejs-bigquery/commit/1e5a4cc0e7927dfe9690842e564982bfbef9310f)) +* drop Node 8 from engines field ([#662](https://github.com/googleapis/nodejs-bigquery/issues/662)) ([712b029](https://github.com/googleapis/nodejs-bigquery/commit/712b0294c6329545de70febb48762abd8b0567b9)) +* **geo:** add support for geography ([#397](https://github.com/googleapis/nodejs-bigquery/issues/397)) ([8131b92](https://github.com/googleapis/nodejs-bigquery/commit/8131b92db7bdef4d6d2a14c9e4fb0c0dbea2e85c)) +* improved types ([40087fa](https://github.com/googleapis/nodejs-bigquery/commit/40087fa40f1e9a4180da7aaa43e2bb8a018bd632)) +* model extract ([#832](https://github.com/googleapis/nodejs-bigquery/issues/832)) ([1541e98](https://github.com/googleapis/nodejs-bigquery/commit/1541e98076ee33da7d7e5f5a10d3ea45fc393736)) +* **model:** dataset model support ([#449](https://github.com/googleapis/nodejs-bigquery/issues/449)) ([3ad884f](https://github.com/googleapis/nodejs-bigquery/commit/3ad884fa55b21f3425b744290a6fa19f01aa9338)) +* optionally wrap INT64 in BigQueryInt or provide a custom INT64 value type cast options ([#873](https://github.com/googleapis/nodejs-bigquery/issues/873)) ([be7c6e6](https://github.com/googleapis/nodejs-bigquery/commit/be7c6e6411e351bfab4b557fb34162470bbfd7f4)) +* **params:** adds optional param types ([#599](https://github.com/googleapis/nodejs-bigquery/issues/599)) ([008946a](https://github.com/googleapis/nodejs-bigquery/commit/008946a05b8d1d54add31a25cc52aba2a61448a8)) +* publish post-processor images to cloud-devrel-public-resources ([#1203](https://github.com/googleapis/nodejs-bigquery/issues/1203)) ([#1005](https://github.com/googleapis/nodejs-bigquery/issues/1005)) ([e852cb2](https://github.com/googleapis/nodejs-bigquery/commit/e852cb22d0dd539941a0b1a8e6f9a7dde214fe84)) +* Release @google-cloud/bigquery v2.0.0 ([#230](https://github.com/googleapis/nodejs-bigquery/issues/230)) ([9d45ea2](https://github.com/googleapis/nodejs-bigquery/commit/9d45ea2e46bcb8246cc5cb1cd2c710aa48b71a1a)) +* **table:** allow opting out of default insert id ([#582](https://github.com/googleapis/nodejs-bigquery/issues/582)) ([6bf2dbd](https://github.com/googleapis/nodejs-bigquery/commit/6bf2dbd1ec09689338ee21b1d8666a4e8b2a7367)) +* **table:** support all sourceFormat types ([#469](https://github.com/googleapis/nodejs-bigquery/issues/469)) ([568f181](https://github.com/googleapis/nodejs-bigquery/commit/568f1817447e566a1dc67f30ceda950a83029060)) +* **table:** typescript support for range partitioning ([#559](https://github.com/googleapis/nodejs-bigquery/issues/559)) ([a77c28a](https://github.com/googleapis/nodejs-bigquery/commit/a77c28a3e8b84760d67c4381008424103dcd1db7)) +* throw errors for missing resource ids ([#342](https://github.com/googleapis/nodejs-bigquery/issues/342)) ([a1c9e3d](https://github.com/googleapis/nodejs-bigquery/commit/a1c9e3d3adf8ce5464025a8bccbd9913c5c3381f)) +* types to support slot ms and read masks ([#592](https://github.com/googleapis/nodejs-bigquery/issues/592)) ([84d1c82](https://github.com/googleapis/nodejs-bigquery/commit/84d1c82981a2f3444836dde5d8fd00a23ee1cf94)) +* typescript support for data split result ([#570](https://github.com/googleapis/nodejs-bigquery/issues/570)) ([2236545](https://github.com/googleapis/nodejs-bigquery/commit/223654555ed9113683781883c65ffa7ee2f1ea5b)) +* **typescript:** generate latest request/response types ([#528](https://github.com/googleapis/nodejs-bigquery/issues/528)) ([f8d2f4d](https://github.com/googleapis/nodejs-bigquery/commit/f8d2f4da6249f1f6bfadb0aad6e26489c29a3c1c)) +* **TypeScript:** introduce IArimaResult interface ([4cd3a71](https://github.com/googleapis/nodejs-bigquery/commit/4cd3a71150942f7faedd4b539b5fb16bd3c0c3d3)) +* update types.d.ts ([#667](https://github.com/googleapis/nodejs-bigquery/issues/667)) ([a12b094](https://github.com/googleapis/nodejs-bigquery/commit/a12b094d2e6e48049203c9cd773fecb98713a3fa)) +* **userAgent:** allow for optional user agent to be provided ([#671](https://github.com/googleapis/nodejs-bigquery/issues/671)) ([25aeca8](https://github.com/googleapis/nodejs-bigquery/commit/25aeca8f6c136d03d6029bda54e7cdab98af80ca)) + + +### Bug Fixes + +* add string type for query types ([#827](https://github.com/googleapis/nodejs-bigquery/issues/827)) ([acdecbd](https://github.com/googleapis/nodejs-bigquery/commit/acdecbd06f6a6ac1e5d1d8d0cd68afcb9a4d3ba7)) +* add tests for Routine ([#807](https://github.com/googleapis/nodejs-bigquery/issues/807)) ([c969f3d](https://github.com/googleapis/nodejs-bigquery/commit/c969f3d15d4e545b9efd92c4f8a9649216cbd927)) +* add types for hasDrift and seasonalPeriods ([#680](https://github.com/googleapis/nodejs-bigquery/issues/680)) ([d6c9566](https://github.com/googleapis/nodejs-bigquery/commit/d6c95667577df2d32bff6f9d07117d011379ecd2)) +* allow calls with no request, add JSON proto ([885a98a](https://github.com/googleapis/nodejs-bigquery/commit/885a98abacb19ad0cd12cf6dabf869008e7b62f1)) +* apache license URL ([#468](https://github.com/googleapis/nodejs-bigquery/issues/468)) ([#669](https://github.com/googleapis/nodejs-bigquery/issues/669)) ([d3ed602](https://github.com/googleapis/nodejs-bigquery/commit/d3ed602e47ba005ca4c9d2f382867d19336f239d)) +* **build:** fix Kokoro release script ([#301](https://github.com/googleapis/nodejs-bigquery/issues/301)) ([d8a49ea](https://github.com/googleapis/nodejs-bigquery/commit/d8a49ea3578995e230a20c5a109129a11717e035)) +* **build:** fix system key decryption ([#277](https://github.com/googleapis/nodejs-bigquery/issues/277)) ([c65cd5f](https://github.com/googleapis/nodejs-bigquery/commit/c65cd5fa31afe462a7433452bb2fbb4d6a78330a)) +* **build:** migrate to using main branch ([#986](https://github.com/googleapis/nodejs-bigquery/issues/986)) ([16e7a4e](https://github.com/googleapis/nodejs-bigquery/commit/16e7a4e36245af42a4f19048941a4dab1303f106)) +* Changing import of Big from big.js so it doesn't use default ([#270](https://github.com/googleapis/nodejs-bigquery/issues/270)) ([a04562c](https://github.com/googleapis/nodejs-bigquery/commit/a04562ceac53340efaf30c9fffc08d77cacbc5a9)) +* **cloud-rad:** move comments for TSDoc ([#1040](https://github.com/googleapis/nodejs-bigquery/issues/1040)) ([93c5e14](https://github.com/googleapis/nodejs-bigquery/commit/93c5e14a91418a293775e417b68ab22732bc48e7)) +* correct name in .repo-metadata.json ([#467](https://github.com/googleapis/nodejs-bigquery/issues/467)) ([6add722](https://github.com/googleapis/nodejs-bigquery/commit/6add7224861ab0fc5cc168a85074d5f4a16bee36)) +* correctly encode nested custom date/time parameters ([#393](https://github.com/googleapis/nodejs-bigquery/issues/393)) ([ba5c82e](https://github.com/googleapis/nodejs-bigquery/commit/ba5c82efc4c6f2aa50df2c386ab0b6894d0dd2aa)) +* correctly encode nested struct/array params ([#439](https://github.com/googleapis/nodejs-bigquery/issues/439)) ([d7006bd](https://github.com/googleapis/nodejs-bigquery/commit/d7006bd1fd4934ed310bd17cf3eb5adb54a323b6)) +* correctly iterate query results within stream ([#323](https://github.com/googleapis/nodejs-bigquery/issues/323)) ([734e4e2](https://github.com/googleapis/nodejs-bigquery/commit/734e4e2cd58f706a40ac2c4e8e12f740074ec31f)) +* createQueryJob should accept pageToken ([#313](https://github.com/googleapis/nodejs-bigquery/issues/313)) ([68e75bd](https://github.com/googleapis/nodejs-bigquery/commit/68e75bde93f2dd9c314b2e6c654cfffebf2a7819)) +* **deps:** bump the min version on all dependencies ([#472](https://github.com/googleapis/nodejs-bigquery/issues/472)) ([4221c3d](https://github.com/googleapis/nodejs-bigquery/commit/4221c3db3dc74ab386fde68d8d2cb4efddbd1cc7)) +* **deps:** TypeScript 3.7.0 causes breaking change in typings ([#586](https://github.com/googleapis/nodejs-bigquery/issues/586)) ([04f8cba](https://github.com/googleapis/nodejs-bigquery/commit/04f8cba7c86675fd7e12bb5ac4235f56745c033f)) +* **deps:** update dependency @google-cloud/common to ^0.27.0 ([#274](https://github.com/googleapis/nodejs-bigquery/issues/274)) ([4cb4d3c](https://github.com/googleapis/nodejs-bigquery/commit/4cb4d3cf1f1d8cda872aef43a62314f2128f07f7)) +* **deps:** update dependency @google-cloud/common to ^0.28.0 ([#308](https://github.com/googleapis/nodejs-bigquery/issues/308)) ([6d923f8](https://github.com/googleapis/nodejs-bigquery/commit/6d923f80cc3e0497e5e6c47619d06bdca771c4cd)) +* **deps:** update dependency @google-cloud/common to ^0.29.0 ([#314](https://github.com/googleapis/nodejs-bigquery/issues/314)) ([4d531e2](https://github.com/googleapis/nodejs-bigquery/commit/4d531e2e9c359b6c350678acd40c0355dce3f797)) +* **deps:** update dependency @google-cloud/common to ^0.30.0 ([#336](https://github.com/googleapis/nodejs-bigquery/issues/336)) ([76ee1ad](https://github.com/googleapis/nodejs-bigquery/commit/76ee1adbbdc31e9aee31299cafb691b57f3896fe)) +* **deps:** update dependency @google-cloud/common to ^0.31.0 ([#371](https://github.com/googleapis/nodejs-bigquery/issues/371)) ([54e8df3](https://github.com/googleapis/nodejs-bigquery/commit/54e8df3dc6d116cd6da7e48633cf146ec56d6c23)) +* **deps:** update dependency @google-cloud/common to ^0.32.0 ([8e28b62](https://github.com/googleapis/nodejs-bigquery/commit/8e28b6284788c539dff41b4cdf981485c463c8ef)) +* **deps:** update dependency @google-cloud/common to v1 ([#434](https://github.com/googleapis/nodejs-bigquery/issues/434)) ([0e4aeef](https://github.com/googleapis/nodejs-bigquery/commit/0e4aeef5a1ae9ea69e3ecb11318dbe463bfeae70)) +* **deps:** update dependency @google-cloud/paginator to ^0.2.0 ([#373](https://github.com/googleapis/nodejs-bigquery/issues/373)) ([e4b0b12](https://github.com/googleapis/nodejs-bigquery/commit/e4b0b12c4b5b734909e3330e40d7831004f40b1a)) +* **deps:** update dependency @google-cloud/paginator to v1 ([#428](https://github.com/googleapis/nodejs-bigquery/issues/428)) ([5d925af](https://github.com/googleapis/nodejs-bigquery/commit/5d925af89af62ea8cca241f8cd6ba8bf8317c01e)) +* **deps:** update dependency @google-cloud/paginator to v3 ([#658](https://github.com/googleapis/nodejs-bigquery/issues/658)) ([a09c493](https://github.com/googleapis/nodejs-bigquery/commit/a09c493f1f94e4a0272c17cb62009c92945c20d0)) +* **deps:** update dependency @google-cloud/promisify to ^0.4.0 ([#356](https://github.com/googleapis/nodejs-bigquery/issues/356)) ([a6ad9d7](https://github.com/googleapis/nodejs-bigquery/commit/a6ad9d7888197c1a4aa979e74d5a58aa2ab336ae)) +* **deps:** update dependency @google-cloud/promisify to v1 ([#427](https://github.com/googleapis/nodejs-bigquery/issues/427)) ([fdeb862](https://github.com/googleapis/nodejs-bigquery/commit/fdeb8622f2b91ecea3b045be201f908e729a750b)) +* **deps:** update dependency @google-cloud/promisify to v2 ([#657](https://github.com/googleapis/nodejs-bigquery/issues/657)) ([5d8112c](https://github.com/googleapis/nodejs-bigquery/commit/5d8112c2cd3994d1d32102d63a7a90fb9478223c)) +* **deps:** update dependency @google-cloud/storage to v3 ([#508](https://github.com/googleapis/nodejs-bigquery/issues/508)) ([bdca2ea](https://github.com/googleapis/nodejs-bigquery/commit/bdca2ea6cc09546946fd1b9523479ab38b65d0d3)) +* **deps:** update dependency @google-cloud/storage to v4 ([#561](https://github.com/googleapis/nodejs-bigquery/issues/561)) ([0ec07f9](https://github.com/googleapis/nodejs-bigquery/commit/0ec07f994e0e9567025d1c96ad65f9a057a65344)) +* **deps:** update dependency @google-cloud/storage to v5 ([#700](https://github.com/googleapis/nodejs-bigquery/issues/700)) ([a2e34ef](https://github.com/googleapis/nodejs-bigquery/commit/a2e34ef32a79c0dccaa11954ca2fa3f90795c63a)) +* **deps:** update dependency arrify to v2 ([de0f687](https://github.com/googleapis/nodejs-bigquery/commit/de0f687a649aae85777525d320bf30cb51f95dc5)) +* **deps:** update dependency big.js to v6 ([#862](https://github.com/googleapis/nodejs-bigquery/issues/862)) ([a47afb5](https://github.com/googleapis/nodejs-bigquery/commit/a47afb5c97115d0159ad94615a7997db15d03d01)) +* **deps:** update dependency discovery-tsd to ^0.2.0 ([#540](https://github.com/googleapis/nodejs-bigquery/issues/540)) ([651e870](https://github.com/googleapis/nodejs-bigquery/commit/651e8702cc1baba091c827a7cab4758f97808ce3)) +* **deps:** update dependency duplexify to v4 ([#343](https://github.com/googleapis/nodejs-bigquery/issues/343)) ([1da31b3](https://github.com/googleapis/nodejs-bigquery/commit/1da31b372f6e6ae493c63dc8c963f5c0b8f850a8)) +* **deps:** update dependency google-auth-library to v6 ([#660](https://github.com/googleapis/nodejs-bigquery/issues/660)) ([3ea642e](https://github.com/googleapis/nodejs-bigquery/commit/3ea642ec9f1c471bff0d5d095fcc3e1b3813e52a)) +* **deps:** update dependency google-auth-library to v7 ([#928](https://github.com/googleapis/nodejs-bigquery/issues/928)) ([2ce28c7](https://github.com/googleapis/nodejs-bigquery/commit/2ce28c7beec18d80a744e5dafaa0b8288041c35f)) +* **deps:** update dependency yargs to v13 ([#353](https://github.com/googleapis/nodejs-bigquery/issues/353)) ([1573128](https://github.com/googleapis/nodejs-bigquery/commit/15731282dfe57640fd9bc344523692a8f1f3cc3c)) +* **deps:** update dependency yargs to v14 ([#520](https://github.com/googleapis/nodejs-bigquery/issues/520)) ([9dd59a6](https://github.com/googleapis/nodejs-bigquery/commit/9dd59a6911235f62e0d377b48960796bad4c4e16)) +* **deps:** update dependency yargs to v15 ([#579](https://github.com/googleapis/nodejs-bigquery/issues/579)) ([92119e3](https://github.com/googleapis/nodejs-bigquery/commit/92119e3b23874263d9529283194a149b358b7c9f)) +* **deps:** update dependency yargs to v16 ([#854](https://github.com/googleapis/nodejs-bigquery/issues/854)) ([58dcf34](https://github.com/googleapis/nodejs-bigquery/commit/58dcf34d8d22b4b5c9e488935b75eeaf8c8fd69e)) +* **deps:** update dependency yargs to v17 ([#954](https://github.com/googleapis/nodejs-bigquery/issues/954)) ([28cf08d](https://github.com/googleapis/nodejs-bigquery/commit/28cf08d74184b388cd8d18a9622630939c5f99cf)) +* Detect Geography type during parameterized query ([#877](https://github.com/googleapis/nodejs-bigquery/issues/877)) ([bc0ca69](https://github.com/googleapis/nodejs-bigquery/commit/bc0ca695a5b2d9df15df9383f6a791be30e851ec)) +* do not retry jobs.insert when it flakes ([#864](https://github.com/googleapis/nodejs-bigquery/issues/864)) ([255491b](https://github.com/googleapis/nodejs-bigquery/commit/255491b958171907695b10aca7e536d58a52354c)) +* **docs:** change source location to ./build for ts project ([#291](https://github.com/googleapis/nodejs-bigquery/issues/291)) ([cdd22e8](https://github.com/googleapis/nodejs-bigquery/commit/cdd22e80724c4750e11f1480e99f5de16ee5d3e7)) +* **docs:** configuration.copy link ([4a81b1e](https://github.com/googleapis/nodejs-bigquery/commit/4a81b1e25c9b8f09eca28142bd54f6ca42b1f866)) +* **docs:** configuration.copy link ([#709](https://github.com/googleapis/nodejs-bigquery/issues/709)) ([4a81b1e](https://github.com/googleapis/nodejs-bigquery/commit/4a81b1e25c9b8f09eca28142bd54f6ca42b1f866)) +* **docs:** correct createTablePartitioned sample argument ([#701](https://github.com/googleapis/nodejs-bigquery/issues/701)) ([9a7520e](https://github.com/googleapis/nodejs-bigquery/commit/9a7520e62ebe7f561190de0a3c1080bbc07567ba)) +* **docs:** duplicate readme sample names ([#512](https://github.com/googleapis/nodejs-bigquery/issues/512)) ([56040f5](https://github.com/googleapis/nodejs-bigquery/commit/56040f55e45333cb05db083dbece219eaefa2820)) +* **docs:** fix formatting of the docs ([#513](https://github.com/googleapis/nodejs-bigquery/issues/513)) ([d823014](https://github.com/googleapis/nodejs-bigquery/commit/d8230148a7b24f6b76d4af419f422d43e8028e40)) +* **docs:** fix link for job configuration load ([#678](https://github.com/googleapis/nodejs-bigquery/issues/678)) ([ea3d7af](https://github.com/googleapis/nodejs-bigquery/commit/ea3d7afe18f8f22c6541043c92c26625ae9e0e85)) +* **docs:** internal links ([#293](https://github.com/googleapis/nodejs-bigquery/issues/293)) ([8e6b6c1](https://github.com/googleapis/nodejs-bigquery/commit/8e6b6c13c7056d17a9cb372c666f18258a641f4c)) +* **docs:** link to reference docs section on googleapis.dev ([#486](https://github.com/googleapis/nodejs-bigquery/issues/486)) ([a76cc5b](https://github.com/googleapis/nodejs-bigquery/commit/a76cc5bb86cd2371a0a9bbe01460aa66dbe9f426)) +* **docs:** move comments above last overload ([#292](https://github.com/googleapis/nodejs-bigquery/issues/292)) ([80d8218](https://github.com/googleapis/nodejs-bigquery/commit/80d82186227eb5bfaca373716515c4a6ef9c72df)) +* **docs:** move doc comments so stream methods show up in docs correctly ([#309](https://github.com/googleapis/nodejs-bigquery/issues/309)) ([4d6f7f3](https://github.com/googleapis/nodejs-bigquery/commit/4d6f7f3c8f046f44eb957a0bca69d233660a36ed)) +* **docs:** move to new client docs URL ([#479](https://github.com/googleapis/nodejs-bigquery/issues/479)) ([7db57d2](https://github.com/googleapis/nodejs-bigquery/commit/7db57d2012b800211fcce57d5efa77b3cfc1cb19)) +* **docs:** package exports an object, not the BigQuery ctor ([#322](https://github.com/googleapis/nodejs-bigquery/issues/322)) ([bac4db1](https://github.com/googleapis/nodejs-bigquery/commit/bac4db13fd03e8bf174c0a2d49472b1c7a89af96)) +* **docs:** snippets are now replaced in jsdoc comments ([#573](https://github.com/googleapis/nodejs-bigquery/issues/573)) ([a0d3538](https://github.com/googleapis/nodejs-bigquery/commit/a0d3538ad83b356918cabbd2bbfaf405e0a8272d)) +* don't modify the constructor options ([#607](https://github.com/googleapis/nodejs-bigquery/issues/607)) ([7df0799](https://github.com/googleapis/nodejs-bigquery/commit/7df0799e09e2a3a44f9ac4a04d157b7c85816fbe)) +* drop dependency on string-format-obj ([#698](https://github.com/googleapis/nodejs-bigquery/issues/698)) ([cf8f58f](https://github.com/googleapis/nodejs-bigquery/commit/cf8f58f851a8e32a4857f35c05a081cd031be124)) +* extend definition of Query.types for simple named parameters ([#906](https://github.com/googleapis/nodejs-bigquery/issues/906)) ([#907](https://github.com/googleapis/nodejs-bigquery/issues/907)) ([44e1ac7](https://github.com/googleapis/nodejs-bigquery/commit/44e1ac7cf8604d79508316d70a3a98e2953d59f0)) +* Fix Job#getQueryResultsStream when using startIndex ([#1100](https://github.com/googleapis/nodejs-bigquery/issues/1100)) ([2b7df52](https://github.com/googleapis/nodejs-bigquery/commit/2b7df52ff6bce5422d5d3724bd635606d584c2dc)) +* fix typescript compilation ([#295](https://github.com/googleapis/nodejs-bigquery/issues/295)) ([d80fe54](https://github.com/googleapis/nodejs-bigquery/commit/d80fe5450e5ad4918c257aedc203bbcc0482926d)) +* handle null query parameter value ([#920](https://github.com/googleapis/nodejs-bigquery/issues/920)) ([3bf900a](https://github.com/googleapis/nodejs-bigquery/commit/3bf900a54a92c0422fa8f3c48480dc430a7d134d)) +* **job:** check for `errorResult` when polling jobs ([#387](https://github.com/googleapis/nodejs-bigquery/issues/387)) ([1bf9e89](https://github.com/googleapis/nodejs-bigquery/commit/1bf9e899319e2f7082c3808b97a4eda8c17d349f)) +* **job:** remove job instance from request params ([#465](https://github.com/googleapis/nodejs-bigquery/issues/465)) ([27f080d](https://github.com/googleapis/nodejs-bigquery/commit/27f080da2f88edb1bd1c55db745af1ae0d594c4f)) +* link to new googleapis.dev docs ([#477](https://github.com/googleapis/nodejs-bigquery/issues/477)) ([9dfcda0](https://github.com/googleapis/nodejs-bigquery/commit/9dfcda0eeb5782781c005cbaa0dbe84af911c825)) +* load job to a different project ID ([#748](https://github.com/googleapis/nodejs-bigquery/issues/748)) ([bfb74ad](https://github.com/googleapis/nodejs-bigquery/commit/bfb74add1850925837fa1737fded8642c80f0356)) +* move gitattributes files to node templates ([#829](https://github.com/googleapis/nodejs-bigquery/issues/829)) ([f26e641](https://github.com/googleapis/nodejs-bigquery/commit/f26e64100e543cb520bcd7cd99913eca68e84af5)) +* **perf:** disable prettyPrint for slimmer API responses ([#860](https://github.com/googleapis/nodejs-bigquery/issues/860)) ([1e56383](https://github.com/googleapis/nodejs-bigquery/commit/1e56383da5e6d8ce1335a711b32fea1155bddada)) +* Pin @types/sinon to last compatible version ([#267](https://github.com/googleapis/nodejs-bigquery/issues/267)) ([2a8284e](https://github.com/googleapis/nodejs-bigquery/commit/2a8284ebac2061248f4cb6e19f01f49eec7a60b5)) +* promise never returned on table.insert ([#953](https://github.com/googleapis/nodejs-bigquery/issues/953)) ([a138347](https://github.com/googleapis/nodejs-bigquery/commit/a138347855f74d4e5c889dc42b00992c4a3808a6)) +* refactor to extract options from query ([#1045](https://github.com/googleapis/nodejs-bigquery/issues/1045)) ([4afed77](https://github.com/googleapis/nodejs-bigquery/commit/4afed77c0e21568546bb6363936b10d15c9c93db)) +* remove Job.setMetadata method ([#319](https://github.com/googleapis/nodejs-bigquery/issues/319)) ([0dd0d51](https://github.com/googleapis/nodejs-bigquery/commit/0dd0d51afa4811de7b6e17e5824dafa20253542d)) +* remove teeny-request as a direct dependency ([#412](https://github.com/googleapis/nodejs-bigquery/issues/412)) ([c6de54a](https://github.com/googleapis/nodejs-bigquery/commit/c6de54a6d00a2569e569e27af3d6b5d5c30c91a2)) +* return 409 error in createJob() for dry run ([#1003](https://github.com/googleapis/nodejs-bigquery/issues/1003)) ([281e3ff](https://github.com/googleapis/nodejs-bigquery/commit/281e3ff7aadd0f300cba3510bddfc08fe4dfa642)) +* return error when custom getQueryResults() timeout has been exceeded ([#872](https://github.com/googleapis/nodejs-bigquery/issues/872)) ([96f939c](https://github.com/googleapis/nodejs-bigquery/commit/96f939cefe2f31a5252002bbfecd5f503b32f841)) +* **samples:** Refactor query samples to follow python canonical and add disable cache sample ([#215](https://github.com/googleapis/nodejs-bigquery/issues/215)) ([82db7e2](https://github.com/googleapis/nodejs-bigquery/commit/82db7e2b1a14174a48c9bdc7261c41c20694725f)) +* selectedFields on getRows not working correctly ([#712](https://github.com/googleapis/nodejs-bigquery/issues/712)) ([13b7e39](https://github.com/googleapis/nodejs-bigquery/commit/13b7e391cb3cfd87caec094f058143842cb39306)) +* **table:** add retries for insert partial failures ([#589](https://github.com/googleapis/nodejs-bigquery/issues/589)) ([b8639c2](https://github.com/googleapis/nodejs-bigquery/commit/b8639c27009aaa4eb03bbd9ebf0fa1463e2bcd2b)) +* **table:** allow for TableSchema to be used ([#438](https://github.com/googleapis/nodejs-bigquery/issues/438)) ([7995be0](https://github.com/googleapis/nodejs-bigquery/commit/7995be0880ff37834004d4a3bba8f7190ee61b5a)) +* **test:** labels: should be an object, not arry ([#315](https://github.com/googleapis/nodejs-bigquery/issues/315)) ([95ef658](https://github.com/googleapis/nodejs-bigquery/commit/95ef658daaaf475e59f877821c994d072f6a1867)) +* **tests:** fix system-test ([#231](https://github.com/googleapis/nodejs-bigquery/issues/231)) ([180083d](https://github.com/googleapis/nodejs-bigquery/commit/180083de662c5c6f7614f15373dcdbbbb5137413)) +* **test:** skip flaky invalid etag test ([#317](https://github.com/googleapis/nodejs-bigquery/issues/317)) ([1b525f3](https://github.com/googleapis/nodejs-bigquery/commit/1b525f33d2862a00773d7b011143cb03db9079d0)) +* **tests:** update TIMESTAMP param tests ([#394](https://github.com/googleapis/nodejs-bigquery/issues/394)) ([5721fd1](https://github.com/googleapis/nodejs-bigquery/commit/5721fd176bfdc3473b8a701f0e43f5f0c8fc2cb1)) +* **ts:** CopyTableMetadata type can’t receive optional values ([1f0ae4b](https://github.com/googleapis/nodejs-bigquery/commit/1f0ae4b786fcf7f6343af80bcc01cae55edad2e2)) +* **ts:** CopyTableMetadata type can’t receive optional values ([1f0ae4b](https://github.com/googleapis/nodejs-bigquery/commit/1f0ae4b786fcf7f6343af80bcc01cae55edad2e2)) +* **ts:** explicit usage of Duplex ([#300](https://github.com/googleapis/nodejs-bigquery/issues/300)) ([9199ce4](https://github.com/googleapis/nodejs-bigquery/commit/9199ce4b6c72ff0673e3d0a8f9893a1743093be6)) +* **ts:** provide complete and correct types ([#385](https://github.com/googleapis/nodejs-bigquery/issues/385)) ([355d4d9](https://github.com/googleapis/nodejs-bigquery/commit/355d4d9a9eeee5be64a674a0c8f0bc9091b42e9e)) +* **types:** add missing parameters (selectedFields, startIndex) in table.getRows() options ([#331](https://github.com/googleapis/nodejs-bigquery/issues/331)) ([fb0d769](https://github.com/googleapis/nodejs-bigquery/commit/fb0d7699fa168930a3177fdbd1e94eb61205b170)) +* **types:** Allow views to be configured using an object or a string ([#333](https://github.com/googleapis/nodejs-bigquery/issues/333)) ([7fea710](https://github.com/googleapis/nodejs-bigquery/commit/7fea71042083f8ef4ae48d9f131635091a815d07)) +* **types:** correct interface ([#407](https://github.com/googleapis/nodejs-bigquery/issues/407)) ([da5ed01](https://github.com/googleapis/nodejs-bigquery/commit/da5ed011ce969f194b83ad68c8d2c725f3042e5a)) +* **types:** drop changes for drift and seasonal ([#681](https://github.com/googleapis/nodejs-bigquery/issues/681)) ([679d990](https://github.com/googleapis/nodejs-bigquery/commit/679d990f391433fbef180a4bbba2e32442e358da)) +* **types:** move JobLoadMetadata writeDisposition ([#365](https://github.com/googleapis/nodejs-bigquery/issues/365)) ([647eda0](https://github.com/googleapis/nodejs-bigquery/commit/647eda0781a1a0f27145d2be2b32030d41764ad7)) +* **types:** update to the latest discovery types ([#518](https://github.com/googleapis/nodejs-bigquery/issues/518)) ([dccf2cf](https://github.com/googleapis/nodejs-bigquery/commit/dccf2cf116275411dab18767246b274a2b715ca3)) +* update queryAsStream_ to set options with Query type ([#999](https://github.com/googleapis/nodejs-bigquery/issues/999)) ([e7eab0b](https://github.com/googleapis/nodejs-bigquery/commit/e7eab0b25c18c6bbb9fa0f92f180ba70632675aa)) +* update returned Job with API-determined location ([#890](https://github.com/googleapis/nodejs-bigquery/issues/890)) ([3894140](https://github.com/googleapis/nodejs-bigquery/commit/38941409c63221bf704ee8580ab3b032802ddc4e)) +* update returned Job with API-determined location in getMetadata ([#900](https://github.com/googleapis/nodejs-bigquery/issues/900)) ([8c31358](https://github.com/googleapis/nodejs-bigquery/commit/8c313582595ba7819f1cebf01625b24814c38174)) +* update root url to `bigquery.googleapis.com` ([#531](https://github.com/googleapis/nodejs-bigquery/issues/531)) ([277940f](https://github.com/googleapis/nodejs-bigquery/commit/277940f87730d8e123e0feccc0004461b2a924c6)) +* update samples and docs to match rubric ([#374](https://github.com/googleapis/nodejs-bigquery/issues/374)) ([b92b75f](https://github.com/googleapis/nodejs-bigquery/commit/b92b75f4c50bdd03b87afac9619483f27ca4aa4d)) +* update template files for Node.js libraries ([#463](https://github.com/googleapis/nodejs-bigquery/issues/463)) ([a12b094](https://github.com/googleapis/nodejs-bigquery/commit/a12b094d2e6e48049203c9cd773fecb98713a3fa)) +* use teeny-request for HTTP requests ([#244](https://github.com/googleapis/nodejs-bigquery/issues/244)) ([7e08a06](https://github.com/googleapis/nodejs-bigquery/commit/7e08a06530843d4ef0a1addbcb06c3cd2d92a511)) +* wait for job finish before deletion ([#1071](https://github.com/googleapis/nodejs-bigquery/issues/1071)) ([5b77718](https://github.com/googleapis/nodejs-bigquery/commit/5b777181a2c05ca32aea84a1fc8c6fbc3f1252be)) + + +### Performance Improvements + +* pull in paginator refactor ([#499](https://github.com/googleapis/nodejs-bigquery/issues/499)) ([8daafcc](https://github.com/googleapis/nodejs-bigquery/commit/8daafcc82f5bec36b0ef17841dac8d9d1be6f14c)) + + +### Code Refactoring + +* don't return Stream from createLoadJob ([#647](https://github.com/googleapis/nodejs-bigquery/issues/647)) ([8e26fb5](https://github.com/googleapis/nodejs-bigquery/commit/8e26fb561a9595e0f05e0506cebb71aa1eaba432)) + + +### Build System + +* update library to use Node 12 ([#1114](https://github.com/googleapis/nodejs-bigquery/issues/1114)) ([b49fc4d](https://github.com/googleapis/nodejs-bigquery/commit/b49fc4d7a0f623da40f2d40e1d7e223ab23f1965)) +* upgrade engines field to >=8.10.0 ([#424](https://github.com/googleapis/nodejs-bigquery/issues/424)) ([cea017e](https://github.com/googleapis/nodejs-bigquery/commit/cea017e33bb91b32e103c3c2a9c1f317b47a076c)) + ## [5.12.0](https://github.com/googleapis/nodejs-bigquery/compare/v5.11.0...v5.12.0) (2022-03-02) diff --git a/package.json b/package.json index 724cad5a4..e164235da 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@google-cloud/bigquery", "description": "Google BigQuery Client Library for Node.js", - "version": "5.12.0", + "version": "1.0.0", "license": "Apache-2.0", "author": "Google LLC", "engines": { diff --git a/samples/package.json b/samples/package.json index dbc9356b5..cbc1b9b05 100644 --- a/samples/package.json +++ b/samples/package.json @@ -16,7 +16,7 @@ "test": "mocha --timeout 200000" }, "dependencies": { - "@google-cloud/bigquery": "^5.12.0", + "@google-cloud/bigquery": "^1.0.0", "@google-cloud/storage": "^5.0.0", "google-auth-library": "^7.0.0", "readline-promise": "^1.0.4",