Skip to content

Releases: googleapis/nodejs-logging-winston

v2.0.0

21 Aug 23:19
Compare
Choose a tag to compare

⚠ 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

v1.1.1

26 Jun 21:01
Compare
Choose a tag to compare

Bug Fixes

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

v1.1.0

21 Jun 23:18
Compare
Choose a tag to compare

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)

v1.0.1

17 Jun 14:01
Compare
Choose a tag to compare

Bug Fixes

v1.0.0

11 Jun 19:31
Compare
Choose a tag to compare

⚠ 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

10 Apr 16:46
Compare
Choose a tag to compare

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

15 Feb 20:32
799ee3c
Compare
Choose a tag to compare

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

03 Oct 15:55
e5f34c7
Compare
Choose a tag to compare

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

27 Sep 16:32
4609b65
Compare
Choose a tag to compare

Documentation

v0.9.1

27 Sep 23:10
Compare
Choose a tag to compare

Documentation Fix