Releases: googleapis/nodejs-logging-winston
v2.0.0
⚠ BREAKING CHANGES
-
middleware: We now promote the
logEntry
metadata field in a
winston log info object to be thelogName
reported to Stackdriver. This means
that the logs will show up under the log name specified by thelogName
. 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
v1.1.0
v1.0.1
v1.0.0
⚠ BREAKING CHANGES
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)