Releases: unjs/capnp-es
Releases Β· unjs/capnp-es
v0.0.11
π Enhancements
π©Ή Fixes
- enum: Fix enum value (#36)
- interface: Import the class and client of interfaces (#37)
- interface: Add JSDoc to methods (#35)
- Only output files in specified formats (#40)
π Refactors
- Generate TS source code without using AST (#27)
- compiler: Split the code generator into multiple files (#31)
- interface: Extract interface generation to a separate function/file (#34)
- Make sure runtimes beside node are supported (#42)
π‘ Chore
β€οΈ Contributors
- Victor Berchet (@vicb)
- Emily-shen (@emily-shen)
- Samuel Macleod smacleod@cloudflare.com
v0.0.10
π Enhancements
π©Ή Fixes
- enum: Fix enum value (#36)
- interface: Import the class and client of interfaces (#37)
- interface: Add JSDoc to methods (#35)
- Only output files in specified formats (#40)
π Refactors
- Generate TS source code without using AST (#27)
- compiler: Split the code generator into multiple files (#31)
- interface: Extract interface generation to a separate function/file (#34)
π‘ Chore
β€οΈ Contributors
- Victor Berchet (@vicb)
- Emily-shen (@emily-shen)
- Samuel Macleod smacleod@cloudflare.com
What's Changed
- fix comments when code order is different from field order by @vicb in #30
- Refactor: generate TS source code without using AST by @vicb in #27
- refactor: split the code generator into multiple files by @vicb in #31
- fix(enum): fix enum value by @vicb in #36
- fix(interface): import the class and client of interfaces by @vicb in #37
- refactor: extract interface generation to a separate function/file by @vicb in #34
- fix: add JSDoc to interface methods by @vicb in #35
- code cleanup by @vicb in #38
- feat: add
messageToString
to dump messages by @vicb in #39 - fix: only output files in specified formats by @emily-shen in #40
- feat: expose capnpc-ts, capnpc-dts, capnpc-js by @vicb in #41
New Contributors
- @emily-shen made their first contribution in #40
Full Changelog: v0.0.9...v0.0.10
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
π Enhancements
- compiler: Enums as typed plain objects (d316d8b)
- cli: Allow directly passing path to capnp files (7eb8f86)
- Use getter/setter for struct (88504dd)
- Compile schemas from source (1d7bf84)
- Experimental RPC level 1 (#3)
- Support iterator lists (bbd512a)
- Implement Array interface for List (8e80a25)
- Improve inspection of pointers (1fd6341)
- Generate basic jsdocs (1be83a7)
π₯ Performance
- Use native
TextEncoder
and `TextDncoder for text (1b41d55)
π©Ή Fixes
- Update text (25d7470)
π Refactors
- Shorter code gen (1feaf4a)
- Better src/pointers structure (39d7049)
- Rename std to capnp (7abfafc)
- Decouple struct and pointer utils from class (b19e4e1)
π¦ Build
- Mark typescript as optional peer dependency (7b67d8c)
β Tests
- Run compile e2e within vitest (96cf7f5)
π€ CI
- Use node 22 (cd55407)
β€οΈ Contributors
- Pooya Parsa (@pi0)