VikramTiwari / asynclog

logging made easy, useful and scalable
GNU General Public License v3.0
1 stars 0 forks source link

Update @google-cloud/error-reporting to the latest version šŸš€ #18

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 6 years ago

ā˜ļø Greenkeeperā€™s updated Terms of Service will come into effect on April 6th, 2018.

Version 0.3.0 of @google-cloud/error-reporting was just published.

Dependency @google-cloud/error-reporting
Current Version 0.2.3
Type dependency

The version 0.3.0 is not covered by your current version range.

If you donā€™t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of @google-cloud/error-reporting.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donā€™t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v0.3.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 ErrorReporting constructor. For better compatibility with ES6 modules, this has been modified, and there is no default export, but exports a property named ErrorReporting.
// OLD CODE
const ErrorReporting = require('@google-cloud/error-reporting');

// NEW CODE (Node 6+)
const {ErrorReporting} = require('@google-cloud/error-reporting');
// NEW Code (Node 4)
const ErrorReporting = require('@google-cloud/error-reporting').ErrorReporting;

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

// NEW CODE
const errors = new ErrorReporting(config);

Commits

  • fix(package): update @google-cloud/common to version 0.17.0 (#82) 6605707
  • chore: simplify index.ts (#80) 9bb2eea
  • fix: potential fix of repo-tools permission error (#93) 911c0bc
  • fix: fix express installation test (#92) 16f78cd
  • chore(package): update @types/is to version 0.0.19 (#91) fe67b08
  • chore(package): update @types/mocha to version 5.0.0 (#83) 8892962
  • chore: replace var with let and const (#88) 0904c40
  • chore: convert test servers to TypeScript (#87) 7fcf6d4
  • chore: update error-reporting to use import statements (#86) 6b58117
  • Remove use strict (#85) a91e660
  • chore: enable building utils files (#84) da857f0
  • chore: rename test files to *.ts (#46) bd8ef13
  • fix: fix a failure in the installation tests (#74) 94fbc5e
  • chore: setup nighty build in CircleCI (#77) e430de9
  • chore: install tests print output on failure (#75) fe34282
  • chore: update README to reflect the new API (#76) 9da09a0
  • chore: unignore package-lock.json and yarn.lock (#72) f2e2dd3
  • chore(package): update proxyquire to version 2.0.0 (#69) 10c0005
  • feat: add installation tests (#60) dec8b9a
  • chore(package): update js-green-licenses to version 0.5.0 (#70) da3794d
  • chore: removing node7 job from CircleCI (#65) 10f17d5
  • chore(package): update @types/node to version 9.4.0 (#52) 2037e0b
  • fix(package): update @google-cloud/common to version 0.16.0 (#54) 1d68cf5
  • chore(package): update eslint-plugin-node to version 6.0.0 (#53) acdbcf6
  • Fixing vulnerability reported by snyk (#51) a38845d
  • chore(package): update mocha to version 5.0.0 (#48) 549bff5
  • chore(package): update js-green-licenses to version 0.4.0 (#47) 91a4db1
  • chore: license check in posttest (#26) b75f12f
  • chore: fix the samples tests (#39) 4875464
  • chore: re-enable gts check (#37) 763f35e
  • chore: replace var with const or let (#36) a9a9cb5
  • chore: enable noImplicitAny and noImplicitThis (#34) 20daf28
  • chore: Add type annotations (#32) 6889e91
  • chore: Use import syntax (#31) 67767f9
  • chore: Use export syntax instead of module.exports (#30) 80daac2
  • Remove use strict statements (#28) f2b2559
  • chore: Specify the working_directory for sys tests (#29) 00e7272
  • chore: Use class syntax in src (#27) 6a15ea1
  • Ensure compilation occurs before sys/samples tests (#25) 23473db
  • chore: Rename src files to *.ts (#22) efc0691
  • chore: Use gts with allowJs: true (#21) 9913f3d
  • chore: Rename .appveyor.yaml to *.yml (#20) bd3db3c
  • chore: Fix circleci to match the other googleapis (#19) 95f1bed
  • Complete code migration (#18) 8c67eed
  • Merge remote-tracking branch 'dpe/master' 8185925
  • Remove unused values (#2669) 66c9f6f
Commits

The new version differs by 51 commits ahead by 51, behind by 4.

  • 1668544 chore: release v0.3.0 (#95)
  • 6605707 fix(package): update @google-cloud/common to version 0.17.0 (#82)
  • 9bb2eea chore: simplify index.ts (#80)
  • 911c0bc fix: potential fix of repo-tools permission error (#93)
  • 16f78cd fix: fix express installation test (#92)
  • fe67b08 chore(package): update @types/is to version 0.0.19 (#91)
  • 8892962 chore(package): update @types/mocha to version 5.0.0 (#83)
  • 0904c40 chore: replace var with let and const (#88)
  • 7fcf6d4 chore: convert test servers to TypeScript (#87)
  • 6b58117 chore: update error-reporting to use import statements (#86)
  • a91e660 Remove use strict (#85)
  • da857f0 chore: enable building utils files (#84)
  • bd8ef13 chore: rename test files to *.ts (#46)
  • 94fbc5e fix: fix a failure in the installation tests (#74)
  • e430de9 chore: setup nighty build in CircleCI (#77)

There are 51 commits in total.

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donā€™t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree: