From 499bfe3e0319c0570e711c0e125bfbb988146d6f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 4 Nov 2022 16:03:58 -0700 Subject: [PATCH] chore(main): release 4.2.0 (#671) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 7 +++++++ package.json | 2 +- samples/package.json | 2 +- src/index.ts | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7db4139f..8192da2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ [1]: https://www.npmjs.com/package/nodejs-logging-bunyan?activeTab=versions +## [4.2.0](https://github.com/googleapis/nodejs-logging-bunyan/compare/v4.1.5...v4.2.0) (2022-11-04) + + +### Features + +* Add support for instrumentation version annotations ([#670](https://github.com/googleapis/nodejs-logging-bunyan/issues/670)) ([e332a76](https://github.com/googleapis/nodejs-logging-bunyan/commit/e332a7626dd637daab4e23b36ca7249684506501)) + ## [4.1.5](https://github.com/googleapis/nodejs-logging-bunyan/compare/v4.1.4...v4.1.5) (2022-11-01) diff --git a/package.json b/package.json index bfdf14bc..1c46b11e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@google-cloud/logging-bunyan", "description": "Cloud Logging stream for Bunyan", - "version": "4.1.5", + "version": "4.2.0", "license": "Apache-2.0", "author": "Google Inc.", "engines": { diff --git a/samples/package.json b/samples/package.json index abc2954c..700d8047 100644 --- a/samples/package.json +++ b/samples/package.json @@ -15,7 +15,7 @@ "test": "mocha system-test --timeout 600000" }, "dependencies": { - "@google-cloud/logging-bunyan": "^4.1.5", + "@google-cloud/logging-bunyan": "^4.2.0", "bunyan": "^1.8.12", "express": "^4.16.3", "yargs": "^16.0.0" diff --git a/src/index.ts b/src/index.ts index b44a6176..2b738bf3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -73,7 +73,7 @@ export const LOGGING_SAMPLED_KEY = 'logging.googleapis.com/trace_sampled'; /** * Default library version to be used if version retrieval fails */ -export const NODEJS_BUNYAN_DEFAULT_LIBRARY_VERSION = '1.0.0'; // {x-release-please-version} +export const NODEJS_BUNYAN_DEFAULT_LIBRARY_VERSION = '4.2.0'; // {x-release-please-version} // The variable to hold cached library version let libraryVersion: string;