Version Packages#375
Merged
Merged
Conversation
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
partysocket@1.1.18
Patch Changes
c05d86aThanks @threepointone! - Narrow the exportedMessagetype fromArrayBufferViewtoArrayBufferView<ArrayBuffer>so it matches the DOMWebSocket.send()overloads under newer@cloudflare/workers-types/ lib.dom.d.ts, where the defaultArrayBufferView<ArrayBufferLike>includesSharedArrayBuffer-backed views thatsend()does not accept. Runtime behaviour is unchanged —WebSocket.send()already rejected shared-buffer views at runtime.partysync@2.0.3
Patch Changes
c05d86aThanks @threepointone! - RenameAgent#connect(namespace, room)toAgent#connectTo(namespace, room). The baseDurableObjectclass in@cloudflare/workers-typesnow declaresconnect?(socket: Socket): void | Promise<void>for TCP socket bindings, which collided with our override and produced aTS2416"not assignable to the same property in base type" error. The rename also better reflects the method's intent — connecting to another PartyServer by namespace + room, not accepting a TCP socket.partytracks@0.0.56
Patch Changes
#374
c05d86aThanks @threepointone! - Fix type errors under newer@cloudflare/workers-typesand TypeScript lib typings:typeof fetchin internal signatures — CF workers-types mergesfetchwith theFetcherinterface (which hasfetch()andconnect()methods), which doesn't match a plain fetch function. Internal helpers now use an explicit(input, init?) => Promise<Response>signature.fetcheroption onfromFetchtofetchImplto avoid colliding with CF's built-inRequestInit.fetcher?: Fetcher | null, which was intersected in and made the property uncallable.Response#json()results (which are now typedunknown) before destructuring{ sessionId }/{ iceServers }.All changes are internal; no public API changes.