| 1 |
NEWS |
| 2 |
---- |
| 3 |
|
| 4 |
# User visible changes in `mruby3.2` |
| 5 |
|
| 6 |
# The language |
| 7 |
|
| 8 |
- Now `a::B = c` should evaluate `a` then `c`. |
| 9 |
- Anonymous arguments `*`, `**`, `&` can be passed for forwarding. |
| 10 |
- Multi-precision integer is available now via `mruby-bigint` gem. |
| 11 |
|
| 12 |
# mruby VM and bytecode |
| 13 |
|
| 14 |
- `OP_ARYDUP` was renamed to `OP_ARYSPLAT`. The instruction name |
| 15 |
was changed but instruction number and basic behavior have not |
| 16 |
changed (except that `ARYDUP nil` makes `[]`). |
| 17 |
|
| 18 |
# Tools |
| 19 |
|
| 20 |
## `mruby` |
| 21 |
|
| 22 |
- `-b` only specifies the script is the binary. The files loaded by `-r` are not affected by the option. |
| 23 |
- `mruby` now loads complied binary if the suffix is `.mrb`. |
| 24 |
|
| 25 |
## `mrbc` |
| 26 |
|
| 27 |
- Add `--no-optimize` option to disable optimization. |
| 28 |
|
| 29 |
# mrbgems |
| 30 |
|
| 31 |
## mruby-class-ext |
| 32 |
|
| 33 |
- Add `Class#subclasses` method. |
| 34 |
- Add `Module#undefined_instance_methods` method. |
| 35 |
|
| 36 |
## New bundled gems |
| 37 |
|
| 38 |
- mruby-errno from [https://github.com/iij/mruby-errno.git] |
| 39 |
- mruby-set from [https://github.com/yui-knk/mruby-set.git] |
| 40 |
- mruby-dir from [https://github.com/iij/mruby-dir.git] |
| 41 |
|
| 42 |
# CVEs |
| 43 |
|
| 44 |
Following CVEs are fixed. |
| 45 |
|
| 46 |
- [CVE-2022-0080](https://nvd.nist.gov/vuln/detail/CVE-2022-0080) |
| 47 |
- [CVE-2022-0240](https://nvd.nist.gov/vuln/detail/CVE-2022-0240) |
| 48 |
- [CVE-2022-0326](https://nvd.nist.gov/vuln/detail/CVE-2022-0326) |
| 49 |
- [CVE-2022-0481](https://nvd.nist.gov/vuln/detail/CVE-2022-0481) |
| 50 |
- [CVE-2022-0525](https://nvd.nist.gov/vuln/detail/CVE-2022-0525) |
| 51 |
- [CVE-2022-0570](https://nvd.nist.gov/vuln/detail/CVE-2022-0570) |
| 52 |
- [CVE-2022-0614](https://nvd.nist.gov/vuln/detail/CVE-2022-0614) |
| 53 |
- [CVE-2022-0623](https://nvd.nist.gov/vuln/detail/CVE-2022-0623) |
| 54 |
- [CVE-2022-0630](https://nvd.nist.gov/vuln/detail/CVE-2022-0630) |
| 55 |
- [CVE-2022-0631](https://nvd.nist.gov/vuln/detail/CVE-2022-0631) |
| 56 |
- [CVE-2022-0632](https://nvd.nist.gov/vuln/detail/CVE-2022-0632) |
| 57 |
- [CVE-2022-0717](https://nvd.nist.gov/vuln/detail/CVE-2022-0717) |
| 58 |
- [CVE-2022-0890](https://nvd.nist.gov/vuln/detail/CVE-2022-0890) |
| 59 |
- [CVE-2022-1106](https://nvd.nist.gov/vuln/detail/CVE-2022-1106) |
| 60 |
- [CVE-2022-1212](https://nvd.nist.gov/vuln/detail/CVE-2022-1212) |
| 61 |
- [CVE-2022-1276](https://nvd.nist.gov/vuln/detail/CVE-2022-1276) |
| 62 |
- [CVE-2022-1286](https://nvd.nist.gov/vuln/detail/CVE-2022-1286) |
| 63 |
- [CVE-2022-1934](https://nvd.nist.gov/vuln/detail/CVE-2022-1934) |