beni 0.12.0 → 0.13.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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/README.md +4 -5
  4. data/lib/beni/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 751c23fa55573f7cfd9335654f61613b16278a61b0fb8cf57e1c891a84bc5ee0
4
- data.tar.gz: c2b5767b3eae4ce6e17a8c41cec7dd379971fe099cc1000a42254a6d834dfca7
3
+ metadata.gz: d6d668b6f67ab7af2c0bd498ae991426eafaa8f18766191879ef994dd77d7be2
4
+ data.tar.gz: c21ea30a1f5e43b7570282aa29dbd3e10712209998544a4c0ccb50aaa7b5868f
5
5
  SHA512:
6
- metadata.gz: 8ae13c7e5ea04783c3c32ef6593416f52c671e3ebdb4f5d4e84adc8a0f5593f9c33f0982dfecee0e6c16b65dab8b264a05c1580cede8a65d7afa841580ac4c26
7
- data.tar.gz: 52474f31804258fb74b870801838f5bffd34913243e86f77d33cf5f3a72ca51a92f1dd9dd7e2be47dd382e2d4b702a83673589a332cc4551b38af5826c4acac1
6
+ metadata.gz: fcca13aadd01ff0de6f657aff014b57e137b2615bf6a70a25c2e9886ec9f889060903181d53376f0d7de0d4419fb87a4b80a08a3d4341fdbe8eee7f0c78e731c
7
+ data.tar.gz: a059e6e170582881583f7ad1e78f1bfe5d5a05244a3cd379477f5743c12ce55f173d92383650b5177b72172064f55ef6fc2134e0b9189003c4bcb868dae13c18
data/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.13.0](https://github.com/elct9620/beni/compare/v0.12.0...v0.13.0) (2026-09-08)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **beni:** `Ccontext` and `Mrb::load_string` now require the `compiler` feature. A consumer on default features is unaffected; one already passing `default-features = false` loses them.
9
+ * **beni:** give a context-free load the same compile-error contract
10
+ * **beni:** hand a parse failure back with the location it happened at
11
+ * **beni-sys:** a host build with no archive discovery variable set now fails instead of compiling a placeholder surface, and dependents no longer receive DEP_MRUBY_LINKED.
12
+
13
+ ### Features
14
+
15
+ * **beni:** answer a Proc's compiled form as bytecode ([2e48579](https://github.com/elct9620/beni/commit/2e485795166bf41882611cb09ba07c5755ef4ba6))
16
+ * **beni:** give a context-free load the same compile-error contract ([e047c27](https://github.com/elct9620/beni/commit/e047c275c0a91d21b4baef8d713bc08265628e85))
17
+ * **beni:** hand a parse failure back with the location it happened at ([6738fda](https://github.com/elct9620/beni/commit/6738fda7035fabe06136036676bb7e0abe240fc0))
18
+ * **beni:** keep the warnings a load produced on its context ([c5bee4b](https://github.com/elct9620/beni/commit/c5bee4b061a7051828461722df1e70cf4a06cabf))
19
+ * **beni:** let a caller stop between the compile and the run ([247616d](https://github.com/elct9620/beni/commit/247616d99df5c57ec8e491bb2dc97b2c0055fcd4))
20
+ * **beni:** let a consumer decline the compiler ([bf1ae17](https://github.com/elct9620/beni/commit/bf1ae17ef79dc95c429650544b0631dfaad331fe))
21
+ * **beni:** read an error's backtrace frames in one call ([27d1d47](https://github.com/elct9620/beni/commit/27d1d473a4ed33da9624f269c75b1d3b52036ccd))
22
+ * **docs:** generate the bindings a documentation build reads ([63c5a27](https://github.com/elct9620/beni/commit/63c5a27a75bc805c92cd3c92364468931c4be6b4))
23
+ * **surface:** make a capability feature an axis of the drift net ([ff7026f](https://github.com/elct9620/beni/commit/ff7026fbc356b74c923ff706457c6b0158ac2134))
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * **docs:** carry the documentation host's own bindings ([5e0b3c5](https://github.com/elct9620/beni/commit/5e0b3c52e33b0a98575e55c996b11255bd0284d0))
29
+ * **docs:** generate the bindings where the documentation host builds ([f04a57b](https://github.com/elct9620/beni/commit/f04a57b6fb5940271cd570cbef2079ec50f96ee0))
30
+ * **docs:** generate the documentation bindings instead of pinning them ([dd07492](https://github.com/elct9620/beni/commit/dd07492bae642aa18089922517c0556289914154))
31
+ * **hooks:** fail the lint gate when the archive is missing ([2c036c9](https://github.com/elct9620/beni/commit/2c036c9167bd8bf066d5be991ad33153dd0791b4))
32
+ * **rust:** compile the documentation build before rendering it ([3b957df](https://github.com/elct9620/beni/commit/3b957df2f959f7f976622d812f2ead88d0aa1eaa))
33
+ * **tasks:** fail the wasm legs when the target is not installed ([a8826bd](https://github.com/elct9620/beni/commit/a8826bdcdec5d1ef10b419c8252bde68883e9de3))
34
+
35
+
36
+ ### Code Refactoring
37
+
38
+ * **beni-sys:** build against an archive or not at all ([c7de9f6](https://github.com/elct9620/beni/commit/c7de9f685093d0e3b97a3b4094cad83666610fcf))
39
+
3
40
  ## [0.12.0](https://github.com/elct9620/beni/compare/v0.11.0...v0.12.0) (2026-09-07)
4
41
 
5
42
 
data/README.md CHANGED
@@ -94,11 +94,10 @@ An interpreter is carried between threads but never reached from two at
94
94
  once: `Mrb` is `Send` and not `Sync`, so handing one to another thread
95
95
  compiles while sharing it needs a `Mutex` of your own.
96
96
 
97
- With no archive discovery variable set, a host build compiles in
98
- placeholder mode: `cargo check` passes, no FFI surface is exported, and
99
- `Mrb::open` returns an error so `beni` is safe to take as a transitive
100
- dependency. Any C API the typed wrapper does not cover stays reachable
101
- through the unsafe `beni::sys` escape hatch.
97
+ Every build needs the archive: with no discovery variable set the build
98
+ fails naming the ones it looked for, rather than handing you a crate
99
+ whose every call aborts later. Any C API the typed wrapper does not
100
+ cover stays reachable through the unsafe `beni::sys` escape hatch.
102
101
 
103
102
  ### Cross-compile for wasm32-wasip1
104
103
 
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.12.0"
4
+ VERSION = "0.13.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.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aotokitsuruya