homura-runtime 0.3.1 → 0.3.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +3 -3
- data/lib/homura/runtime/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b09e022b298cf614eddee1e206a91e8f1e8ac62dbd649bbaf493c17bd9867dc
|
|
4
|
+
data.tar.gz: 8e79929b358d8273307da2522890afdd6ab2c19c9e7281cf66eb4cca0c858878
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4869cd52bc0e24b9a4427145bce641c678d1ffd8de391e984a0dd6238df2fc2ac2bcd67108326f079a44c23b17ce77ef7310717941575860efd024311083d92c
|
|
7
|
+
data.tar.gz: 44a8fd2d0846fb0939b79da88ce792ce574114a22046b5cb4b6bc9420559c2b780d813a75fba2c177d489996d963142136f2bdeafb95cb347314c308dbc07e8e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.2 (2026-04-30)
|
|
4
|
+
|
|
5
|
+
- README: replace the leftover `require 'cloudflare_workers'` line and
|
|
6
|
+
the `gem 'opal-homura', '= 1.8.3.rc1.3'` pin with the canonical
|
|
7
|
+
`require 'homura/runtime'` and `= 1.8.3.rc1.5` shipped on RubyGems.
|
|
8
|
+
- README support-matrix Opal row updated to `= 1.8.3.rc1.5` to match.
|
|
9
|
+
- No code changes vs. 0.3.1.
|
|
10
|
+
|
|
3
11
|
## 0.3.1 (2026-04-29)
|
|
4
12
|
|
|
5
13
|
- Fix `release-gems.yml` `Resolve gem target` step: now reads
|
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Core Ruby + Module Worker glue for [Opal](https://opalrb.com/) on [Cloudflare Wo
|
|
|
5
5
|
## What you get
|
|
6
6
|
|
|
7
7
|
- `require 'opal_patches'` — additive patches for Opal corelib vs real-world gems (Rack, etc.).
|
|
8
|
-
- `require '
|
|
8
|
+
- `require 'homura/runtime'` — Rack handler, Cloudflare bindings, multipart, queue, Durable Objects, etc. Sinatra apps using `sinatra-homura` get this required automatically; explicit consumers (non-Sinatra Rack apps) call it themselves.
|
|
9
9
|
- `runtime/worker_module.mjs` — fetch / scheduled / queue / DO adapters (**no Opal bundle import**).
|
|
10
10
|
- `runtime/worker.mjs` — thin bootstrap (crypto shim → bundle → `worker_module`) for legacy layouts.
|
|
11
11
|
- `runtime/setup-node-crypto.mjs` — `node:crypto` on `globalThis` before the Opal bundle loads.
|
|
@@ -14,7 +14,7 @@ Core Ruby + Module Worker glue for [Opal](https://opalrb.com/) on [Cloudflare Wo
|
|
|
14
14
|
|
|
15
15
|
## Quick start (homura monorepo)
|
|
16
16
|
|
|
17
|
-
1. `Gemfile`: `gem 'homura-runtime',
|
|
17
|
+
1. `Gemfile`: `gem 'homura-runtime', '~> 0.3'` and `gem 'opal-homura', '= 1.8.3.rc1.5', require: 'opal'` (in the homura monorepo dev workspace, `path: 'gems/homura-runtime'` is also supported).
|
|
18
18
|
2. `bundle exec homura build` — in generated standalone apps, writes `build/hello.no-exit.mjs` plus root-level `build/worker.entrypoint.mjs`; in the monorepo it writes `build/worker.entrypoint.mjs`.
|
|
19
19
|
3. `wrangler.toml`: generated apps use `main = "build/worker.entrypoint.mjs"` and `compatibility_flags = ["nodejs_compat"]`.
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ Core Ruby + Module Worker glue for [Opal](https://opalrb.com/) on [Cloudflare Wo
|
|
|
25
25
|
| Ruby | 3.4.x |
|
|
26
26
|
| Node | ≥ 20 |
|
|
27
27
|
| Wrangler | ^3.99 |
|
|
28
|
-
| Opal | = 1.8.3.rc1.
|
|
28
|
+
| Opal | = 1.8.3.rc1.5 |
|
|
29
29
|
|
|
30
30
|
## Wrangler config
|
|
31
31
|
|