Skip to content

Releases: cakevm/huff-neo

v1.3.3

16 Aug 14:39

Choose a tag to compare

  • Add --flattened-source CLI flag to output the flattened source code (with all includes resolved).
  • Add source code display in debugger with proper multi-file support.
  • Improve TypeScript definitions for WASM/JS package with proper types instead of any.

v1.3.2

14 Aug 19:10
9ef8d3e

Choose a tag to compare

  • Standardize span convention to use exclusive end positions (following Rust Range convention).
    • All spans now use start..end where end is exclusive (points after the last character).
  • Fix source mapping to correctly handle nested macro expansions.
    • Spans now point to actual opcodes in macro definitions, not invocations.

v1.3.1

14 Aug 14:39
7559b11

Choose a tag to compare

  • Add constructor and runtime source maps in Artifact structure.
  • Remove UUID field from FileSource struct for better WASM compatibility.
  • Fix span end to be inclusive at the end.

v1.3.0

12 Aug 15:45

Choose a tag to compare

  • Update rust to 1.89 and dependencies to the latest version.
  • Breaking: Implement proper label scoping to prevent label overwriting in macro invocations. (fixes #82)
    • Each macro invocation now has its own label scope.
    • Duplicate labels within the same scope are properly detected and reported.
    • Label shadowing across different scopes is supported.
    • Fixes issue where multiple invocations of the same macro would cause all jumps to target the last label definition.
  • Fix nested macro invocation with labels causing panic. (fixes #77)
    • Correctly handle bytecode offset tracking when macros are expanded as arguments.
  • Handle circular macro recursion and prevent stack overflow. (fixes #75)
    • Add detection for circular macro invocations with clear error messages.
  • Implement first-class macro arguments. (fixes #41)
    • Macros can now be passed as arguments to other macros.
    • New syntax: <arg>() to invoke a macro passed as an argument.

v1.2.0

16 Jul 18:52

Choose a tag to compare

  • Fix table instance propagation in nested macro calls (fixes #76).
  • Breaking: Fix resolve nested macro argument evaluation order (fixes #80).
    • The evaluation order of macro arguments is now left-to-right and no longer evaluates the most deeply nested macro first.
  • Update dependencies to the latest version.

v1.1.14

17 Jun 14:56
4054da5

Choose a tag to compare

  • Fix using correct chain id for transactions in test runner.

v1.1.13

14 Jun 17:54

Choose a tag to compare

  • Update dependencies to the latest version.
  • Fix nested macro argument resolution (fixes #60, #48).
  • Fix label resolution for macros passed as arguments (fixes #62).
  • Fix macro argument scoping and execution order (fixes #50).

v1.1.12

30 May 08:44

Choose a tag to compare

  • Clean release after CI fixes.

v1.1.11

30 May 08:34

Choose a tag to compare

  • Update rust to 1.87.

v1.1.10

30 May 08:20

Choose a tag to compare

  • Remove AUTH and AUTHCALL opcodes since EIP-3074 was withdrawn from Pectra.