Releases: tatethurston/ProtoScript
Releases · tatethurston/ProtoScript
v0.0.10
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 withEntry
were incorrectly flagged as maps. This has been fixed.
Full Changelog: v0.0.9...v0.0.10
v0.0.9
What's Changed
- Remove
process.stdin.fd
usage to see if it resolves intermittentError: EAGAIN: resource temporarily unavailable, read
. See #191 for more context.
Full Changelog: v0.0.8...v0.0.9
v0.0.8
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
What's Changed
- Fix: include file extensions in generated file imports
Full Changelog: v0.0.6...v0.0.7
v0.0.6
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
Full Changelog: v0.0.4...v0.0.5