Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 2 KB

CHANGELOG.md

File metadata and controls

57 lines (46 loc) · 2 KB

0.13.2

  • Removed 64K of zeros from generated WASM files

0.13.1

  • Enhanced handling of multi-item and C pointers
  • Implemented expected behavior from pointer to anyopaque
  • Added support for iterators
  • Added support for variadic functions
  • Added buildDirSize option to control size of build directory
  • Added support for Zig 0.14.0/master
  • Various bug fixes and optimizations
  • Tested on ARM64 (including MacOS on ARM)

0.13.0

  • Added support for Zig 0.13.0
  • Fixed inability of rollup-plugin-zigar and zigar-loader to detect changes in dependent files
  • Renamed zigar-cache to .zigar-cache

0.12.0

  • Removed support for Zig 0.11.0

0.11.2

  • Added sizeOf(), alignOf(), and typeOf() to __zigar
  • Added ability to provide custom WASI handler
  • Added compilation indicator to node-zigar
  • Implemented casting from packed structs to number and initialization
  • Implemented casting from tagged union to string
  • Implemented redirection of libc io functions
  • Made directory containing Zig file available as include directory for C
  • Fixed error reporting
  • Replaced zigCmd option with separate zigPath and zigArgs options
  • General code clean-up

0.11.1

  • Completely reworked pointer handling, improving performance and eliminating restrictions on pointer aliasing
  • One-to-One address to JavaSCript object mapping
  • Implemented handling of obscure Zig types such as enum literal
  • Added support for Windows (32-bit and 64-bit)
  • Added support for latest version of Node.js
  • Added support for Electron and NW.js, including cross-compilation handling
  • Added support for master branch version of Zig compiler
  • Added support for packages
  • Implemented proper handling of const pointers
  • Improved handling of tagged union
  • Improved handling of enum
  • Improved conversion to JSON
  • Fixed rounding error for f16, f32, f80 and f128
  • Fixed error sets
  • Consolidated runtime for native-code execution and WebAssembly into single codebase
  • Switched from Node-gyp to more modern Node-API, eliminating C++ code and need for Python