Files
mruby-mruby/doc/mruby3.2.md
T
Yukihiro "Matz" Matsumoto 3b56332952 doc/mruby3.2.md: update [ci skip]
2022-11-09 23:37:02 +09:00

1.6 KiB

User visible changes in mruby3.2 from mruby3.1

The language

  • Now a::B = c should evaluate a then c.
  • Anonymous arguments *, **, & can be passed for forwarding.
  • Multi-precision integer is available now via mruby-bigint gem.

mruby VM and bytecode

  • OP_ARYDUP was renamed to OP_ARYSPLAT. The instruction name was changed but instruction number and basic behavior have not changed (except that ARYDUP nil makes []).

Tools

mruby

  • -b only specifies the script is the binary. The files loaded by -r are not affected by the option.
  • mruby now loads complied binary if the suffix is .mrb.

mrbc

  • Add --no-optimize option to disable optimization.

mrbgems

mruby-errno

  • mruby-errno gem is now bundled.

mruby-class-ext

  • Add Class#subclasses method.
  • Add Module#undefined_instance_methods method.

mruby-set

New bundled gem.

CVEs

Following CVEs are fixed.