Damien Arrachequesne
05a190a9db
chore(release): 6.5.5
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.5.4...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
Damien Arrachequesne
5eae5a0b54
chore(release): 2.5.4
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.5.3...2.5.4
2024-02-22 09:33:01 +01:00
Damien Arrachequesne
549156c064
chore(release): 2.5.3
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.5.2...2.5.3
2024-02-21 12:33:48 +01:00
Damien Arrachequesne
2df5e94c81
test(cluster): init the test suite for the clustered adapter
...
The test suite is imported from [1].
[1]: 193883b9ca/test/index.ts
2024-02-21 11:38:16 +01:00
Damien Arrachequesne
b157e9e1ac
refactor: import the ClusterAdapter abstract class
...
Imported from ef5f0da0b4/lib/cluster-adapter.ts
This abstract class is currently used by the sharded Redis adapter. We
import it here because the logic can be reused by the other adapters,
which will then only need to handle the pub/sub mechanism.
2024-02-20 15:46:13 +01:00
Damien Arrachequesne
28f60b880a
chore(release): 2.5.2
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.5.1...2.5.2
2023-01-12 08:09:40 +01:00
Damien Arrachequesne
ca39942ce0
chore: move ws from peerDependencies to dependencies
...
In order to prevent issues like [1].
Note: the version matches the one imported by the `engine.io` package
See: https://github.com/socketio/engine.io/blob/6.3.0/package.json#L43
[1]: https://github.com/socketio/socket.io-redis-adapter/issues/478
2023-01-12 08:02:52 +01:00
Damien Arrachequesne
4e3991f740
chore(release): 2.5.1
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.5.0...2.5.1
2023-01-06 12:02:23 +01:00
Damien Arrachequesne
00a8e7589e
chore(release): 2.5.0
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.4.0...2.5.0
2023-01-06 09:26:10 +01:00
Damien Arrachequesne
5f7b47d40f
perf: precompute the WebSocket frames when broadcasting
...
Note:
- only packets without binary attachments are affected
- the permessage-deflate extension must be disabled (which is the default)
Previous attempt:
- wsPreEncoded option: 5579d40c24
- fix for binary packets: a33e42bb7b
- revert: 88eee5948a
2023-01-06 08:42:51 +01:00
Damien Arrachequesne
f5294126a8
feat: implement connection state recovery
...
More information about how this feature is supposed to work will be
provided in the main repository.
2023-01-05 08:39:19 +01:00
Damien Arrachequesne
d5c56d4094
refactor: bump prettier to version 2.8.1
...
This major bump creates a lot of noise, but it is necessary for
prettier to be able to parse new syntax.
2023-01-05 08:21:31 +01:00
Damien Arrachequesne
060745ada3
test: migrate to TypeScript
2023-01-02 11:28:45 +01:00
Damien Arrachequesne
b92d65cf9c
chore(release): 2.4.0
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.3.3...2.4.0
2022-03-30 08:03:38 +02:00
Damien Arrachequesne
75854a7518
chore(release): 2.3.3
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.3.2...2.3.3
2021-11-16 15:30:32 +01:00
Damien Arrachequesne
d4ef54cccb
chore(release): 2.3.2
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.3.1...2.3.2
2021-08-28 08:19:55 +02:00
Damien Arrachequesne
0667d826f6
chore(release): 2.3.1
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.3.0...2.3.1
2021-05-20 00:47:01 +02:00
Damien Arrachequesne
03bda43550
chore(release): 2.3.0
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.2.0...2.3.0
2021-05-10 10:36:22 +02:00
Damien Arrachequesne
c679e62236
chore(release): 2.2.0
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.1.0...2.2.0
2021-02-27 02:08:54 +01:00
Damien Arrachequesne
c95ab42aef
chore(release): 2.1.0
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.0.3...2.1.0
2021-01-15 01:30:02 +01:00
Damien Arrachequesne
e73271e652
chore(release): 2.0.3
...
Diff: https://github.com/socketio/socket.io-adapter/compare/1.1.2...2.0.3
2020-11-05 16:19:45 +01:00
Damien Arrachequesne
d5ceef94ed
chore(release): 2.0.3-rc2
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.0.3-rc1...2.0.3-rc2
2020-10-20 14:27:38 +02:00
Damien Arrachequesne
5f417d256b
chore(release): 2.0.3-rc1
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.0.2...2.0.3-rc1
2020-10-15 12:18:09 +02:00
Damien Arrachequesne
5d81b13431
chore(release): 2.0.2
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.0.1...2.0.2
2020-09-28 15:32:41 +02:00
Damien Arrachequesne
e57f528944
chore(release): 2.0.1
...
Diff: https://github.com/socketio/socket.io-adapter/compare/2.0.0...2.0.1
2020-09-28 15:14:58 +02:00
Damien Arrachequesne
7216d7adfb
chore(release): 2.0.0
...
Diff: https://github.com/socketio/socket.io-adapter/compare/1.1.2...2.0.0
2020-09-25 23:09:21 +02:00
Damien Arrachequesne
b52b4ef49e
refactor: migrate to TypeScript
2020-09-25 23:01:42 +02:00
Damien Arrachequesne
53ed3f4099
feat: use ES6 Sets and Maps
...
The sids and the rooms objects are now Map<string, Set<string>>:
sids => Map<SocketId, Set<Room>>
rooms => Map<Room, Set<SocketId>>
Breaking changes: the clients() and clientRooms() methods will now
return a Set instead of an array.
Also, the rooms argument in the broadcast() method will now be a Set
too.
Besides, the callbacks were removed from all function signatures, as
every operation is synchronous. Regarding the Redis adapter, the
clients() method is the only operation which will now return a promise.
This change allows us to remove the Room class, which was used to have
an external length attribute (instead of computing Object.keys()
everytime).
2020-09-16 22:19:56 +02:00
Damien Arrachequesne
ae23c7ef4c
[chore] release 1.1.2
2019-11-25 13:19:48 +01:00
Damien Arrachequesne
6874ea4952
[chore] release 1.1.1
2017-08-02 14:01:58 +02:00
Sam Roberts
bdb015a6c1
[chore] remove unused 'debug' dependency ( #52 )
2017-08-02 13:51:58 +02:00
Damien Arrachequesne
c6f7baec3b
[chore] Release 1.1.0 ( #50 )
2017-02-26 08:38:04 +01:00
Damien Arrachequesne
b983377969
[chore] Release 1.0.0 ( #48 )
2017-02-16 22:26:40 +01:00
Damien Arrachequesne
40764bb806
[feat] Remove the socket.io-parser dependency ( #47 )
...
That will allow to use a custom parser (see https://github.com/socketio/socket.io/pull/2829 ).
2017-02-16 22:16:21 +01:00
Damien Arrachequesne
9a621ec592
[chore] Release 0.5.0 ( #44 )
2016-11-20 01:57:13 +01:00
Damien Arrachequesne
915af31c2c
[chore] Bump debug to version 2.3.3 ( #42 )
2016-11-20 01:51:03 +01:00
Damien Arrachequesne
35987a5c0f
[chore] Bump socket.io-parser to version 2.3.1 ( #43 )
2016-11-20 01:48:52 +01:00
Guillermo Rauch
efd6141dbd
Release 0.4.0
2015-12-03 10:12:35 -08:00
Guillermo Rauch
6e0ecb4d3a
package: bump debug
2015-11-19 09:44:13 -08:00
Mika Turunen
17a2097f6d
Update package.json license
2015-03-20 11:33:00 +02:00
Tony Kovanen
e0220b7ce5
remove unnecessary dependency
2014-10-28 02:08:56 +02:00
Guillermo Rauch
c22e10f635
Release 0.3.1
2014-10-27 11:46:21 -07:00
Tony Kovanen
7789a22eee
Bump parser version.
2014-10-18 21:22:35 +03:00
Tero Keski-Valkama
f2cdb95985
Merged.
2014-09-25 19:50:29 +03:00
Tony Kovanen
2e061ee733
Fix room autopruning
2014-09-19 18:02:44 -06:00
Tero Keski-Valkama
435a759d9b
Added the repository field.
...
...to fix the npm warnings like:
npm WARN package.json socket.io-adapter@0.3.0 No repository field.
2014-07-01 11:32:51 +03:00
Tero Keski-Valkama
16d7767088
Updated the debug dependency.
...
... to be compatible with express and connect.
2014-07-01 11:12:05 +03:00
Guillermo Rauch
22aaae4135
Release 0.3.0
2014-05-30 21:33:58 -07:00
Amin Cheloh
e46f60ba3e
Update package.json
2014-05-31 11:30:03 +07:00