Skip to content

EZ v5.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 05:24
· 1 commit to main since this release

EZ 5.4.0

Release date: 2026-11-16

This summary groups the user-visible changes and maintenance work recorded in
the full Git history between the two tags. Merge commits, temporary debugging
commits, and commits that only restore test fixtures are represented by the
final behavior they helped establish.

Language and modules

  • Added explicit module exports and selective imports, with aliases available
    on both sides of the import.
  • Added spread-argument support and custom user-defined decorators on model
    methods.
  • Added Unicode escape sequences in string literals. String length, indexing,
    slicing, substring, and indexOf now use character offsets for valid UTF-8;
    string case conversion also handles UTF-8 characters.
  • Added an optional daemon setting to spawn (a final true argument or
    {daemon: true}); daemon tasks do not keep the event loop alive.
  • Expanded documentation for the existing escape and skip loop controls,
    static/dynamic model construction, nil-coalescing, optional chaining, enum
    iteration, and logical propagation.
  • Improved enum diagnostics and iteration over classes with static members.

Runtime, compiler, and concurrency

  • Fixed compiler handling of empty constructors and stack cleanup. In
    particular, a double-pop could corrupt execution, trigger std::bad_alloc,
    and cause finally blocks to be skipped.
  • Improved exception handling and error stringification, including errors
    crossing worker-thread and async execution boundaries.
  • Fixed async task execution on macOS/Clang and routed timer-related work through
    the event loop's task queue with worker-thread context tracked correctly.
  • Improved cycle-collector and VM frame handling for multithreaded execution.
  • Added VM introspection builtins for stack, call-depth, instruction-count, and
    execution-limit diagnostics.
  • Tightened rollback/audit handling for model properties, improved cached
    method invalidation, and required literal arguments for @ratelimit.

Builtins and safety

  • Reorganized builtin implementations into focused subsystem directories and
    standardized GC, FFI, and VM registration/layout.
  • Restored the to_csv builtin and improved JSON parse diagnostics and file
    errors based on the file's open mode.
  • Added protection against nested regex quantifiers that can cause excessive
    backtracking, and added string-concatenation bounds checks.
  • Expanded FFI documentation covering library loading, calls, callbacks,
    memory, and struct handling.

Build, docs, and validation

  • Unified build.bat and build_cmake.bat around the CMake build
    configuration, and updated platform/deployment guidance.
  • Linked MinGW's Synchronization import library for newer static libuv builds
    on Windows.
  • Expanded documentation across syntax, control flow, functions, OOP,
    exceptions, modules, concurrency, decorators, and standard libraries.
  • Added regression coverage for UTF-8 and malformed strings, closures,
    exceptions and finally, concurrency, modules, dictionary keys, decorators,
    JSON, math, file I/O, and VM edge cases.