feat!: bump Fable.Beam to 5.0.0-rc.27 and adopt typed Pid/Ref#24
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fable.Beam5.0.0-rc.22 → 5.0.0-rc.27 (breaking:PidandRefare now generic —Pid<'Msg>,Ref<'Tag>).Fable.Beam.Cowboyto 5.0.0-rc.23.Actor<'Msg>.Pid : Pid<'Msg>,sendMsg/recvReplypropagate'Msg/'Reply, and theunboxcasts incall/callWithTimeoutare eliminated. Only opaque protocol pids (child-exit signal pid, reply caller pid) remainPid<obj>.-rfrom theformatrecipe in the justfile — fantomas 7 recurses by default and rejects the flag.Public API impact
Actor<'Msg>.PidandActor.pidnow returnPid<'Msg>instead of the untypedPid.Actor.send,Post, andcallare now type-checked against the actor's message type at the platform layer.Test plan
dotnet build src/Fable.Actor— 0 warnings/errorsjust build— Fable→BEAM compiles cleanlyjust test— 21/21 BEAM tests pass🤖 Generated with Claude Code