Skip to content

Comments

[pull] main from cloudflare:main#110

Merged
pull[bot] merged 8 commits intocode:mainfrom
cloudflare:main
Feb 24, 2026
Merged

[pull] main from cloudflare:main#110
pull[bot] merged 8 commits intocode:mainfrom
cloudflare:main

Conversation

@pull
Copy link

@pull pull bot commented Feb 24, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

threepointone and others added 8 commits February 24, 2026 11:34
Upgrade various dependencies across fixtures and packages (React/react-dom, @types/react, Cloudflare types, tiptap, lexical, tldraw, partysync/partyfn, hono, etc.) and update biome schema. Add lang="en" to several fixture HTML files, add explicit button type attributes and a captions track for the partytracks fixture, and adjust the todo-sync package.json (private flag placement and new deps). These are maintenance updates to keep examples and dev tooling current and improve HTML accessibility/behavior.
Switch several vitest tests from jsdom to node to avoid jsdom's Event interfering with Node WebSocket behavior (integration.test.ts, performance.test.ts, reconnecting.test.ts). In react-hooks.test.tsx, import the ws WebSocket, override globalThis.WebSocket for the test file, and pass the ws WebSocket into reconnect options and usePartySocket to ensure sockets use the Node implementation. Adjust isNode detection in ws.ts to only check for process.versions.node (remove reliance on document being undefined) to better support environments that polyfill document (e.g. React Native). These changes resolve test flakiness and WebSocket incompatibilities under jsdom.
Adjust the minUptime test to reflect a shorter minUptime and correct retry/reset behavior: set minUptime to 75ms (was 250ms), update expectedDelays and expectedRetryCount arrays, and add comments explaining connection durations and when retryCount resets. Also modify the test signature to accept a fail callback and wrap assertions in a try/catch that calls fail(e) to properly report assertion failures from the async close handler.
Add a changeset to publish patch updates for multiple packages (y-partyserver, partyserver, partysocket, hono-party, partysync, partywhen, partysub) with message "update deps". Also fix wrangler config by changing the worker entry from "/worker.ts" to a relative "./worker.ts" to ensure correct path resolution.
Regenerate package-lock.json to capture dependency updates and new optional platform builds. Notable changes: bump @rollup platform packages to 4.59.0, @babel/helper-plugin-utils -> 7.28.6 and @babel/runtime -> 7.28.6, @emnapi core/runtime -> 1.8.1, @floating-ui packages updated, undici -> 6.23.0, added nanoid entries for several fixtures, and replaced lightningcss entries with @tailwindcss/oxide (4.2.1) including platform-specific oxide binaries (node engine requirement updated to >=20). This lockfile reflects an npm install/resolution update; no source code changes.
Configure actions/setup-node@v4 in .github/workflows/pullrequest.yml to use Node v25 so the CI steps (npm ci and npm run build) run with the intended Node runtime.
Replace Prettier/Biome with Oxfmt and Oxlint across the repo. Added .oxfmtrc.json and .oxlintrc.json, removed .prettierrc and biome.json, and updated AGENTS.md to document the new formatter/linter and configurations. Updated inline lint pragmas in source/fixture files (e.g. biome-ignore -> oxlint-disable-next-line or jsx-a11y/media-has-caption) and adjusted package.json dev dependencies to use oxfmt/oxlint. Miscellaneous code/test script changes to align with the new tooling.
@pull pull bot locked and limited conversation to collaborators Feb 24, 2026
@pull pull bot added the ⤵️ pull label Feb 24, 2026
@pull pull bot merged commit ff4bd90 into code:main Feb 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant