7.14.0 (2024-10-29)
- Add support for restore token (#2548) (8241e91)
- Adds integration tests for Universe Domain configuration (#2538) (53db6ba)
- Adds integration tests for Universe Domain configuration with (53db6ba)
- storage: Add support for 'skipIfExists' option for downloadMany (#2526) (729efb2)
7.13.0 (2024-09-17)
7.12.1 (2024-08-07)
7.12.0 (2024-07-15)
7.11.3 (2024-07-09)
- Error serialization in resumable-upload.ts (#2493) (c2e555c)
- Handle unhandled error in
startResumableUpload_
(#2495) (d5257ba) - Make CreateBucketRequest extend from BucketMetadata to allow all… (#2489) (013a5a4)
7.11.2 (2024-06-07)
7.11.1 (2024-05-21)
- Add missing projectIdentifier to GetServiceAccountOptions (#2468) (d49e9d2)
- Allow files in directories to be downloaded onto local machine (#2199) (9f62429)
- Do not set
customEndpoint
ifapiEndpoint === default
(#2460) (b4dbd73) - Improve GetFilesResponse interface (#2466) (918db28)
7.11.0 (2024-05-03)
7.10.2 (2024-04-26)
7.10.1 (2024-04-22)
- Change copyoptions type (#2439) (2ebd7ac)
- Expand types of custom metadata within FileMetadata (#2442) (1d434a9)
7.10.0 (2024-04-15)
- Add ability to create a File object from URL (#2432) (1b71fcc)
- Allow setting contentEncoding during compose (#2431) (6e81e05)
- Destroy pipeline streams when returned stream errors (#2437) (fe1ac65)
- Remove extraneous mime-types package in favor of mime (#2435) (63a71f2)
7.9.0 (2024-03-18)
7.8.0 (2024-03-07)
- Add includeFoldersAsPrefixes for managed folders (#2413) (3044d3c)
- Base TPC Support (#2397) (a3f4891)
- Cannot read properties of null (reading length) in stream-shift (#2422) (11ebe2b)
- Do not automatically set overrideUnlockedRetention (#2421) (c781bdc)
7.7.0 (2023-11-29)
7.6.0 (2023-11-08)
7.5.0 (2023-10-30)
7.4.0 (2023-10-24)
7.3.2 (2023-10-24)
7.3.1 (2023-10-19)
- Add user-agent header to transfer manager and resumable upload (#2334) (0520867)
- deps: Update dependency retry-request to v7 (#2327) (f20ef3c)
- Destroy sockets to stop memory leaking when stream errors (#2336) (04939ee)
7.3.0 (2023-10-11)
7.2.0 (2023-10-05)
7.1.0 (2023-09-07)
- Export
ApiError
(#2291) (c1d1b35) - Support iterables in file@save (4356dd0)
- Support iterables in file@save (49327ff)
- Support iterables in file@save (c0d9d58)
File#save
iterable fixes (#2293) (87c3f41)- deps: Update dependency @google-cloud/paginator to v5 (#2263) (0c9b342)
- deps: Update dependency @google-cloud/projectify to v4 (#2264) (c881bae)
- deps: Update dependency @google-cloud/promisify to v4 (#2262) (9d46ff3)
- deps: Update dependency @google-cloud/pubsub to v4 (#2256) (18282bb)
7.0.1 (2023-08-07)
7.0.0 (2023-08-03)
- Make node 14 the minimum supported version (#2244)
- Add stronger typings to metadata (#2234)
- Remove extend and Treat Provided Options as Mutable (#2204)
- Stronger typing for lifecycle rules (#2215)
- Do not return responsebody in delete, only raw response (#2236)
- Remove extraneous validation in favor of server errors (#2237)
- Mark bucket.setLabels and associated interfaces as deprecated (#2214)
- Disable source maps for smaller bundle size (#2240)
6.12.0 (2023-07-13)
- Add header for deno runtime for metrics tracking (#2220) (5083920)
- MPU for transfer manager (#2192) (ae83421)
6.11.0 (2023-06-02)
6.10.1 (2023-05-10)
6.10.0 (2023-05-02)
6.9.5 (2023-03-30)
- Check that err.message is a string before attempting indexOf (#2173) (130818d)
- V4 Signing Errors with exactly 7 day expiry (#2170) (f930998)
6.9.4 (2023-03-02)
6.9.3 (2023-02-15)
- Reduce memory footprint of deleteFiles by utilizing getFilesStream and using smaller queue of promises (#2147) (f792f25)
6.9.2 (2023-02-06)
6.9.1 (2023-01-24)
- Setting file metadata is conditionally idempotent on ifmetagenerationmatch not ifgenerationmatch (#2131) (f20c28c)
6.9.0 (2023-01-04)
6.8.0 (2022-12-07)
6.7.0 (2022-11-03)
6.6.0 (2022-10-25)
6.5.4 (2022-10-20)
6.5.3 (2022-10-18)
6.5.2 (2022-09-23)
6.5.1 (2022-09-20)
6.5.0 (2022-09-15)
6.4.2 (2022-09-01)
- remove pip install statements (#1546) (#2049) (c90ba0f)
- truncated
createReadStream
through earlyend
event (#2056) (a4716a4)
6.4.1 (2022-08-12)
- Remove
pumpify
(#2029) (edc1d64) - Retry
EPIPE
Connection Errors + Attempt Retries in Resumable Upload Connection Errors (#2040) (ba35321)
6.4.0 (2022-08-10)
6.3.0 (2022-08-01)
6.2.3 (2022-07-13)
6.2.2 (2022-06-29)
6.2.1 (2022-06-27)
6.2.0 (2022-06-22)
- deps: update dependency @google-cloud/projectify to v3 (#1986) (71a61ec)
- deps: update dependency @google-cloud/pubsub to v3 (#1972) (004b97e)
- Requests Respect
config.projectIdRequired
===false
(#1988) (8813369)
6.1.0 (2022-06-08)
6.0.1 (2022-05-25)
6.0.0 (2022-05-24)
- update TypeScript
- remove deprecated fields
- remove configstore
- align resumable upload behavior
- utilize internalized CRC32C utilities
- drop node 10 support
- drop node 10 support (77fa8d9)
- align resumable upload behavior (77fa8d9)
- remove configstore (77fa8d9)
- remove deprecated fields (77fa8d9)
- utilize internalized CRC32C utilities (77fa8d9)
- update TypeScript (77fa8d9)
5.20.5 (2022-05-19)
5.20.4 (2022-05-18)
- revert native typescript mocha tests (#1947) (1d0ea7d)
- support empty object uploads for resumable upload (#1949) (da6016e)
5.20.3 (2022-05-17)
5.20.2 (2022-05-17)
5.20.1 (2022-05-16)
5.20.0 (2022-05-16)
5.19.4 (2022-04-28)
5.19.3 (2022-04-20)
5.19.2 (2022-04-14)
5.19.1 (2022-04-08)
5.19.0 (2022-04-06)
5.18.3 (2022-03-28)
5.18.2 (2022-02-16)
- resumable uploads should respect autoRetry & multipart uploads should correctly use preconditions (#1779) (1e72586)
5.18.1 (2022-01-26)
5.18.0 (2022-01-18)
5.17.0 (2022-01-10)
5.16.1 (2021-11-29)
- change properties with function value to methods (#1715) (c365254)
- revert skip validation (#1718) (0c75e33)
- stop File.download from truncating output file on failure (#1720) (d77979b)
5.16.0 (2021-11-09)
- add scenario 3 conformance tests (#1702) (e16a3a5)
- retry uri creation dep update & conformance tests (#1700) (d265f8c)
5.15.6 (2021-11-05)
- add scenario 3 conformance tests (#1702) (e16a3a5)
- retry uri creation dep update & conformance tests (#1700) (d265f8c)
5.15.5 (2021-11-03)
- deps: update dependency mime to v3 (#1696) (f337208)
- explicitly define function type of getFilesStream (#1697) (c950c23)
5.15.4 (2021-11-01)
5.15.3 (2021-10-14)
5.15.2 (2021-10-13)
5.15.1 (2021-10-12)
5.15.0 (2021-10-07)
5.14.8 (2021-10-06)
5.14.7 (2021-10-06)
5.14.6 (2021-10-06)
5.14.5 (2021-10-01)
- fix logic for buckets that do not have a generation (#1634) (9069bdc)
- updated connection reset string (#1632) (b841d5b)
5.14.4 (2021-09-27)
5.14.3 (2021-09-22)
5.14.2 (2021-09-13)
5.14.1 (2021-09-08)
- types: remove duplicated definition of BucketOptions and make sure proper version is exported (#1583) (d8f4bc5)
5.14.0 (2021-08-26)
5.13.2 (2021-08-26)
- update getLabels definition to actually allow no arguments when used in typescript (#1559) (176dbb5)
5.13.1 (2021-08-18)
5.13.0 (2021-08-09)
5.12.0 (2021-08-03)
5.11.1 (2021-08-02)
5.11.0 (2021-07-23)
5.10.0 (2021-07-22)
5.9.0 (2021-07-21)
5.8.5 (2021-05-04)
5.8.4 (2021-04-19)
- deps: update dependency date-and-time to v1 (#1434) (91ee6ca)
- don't fail if ~/.config doesn't exist (#1428) (3cfaba1)
5.8.3 (2021-03-29)
5.8.2 (2021-03-23)
5.8.1 (2021-03-02)
- deprecate
options.promise
and sync options with Service (#1391) (59cfe27) - types: support metadata override in file.copy() (#1406) (dda6d30)
5.8.0 (2021-02-18)
5.7.4 (2021-02-01)
5.7.3 (2021-01-22)
5.7.2 (2021-01-11)
5.7.1 (2021-01-07)
5.7.0 (2020-12-10)
5.6.0 (2020-12-02)
5.5.1 (2020-12-01)
- add publicUrl to exclude promisifyAll (#1339) (ea2c2c9)
- error if both
storageClass
and specific storage class name are provided (#1323) (91a65f8) - only throw if
storageClass
and specific storage class name provide different values (#1346) (1765608) - docs: explain manual pagination and add usage sample (#1317) (16b779d)
5.5.0 (2020-11-03)
5.4.0 (2020-10-29)
- userAgent: allow for optional user agent to be provided (#1313) (13a064f)
- add custom time field in metadata sample (#1285) (9e3474f)
- add File#rename (#1311) (c77eaa3)
- public url of a file (#1324) (5ec256e)
- set customEndpoint for custom environments (#1316) (60910e1)
- deps: update dependency gaxios to v4 (#1322) (f9b16d8)
- moved publicUrl comment (#1327) (249ed2c)
- self-upload files for Unicode system tests (#1318) (e826a52)
- deps: update dependency duplexify to v4 (#1302) (1ce3d89)
- deps: update dependency yargs to v16 (#1289) (12f2133)
- types: add
CreateBucketRequest.storageClass
(#1299) (d854c26), closes #1248
5.3.0 (2020-08-24)
5.2.0 (2020-08-10)
- support request interceptors for file uploads (#1225) (aa4e4ec)
- deps: update dependency date-and-time to ^0.14.0 (#1263) (408aff9)
5.1.2 (2020-07-06)
5.1.1 (2020-06-19)
- deps: update dependency p-limit to v3 (#1210) (7da0379)
- update node issue template (#1220) (eaac92b)
5.1.0 (2020-06-11)
- secrets: begin migration to secret manager from keystore (#1211) (11b16ae)
- allow setting timeouts on uploads (#1208) (01b3691)
5.0.1 (2020-05-20)
- StorageOptions.apiEndpoint overrides simple and resumable uploads (#1161) (cf8ea5c)
- types: assert in typescript 3.7 (#1198) (d5aa8b7)
5.0.0 (2020-05-13)
- automatically detect contentType if not provided (#1190)
- drop keepAcl parameter in file copy (#1166)
- drop support for node.js 8.x
- automatically detect contentType if not provided (#1190) (b31ba4a)
- enable bytes read tracking (#1074) (0776a04)
- bucket: Only disable resumable uploads for bucket.upload (fixes #1133) (#1135) (2c20148), closes /github.com/googleapis/nodejs-storage/pull/1135#issuecomment-620070038
- add whitespace to generateV4SignedPolicy (#1136) (dcee78b)
- apache license URL (#468) (#1151) (e8116d3)
- Point to team in correct org (#1185) (0bb1909)
- deps: update dependency @google-cloud/common to v3 (#1134) (774ac5c)
- deps: update dependency @google-cloud/paginator to v3 (#1131) (c1614d9)
- deps: update dependency @google-cloud/promisify to v2 (#1127) (06624a5)
- deps: update dependency uuid to v8 (#1170) (6a98d64)
- deps: update gcs-resumable-upload, remove gitnpm usage (#1186) (c78c9cd)
- v4-policy: encode special characters (#1169) (6e48539)
- sync to googleapis/conformance-tests@fa559a1 (#1167) (5500446), closes #1168
- drop support for node.js 8.x (b80c025)
4.7.0 (2020-03-26)
- add remove conditional binding (#1107) (2143705)
- v4 POST with signed policy (#1102) (a3d5b88), closes #1125
- deps: update dependency date-and-time to ^0.13.0 (#1106) (b759605)
- deps: update dependency gaxios to v3 (#1129) (5561452)
- types: wrap GetSignedUrlResponse (#1119) (0c7ac16)
4.6.0 (2020-03-13)
4.5.0 (2020-03-06)
- v4: support v4 signed URL for GA (#1072) (79d7b8f), closes #1051 #1056 #1066 #1068 #1069 #1067 #1070
4.4.0 (2020-03-03)
4.3.2 (2020-03-02)
- deps: update dependency uuid to v7 (#1081) (c72d57f)
- tests: flaky getSignedPolicy tests (#1093) (531050a)
4.3.1 (2020-02-06)
- samples: fix overwritten IAM conditions sample (#1042) (25d839c)
- skip validation for server decompressed objects (#1063) (d6e3738)
- unhandled promise rejection warning in samples (#1056) (e95ec19)
4.3.0 (2020-01-21)
- deps: update dependency date-and-time to ^0.12.0 (#1032) (a324564)
- a couple of typos from the refactorNodeSampleStorage branch (#1038) (8faa6c6)
- do not modify constructor options (#974) (4969148)
- refactor getMetadata sample into its own file (#1008) (6ed1af8)
- refactor getRetentionPolicy sample into its own file (#993) (47e4ad8)
- refactor getUniformBucketLevelAccess into its own file (#981) (0ba69f1)
- refactor rotateEncryptionKey sample into its own file (#1030) (afdf0fe)
- refactor uploadEncryptedFile sample into its own file (#1028) (ba4520b)
- refactoring disableUniformBucketLevelAccess into its own file (#980) (1481e20)
4.2.0 (2020-01-02)
- iam: getIamPolicy to support requestedPolicyVersion (#960) (0f38f75)
- add support for Archive storage class (#908) (63f63f4)
- deps: pin TypeScript below 3.7.0 (#952) (1fea60c)
- add createBucket file and updated relevant test (#940) (913b43e)
- update PolicyDocument types (#944) (b1c05b2)
4.1.3 (2019-11-18)
- deps: update dependency date-and-time to ^0.11.0 (#934) (c4bf1c6)
- deps: update dependency yargs to v15 (#933) (f40fe0c)
4.1.2 (2019-11-12)
- do not check access of configPath (#915) (a21a644)
- missing snippets with jsdoc-region-tag (#924) (310ba90)
- docs: add jsdoc-region-tag plugin (#929) (74526e7)
4.1.1 (2019-11-07)
4.1.0 (2019-10-31)
4.0.1 (2019-10-31)
- docs: missing quote in signed url jsdoc (#896) (f2d567f)
- use storage.googleapis.com for api endpoint (862fb16)
- signed-url: replace encodeURIComponent with custom encoding function (#905) (ba41517)
4.0.0 (2019-10-17)
- allow leading slashes in file name (#820)
- deps: update hash-stream-validation (#884) (96a7fc2)
- allow leading slashes in file name (#820) (92e115d)
3.5.0 (2019-10-14)
3.4.0 (2019-10-10)
- file#move do not delete origin file if same as destination (#874) (dcaba8a)
- pass predefined acl as destinationPredefinedAcl to qs (#872) (09b8fa4)
- add flag to allow disabling auto decompression by client (#850) (9ebface)
- allow setting standard Bucket storage class (#873) (12a99e9)
3.3.1 (2019-09-30)
3.3.0 (2019-09-19)
- deps: update dependency @google-cloud/pubsub to ^0.32.0 (#849) (fdf70bb)
- add warning for unsupported keepAcl param in file#copy (#841) (473bda0)
- remove unsupported keepAcl param (#837) (5f69a3d)
- use storage.googleapis.com for api endpoint (#854) (27fa02f)
- deps: update dependency @google-cloud/pubsub to v1 (#858) (31466f4)
- deps: update dependency date-and-time to ^0.10.0 (#857) (e9ec9cf)
- adds support for asyncIterators (via readable-stream@3 dependency) (dd5ae7f)
- allow removal of resumable upload cache (#773) (da943db), closes #217
3.2.1 (2019-08-28)
- docs: stop redirecting reference docs to anchor, add new sample to README (bbb5537)
- samples: fix failing sample view IAM member-role groups (1c4f21f)
3.2.0 (2019-08-22)
- deps: update @google-cloud/common with fixes for http (#809) (8598631)
- deps: update dependency @google-cloud/pubsub to ^0.31.0 (#814) (604e564)
- deps: update dependency date-and-time to ^0.9.0 (#805) (8739a7d)
- ts: fix nock @~11.0.0 (#819) (48f9b44)
3.1.0 (2019-08-09)
- deps: update dependency @google-cloud/paginator to v2 (#781) (23244e9)
- deps: update dependency @google-cloud/pubsub to ^0.30.0 (#778) (7256650)
- allow calls with no request, add JSON proto (30fff15)
- deps: update dependency date-and-time to ^0.8.0 (#779) (ab2734d)
- deps: upgrade @google-cloud/common version to show original… (#795) (ea63cbe)
- deps: use the latest extend (#800) (a7f0172)
3.0.4 (2019-07-25)
3.0.3 (2019-07-16)
3.0.2 (2019-07-01)
- docs: fix sample code in docs (#759) (f9e5fd8)
- docs: link to reference docs section on googleapis.dev (#753) (5e3a96b)
3.0.1 (2019-06-14)
3.0.0 (2019-06-14)
- upgrade engines field to >=8.10.0 (#688)
- deps: update dependency @google-cloud/common to v1 (#705) (72a9f51)
- deps: update dependency @google-cloud/paginator to v1 (#695) (ada995e)
- deps: update dependency @google-cloud/promisify to v1 (#693) (5df2f83)
- deps: update dependency @google-cloud/pubsub to ^0.29.0 (#714) (3ee1a2c)
- deps: update dependency arrify to v2 (#667) (ce02c27)
- validate action of getSignedUrl() function (#684) (1b09d24)
- deps: update dependency date-and-time to ^0.7.0 (#736) (7071f26)
- deps: update dependency xdg-basedir to v4 (#681) (8b40e6a)
- docs: move to new client docs URL (#738) (a637f99)
- ts: improve return types for response metadata (#666) (da42bed)
- types: fix signatures of listing methods (#703) (42937a8)
04-04-2019 12:27 PDT
This release brings an option to file#getSignedURL to create a version 4 Signed URL.
file.getSignedUrl({
version: 'v4', // optional, defaults to v2 (existing version)
action: 'read',
expires: FUTURE_DATE,
})
- feat: introduce v4 signed url (#637)
- chore(deps): update dependency @types/node to v11.13.0 (#662)
- chore(deps): update dependency @types/tmp to v0.1.0
- chore(deps): upgrade to newest version of @google-cloud/common (#657)
- chore(deps): update dependency typescript to ~3.4.0
- chore(deps): update dependency tmp to ^0.1.0 (#641)
- docs: regenerate the samples/README.md (#649)
- docs: slight difference in how nightly synthtool run generated README (#650)
- docs: new synthtool generated README (#645)
- docs(samples): refactor the quickstart to match the new rubric (#647)
- docs: update README format
- docs: add requires_billing, retire .cloud-repo-tools.json (#644)
- docs: add additional api_id field (#640)
- docs: document destination option (#633)
- docs: clarify in docs, the meaning of ASIA and coldline (#632)
- docs: add a .repo-metadata.json (#639)
- test(v2-sign): add multi-valued headers system-test (#646)
- refactor: replace once with onetime (#660)
- fix: do not download cached files (#643)
- chore: publish to npm using wombat (#634)
- build: use per-repo npm publish token (#630)
03-13-2019 17:10 PDT
- fix: getSigned(Policy|Url) throws if expiration is invalid Date (#614)
- fix: handle errors from file#createReadStream (#615)
- fix(deps): update dependency @google-cloud/paginator to ^0.2.0
- fix(deps): update dependency gcs-resumable-upload to v1 (#619)
- fix(deps): update dependency @google-cloud/pubsub to ^0.27.0 (#620)
- fix(deps): update dependency @google-cloud/pubsub to ^0.26.0 (#618)
- fix(deps): update dependency @google-cloud/pubsub to ^0.25.0 (#616)
- chore(deps): update dependency mocha to v6 (#611)
- fix(deps): update dependency @google-cloud/promisify to ^0.4.0 (#609)
- chore(deps): update dependency @types/tmp to v0.0.34 (#608)
- fix(deps): update dependency yargs to v13 (#606)
- docs: update links in contrib guide (#610)
- docs: update contributing path in README (#603)
- chore: move CONTRIBUTING.md to root (#601)
- build: Add docuploader credentials to node publish jobs (#624)
- build: use node10 to run samples-test, system-test etc (#623)
- build: update release configuration
- build: use linkinator for docs test (#607)
- build: create docs test npm scripts (#605)
- build: test using @grpc/grpc-js in CI (#604)
- chore: remove console.log in system test (#599)
02-05-2019 16:55 PST
- docs: add lint/fix example to contributing guide (#594)
- test: skip public bucket system tests running under VPCSC (#595)
01-29-2019 13:05 PST
- fix(ts): fix Storage.createBucket overloaded signature (#589)
- fix(deps): update dependency @google-cloud/pubsub to ^0.24.0 (#588)
01-28-2019 12:13 PST
- fix:
expires
can be a Date, string, or number (#548)
- deps: upgrade nodejs-common (#582)
- chore(deps): update dependency eslint-config-prettier to v4 (#586)
- fix(deps): update dependency @google-cloud/pubsub to ^0.23.0 (#583)
- fix(deps): update dependency concat-stream to v2 (#563)
- test: Bucket Policy Only related system test (#579)
- build: check broken links in generated docs (#567)
- build: include only build/src in compiled source (#572)
12-19-2018 14:21 PST
- fix(types): file.getMetadata should resolves to Metadata, not File (#560)
- refactor: modernize the sample tests (#558)
- chore(build): inject yoshi automation key (#555)
- chore: update nyc and eslint configs (#554)
- chore: fix publish.sh permission +x (#552)
- fix(build): fix Kokoro release script (#551)
- build: add Kokoro configs for autorelease (#550)
12-06-2018 17:09 PST
- chore(deps): update dependency @types/configstore to v4 (#537)
- chore(deps): update dependency @google-cloud/pubsub to ^0.22.0 (#535)
- chore: always nyc report before calling codecov (#543)
- chore: nyc ignore build/test by default (#542)
- chore: update license file (#539)
This patch release fixed an issue affecting reading from a file on GCS (#528).
- fix(dep): upgrade teeny-request to v3.11.3 (#529)
- fix(deps): update dependency @google-cloud/common to ^0.27.0 (#525)
- refactor: convert sample tests from ava to mocha (#523)
- docs(samples): updated samples code to use async await (#521)
- chore: add synth.metadata
- fix(ts): Update bucket options types (#518)
11-14-2018 22:15 PST
- fix: fix TypeScript and system tests (#515)
- fix(deps): update dependency through2 to v3 (#507)
- docs: File#setMetadata in parallel results in unpredictable state (#504)
- chore(deps): update dependency gts to ^0.9.0 (#514)
- chore: update eslintignore config (#513)
- chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 (#512)
- refactor: use object.assign where possible (#510)
- chore: drop contributors from multiple places (#511)
- chore: use latest npm on Windows (#509)
- fix(types): Fixes getSignedUrl Return Type (#496)
- Introduce Object Lifecycle Management (#471)
- chore(deps): update dependency eslint-plugin-node to v8 (#490)
- chore: update issue templates (#488)
- fix: re-enable typescript types (#484)
- fix(deps): update dependency @google-cloud/common to ^0.26.0 (edited) (#480)
- chore: Remove 'is' dependency (#462)
- chore: upgrade teeny-request to 3.11.0 with type definitions (#457)
- feat: use small HTTP dependency (#416)
- docs: Minor docs correction (#465)
- chore: remove old issue template (#485)
- chore(typescript): enable noImplicitAny (#483)
- chore(typescript): improve typescript types and update tests (#482)
- build: run tests on node11 (#481)
- chores(build): do not collect sponge.xml from windows builds (#478)
- chores(build): run codecov on continuous builds (#476)
- chore: update new issue template (#475)
- fix: enable noImplicitAny for src/bucket.ts (#472)
- fix(tests): use unique prefix for system tests to avoid collision with another run (#468)
- fix: improve the types (#467)
- chore: move class Storage to storage.ts, create index.ts that contains all exports (#464)
- chore: add types to many unit tests (#463)
- fix: Annotate Iam types (#461)
- fix: complete bucket.ts noImplicitAny (#460)
- fix: improve the types on acl.ts (#459)
- fix: improve types (7) (#458)
- fix: improve the types (#453)
- chore: update build config (#455)
- fix: improve typescript types in src/file.ts (#450)
- build: fix codecov uploading on Kokoro (#451)
- test: Attempt to re-enable iam#testPermissions (#429)
- chore(deps): update dependency sinon to v7 (#449)
- Re-generate library using /synth.py (#448)
- Correct parameter name. (#446)
This release brings support for Bucket/Object lock operations, as well as disable TypeScript as we continue to annotate the project with types.
- feat: Support Bucket/Object lock operations (#374)
- fix: add better types for file.ts (#436)
- fix: use ~ for typescript (and fix compile errors) (#426)
- fix: Add typing for File#download() (#409)
- chore: convert system tests to typescript (#424)
- Improve TypeScript types (part 4) (#402)
- ts: convert jsdoc types to typescript interfaces (1) (#383)
- fix: TS definition (#387)
- Annotate types #3 (#391)
- Annotate types (2) (#388)
- chore(deps): update dependency eslint-plugin-prettier to v3 (#419)
- fix(tests): fix system tests on CircleCI (#431)
- fix(tests): system-test compiles to ./build, fix relative path (#428)
- Update kokoro config (#425)
- chore(samples): convert samples to async/await (#422)
- build: samples test by adding approprate test variables (#423)
- build: bring in latest kokoro cfgs to run System tests on PRs (#413)
- test: remove appveyor config (#411)
- Enable prefer-const in the eslint config (#404)
- fix(test): instantiate PubSub using new (#403)
- fix: optionsOrCallback could be undefined if not given, check before assign (#401)
- Fix the requesterPays methods (#400)
- Enable no-var in eslint (#398)
- samples: don't use USA formatted dates for expiry (#396)
- fix: copy(): Use correct destination file name in URI (#389)
- Improve the types (#377)
This fixes types declaration issues with projects using TypeScript.
- Enable noImplicitThis in the tsconfig (#370)
- Fix the path to the d.ts (#364)
- fix: make dependency on request explicit (#361)
- fix: remove trailing slashes from bucket name. (#266)
- fix(deps): update dependency @google-cloud/common to ^0.24.0 (#367)
- fix(deps): update dependency gcs-resumable-upload to ^0.13.0 (#368)
- Remove unused dependencies (#363)
- Remove safe-buffer (#359)
- samples: update dependency @google-cloud/storage to v2 (#350)
- Update CI config (#371)
- build(kokoro): run docker as user node (#358)
- build: fix multiline in circle.yml (#357)
- fix executable modes on .sh's; add pre-system-test.sh hook (#356)
- decrypt both service account keys (#353)
- Retry npm install in CI (#352)
- Add synth script and run it (#351)
This release has breaking changes. This release has a few notable breaking changes. Please take care when upgrading!
The import style of this library has been changed to support es module syntax. This provides both forward compatibility with es modules, and better supports the TypeScript and Babel ecosystems. As a result, the import syntax has changed:
const storage = require('@google-cloud/storage')();
// or...
const Storage = require('@google-cloud/storage');
const storage = new Storage({
// config...
});
const {Storage} = require('@google-cloud/storage');
const storage = new Storage({
// config...
});
To better support a variety of HTTP clients, the remote fetching functionality of bucket.upload
has been removed. It can be replaced with your favorite HTTP client.
bucket.upload('https://example.com/images/image.png', function(err, file, res) {
// handle upload...
});
const request = require('request');
const file = bucket.file(name);
const writeStream = file.createWriteStream();
request(url).pipe(writeStream);
- semver: do not support upload() from url (#337)
- fix: drop support for node.js 4.x and 9.x (#282)
- refactor(ts): merge initial TypeScript conversion (#334)
- feat: Add Storage#getServiceAccount(). (#331)
- Kms sample (#209)
- fix: gzip and Cache-Control headers in upload sample (#225)
- fix: move this.[ROLE]s initialization from Acl to AclAccessorRoleMethods (#252)
- fix: signedURL cname (#210) (#234)
- chore(deps): update dependency nyc to v13 (#341)
- fix(deps): update dependency @google-cloud/common to ^0.23.0 (#340)
- test: throw on deprecation (#319)
- chore(deps): update dependency eslint-config-prettier to v3 (#336)
- fix(deps): update dependency gcs-resumable-upload to ^0.12.0 (#317)
- Fix system tests for string comparisons (#328)
- chore: ignore package-lock.json (#326)
- chore: update renovate config (#322)
- chore: regen lock files (#318)
- chore(deps): lock file maintenance (#313)
- chore: move mocha options to mocha.opts (#311)
- chore(deps): lock file maintenance (#309)
- test: use strictEqual in tests (#306)
- chore(deps): update dependency eslint-plugin-node to v7 (#305)
- chore(deps): lock file maintenance (#303)
- chore(deps): lock file maintenance (#285)
- fix: test meant to assert err msg exists (#280)
- fix(deps): update dependency yargs to v12 (#270)
- fix(deps): update dependency uuid to v3.3.2 (#269)
- chore: update gcs-resumable-upload to 0.11.1 (#265)
- fix(deps): update dependency uuid to v3.3.0 (#262)
- chore(deps): update dependency sinon to v6 (#263)
- Configure Renovate (#250)
- refactor: drop repo-tool as an exec wrapper (#258)
- chore: update sample lockfiles (#256)
- fix: update linking for samples (#254)
- chore(package): update eslint to version 5.0.0 (#253)
- refactor(es6): Refactor constructor pattern as ES6 class (#246)
- Update @google-cloud/common to the latest version 🚀 (#226)
- system-tests: fix channel test. (#243)
- refactor: Update to the latest version of nodejs-common and gcs-resumable-upload (#202)
- Fix permission of bash script for Kokoro (#223)
- chore(package): update nyc to version 12.0.2 (#216)
- chore: fix prettier incompatibility (#211)