Skip to content

v0.0.52

Compare
Choose a tag to compare
@tatethurston tatethurston released this 13 Apr 19:32
· 52 commits to main since this release
57dd188

What's Changed

  • Fixes a regression where nested types were not consumable:
    [tsserver 2702] [E] 'Foo' only refers to a type, but is being used as a namespace here.
  • Removes dist from public import paths. This impacts users that import twirpscript/dist/node and users that make direct invocations of the compiler instead of using npx twirpscript, like buf users. The following changes are necessary for those users to migrate:
     // some node client 
    -import { nodeHttpTransport } from "twirpscript/dist/node";
    +import { nodeHttpTransport } from "twirpscript/node";
     // buf.gen.yaml
    -path: ./node_modules/twirpscript/dist/compiler.js
    +path: ./node_modules/twirpscript/compiler.js

Full Changelog: v0.0.51...v0.0.52