Damien Arrachequesne
8c3debf15a
docs: init the contributing guide
...
Related: https://github.com/socketio/socket.io/issues/4814
2024-07-08 15:33:41 +02:00
Damien Arrachequesne
cbf6df0812
Merge remote-tracking branch 'engine.io-protocol/v3'
...
Source: https://github.com/socketio/engine.io-protocol/tree/v3
2024-07-08 12:21:31 +02:00
Damien Arrachequesne
1d65f11e93
Merge remote-tracking branch 'engine.io-protocol/main'
...
Source: https://github.com/socketio/engine.io-protocol
2024-07-08 12:18:53 +02:00
Damien Arrachequesne
498e8e22d6
refactor: prepare the migration to a monorepo
2024-07-08 12:18:11 +02:00
Damien Arrachequesne
68efa28014
refactor: prepare the migration to a monorepo
2024-07-08 12:16:14 +02:00
Damien Arrachequesne
34137d39a9
chore: add new npm workspaces
...
The following repositories were merged:
- https://github.com/socketio/engine.io-parser
- https://github.com/socketio/engine.io-client
- https://github.com/socketio/engine.io-parser
- https://github.com/socketio/socket.io-adapter
- https://github.com/socketio/emitter
2024-07-08 12:10:24 +02:00
Damien Arrachequesne
8d0c4835dc
Merge remote-tracking branch 'socket.io-component-emitter/main' into monorepo
...
Source: https://github.com/socketio/emitter
2024-07-08 11:10:24 +02:00
Damien Arrachequesne
dce7200378
Merge remote-tracking branch 'socket.io-adapter/main' into monorepo
...
Source: https://github.com/socketio/socket.io-adapter
2024-07-08 11:09:26 +02:00
Damien Arrachequesne
3546094cfc
refactor: prepare the migration to a monorepo
2024-07-08 11:08:10 +02:00
Damien Arrachequesne
90bbd51440
Merge remote-tracking branch 'engine.io/main' into monorepo
...
Source: https://github.com/socketio/engine.io
2024-07-08 11:03:00 +02:00
Damien Arrachequesne
efe86ee20c
refactor: prepare the migration to a monorepo
2024-07-08 11:02:37 +02:00
Damien Arrachequesne
5b2d238dce
Merge remote-tracking branch 'engine.io-client/main' into monorepo
...
Source: https://github.com/socketio/engine.io-client
2024-07-08 11:00:37 +02:00
Damien Arrachequesne
32a1a6039f
refactor: prepare the migration to a monorepo
2024-07-08 10:59:50 +02:00
Damien Arrachequesne
e514852a37
Merge remote-tracking branch 'engine.io-parser/main' into monorepo
...
Source: https://github.com/socketio/engine.io-parser
2024-07-08 10:54:44 +02:00
Damien Arrachequesne
7c4efaa915
refactor: prepare the migration to a monorepo
2024-07-08 10:53:54 +02:00
Damien Arrachequesne
f98fc2810e
refactor: prepare the migration to a monorepo
2024-07-08 10:46:34 +02:00
Damien Arrachequesne
c0e448a023
docs: add links to each changelog
2024-07-04 19:02:47 +02:00
Damien Arrachequesne
59838b71a2
docs: move changelog of the socket.io package
2024-07-04 18:59:19 +02:00
Damien Arrachequesne
ae3c26fdd4
docs: restore readme
2024-07-04 18:58:18 +02:00
Damien Arrachequesne
c508501d86
Merge remote-tracking branch 'socket.io-protocol/v3'
...
Source: https://github.com/socketio/socket.io-protocol/tree/v3
2024-07-04 18:30:39 +02:00
Damien Arrachequesne
bbcad832fa
Merge remote-tracking branch 'socket.io-protocol/v4'
...
Source: https://github.com/socketio/socket.io-protocol/tree/v4
2024-07-04 18:29:51 +02:00
Damien Arrachequesne
f1c8410c3e
refactor: prepare the migration to a monorepo
2024-07-04 18:29:15 +02:00
Damien Arrachequesne
93b42f6b77
refactor: prepare the migration to a monorepo
2024-07-04 18:27:57 +02:00
Damien Arrachequesne
dfac908769
Merge remote-tracking branch 'socket.io-protocol/main'
...
Source: https://github.com/socketio/socket.io-protocol
2024-07-04 18:25:43 +02:00
Damien Arrachequesne
b4002c281f
refactor: prepare the migration to a monorepo
2024-07-04 18:23:59 +02:00
Damien Arrachequesne
4cac3724ad
chore: update the repository URLs
...
Reference: https://docs.npmjs.com/cli/v10/configuring-npm/package-json
2024-07-04 18:16:51 +02:00
Damien Arrachequesne
914716d71d
ci: move building the examples to its own workflow
2024-07-04 18:08:06 +02:00
Damien Arrachequesne
d9b4c3cb03
ci: create npm workspaces and sort out dependencies
...
This requires at least npm v7.
Reference: https://docs.npmjs.com/cli/v10/using-npm/workspaces
Note: @types/node is pinned at `18.15.3` because it's the last version
which supports TypeScript v4.2.
2024-07-04 17:48:46 +02:00
Damien Arrachequesne
7aedc79436
Merge remote-tracking branch 'socket.io-parser/main' into monorepo
...
Source: https://github.com/socketio/socket.io-parser
2024-07-04 17:38:27 +02:00
Damien Arrachequesne
bd02c7234a
refactor: prepare the migration to a monorepo
2024-07-04 17:37:35 +02:00
Damien Arrachequesne
b2cf3f72fd
Merge remote-tracking branch 'socket.io-client/main' into monorepo
...
Source: https://github.com/socketio/socket.io-client
2024-07-04 17:36:18 +02:00
Damien Arrachequesne
273093ceae
refactor: prepare the migration to a monorepo
2024-07-04 17:35:42 +02:00
Damien Arrachequesne
d9d19b4bb7
refactor: prepare the migration to a monorepo
2024-07-04 17:33:59 +02:00
Damien Arrachequesne
f21de7b00e
docs: add note about UTF-8 encoding
...
Related: https://github.com/socketio/engine.io-protocol/issues/42
2024-07-01 21:54:51 +02:00
Damien Arrachequesne
c815579e1b
docs: fix typo
...
Related: https://github.com/socketio/engine.io-protocol/issues/43
2024-07-01 17:23:19 +02:00
Damien Arrachequesne
88016b808a
docs(security): update the list of CVE
2024-06-25 15:48:06 +02:00
Damien Arrachequesne
71eaec477c
docs(changelog): improve the changelog for version 6.6.0
2024-06-22 10:20:15 +02:00
Damien Arrachequesne
791aa58f4c
chore(release): 6.6.0
...
Diff: https://github.com/socketio/engine.io/compare/6.5.4...6.6.0
engine.io@6.6.0
2024-06-21 14:32:55 +02:00
Damien Arrachequesne
a17cbc5418
chore(release): 6.6.0
...
Diff: https://github.com/socketio/engine.io-client/compare/6.5.3...6.6.0
engine.io-client@6.6.0
2024-06-21 14:11:15 +02:00
Damien Arrachequesne
6d8a0bea49
refactor: move the req attribute to the polling class
2024-06-21 14:03:22 +02:00
Damien Arrachequesne
c310b7b6b6
refactor: improve types
2024-06-21 14:03:01 +02:00
Damien Arrachequesne
362bc78191
fix: properly call the send callback during upgrade
...
The "drain" event (added in [1]) had two different meanings:
- the transport is ready to be written
- the packets are sent over the wire
For the WebSocket and the WebTransport transports, those two events
happen at the same time, but this is not the case for the HTTP
long-polling transport:
- the transport is ready to be written when the client sends a GET request
- the packets are sent over the wire when the server responds to the GET request
Which caused an issue with send callbacks during an upgrade, since the
packets were written but the client would not open a new GET request.
There are now two distinct events: "ready" and "drain"
Related: https://github.com/socketio/engine.io/issues/695
[1]: 2a93f06e27
2024-06-21 11:47:41 +02:00
dependabot[bot]
afd29341ee
chore(dev-deps): bump ws and engine.io-client in /examples/memory-usage ( #703 )
...
Bumps [ws](https://github.com/websockets/ws ) to 8.17.1 and updates ancestor dependency [engine.io-client](https://github.com/socketio/engine.io-client ). These dependencies need to be updated together.
Updates `ws` from 8.11.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.11.0...8.17.1 )
Updates `engine.io-client` from 6.5.3 to 6.5.4
- [Release notes](https://github.com/socketio/engine.io-client/releases )
- [Changelog](https://github.com/socketio/engine.io-client/blob/6.5.4/CHANGELOG.md )
- [Commits](https://github.com/socketio/engine.io-client/compare/6.5.3...6.5.4 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
- dependency-name: engine.io-client
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 20:18:57 +02:00
dependabot[bot]
56c4664bcf
chore(deps-dev): bump braces from 3.0.2 to 3.0.3 ( #701 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 20:18:35 +02:00
Damien Arrachequesne
6b9e3e458e
refactor: improve types
2024-06-18 17:37:12 +02:00
Damien Arrachequesne
f521cbab6d
refactor: simplify the heartbeat code
2024-06-18 17:32:06 +02:00
Damien Arrachequesne
5359bae683
perf: do not reset the hearbeat timer on each packet
...
This behavior was added in [1]. However, there are two problems:
- a new timer is allocated every time a packet is received, which is
wasteful
- the next heartbeat is not actually delayed, since it's the timeout
timer which gets reset, and not the interval timer
Note: delaying the next heartbeat would be a breaking change.
[1]: be7b4e7478
2024-06-18 17:17:17 +02:00
Semih Han Ordu
fb5904ee5f
chore(deps): bump ws to version 8.17.1 ( #5052 )
...
Includes the following security fix: e55e5106f1
Advisory: https://github.com/advisories/GHSA-3h5v-q93c-6h6q
Diff: https://github.com/websockets/ws/compare/8.11.0...8.17.1
2024-06-18 14:40:30 +02:00
Damien Arrachequesne
05a190a9db
chore(release): 6.5.5
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.5.4...2.5.5
socket.io-adapter@2.5.5
2024-06-18 12:23:45 +02:00
Andrew Bromwich
93fe19019e
chore(deps): bump ws from 8.11.0 to 8.17.1 ( #93 )
...
Includes the following security fix: e55e5106f1
Advisory: https://github.com/advisories/GHSA-3h5v-q93c-6h6q
Diff: https://github.com/websockets/ws/compare/8.11.0...8.17.1
2024-06-18 12:21:29 +02:00