Skip to content

Latest commit

 

History

History
616 lines (366 loc) · 38.4 KB

CHANGELOG.md

File metadata and controls

616 lines (366 loc) · 38.4 KB

Changelog

npm history

6.0.0 (2023-08-10)

⚠ BREAKING CHANGES

  • upgrade to node 14 (#807)

Miscellaneous Chores

5.3.0 (2023-01-04)

Features

  • Add support for TransportStream options (#775) (cf240dd)

5.2.3 (2022-12-02)

Bug Fixes

  • Add a partner team as approvers for PRs (#769) (fbb96e0)

5.2.2 (2022-11-08)

Bug Fixes

5.2.1 (2022-11-07)

Bug Fixes

  • Switch instrumentation code to return version stored in NODEJS_WINSTON_DEFAULT_LIBRARY_VERSION (#764) (3e23e5a)

5.2.0 (2022-11-04)

Features

  • Add support for instrumentation version annotations (#760) (8237001)

5.1.8 (2022-11-01)

Bug Fixes

  • Prevent instrumentation crash and fix the system test (#756) (fdb6b26)

5.1.7 (2022-10-19)

Bug Fixes

  • Default callback is not called upon error (#750) (737dc6c)

5.1.6 (2022-10-13)

Bug Fixes

5.1.5 (2022-09-02)

Bug Fixes

5.1.4 (2022-08-25)

Bug Fixes

  • Update latest logging-nodejs to repaire google-gax vulnerability (#733) (5097ab5)

5.1.3 (2022-08-23)

Bug Fixes

5.1.2 (2022-07-18)

Bug Fixes

  • Logging to stdout in Cloud Run creates a JSON object as "message" (#724) (705f90e)

5.1.1 (2022-07-12)

Bug Fixes

  • Remove Stackdriver references and add note regarding possible formatting issues (#721) (991ecb7)

5.1.0 (2022-05-28)

Features

  • Add support for library instrumentation (#713) (04f99b7)

5.0.0 (2022-05-24)

⚠ BREAKING CHANGES

  • update library to use Node 12 (#706)

Bug Fixes

  • deps: update dependency @google-cloud/logging to v10 (#709) (1315964)

Build System

4.2.4 (2022-05-23)

Bug Fixes

  • LoggingWinston log test 'should work correctly with winston formats' failed (#710) (9549b41)

4.2.3 (2022-04-21)

Bug Fixes

4.2.2 (2022-03-23)

Bug Fixes

  • Error: write after end when handling SIGINT (#684) (acc1933)

4.2.1 (2022-03-21)

Bug Fixes

  • Add missing closure for code snippet in README (#682) (71158c8)

4.2.0 (2022-03-18)

Features

  • Add support to print structured logging to STDOUT (#676) (76135ca)

4.1.3 (2022-03-09)

Bug Fixes

  • Use defaultCallback in LoggingCommon class (#672) (4bc7baa)

4.1.2 (2022-02-16)

Bug Fixes

  • Update dependency @google-cloud/logging from 9.0.0 to 9.6.9 (#667) (6fcda1e)

4.1.1 (2021-09-08)

Bug Fixes

4.1.0 (2021-06-14)

Features

4.0.5 (2021-05-10)

Miscellaneous Chores

4.0.4 (2021-02-09)

Bug Fixes

  • deps: update dependency google-auth-library to v7 (#561) (e5ec00b)

4.0.3 (2021-01-21)

Bug Fixes

4.0.2 (2020-12-08)

Bug Fixes

  • deps: update dependency @google-cloud/logging to v9 (#550) (b9d9852)

4.0.1 (2020-11-03)

Bug Fixes

  • add user provided transport to the logger (#543) (b789429)

4.0.0 (2020-07-10)

⚠ BREAKING CHANGES

  • drop support for node.js 8.x (#495)

Features

  • secrets: begin migration to secret manager from keystore (#509) (df7240d)

Bug Fixes

Build System

3.0.6 (2020-03-02)

Bug Fixes

3.0.5 (2020-01-13)

Bug Fixes

  • deps: update dependency @google-cloud/logging to v7 (#439) (ac69ff4)

3.0.4 (2020-01-04)

Bug Fixes

  • deps: update dependency @google-cloud/logging to v6 (#421) (d43bf17)

3.0.3 (2020-01-02)

Bug Fixes

3.0.2 (2019-12-12)

Bug Fixes

  • docs: link to Stackdriver Error Reporting (#424) (19ba68f)

3.0.1 (2019-12-05)

Bug Fixes

  • deps: pin TypeScript below 3.7.0 (cf58882)
  • docs: add jsdoc-region-tag plugin (#408) (973ab56)

3.0.0 (2019-10-18)

⚠ BREAKING CHANGES

  • logs now truncate to 256,000ish bytes by default (#404)

Features

  • logs now truncate to 256,000ish bytes by default (#404) (bea68ae)

2.1.0 (2019-09-19)

Bug Fixes

Features

2.0.1 (2019-08-28)

Bug Fixes

  • docs: stop linking reference documents to anchor (4bc78ab)

2.0.0 (2019-08-21)

⚠ BREAKING CHANGES

  • middleware: We now promote the logEntry metadata field in a winston log info object to be the logName reported to Stackdriver. This means that the logs will show up under the log name specified by the logName. In addition there are several breaking changes to users of the express middleware:

  • The middleware function has been replaced by makeMiddleware.

  • makeMiddleware expects a winston logger to be passed in.

  • Previously, we would append a _applog suffix to the user provided application log name. We no longer do that. We use the user provided log name for the application logs. The request logs now have a suffix.

Rationale: Let the middleware users provide a winston logger that we annotate with a transport rather than creating two winston loggers on user's behalf. We avoid the need for having two transports by pomoting the logName field from the winston metadata into the LogEntry. This allows a child logger to write to a different stackdriver log stream - as needed for request bundling.

Bug Fixes

  • deps: update dependency google-auth-library to v5 (#375) (f0ec607)
  • docs: generate correct examples in README.md (#376) (7517462)
  • middleware: allow users to provide middleware (#369) (e61dad9)
  • middleware: use winston provided child logger api (#359) (5d83565)

Features

1.1.1 (2019-06-26)

Bug Fixes

  • docs: link to reference docs section on googleapis.dev (#356) (9deaea3)

1.1.0 (2019-06-21)

Bug Fixes

  • docs: pin to version of compodoc that renders JavaScript/tables (#344) (ea9ea9a)
  • properly import transport-stream (#348) (7eec9dc), closes #341 #342
  • middleware: need message in request log message (#349) (cb11e4c)

Features

  • add support for apiEndpoint override (#352) (6666276)

1.0.1 (2019-06-15)

Bug Fixes

1.0.0 (2019-06-11)

⚠ BREAKING CHANGES

  • upgrade engines field to >=8.10.0 (#308)
  • Node 6 is no longer tested.
  • only support winston3 (#297)

Bug Fixes

  • expose express middleware, add system-test (#278) (dc17ad7)
  • use immutable winston level (#319) (450295f)
  • deps: bump minimum required dependencies (#336) (fc87d65)
  • deps: update dependency @google-cloud/logging to v5 (#324) (059c2a1)
  • deps: update dependency google-auth-library to v4 (#317) (6182968)

Build System

Code Refactoring

Miscellaneous Chores

v0.11.1

04-09-2019 17:34 PDT

Bug Fixes

  • fix: add missing dep on google-auth-library
  • fix: only copy timestamp metadata if it is a date (#295)
  • fix: assign timestamps from log metadata (#294)

Dependencies

  • chore(deps): update dependency @types/semver to v6
  • fix(deps): update dependency semver to v6
  • chore(deps): update dependency mocha to v6 (#269)

Internal / Testing Changes

  • refactor: use execSync for tests (#292)
  • chore: publish to npm using wombat (#283)
  • test: error-reporting system test improvement (#282)
  • test: make error reporting system test more robust
  • test: fix error reporting system test race
  • build: Add docuploader credentials to node publish jobs (#274)
  • refactor: wrap execSync with encoding: utf-8
  • build: use per-repo npm publish token
  • build: update release config (#271)
  • build: use node10 to run samples-test, system-test etc (#273)

v0.11.0

02-15-2019 10:42 PST

Features

  • feature: request logging middleware for express (#182)

Bug Fixes

  • fix: remove circular references (#264)

Dependencies

  • fix(deps): update dependency logform to v2 (#247)
  • fix(deps): update dependency @sindresorhus/is to ^0.13.0 (#213)
  • fix(deps): update dependency @sindresorhus/is to ^0.12.0 (#126)

Documentation

  • docs: update links in contrib guide (#267)
  • docs: update contributing path in README (#260)
  • docs: add lint/fix example to contributing guide (#255)
  • docs: update readme badges (#229)

Internal / Testing Changes

  • build: use linkinator for docs test (#266)
  • fix: de-flake system tests (#265)
  • build: create docs test npm scripts (#263)
  • build: test using @grpc/grpc-js in CI (#261)
  • chore: move CONTRIBUTING.md to root (#259)
  • chore(deps): update dependency @google-cloud/common to ^0.31.0 (#256)
  • chore: update @google-cloud/common to 0.30.2 (#254)
  • chore(deps): update dependency eslint-config-prettier to v4 (#253)
  • build: ignore googleapis.com in doc link check (#251)
  • chore(build): check for 404s when publishing docs (#248)
  • refactor: update sample test dependencies (#246)
  • chore(build): inject yoshi automation key (#243)
  • chore: update nyc and eslint configs (#242)
  • chore: fix publish.sh permission +x (#240)
  • fix(build): fix Kokoro release script (#239)
  • build: add Kokoro configs for autorelease (#238)
  • chore: update system tests key (#232)
  • chore: always nyc report before calling codecov (#235)
  • chore: nyc ignore build/test by default (#234)
  • chore: update license file (#231)
  • fix(build): fix system key decryption (#227)
  • chore: update key for system tests (#226)
  • chore(deps): update dependency @google-cloud/common to ^0.27.0 (#225)
  • refactor: reduce the number of dependencies (#222)
  • chore: add a synth.metadata
  • chore(deps): update dependency gts to ^0.9.0 (#219)
  • chore: update eslintignore config (#218)
  • docs(samples): convert samples test from ava to mocha (#207)
  • chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 (#217)
  • chore: drop contributors from multiple places (#216)
  • chore(deps): update dependency @types/is to v0.0.21 (#215)
  • chore: use latest npm on Windows (#214)
  • chore: use unique UUID per system test (#212)
  • chore: update CircleCI config (#211)
  • chore: include build in eslintignore (#208)
  • chore(deps): update dependency eslint-plugin-node to v8 (#203)
  • chore: update issue templates (#202)
  • chore: remove old issue template (#200)
  • build: run tests on node11 (#199)
  • chore(deps): update dependency @google-cloud/common to ^0.26.0 (#198)
  • chores(build): do not collect sponge.xml from windows builds (#197)
  • chores(build): run codecov on continuous builds (#196)
  • chore: update new issue template (#195)
  • build: fix codecov uploading on Kokoro (#192)

v0.10.2

Fixes

  • fix: Doesnt set service context winston3 (#180)
  • fix: Don't publish sourcemaps (#178)

Internal / Testing Changes

  • test: increasing error_reporting poll timeout for system tests (#187)
  • Update kokoro config (#185)
  • chore(deps): update dependency eslint-plugin-prettier to v3 (#183)

v0.10.1

Documentation

  • Add missing @class docstring (#176)

v0.10.0

This release has breaking changes. Support for node.js 4.x and 9.x has ended.

Breaking Changes

  • fix: drop support for node.js 9.x (#122)
  • chore: drop node 4 support (#97)

New Features

  • feat: Winston2 and 3 support. (#161)
  • feat: use small HTTP dependency (#153)

Bug Fixes

  • fix: logged errors are reported to error reporting (#148)
  • doc: fix link to HttpRequest message (#99)
  • fix: prevent permanent merging of labels (#89)
  • fix: remove unnecessary runtime dependencies (#73)
  • fix: Fix typo in readme (#69)

Dependencies

  • fix: Upgrade to @google-cloud/logging 4.x (#168)
  • chore(deps): update dependency @google-cloud/common to ^0.25.0 (#163)
  • chore(deps): update dependency delay to v4 (#154)
  • chore(deps): update dependency @google-cloud/common to ^0.24.0 (#158)
  • fix(deps): update dependency @google-cloud/common to ^0.23.0 and logging. (#152)
  • fix(deps): update dependency @google-cloud/logging to v3 (#149)
  • chore(deps): update dependency pify to v4 (#145)
  • fix(deps): update dependency @google-cloud/logging to v2 (#121)

Internal / Testing Changes

  • Update CI config (#171)
  • Enable prefer-const in the eslint config (#166)
  • chore(deps): update dependency @types/glob to v7 (#167)
  • fix: fixing samples test and guarding for no entries in system test (#165)
  • Enable no-var in eslint (#162)
  • fix: presystem-test should func pretest (#164)
  • Update CI config (#160)
  • Add synth script and update CI (#156)
  • Retry npm install in CI (#155)
  • chore(deps): update dependency eslint-config-prettier to v3 (#146)
  • chore: ignore package-lock.json (#144)
  • chore(deps): lock file maintenance (#143)
  • chore(deps): lock file maintenance (#142)
  • chore(deps): lock file maintenance (#141)
  • chore: update renovate config (#140)
  • chore: remove greenkeeper badge (#139)
  • test: throw on deprecation (#138)
  • chore(deps): lock file maintenance (#137)
  • chore(deps): update dependency typescript to v3 (#136)
  • chore: assert.deelEqual => assert.deepStrictEqual (#135)
  • chore: move mocha options to mocha.opts (#133)
  • chore: require node 8 for samples (#134)
  • chore(deps): lock file maintenance (#132)
  • chore(deps): lock file maintenance (#131)
  • chore(deps): update dependency eslint-plugin-node to v7 (#130)
  • chore(deps): lock file maintenance (#128)
  • chore(deps): update dependency gts to ^0.8.0 (#127)
  • chore(deps): lock file maintenance (#125)
  • chore(deps): lock file maintenance (#124)
  • chore(deps): lock file maintenance (#123)
  • fix(deps): update dependency @sindresorhus/is to ^0.10.0 (#120)
  • chore(deps): lock file maintenance (#119)
  • chore(deps): lock file maintenance (#118)
  • fix(deps): update dependency yargs to v12 (#117)
  • chore: update packages (#114)
  • chore(deps): update dependency ava to v0.25.0 (#110)
  • Configure Renovate (#102)
  • chore(package): update eslint to version 5.0.0 (#103)
  • refactor: drop repo-tool as an exec wrapper (#107)
  • chore: update sample lockfiles (#106)
  • fix: update linking for samples (#104)
  • cleanup: get rid of unncessary type casts (#101)
  • chore(package): update cpy-cli to version 2.0.0 (#86)
  • chore(package): update to the latest gts and typescript (#100)
  • test: fix race between sample and system tests (#98)
  • fix: fix broken install tests (#96)
  • chore: remove --bail from system tests config (#95)
  • chore: lock files maintenance (#83)
  • chore: the ultimate fix for repo-tools EPERM (#82)
  • chore: timeout for system test (#81)
  • chore(package): update @types/node to version 10.0.9 (#80)
  • chore: lock files maintenance (#79)
  • chore: test on node10 (#77)
  • chore: lock files maintenance (#75)