chore(platform): modern browser targets + websocket upgrade - #8541
Open
tim2000s wants to merge 15 commits into
Open
chore(platform): modern browser targets + websocket upgrade#8541tim2000s wants to merge 15 commits into
tim2000s wants to merge 15 commits into
Conversation
Master update
Update master
Update of NS
Update to 13.0.0
LAtest PR
UPdate to latest
Update local copy
Update to NS15
- Replace the legacy .browserslistrc (iOS 9 era) with a package.json browserslist targeting evergreen browsers (Chrome/Edge >= 80, Firefox >= 78, Safari/iOS >= 13.x), so Babel can emit ES2020 instead of ES5. NOTE: this drops support for very old browsers/devices -- a deliberate maintainer decision. - socket.io clients negotiate ['polling','websocket'] (polling first, then upgrade) instead of polling-only, while still falling back to polling behind proxies that block websockets. Co-Authored-By: Claude Fable 5 <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.
chore(platform): modern browser targets + websocket upgrade
Two infrastructure changes, deliberately isolated from the feature work for separate review/discussion. Part of a UI-modernization series.
1. Browser targets → ES2020
Replaces the iOS-9-era
.browserslistrcwith apackage.jsonbrowserslisttargeting evergreen browsers (Chrome/Edge ≥ 80, Firefox ≥ 78, Safari/iOS ≥ 13.x), letting Babel emit ES2020 instead of ES5 (smaller, faster bundle).2. WebSocket upgrade
socket.io clients now negotiate
['polling', 'websocket'](polling first, then upgrade) instead of polling-only.Polling-only was an intentional choice (#7793) — almost certainly to avoid websocket breakage behind some Azure/Heroku/nginx reverse proxies. This re-enables the websocket upgrade while keeping polling as the first transport and fallback. Please confirm this won't regress your hosted/proxy setups — if it's risky, I'm happy to drop this half of the PR.
Testing
Production bundle builds with the new targets;
npx browserslistresolves the intended minimums.🤖 Generated with Claude Code