diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e6df4b1..7128910c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ [1]: https://www.npmjs.com/package/@google-cloud/logging-winston?activeTab=versions +## [5.2.1](https://github.com/googleapis/nodejs-logging-winston/compare/v5.2.0...v5.2.1) (2022-11-07) + + +### Bug Fixes + +* Switch instrumentation code to return version stored in NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION ([#764](https://github.com/googleapis/nodejs-logging-winston/issues/764)) ([3e23e5a](https://github.com/googleapis/nodejs-logging-winston/commit/3e23e5aeef1ad8c1084e68d04fc2cf7b457fde34)) + ## [5.2.0](https://github.com/googleapis/nodejs-logging-winston/compare/v5.1.8...v5.2.0) (2022-11-04) diff --git a/package.json b/package.json index 6ec82eb4..78341dc6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@google-cloud/logging-winston", "description": "Cloud Logging transport for Winston", - "version": "5.2.0", + "version": "5.2.1", "license": "Apache-2.0", "author": "Google Inc.", "engines": { diff --git a/samples/package.json b/samples/package.json index be9406f3..cb6cc516 100644 --- a/samples/package.json +++ b/samples/package.json @@ -14,7 +14,7 @@ "test": "mocha --timeout 600000" }, "dependencies": { - "@google-cloud/logging-winston": "^5.2.0", + "@google-cloud/logging-winston": "^5.2.1", "winston": "^3.2.1" }, "devDependencies": { diff --git a/src/common.ts b/src/common.ts index 3c3cabfd..6b3fd3db 100644 --- a/src/common.ts +++ b/src/common.ts @@ -93,7 +93,7 @@ export const LOGGING_SAMPLED_KEY = 'logging.googleapis.com/trace_sampled'; * Using release-please annotations to update DEFAULT_INSTRUMENTATION_VERSION with latest version. * See https://github.com/googleapis/release-please/blob/main/docs/customizing.md#updating-arbitrary-files */ -export const NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION = '5.2.0'; // {x-release-please-version} +export const NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION = '5.2.1'; // {x-release-please-version} /*! * Gets the current fully qualified trace ID when available from the