Skip to content

Latest commit

 

History

History
171 lines (108 loc) · 6.76 KB

CHANGELOG.md

File metadata and controls

171 lines (108 loc) · 6.76 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.

0.8.0 (2024-11-10)

🚀 Features

  • update TypeScript codegen to use defType() (1de3a70)
    • re-use defType() for generated structs/unions (see 947e3fc1cc), resulting in much smaller outputs
    • update test snapshots

♻️ Refactoring

  • update TS code gen (42c6fa3)
    • coalesce pointer & string var declarations
    • update test snapshots

0.7.9 (2024-11-09)

♻️ Refactoring

  • update TypeScript codegen (49d1bc5)
    • reduce filesize of generated code by injecting wrapper for string type ctor if type collection uses strings
    • update test snapshots

0.7.0 (2024-08-21)

🚀 Features

  • add support for external types (af1a44d)
    • update ICodeGen interface & all impls (C, TS, Zig)
  • update JSON schema (e7bd5a9)

🩹 Bug fixes

  • update type prefix handling in C11 codegen (5b6fcc2)
    • don't add prefix for external types
    • add naming convention helper fns

0.6.0 (2024-08-18)

🚀 Features

  • update TS codegen to produce more compact results (ee5e283)
    • update array & slice handling to re-use new helpers in @thi.ng/wasm-api
    • update test snapshots
  • add getter/setter field flags (6e87558)
    • update JSON schema
    • update TS codegen to handle optional getters/setters
    • add doc strings

🩹 Bug fixes

  • fix TS codegen address divisor for prim slices (dfd66ba)
    • update __primSlice()
      • address needs to be divided based on type size
    • update test snapshots

0.5.5 (2024-06-21)

♻️ Refactoring

  • dedupe struct/union gens for C/Zig (be628f7)
  • update/dedupe user body injection (40cbf13)
    • update TS & Zig code gens
  • enforce uniform naming convention of internal functions (56992b2)

0.5.0 (2024-04-22)

🚀 Features

  • update Zig funcptr codegen to include callconv(.C) (ac3da9e)
    • callconv explicitly required for function pointers in extern structs in Zig v0.12
    • update docs
    • update test snapshots

0.4.69 (2024-04-20)

♻️ Refactoring

0.4.52 (2024-02-22)

♻️ Refactoring

  • update object destructuring in all pkgs & examples (f36aeb0)

0.4.51 (2024-02-22)

♻️ Refactoring

  • update all node:* imports (c71a526)

0.4.28 (2023-11-09)

♻️ Refactoring

  • update all tests (packages T-Z) (020ef6c)

0.4.5 (2023-06-29)

♻️ Refactoring

  • Zig v0.11-dev syntax updates (dea00ff)

0.4.0 (2023-03-27)

🚀 Features

  • update codegen for TS 5.0 (93bf2e2)

0.3.0 (2023-02-05)

🚀 Features

  • add WasmType.instanceArray() impl (f69d46e)

🩹 Bug fixes

  • add missing Field.skip check (ac43440)
    • update generateField() in TypeScript gen

0.2.2 (2022-11-30)

♻️ Refactoring

  • update Zig codegen default imports (#368) (574af0f)
    • adopt unscoped JS pkg name also as Zig import
    • update fixtures
    • update readme

0.2.0 (2022-11-24)

🚀 Features

  • update TS multi-ptr handling & doc gen (243981f)
    • provide at least access to ptr target address
    • update doc string generation
  • migrate C & Zig type headers (aa56930)
    • move includes from @thi.ng/wasm-api core pkg
    • update Zig codegen
    • update fixtures
    • update pkg files

🩹 Bug fixes

  • fix C sentinel array handling (1adda1e)
    • emit array size without sentinel
    • add extra hidden field to ensure correct offset of next field

0.1.0 (2022-11-23)

🚀 Features

♻️ Refactoring

  • migrate JSON schema, update readme & pkg (a6d9c3a)