Skip to content

chore(release): version packages - #19

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore(release): version packages#19
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

webactor@1.1.0

Minor Changes

  • #15 529f588 Thanks @AStaroverov! - Report a lost message instead of dropping it silently.

    A message that a transport refuses now produces a messageerror envelope carrying the transport's own error, so it stops being invisible. The report is routed to whoever was waiting for the message that failed: forward along its route when the envelope was already routed, such as a response or a channel handshake, and back along its checkpoints when it was still on its way out. Either way a pending request rejects with the real cause instead of retrying until its abortSignal fires. Transports implementing the platform messageerror event now feed it into the same channel, so a failed deserialization reaches the endpoint as well.

    Keep it distinct from error: an error envelope still means the endpoint itself died and is what supervisors act on, while messageerror says one message was lost and the endpoint is fine.

    New public surface: EnvelopeType.MessageError, the MessageErrorEnvelope type, and the Reasons.Undeliverable / Reasons.Undeserializable fallbacks.

    Also fixes a listener in an envelope emitter being able to swallow a whole dispatch: a throwing listener used to reject the internal dispatch promise as an unhandled rejection and skip every listener after it. It is now rethrown as an ordinary uncaught error, exactly like a throwing DOM event listener, and the remaining listeners still receive the envelope.

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.

0 participants