diff --git a/CHANGELOG.md b/CHANGELOG.md index fafdb956c..5aafbd96a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ [1]: https://www.npmjs.com/package/@google-cloud/pubsub?activeTab=versions +## [4.0.1](https://github.com/googleapis/nodejs-pubsub/compare/v4.0.0...v4.0.1) (2023-08-11) + + +### Bug Fixes + +* **deps:** Update dependency @google-cloud/paginator to v5 ([#1799](https://github.com/googleapis/nodejs-pubsub/issues/1799)) ([3195d21](https://github.com/googleapis/nodejs-pubsub/commit/3195d21bf817cf10daa86b019532c9405dc42405)) +* **deps:** Update dependency @google-cloud/precise-date to v4 ([#1803](https://github.com/googleapis/nodejs-pubsub/issues/1803)) ([2c22d67](https://github.com/googleapis/nodejs-pubsub/commit/2c22d67b0fbaf3409101a830ee0c5be002ed6c7b)) +* **deps:** Update dependency @google-cloud/projectify to v4 ([#1800](https://github.com/googleapis/nodejs-pubsub/issues/1800)) ([5787d56](https://github.com/googleapis/nodejs-pubsub/commit/5787d56b95d46544bf8c59fe4bc4cb374bc53d0a)) +* **deps:** Update dependency @google-cloud/promisify to v4 ([#1798](https://github.com/googleapis/nodejs-pubsub/issues/1798)) ([093c46b](https://github.com/googleapis/nodejs-pubsub/commit/093c46bd0a4713ad9702bde03eaa5e8b0acedb28)) + ## [4.0.0](https://github.com/googleapis/nodejs-pubsub/compare/v3.7.3...v4.0.0) (2023-08-03) diff --git a/package.json b/package.json index 99946408c..b1bdee923 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@google-cloud/pubsub", "description": "Cloud Pub/Sub Client Library for Node.js", - "version": "4.0.0", + "version": "4.0.1", "license": "Apache-2.0", "author": "Google Inc.", "engines": { @@ -29,7 +29,7 @@ "scripts": { "presystem-test": "npm run compile", "system-test": "mocha build/system-test --timeout 600000", - "samples-test": "cd samples/ && npm install && npm test && cd ../", + "samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../", "test": "c8 mocha build/test --recursive", "lint": "gts check", "predocs": "npm run compile", @@ -43,9 +43,8 @@ "docs-test": "linkinator docs", "predocs-test": "npm run docs", "benchwrapper": "node bin/benchwrapper.js", - "prelint": "npm run pack && cd samples; npm install", - "precompile": "gts clean", - "pack": "npm pack && mv google-cloud-pubsub*.tgz samples/pubsub-current.tgz" + "prelint": "cd samples; npm link ../; npm install", + "precompile": "gts clean" }, "dependencies": { "@google-cloud/paginator": "^5.0.0", diff --git a/samples/package.json b/samples/package.json index 7c802c19f..12e9070de 100644 --- a/samples/package.json +++ b/samples/package.json @@ -12,7 +12,6 @@ "node": ">=12.0.0" }, "scripts": { - "preinstall": "cd .. && npm run pack && cd samples", "test": "mocha build/system-test --timeout 600000", "pretest": "npm run compile && cp -f *.js build/", "tsc": "tsc -p .", @@ -22,7 +21,7 @@ "precompile": "npm run clean" }, "dependencies": { - "@google-cloud/pubsub": "./pubsub-current.tgz", + "@google-cloud/pubsub": "^4.0.1", "@opentelemetry/api": "^1.0.0", "@opentelemetry/tracing": "^0.24.0", "avro-js": "^1.10.1",