beni 0.19.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +41 -0
  3. data/lib/beni/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36da2e645c0d9ca2ff90d97616c6d61b3c980f2c9d7fe86787fd9f4a7b37b6d8
4
- data.tar.gz: 6427252a51072ac6b4765a9bdb48dddd0e0f54871851868ab6e59aa893ebeabe
3
+ metadata.gz: d5f307db03f9e91e2762e738582b499dd615c38865dfc94c413c2746c9e62b54
4
+ data.tar.gz: 709bf294599df8f0efcf5d62800af532bc81c1b1837fac49e895aa328b9f915c
5
5
  SHA512:
6
- metadata.gz: 01c6056118dc5d79f384744f454d33a2d0deae44ace23ea1bc1ca43112c2bbe58f03520f75275a9c889f18131157b673b68aa18e962bd4c7784c75201ae0c8e7
7
- data.tar.gz: 64e19fb993583a5474aea35a77582d03fe332bb0d149fda75f0549712c44f3e951c29c49aa2c493b1f442ce15254754c83d28d480018ac5e83934600516e003f
6
+ metadata.gz: d84d4a6be69bab3950dcdbb0a64c5009178c9b90ec955f942c3565174743b051c0dde0de7db579e9356c717a6ce39a9e951dbe33bae9a01e9cc6d76697880cb7
7
+ data.tar.gz: 82b3100cf8746ed778b70e0021bfa04eb039a66d5605ce7233bd040c77aeaba740bf040b75c9b607d67c7e5d514ab10d220de185b5cf28bbb27e8faba9be6438
data/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.20.0](https://github.com/elct9620/beni/compare/v0.19.0...v0.20.0) (2026-10-05)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **beni:** `beni::ReturnValue` and `beni::BlockReturn` are now
9
+ * **beni:** seal the method return seam as ReturnValue
10
+ * **beni:** `Mrb::intern_check` is renamed to `Mrb::check_id`.
11
+ * **beni:** a function registered through `method!(f, -1)` takes a trailing `&[Value]`, as does `Dup::clone`; `Mrb::argc` and `Mrb::argv` are removed — read the slice instead.
12
+
13
+ ### Features
14
+
15
+ * **beni:** build a Proc whose body is a Rust function or closure ([a6c0655](https://github.com/elct9620/beni/commit/a6c06551814a3174e46a9f4b4360aaf8ae8f1037))
16
+ * **beni:** check a name's symbol as well as its id ([cc9fb59](https://github.com/elct9620/beni/commit/cc9fb59e2df22e4599c7c05532b1f0ab3750d407))
17
+ * **beni:** create, resume, and test fibers behind a fiber feature ([aaeb682](https://github.com/elct9620/beni/commit/aaeb682f5f88a19057dbdfa60e392b830357f92d))
18
+ * **beni:** read the current fiber on the Mrb handle ([fdc7e4c](https://github.com/elct9620/beni/commit/fdc7e4c186adfd7c91d8d1dd47b986a71acd1201))
19
+ * **beni:** suspend a fiber by returning a fiber yield ([f5ad4b6](https://github.com/elct9620/beni/commit/f5ad4b6ebb2181c579d675472c82665832b55bcb))
20
+ * **beni:** take a frozen copy of a string ([a1bcb4d](https://github.com/elct9620/beni/commit/a1bcb4d4f3f90aa4ae376f14a5036b75ca942bf8))
21
+ * **beni:** view an array's elements in place as a borrowed slice ([1b6c00a](https://github.com/elct9620/beni/commit/1b6c00a84b1e0bcaaccf14e771bffd52ee00c661))
22
+ * **beni:** write a warning or report a bug to standard error ([6025d1a](https://github.com/elct9620/beni/commit/6025d1afb6acb7a2b1fc923ed1415545faf5b7b2))
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * **beni:** read the carrier record without dispatch or protect frames ([da3edb5](https://github.com/elct9620/beni/commit/da3edb5b34287c3465e387e9a998e2813959fca0))
28
+
29
+
30
+ ### Performance Improvements
31
+
32
+ * **beni:** hold a short fiber yield's arguments without a heap allocation ([30a93f3](https://github.com/elct9620/beni/commit/30a93f3d073a2f1f6b07eb4c13f4d3e285694c3e))
33
+ * **beni:** read a keyword-less any-arity call's arguments without a format parse ([010c706](https://github.com/elct9620/beni/commit/010c706b880ff656f9ba5d27c6a7854a740c6f08))
34
+ * **beni:** read an any-arity call's keywords only when it passed some ([c49d321](https://github.com/elct9620/beni/commit/c49d32166defd87234028caf732074803a16bb34))
35
+
36
+
37
+ ### Code Refactoring
38
+
39
+ * **beni:** hand an any-arity method its arguments as a slice ([ffffb11](https://github.com/elct9620/beni/commit/ffffb11ee113302c4fa7e84f5f98cdb5f2bce9e1))
40
+ * **beni:** keep the return seams under beni::method as magnus does ([3f34ca2](https://github.com/elct9620/beni/commit/3f34ca2ea717b663131435d8a5a2203c37e1cd7e))
41
+ * **beni:** name the id existence check check_id ([a125459](https://github.com/elct9620/beni/commit/a12545958cea38b050f35d90a5b33bf5026b3ce2))
42
+ * **beni:** seal the method return seam as ReturnValue ([b40ba88](https://github.com/elct9620/beni/commit/b40ba8886d128f5db13d7c9425146ed29948a8b7))
43
+
3
44
  ## [0.19.0](https://github.com/elct9620/beni/compare/v0.18.0...v0.19.0) (2026-10-03)
4
45
 
5
46
 
data/lib/beni/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Beni
4
- VERSION = "0.19.0"
4
+ VERSION = "0.20.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beni
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aotokitsuruya