Skip to content

Releases: googleapis/nodejs-logging-bunyan

v0.9.1

24 Aug 01:01
c9d96a3
Compare
Choose a tag to compare

Fixes

  • chore: fix install tests (#133)

v0.9.0

22 Aug 16:24
059e642
Compare
Choose a tag to compare

Breaking changes

  • fix: drop support for node.js 4.x and 9.x (#87)
  • fix: drop support for node 4.x and 9.x (#69)

Features

  • feat: request-correlating middleware (#63)

Docs & Samples

  • chore: require node 8 for samples (#107)
  • doc: add express middleware to README (#97)
  • doc: fix typo in samples/README (#99)
  • fix: fix linting errors in the samples (#100)
  • feat(samples): add express middleware sample (#95)
  • fix(samples): fix non-working explit setup sample (#93)
  • doc: fix usage of logger.info in README.md (#83)
  • doc: fix link to HttpRequest message (#68)

Dependency updates

  • chore(deps): upgrade to @g-c/logging@3.0.1 (#126)
  • chore: pin to delay@3.0.x (#127)
  • chore(deps): update dependency execa to ^0.11.0 (#125)
  • chore(deps): update dependency eslint-config-prettier to v3 (#120)
  • chore(deps): update dependency pify to v4 (#119)
  • chore(deps): update dependency got to v9 (#114)
  • fix(deps): update dependency @opencensus/propagation-stackdriver to ^0.0.3 (#112)
  • chore(deps): update dependency typescript to v3 (#109)
  • chore(deps): update dependency eslint-plugin-node to v7 (#96)
  • chore(deps): update dependency gts to ^0.8.0 (#92)
  • fix(deps): update dependency @google-cloud/logging to v2 (#86)
  • fix(deps): update dependency yargs to v12 (#82)
  • chore: update dependencies (#81)
  • Configure Renovate (#74)
  • chore(package): missing @types/node dev dependency (#75)
  • chore: update all dependencies (#71)
  • chore(package): upgrade gts and typescript (#70)

Keepin' the lights on

  • chore: ignore package-lock.json (#118)
  • chore: update renovate config (#113)
  • remove that whitespace (#111)
  • chore: assert.deelEqual => assert.deepStrictEqual (#108)
  • chore: move mocha options to mocha.opts (#106)
  • chore: re-enable codecov && drop greenkeeper badge (#98)
  • refactor: drop repo-tool as an exec wrapper (#79)
  • chore: update sample lockfiles (#78)
  • fix: update linking for samples (#77)
  • cleanup: remove some casts (#76)
  • fix: the system tests use a custom log (#73)
  • test: use source-map-support (#72)
  • chore: remove --bail from the system tests config (#67)
  • chore: the ultimate fix for repo-tools EPERM (#64)

v0.8.2

21 May 17:24
d3b405f
Compare
Choose a tag to compare

This release fixes the lack of severity on the LogEntries.

Commits

  • 728b5fd chore: timeout for system test (#61)
  • 591dff8 fix: properly attach severity to entries (#60)
  • c2ac6e0 chore(package): upgrade to TypesScript 2.8 (#58)

@google-cloud/logging-bunyan v0.8.1

08 May 21:16
1958705
Compare
Choose a tag to compare

This release fixes the code samples in the README file that were using the old API surface.

Commits

  • chore: test on node10 (#54) d0618c9
  • chore: fix npm link in samples tests 5d32e65
  • docs: fix a broken image link in README (#53) 59a026f
  • docs: update README to reflect the new API (#51) f6e3ae0
  • chore: lock files maintenance (#46) 8b020e2
  • chore: fixes to CircleCI config (#48) 2ce11e8

@google-cloud/logging-bunyan v0.8.0

01 May 17:45
bf4620e
Compare
Choose a tag to compare

The codebase has been translated to Typescript. As a result, type definitions are included with this module to support Typescript workflows.

Breaking Changes

  • The exports of the modules have changed. The default export of the module was previously a reference to the LoggingBunyan constructor. For better compatibility with ES6 modules, this has been modified, and there is no default export, but exports a property named LoggingBunyan.
// OLD CODE
const LoggingBunyan = require('@google-cloud/logging-bunyan');

// NEW CODE (Node 6+)
const {LoggingBunyan} = require('@google-cloud/logging-bunyan');

// If you are using ES6 style imports via TypeScript or Babel, you can use es6 style:
import {LoggingBunyan} from '@google-cloud/logging-bunyan';
  • As a result of translating the codebase to use proper ES6 classes, the new keyword is now required when creating a new LoggingBunyan object.
// OLD CODE
const loggingBunyan = LoggingBunyan(); // no longer works.

// NEW CODE
const loggingBunyan = new LoggingBunyan();

New Features

  • feat: promote record labels to metadata (#17) c172d7f

Commits

  • chore: fix system tests (#43) 5e7150e
  • chore: remove unnecessary dependencies (#44) ee82657
  • chore: one more workaround for repo-tools EPERM (#41) 9f05c63
  • chore: workaround for repo-tools EPERM (#40) 962f4a0
  • chore(package): update @types/mocha to version 5.0.0 (#39) 87840f2
  • chore: setup nighty build in CircleCI (#37) 4f14633
  • Upgrade repo-tools and regenerate scaffolding. (#35) 1ea584f
  • chore(package): update proxyquire to version 2.0.0 (#33) 3f5b008
  • chore: removing node7 job from CircleCI (#32) c5a7d60
  • chore: Add README and CODE_OF_CONDUCT to files (#23) f77c01f
  • chore(package): update eslint-plugin-node to version 6.0.0 (#28) 6b36cd5
  • chore: add installation tests (#27) de5f8d4
  • chore(package): update mocha to version 5.0.0 (#26) f09dfb9
  • Update dependencies to enable Greenkeeper 🌴 (#24) 13ed4a3
  • feat: promote record labels to metadata (#17) c172d7f
  • chore: remove --unsafe-perm from CircleCI config (#22) 36937d2
  • chore: add build and .DS_Store to .gitignore (#21) 38dbaed
  • chore: migrate the code to typescript (#18) f6bab0f
  • chore: Run CI as a non-root user (#19) bb8d625
  • Copy of googleapis/nodejs-logging#28 (#12) 06dfa2f
  • Test on Node 9. (#11) 5b762d4

@google-cloud/logging-bunyan v0.7.0

03 Nov 17:37
083d0d2
Compare
Choose a tag to compare

release level

Features

Runnable samples

There are now runnable samples in the samples/ directory. These samples demonstrate the use of this API and offer an additional resource for getting started. These also power the readme, and are automatically tested to ensure that they are up-to-date and correct.

Implementation Details

  • Change to a new linter (ESLint) and code style formatter (prettify).
  • Update docs to use JSDoc 3.
  • Migrate to the googleapis/nodejs-logging-bunyan repository.

Refer to the nodejs-logging-bunyan API reference documentation for details.

@google-cloud/logging-bunyan v0.6.0

02 Nov 19:06
Compare
Choose a tag to compare

release level

Features

  • Add trace ID to log metadata when available (#2574)
  • Accept serviceContext (#2585)
  • Export trace key in logging-bunyan (#2602)

@google-cloud/logging-bunyan v0.5.0

02 Nov 19:00
Compare
Choose a tag to compare

release level

Features

  • The logging-bunyan package is now supported at the beta release level.

Documentation

  • Various documentation improvements.

@google-cloud/logging-bunyan v0.4.2

02 Nov 18:58
Compare
Choose a tag to compare

release level

Dependencies

  • Update several dependencies

@google-cloud/logging-bunyan v0.4.1

02 Nov 17:54
Compare
Choose a tag to compare

release level

Dependencies

  • Update several dependencies.