-
Notifications
You must be signed in to change notification settings - Fork 351
Comparing changes
Open a pull request
base repository: socketio/engine.io-client
base: 6.1.1
head repository: socketio/engine.io-client
compare: 6.2.1
- 17 commits
- 34 files changed
- 2 contributors
Commits on Nov 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1c0fd93 - Browse repository at this point
Copy the full SHA 1c0fd93View commit details
Commits on Jan 15, 2022
-
chore: bump engine.io from 4.0.2 to 4.1.2 (#685)
Bumps [engine.io](https://github.com/socketio/engine.io) from 4.0.2 to 4.1.2. - [Release notes](https://github.com/socketio/engine.io/releases) - [Changelog](https://github.com/socketio/engine.io/blob/4.1.2/CHANGELOG.md) - [Commits](socketio/engine.io@4.0.2...4.1.2) --- updated-dependencies: - dependency-name: engine.io dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 56af9c5 - Browse repository at this point
Copy the full SHA 56af9c5View commit details
Commits on Feb 16, 2022
-
chore: bump ajv from 6.10.2 to 6.12.6 (#687)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. - [Release notes](https://github.com/ajv-validator/ajv/releases) - [Commits](ajv-validator/ajv@v6.10.2...v6.12.6) --- updated-dependencies: - dependency-name: ajv dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 00c6734 - Browse repository at this point
Copy the full SHA 00c6734View commit details
Commits on Mar 8, 2022
-
chore: bump cached-path-relative from 1.0.2 to 1.1.0 (#686)
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.2 to 1.1.0. - [Release notes](https://github.com/ashaffer/cached-path-relative/releases) - [Commits](https://github.com/ashaffer/cached-path-relative/commits) --- updated-dependencies: - dependency-name: cached-path-relative dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f51ca4a - Browse repository at this point
Copy the full SHA f51ca4aView commit details
Commits on Mar 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f4725f1 - Browse repository at this point
Copy the full SHA f4725f1View commit details -
feat: slice write buffer according to the maxPayload value
The server will now include a "maxPayload" field in the handshake details, allowing the clients to decide how many packets they have to send to stay under the maxHttpBufferSize value. Related: - socketio/socket.io-client#1531 - socketio/engine.io@088dcb4
Configuration menu - View commit details
-
Copy full SHA for 46fdc2f - Browse repository at this point
Copy the full SHA 46fdc2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e1bbff - Browse repository at this point
Copy the full SHA 6e1bbffView commit details
Commits on Apr 11, 2022
-
feat: add details to the "close" event
The close event will now include additional details to help debugging if anything has gone wrong. Example when a payload is over the maxHttpBufferSize value in HTTP long-polling mode: ```js socket.on("close", (reason, details) => { console.log(reason); // "transport error" // in that case, details is an error object console.log(details.message); "xhr post error" console.log(details.description); // 413 (the HTTP status of the response) // details.context refers to the XMLHttpRequest object console.log(details.context.status); // 413 console.log(details.context.responseText); // "" }); ``` Note: the error object was already included before this commit and is kept for backward compatibility Example when a payload is over the maxHttpBufferSize value with WebSockets: ```js socket.on("close", (reason, details) => { console.log(reason); // "transport close" // in that case, details is a plain object console.log(details.description); // "websocket connection closed" // details.context is a CloseEvent object console.log(details.context.code); // 1009 (which means "Message Too Big") console.log(details.context.reason); // "" }); ``` Example within a cluster without sticky sessions: ```js socket.on("close", (reason, details) => { console.log(details.context.status); // 400 console.log(details.context.responseText); // '{"code":1,"message":"Session ID unknown"}' }); ``` Note: we could also print some warnings in development for the "usual" errors: - CORS error - HTTP 400 with multiple nodes - HTTP 413 with maxHttpBufferSize but that would require an additional step when going to production (i.e. setting NODE_ENV variable to "production"). This is open to discussion! Related: - socketio/socket.io#3946 - socketio/socket.io#1979 - socketio/socket.io-client#1518Configuration menu - View commit details
-
Copy full SHA for b9252e2 - Browse repository at this point
Copy the full SHA b9252e2View commit details -
refactor: merge the polling.ts and polling-xhr.ts files
In the past, there were two implementations of the HTTP long-polling feature, one with XMLHttpRequest and one based on JSONP for ancient browsers (IE7/IE8). The JSONP implementation has been removed in [1]. [1]: b2c7381
Configuration menu - View commit details
-
Copy full SHA for b4b3ed5 - Browse repository at this point
Copy the full SHA b4b3ed5View commit details
Commits on Apr 13, 2022
-
refactor: import single-file 3rd party modules
This commit allows to: - provide an ESM version of those modules ([1]) - reduce the attack surface in case of supply chain attacks - reduce the size of the bundle with tree-shaking As a downside, we won't receive security updates for those modules anymore. [1]: socketio/socket.io-client#1536
Configuration menu - View commit details
-
Copy full SHA for df32277 - Browse repository at this point
Copy the full SHA df32277View commit details
Commits on Apr 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 71cd3ba - Browse repository at this point
Copy the full SHA 71cd3baView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc3cefb - Browse repository at this point
Copy the full SHA bc3cefbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0773b8 - Browse repository at this point
Copy the full SHA d0773b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 582f4fe - Browse repository at this point
Copy the full SHA 582f4feView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2ab447 - Browse repository at this point
Copy the full SHA e2ab447View commit details -
chore: bump engine.io-parser to version 5.0.3
In order to make sure the types added in [1] are included. [1]: socketio/engine.io-parser@ad5bd7d
Configuration menu - View commit details
-
Copy full SHA for a2946fc - Browse repository at this point
Copy the full SHA a2946fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8437600 - Browse repository at this point
Copy the full SHA 8437600View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 6.1.1...6.2.1