Releases: googleapis/nodejs-logging-bunyan
Releases · googleapis/nodejs-logging-bunyan
v0.9.1
v0.9.0
Breaking changes
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
@google-cloud/logging-bunyan v0.8.1
This release fixes the code samples in the README file that were using the old API surface.
Commits
@google-cloud/logging-bunyan v0.8.0
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 namedLoggingBunyan
.
// 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 newLoggingBunyan
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
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.