Skip to content

Releases: tatethurston/ProtoScript

v0.0.10

22 Sep 00:11
f3ae984
Compare
Choose a tag to compare

v0.0.10

  • 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 .protoscript.json:

{
  "root": "src"
}

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

/** @type {import('protoscript').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.9...v0.0.10

v0.0.9

26 Aug 17:50
5cac343
Compare
Choose a tag to compare

What's Changed

  • Remove process.stdin.fd usage to see if it resolves intermittent Error: EAGAIN: resource temporarily unavailable, read. See #191 for more context.

Full Changelog: v0.0.8...v0.0.9

v0.0.8

23 Jul 21:48
80d8b30
Compare
Choose a tag to compare

What's Changed

  • Set compilation target to ES2015 by @tatethurston in #5
  • Use ["property"] access for JSON objects. This ensures generated JSON serialization code is correct when using minification tools that perform property mangling. See #4 for more context.

Full Changelog: v0.0.7...v0.0.8

v0.0.7

06 Jul 22:59
7c2e92e
Compare
Choose a tag to compare

What's Changed

  • Fix: include file extensions in generated file imports

Full Changelog: v0.0.6...v0.0.7

v0.0.6

06 Jul 20:50
7a933bb
Compare
Choose a tag to compare

What's Changed

  • Distribute strict ESM. A CommonJS is runtime is included for legacy node clients. Code generation uses ESM and requires Node.js v14 or later.

Full Changelog: v0.0.5...v0.0.6

v0.0.5

02 Jun 00:40
Compare
Choose a tag to compare

Full Changelog: v0.0.4...v0.0.5