scalable-websocket-nestjs
scalable-websocket-nestjs copied to clipboard
Bump engine.io and @nestjs/platform-socket.io
Bumps engine.io to 6.2.1 and updates ancestor dependency @nestjs/platform-socket.io. These dependencies need to be updated together.
Updates engine.io
from 3.4.0 to 6.2.1
Release notes
Sourced from engine.io's releases.
6.2.1
:warning: This release contains an important security fix :warning:
A malicious client could send a specially crafted HTTP request, triggering an uncaught exception and killing the Node.js process:
Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20) Emitted 'error' event on Socket instance at: at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:80:21) { errno: -104, code: 'ECONNRESET', syscall: 'read' }
Please upgrade as soon as possible.
Bug Fixes
6.2.0
Features
- add the "maxPayload" field in the handshake details (088dcb4)
So that clients in HTTP long-polling can decide how many packets they have to send to stay under the maxHttpBufferSize value.
This is a backward compatible change which should not mandate a new major revision of the protocol (we stay in v4), as we only add a field in the JSON-encoded handshake data:
0{"sid":"lv_VI97HAXpY6yYWAAAC","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":5000,"maxPayload":1000000}
Links
- Diff: https://github.com/socketio/engine.io/compare/6.1.3...6.2.0
- Client release: 6.2.0
- ws version: ~8.2.3
6.1.3
Bug Fixes
... (truncated)
Changelog
Sourced from engine.io's changelog.
6.2.1 (2022-11-20)
:warning: This release contains an important security fix :warning:
A malicious client could send a specially crafted HTTP request, triggering an uncaught exception and killing the Node.js process:
Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20) Emitted 'error' event on Socket instance at: at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:80:21) { errno: -104, code: 'ECONNRESET', syscall: 'read' }
Please upgrade as soon as possible.
Bug Fixes
3.6.0 (2022-06-06)
Bug Fixes
- add extension in the package.json main entry (#608) (3ad0567)
- do not reset the ping timer after upgrade (1f5d469), closes socketio/socket.io-client-swift#1309
Features
- decrease the default value of maxHttpBufferSize (58e274c)
This change reduces the default value from 100 mb to a more sane 1 mb.
This helps protect the server against denial of service attacks by malicious clients sending huge amounts of data.
See also: https://github.com/advisories/GHSA-j4f2-536g-r55m
- increase the default value of pingTimeout (f55a79a)
... (truncated)
Commits
24b847b
chore(release): 6.2.1425e833
fix: catch errors when destroying invalid upgrades (#658)99adb00
chore(deps): bump xmlhttprequest-ssl and engine.io-client in /examples/latenc...d196f6a
chore(deps): bump minimatch from 3.0.4 to 3.1.2 (#660)7c1270f
chore(deps): bump nanoid from 3.1.25 to 3.3.1 (#659)535a01d
ci: add Node.js 18 in the test matrix1b71a6f
docs: remove "Vanilla JS" highlight from README (#656)917d1d2
refactor: replace deprecatedString.prototype.substr()
(#646)020801a
chore: add changelog for version 3.6.0ed1d6f9
test: make test script work on Windows (#643)- Additional commits viewable in compare view
Updates @nestjs/platform-socket.io
from 6.11.5 to 9.2.0
Release notes
Sourced from @nestjs/platform-socket
.io's releases.
v9.2.0 (2022-11-07)
Features
common
,core
- #10484 Feature/8844 api version in route info (
@thiagomini
)Bug fixes
core
- #10459 fix(core): return response required for fastify v4 (
@SirReiva
)common
,platform-express
Enhancements
core
- #10479 feat(core): display class's name on request mapping exceptions (
@micalevisk
)- #10497 fix(core): change
repl()
function param type toType | DynamicModule
(@CodyTseng
)common
- #10460 feat(common): add error options object (
@thiagomini
)- #10515 feat(common): Allow adding custom validators to ParseFilePipeBuilder (
@buddh4
)platform-express
- #10481 feat(plataform-express): replace
any
return type on#listen
withServer
(@micalevisk
)common
,core
- #10521 feat(core): expose each option to get and resolve methods (
@kamilmysliwiec
)Dependencies
- Other
- #10523 chore(deps-dev): bump
@fastify/view
from 7.1.1 to 7.1.2 (@dependabot[bot]
)- #10522 chore(deps-dev): bump apollo-server-core from 3.11.0 to 3.11.1 (
@dependabot[bot]
)- #10513 chore(deps-dev): bump apollo-server-express from 3.10.4 to 3.11.1 (
@dependabot[bot]
)- #10491 chore(deps-dev): bump
@commitlint/config-angular
from 17.1.0 to 17.2.0 (@dependabot[bot]
)- #10506 chore(deps-dev): bump nats from 2.8.0 to 2.9.0 (
@dependabot[bot]
)- #10508 chore(deps-dev): bump graphql-tools from 8.3.9 to 8.3.10 (
@dependabot[bot]
)- #10509 chore(deps-dev): bump apollo-server-core from 3.10.4 to 3.11.0 (
@dependabot[bot]
)- #10510 chore(deps-dev): bump ioredis from 5.2.3 to 5.2.4 (
@dependabot[bot]
)- #10511 chore(deps-dev): bump cache-manager from 5.1.1 to 5.1.3 (
@dependabot[bot]
)- #10512 chore(deps-dev): bump mongoose from 6.7.0 to 6.7.1 (
@dependabot[bot]
)- #10487 chore(deps-dev): bump apollo-server-core from 3.10.3 to 3.10.4 (
@dependabot[bot]
)- #10488 chore(deps-dev): bump
@types/http-errors
from 2.0.0 to 2.0.1 (@dependabot[bot]
)- #10489 chore(deps-dev): bump
@nestjs/mongoose
from 9.2.0 to 9.2.1 (@dependabot[bot]
)- #10490 chore(deps-dev): bump apollo-server-express from 3.10.3 to 3.10.4 (
@dependabot[bot]
)- #10492 chore(deps-dev): bump
@commitlint/cli
from 17.1.2 to 17.2.0 (@dependabot[bot]
)- #10500 chore(deps-dev): bump graphql-tools from 8.3.7 to 8.3.9 (
@dependabot[bot]
)- #10501 chore(deps-dev): bump redis from 4.3.1 to 4.4.0 (
@dependabot[bot]
)- #10502 chore(deps-dev): bump
@types/node
from 18.11.8 to 18.11.9 (@dependabot[bot]
)- #10468 chore(deps-dev): bump
@nestjs/graphql
from 10.1.4 to 10.1.5 (@dependabot[bot]
)- #10469 chore(deps-dev): bump
@fastify/multipart
from 7.2.0 to 7.3.0 (@dependabot[bot]
)- #10472 chore(deps-dev): bump graphql-tools from 8.3.6 to 8.3.7 (
@dependabot[bot]
)- #10473 chore(deps-dev): bump
@types/http-errors
from 1.8.2 to 2.0.0 (@dependabot[bot]
)- #10482 chore(deps-dev): bump
@types/node
from 18.11.5 to 18.11.8 (@dependabot[bot]
)
... (truncated)
Commits
8101900
chore(@nestjs
) publish v9.2.0 release05ee137
Merge pull request #10459 from SirReiva/fix-fastify-responsefc6b34b
Merge pull request #10345 from tolgap/fix/9517-keep-alive-connections-blockingdc2582a
Merge pull request #10479 from micalevisk/feat/verbose-wrong-controller-error1f376fe
Update packages/platform-express/adapters/express-adapter.ts7ec60ca
Merge pull request #10460 from thiagomini/feature/10392-http-exceptions-cause...ee82c7b
Update packages/core/errors/messages.ts4d3f283
Update packages/core/errors/exceptions/unknown-request-mapping.exception.tse04e414
Merge pull request #10481 from micalevisk/feat/issue-10480ea4c1d8
Merge pull request #10484 from thiagomini/feature/8844-api-version-in-route-info- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.