Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

v0.18.0

Choose a tag to compare

@JustinBeckwith JustinBeckwith released this 09 Nov 23:53
0b0ebb2

11-09-2018 15:34 PST

This release has breaking changes. Please take care when updating to the latest version.

BREAKING CHANGE: The import style of this library has changed to be es-module compliant. The default export is no longer a function. To get the path to a given proto file, please use the getProtoPath method.

Old code

const protoFiles = require('google-proto-files');
const pathToProto = protoFiles('/some/proto/file');

New Code

const protoFiles = require('google-proto-files');
const pathToProto = protoFiles.getProtoPath('/some/proto/file');

All other exported methods and properties remain the same.

Internal / Testing changes

  • refactor: use walkdir instead of globby (#109)
  • chore: drop contributors from multiple places (#108)
  • chore: use latest npm on Windows (#107)
  • refactor: convert to typescript (#106)
  • refactor: use a src/ directory (#105)
  • chore: update CircleCI config (#104)
  • chore: include build in eslintignore (#101)
  • chore(deps): update dependency eslint-plugin-node to v8 (#97)
  • chore: update issue templates (#96)
  • chore: remove old issue template (#94)
  • build: run tests on node11 (#93)
  • chores(build): do not collect sponge.xml from windows builds (#92)
  • chores(build): run codecov on continuous builds (#91)
  • chore: update new issue template (#90)
  • build: fix codecov uploading on Kokoro (#86)
  • build: automate library with synth.py (#85)
  • chore(deps): update dependency sinon to v7 (#84)