Skip to content

Wi 9.4.0-beta

Choose a tag to compare

@cyxigo cyxigo released this 26 Sep 09:33
· 284 commits to main since this release

API

  • Add extra pointer API (2ac35b8, 2688472)
  • Add wi_is_function to the API (3baf77e)
  • Add wi_arg_type to the API (8ab29b0)
  • Add ref API (eb81bdb)
  • Add state parameter to wi_print_fn (a7a1f80)
  • Add wi_type() to API (ea70b79)
  • Add wi_map_next/wi_object_next/wi_module_next to the API (f50399f)
  • Cleanup doxygen comments in wi.h (4c5391f)
  • Add wi_state_memory_used/wi_state_collect_garbage to API; refactor STD/STM error messages (fb8ee9c)
  • Update wi_call comment (796926c)
  • Add wi_arg_check_function to API (4dd933b)

General

  • Add raw string literals (syntax `string` instead of "string") (eed4921)
  • Canonicalize NaNs that can come from ADD, SUBTRACT, MULTIPLY, DIVIDE, POWER, and MODULO (2097ea9)
  • Replace libc rand() with xoshiro256** PRNG (ca3beb3)
  • Add optional exit_code parameter to std::exit (_base_exit); add wi_state_exit_code to the API (ded4b53)
  • Guard against NaN as a key in maps (9181eaf)
  • Bump version to v9.4.0 (15bdb50)

STD

  • Add os::listdir (_os_listdir) (92785a2)
  • Fix dead formatting argument in _io_writebytes (63f11b8)
  • Add optional N parameter to math::round (_math_round) (5a3cb79)
  • Check for empty strings in std::real (_base_real) (2b7aac5)
  • Cleanup io reading (4a83b3c)
  • Add io::flush (_io_flush) (52220ef)
  • Add io::seek (_io_seek) and io::SEEK_SET/SEEK_CUR/SEEK_END (ae71b71)
  • Add os::monotonic (_os_monotonic) (d3235d0)
  • Refactor math::min (_math_min)/math::max (_math_max) (5a13bcd)

STM

  • Use wi_arg_check_function in array/map STM (6ccf1ef)

Full Changelog: v9.3.0-beta...v9.4.0-beta