This PR contains the following updates:
| Package |
Type |
Update |
Change |
References |
| @google-cloud/logging |
dependencies |
major |
1.2.0 -> 4.1.0 |
source |
Release Notes
googleapis/nodejs-logging
Compare Source
New Features
- feat: export middleware helpers (#289)
- feat: Introduce middleware directory (#248)
Bug fixes
- fix(metadata): include zone on GAE descriptor (#298)
- fix(middleware): tweak the middleware api (#291)
- fix: resolve compile errors (#287)
- fix(deps): move nock to devDependencies (#276)
Dependencies
Documentation
- docs: update reference documentation
Internal / Testing Changes
- chore: update CircleCI config (#302)
- chore: remove a few unused deps (#299)
- fix: fix system tests by choosing semver range for BigQuery (#297)
- fix: disable skipLibCheck in the tsconfig (#296)
- refactor(metadata): use async/await (#295)
- chore: include build in eslintignore (#292)
- fix(tsconfig): disable allowJs, enable declaration (#288)
- refactor(ts): convert tests to typescript (#282)
- test: fix the system tests with cleanup (#281)
- fix(fix): no fix for samples/node_modules (#278)
- chore: update github issue templates (#274)
- chore: remove old issue template (#270)
- build: run tests on node11 (#268)
- chore(typescript): convert src/ to typescript (#258)
- fix(synth): s.replace import syntax of code samples in autogenerated code (#266)
- chore: use gts for samples; jettison prettier (#255)
- chores(build): do not collect sponge.xml from windows builds (#257)
- chores(build): run codecov on continuous builds (#256)
- chore: run gts fix (#252)
- refactor: introduce typescript compiler (#246)
- fix(test): block auth during public system tests (#249)
- build: fix codecov uploading on Kokoro (#244)
- test: remove appveyor config (#234)
Compare Source
Implementation Changes
Compare Source
This release has breaking changes. This library is now compatible with es module import syntax.
Old Code
const logging = require('@​google-cloud/logging')();
// or...
const Logging = require('@​google-cloud/logging');
const logging = new Logging();
New Code
const {Logging} = require('@​google-cloud/logging');
const logging = new Logging();
Breaking changes
Bug Fixes
- fix(gce): instance id can be a big number (#222)
- fix(deps): update dependency @google-cloud/storage to v2 (#213)
- fix(GCE): add zone label in GCE descriptor (#215)
- fix(deps): update dependency google-auth-library to v2 (#210)
Internal / Testing Changes
- build: write logs to separate file (#230)
- Enable prefer-const in the eslint config (#229)
- fix(deps): roll back dependency @google-cloud/logging to ^3.0.2 (#224)
- Enable no-var in eslint (#228)
- Use arrow functions (#227)
- Switch to let/const (#221)
- fix(deps): update dependency google-gax to ^0.20.0 (#220)
- Use let and const (#217)
- Update CI config (#218)
- Retry npm install in CI (#214)
- add templates to synth.py and run it (#211)
Compare Source
This release contains a variety of minor internal changes.
Internal / Testing Changes
- chore: upgrade to the latest common-grpc (#203)
- Re-generate library using /synth.py (#202)
- chore(deps): update dependency nyc to v13 (#200)
- chore(deps): update samples dependency @google-cloud/logging-bunyan to ^0.9.0 (#199)
- fix(deps): update dependency google-gax to ^0.19.0 (#198)
- chore: use mocha for sample tests (#197)
Compare Source
Fixes
Compare Source
This should not have been a semver major release. There are no breaking changes.
Bug fixes
- fix(gke): include namespace_id in resource (#191)
- fix: drop support for node.js 4.x and 9.x (#161)
- Re-generate library using /synth.py (#154)
Keepin' the lights on
- chore(deps): update dependency eslint-config-prettier to v3 (#190)
- chore: do not use npm ci (#189)
- chore: ignore package-lock.json (#186)
- chore: update renovate config (#184)
- remove that whitespace (#183)
- fix(deps): update dependency google-gax to ^0.18.0 (#182)
- chore(deps): lock file maintenance (#181)
- setup: just npm ci in synth.py (#180)
- chore: move mocha options to mocha.opts (#177)
- chore: require node 8 for samples (#179)
- fix(deps): update dependency fluent-logger to v3 (#172)
- fix: get eslint passing (#174)
- chore(deps): update dependency eslint-plugin-node to v7 (#169)
- test: use strictEqual in tests (#170)
- fix(deps): update dependency gcp-metadata to ^0.7.0 (#166)
- fix(deps): update dependency @google-cloud/logging to v2 (#157)
Compare Source
This release is semver major release because it drops support for Node 4.x and 9.x. Apart from that there should be no other breaking changes.
Notable changes
- Node.js 4.x and 9.x are no longer supported (#123)
Commits
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.