Skip to content

v0.0.63

Compare
Choose a tag to compare
@tatethurston tatethurston released this 22 Sep 01:00
· 19 commits to main since this release
cf9eab8

v0.0.63

  • Change configuration file format. Now, the configuration file is JS instead of JSON. This provides better discoverability and type checking for TypeScript users.

The following .twirp.json:

{
  "root": "src"
}

Would be renamed to proto.config.mjs and changed to the following:

/** @type {import('twirpscript').Config} */
export default {
  root: "src",
};
  • Use relative file path for determining path to compiler instead of hard coding from project root. This should interop better with more exotic package tooling and repo setup.

  • Fix: Improved map detection. Previously field types suffixed with Entry were incorrectly flagged as maps. This has been fixed.

Full Changelog: v0.0.62...v0.0.63