Skip to content

feat!: bump Fable.Beam to 5.0.0-rc.27 and adopt typed Pid/Ref#24

Merged
dbrattli merged 1 commit into
mainfrom
chore/bump-fable-beam-rc.27
Apr 25, 2026
Merged

feat!: bump Fable.Beam to 5.0.0-rc.27 and adopt typed Pid/Ref#24
dbrattli merged 1 commit into
mainfrom
chore/bump-fable-beam-rc.27

Conversation

@dbrattli
Copy link
Copy Markdown
Collaborator

Summary

  • Bump Fable.Beam 5.0.0-rc.22 → 5.0.0-rc.27 (breaking: Pid and Ref are now generic — Pid<'Msg>, Ref<'Tag>).
  • Bump Fable CLI/Core/Python to 5.0.0 stable and Fable.Beam.Cowboy to 5.0.0-rc.23.
  • Adopt typed handles end-to-end: Actor<'Msg>.Pid : Pid<'Msg>, sendMsg/recvReply propagate 'Msg/'Reply, and the unbox casts in call/callWithTimeout are eliminated. Only opaque protocol pids (child-exit signal pid, reply caller pid) remain Pid<obj>.
  • Drop -r from the format recipe in the justfile — fantomas 7 recurses by default and rejects the flag.

Public API impact

Actor<'Msg>.Pid and Actor.pid now return Pid<'Msg> instead of the untyped Pid. Actor.send, Post, and call are now type-checked against the actor's message type at the platform layer.

Test plan

  • dotnet build src/Fable.Actor — 0 warnings/errors
  • just build — Fable→BEAM compiles cleanly
  • just test — 21/21 BEAM tests pass

🤖 Generated with Claude Code

Fable.Beam rc.27 makes Pid and Ref generic (Pid<'Msg>, Ref<'Tag>).
Adopt the typed handles end-to-end so the wrapper preserves type
safety: Actor<'Msg>.Pid is now Pid<'Msg>, sendMsg/recvReply propagate
the message and reply types, and the unbox casts in call/callWithTimeout
are gone.

Other dependency bumps in the same release window:
- Fable CLI: 5.0.0-rc.5 -> 5.0.0
- Fable.Core: 5.0.0-rc.1 -> 5.0.0
- Fable.Python: 5.0.0-rc.2 -> 5.0.0
- Fable.Beam.Cowboy: 5.0.0-rc.22 -> 5.0.0-rc.23

Also drop the -r flag from the fantomas invocation in the format
recipe since fantomas 7 recurses by default and rejects -r.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dbrattli dbrattli merged commit 4aaed25 into main Apr 25, 2026
2 checks passed
@dbrattli dbrattli deleted the chore/bump-fable-beam-rc.27 branch April 25, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant