Version Packages#392
Merged
Merged
Conversation
ae28844 to
f13f916
Compare
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.
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
partyserver@0.5.4
Patch Changes
#391
6273c96Thanks @threepointone! - Persist a__ps_namefallback for name-based Durable Objects during initialization. This lets alarm handlers recoverthis.nameeven when firing on a stale on-disk alarm record that was scheduled by an older workerd version that didn't yet persistnameinto the alarm record. See Alarms on fresh 0.5.x DOs with pre-2026-03-15 compat date fail to recoverthis.name#390.#393
5335251Thanks @threepointone! - Complete the WebSocket close handshake when a client initiates the close. Previously, both the hibernatingwebSocketClosehandler and the non-hibernating close-event listener forwarded to useronClosebut never sent a reciprocal Close frame, leaving clients stuck inCLOSINGuntil they timed out and reported1006(abnormal closure). The framework now reciprocates the peer's Close frame in afinallyblock on both paths — required by the Hibernation API on every compat date, and required by the standardaccept()API on compat dates before2026-04-07(where the runtime'sweb_socket_auto_reply_to_closeflag isn't yet active). Callingclose()on an already-closed socket is a silent no-op, so user code that already callsconnection.close(...)fromonCloseis unaffected. Reserved close codes (1005,1006,1015) are normalized to1000before reciprocation so they don't throwInvalidAccessError. See PartyServer WebSockets do not complete client-initiated close handshake #389.