Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/socketio/socket.io

Realtime application framework (Node.JS server)
https://github.com/socketio/socket.io

fix: close the adapters when the server is closed

Related:

- https://github.com/socketio/socket.io-mongo-adapter/issues/9
- https://github.com/so...

bf64870957e626a73e0544716a1a41a4ba5093bb authored 10 months ago by Damien Arrachequesne <[email protected]>
ci: test with older TypeScript version

Related: https://github.com/socketio/socket.io/issues/3891

748e18c22eeefceb4030c8f8e5e9e9c342b05982 authored 10 months ago by Damien Arrachequesne <[email protected]>
refactor: create specific adapter for parent namespaces (#4950)

b9ce6a25d1f99368fe21fdc0308213fa1831e450 authored 10 months ago by Wang Guan <[email protected]>
ci: upgrade to actions/checkout@4 and actions/setup-node@4

Reference: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to...

54dabe5bffeb705fd006729725dd2fa194f70ecf authored 10 months ago by Damien Arrachequesne <[email protected]>
fix: remove duplicate pipeline when serving bundle

Related: https://github.com/socketio/socket.io/issues/4946

e426f3e8e1bfea5720c32d30a3663303200ee6ad authored 10 months ago by Damien Arrachequesne <[email protected]>
docs: update the webtransport example

Reference: https://github.com/fails-components/webtransport#changes-for-version-1xx

e36062ca2df0b1a4adcf986bafc3fd92675d3896 authored 11 months ago by Damien Arrachequesne <[email protected]>
docs: only execute the passport middleware once

Before this change, the session and user context were retrieved once
per HTTP request and not on...

0bbe8aec77a0ed5576d8e4fa7379ab1f1a6fdb05 authored 11 months ago by Damien Arrachequesne <[email protected]>
docs: add example with JWT

Related: https://github.com/socketio/socket.io/issues/4910

914a8bd2b97f559a666ede08df8610cfe05e9cda authored 11 months ago by Damien Arrachequesne <[email protected]>
docs: update the Passport.js example

d943c3e0b0b6af1df544a6d26e09dbc8243f4d90 authored 11 months ago by Damien Arrachequesne <[email protected]>
chore(release): 4.7.4

Diff: https://github.com/socketio/socket.io/compare/4.7.3...4.7.4

6ab2509d529d438e25b6c3a701444aa6585fa153 authored 11 months ago by Damien Arrachequesne <[email protected]>
chore(tests): add type defs for expectjs and fix invalid expectations

f8d2644921cdcaf877d07d68a2ad61c13d586663 authored 12 months ago by Zachary Soare <[email protected]>
fix(typings): calling io.emit with no arguments incorrectly errored

Refs: #4914

cb6d2e02aa7ec03c2de1817d35cffa1128b107ef authored 12 months ago by Zachary Soare <[email protected]>
chore(tests): indicate a future ts error with version

04640d68cfd0469c04ecce63b86801625402c691 authored 12 months ago by Zachary Soare <[email protected]>
chore(tests): fix issues due to client#id type change

2c0a81cd8737388f92a87afe51deb1e92b4aba45 authored 12 months ago by Zachary Soare <[email protected]>
chore(tests): add a test for noArgs in a namespace

d9fb2f64b618af2d50adae83b17d6d757b05600a authored 12 months ago by Zachary Soare <[email protected]>
chore: bump socket.io-client version

80b2c34478892e266abdc22318cf993ac4efef22 authored 12 months ago by Damien Arrachequesne <[email protected]>
chore(release): 4.7.3

Diff: https://github.com/socketio/socket.io/compare/4.7.2...4.7.3

0d893196f8e86ccba3a7a1ab728d00593d7aa238 authored 12 months ago by Damien Arrachequesne <[email protected]>
fix: return the first response when broadcasting to a single socket (#4878)

df8e70f79822e3887b4f21ca718af8a53bbda2c4 authored 12 months ago by BCCSTeam <[email protected]>
fix(typings): allow to bind to a non-secure Http2Server (#4853)

8c9ebc30e5452ff9381af5d79f547394fa55633c authored about 1 year ago by Xì Gà <[email protected]>
docs(examples): add Vue client with CRUD example

efb5c21e856f114f7366ec17282ab686ff06c24c authored about 1 year ago by Damien Arrachequesne <[email protected]>
docs(examples): upgrade basic-crud-application to Angular v17

Related: https://github.com/socketio/socket.io/issues/4875

3848280125f35768e74be4d778d7b55acf82f7df authored about 1 year ago by Damien Arrachequesne <[email protected]>
refactor: cleanup after merge

9a2a83fdd42faa840d4f11fd223349e5d8e4d52c authored about 1 year ago by Damien Arrachequesne <[email protected]>
refactor(typings): improve emit types (#4817)

This commit fixes several issues with emit types:

- calling `emit()` without calling `timeout...

f6ef267b035a4db49b7d0fce438ca5c5b686f547 authored about 1 year ago by Zachary Haber <[email protected]>
test: build examples in the CI (#3856)

1cdf36bfea581b2de00da94172637cecf4208ad6 authored about 1 year ago by Maxime Kjaer <[email protected]>
docs: add Elephant.IO as PHP client library (#4779)

bbf1fdc7a62be13c68f3061e7618cef99c2ec053 authored about 1 year ago by Toha <[email protected]>
docs(examples): add codesandbox configuration

b4dc83eb9b85e26f09f25e1b5320fe3f49b521d3 authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs: add example with connection state recovery

ccbb4c077375ec2cb0d1c472a902e52f1d9a7dfc authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs: improve example with express-session

The example is now available with different syntaxes:

- CommonJS
- ES modules
- TypeScript

Rel...

d744fda77207ecf1fa4bc1cd3d32eaa403deca9f authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs: use io.engine.use() with express-session

Related: https://github.com/socketio/socket.io/discussions/4819

8259cdac8439400d8815d6830d13bdd22bb6390f authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs: use "connection" instead of "connect"

"connect" and "connection" have the same meaning, but "connection" is
the preferred version.

fd9dd74eeed3fa6a15c63240df30cc3b7357102f authored over 1 year ago by Damien Arrachequesne <[email protected]>
chore(release): 4.7.2

Diff: https://github.com/socketio/socket.io/compare/4.7.1...4.7.2

c332643ad8b2eff3a9edee432bfd53fb37559280 authored over 1 year ago by Damien Arrachequesne <[email protected]>
fix(webtransport): properly handle WebTransport-only connections

A WebTransport-only connection has no `request` attribute, so we need
to handle that case.

3468a197afe87e65eb0d779fabd347fe683013ab authored over 1 year ago by Damien Arrachequesne <[email protected]>
chore: bump engine.io to version 6.5.2

Diff: https://github.com/socketio/engine.io/compare/6.5.0...6.5.2
Release notes: https://github....

09d45491c4eb817274e4c38e7ccbc61ceb3fce18 authored over 1 year ago by Damien Arrachequesne <[email protected]>
fix: clean up child namespace when client is rejected in middleware (#4773)

Related: https://github.com/socketio/socket.io/issues/4772

0731c0d2f497d5cce596ea1ec32a67c08bcccbcd authored over 1 year ago by Jaro <[email protected]>
docs: update the list of supported Node.js versions

The Engine.IO server uses `timeout.refresh()` (see [1]), which was
added in Node.js 10.2.0.

Ref...

03046a64adbfd021a01449027401cab639fd244e authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs(examples): add example with WebTransport

443e447087430066ae88bfd69639fdc8a4851e57 authored over 1 year ago by Damien Arrachequesne <[email protected]>
chore(release): 4.7.1

Diff: https://github.com/socketio/socket.io/compare/4.7.0...4.7.1

2f6cc2fa4287de02fa5c9b8f5bf7d5beb37acf2f authored over 1 year ago by Damien Arrachequesne <[email protected]>
chore(release): 4.7.0

Diff: https://github.com/socketio/socket.io/compare/4.6.2...4.7.0

00d8ee5b057a8aef830d88da77579037759e762c authored over 1 year ago by Damien Arrachequesne <[email protected]>
ci: add Node.js 20 in the test matrix

Reference: https://github.com/nodejs/Release

2dd5fa9dd466c6b39b0764d53fbda6185b4916ce authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs(examples): increase httpd ProxyTimeout value (2)

a5dff0ac83ac5e2b0e518c6d054b2c9b252b2558 authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs(examples): increase httpd ProxyTimeout value

With a value that is too small, the HTTP long-polling request receives
an HTTP 502 response code...

3035c25982b5bff020cff43fba31bb0cc4cc617c authored over 1 year ago by Damien Arrachequesne <[email protected]>
feat: serve client bundles with CORS headers

The version of the `cors` package matches the one used by `engine.io`.

Related: https://github....

63f181cc12cbbbf94ed40eef52d60f36a1214fbe authored over 1 year ago by Damien Arrachequesne <[email protected]>
chore: bump engine.io to version 6.5.0

Diff: https://github.com/socketio/engine.io/compare/6.4.2...6.5.0
Release notes: https://github....

a250e283daa283c2ed7ffaba3033db717a8142ab authored over 1 year ago by Damien Arrachequesne <[email protected]>
fix: remove the Partial modifier from the socket.data type (#4740)

Wrapping SocketData with Partial causes issues when reading data even
if you've made sure to pa...

e5c62cad60fc7d16fbb024fd9be1d1880f4e6f5f authored over 1 year ago by SyedTayyabUlMazhar <[email protected]>
docs(changelog): update the version range of the engine.io dependency

01d37624a8fec5041e0f19e071914f610946a3af authored over 1 year ago by Damien Arrachequesne <[email protected]>
chore(release): 4.6.2

Diff: https://github.com/socketio/socket.io/compare/4.6.1...4.6.2

faf914c9ab3e06a6e84fc91774a4182e58f8ae70 authored over 1 year ago by Damien Arrachequesne <[email protected]>
refactor: add a noop handler for the error event

We should reduce the scope of the "event" error in the next major
version, as it is overloaded t...

15af22fc22bc6030fcead322c106f07640336115 authored over 1 year ago by Damien Arrachequesne <[email protected]>
chore: bump socket.io-parser to version 4.2.3

Reference: https://github.com/advisories/GHSA-cqmj-92xf-r6r9

d3658944e562e538db094ef298d274821984dea2 authored over 1 year ago by Damien Arrachequesne <[email protected]>
chore: bump engine.io to version 6.4.2

Reference: https://github.com/advisories/GHSA-q9mw-68c2-j6m5

Related: https://github.com/socket...

12b0de4f524083c31b613ce33e4fd9f8d313f434 authored over 1 year ago by Damien Arrachequesne <[email protected]>
fix(exports): move `types` condition to the top (#4698)

Related: https://github.com/microsoft/TypeScript/issues/50762

3d44aae381af38349fdb808d510d9f47a0c2507e authored over 1 year ago by Mateusz Burzyński <[email protected]>
docs(examples): bump dependencies for the private messaging example

Related: https://github.com/socketio/socket.io/issues/4681

cbf0362476a23a573233369f1119f7e305539336 authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs(examples): update examples to docker compose v2

Reference: https://docs.docker.com/compose/

Related: https://github.com/socketio/socket.io/disc...

59280da20b5ab6509bafb87793cc0077d60d9c27 authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs(changelog): add version of transitive dependencies

50a4d37cb82f2a14e058ae5a3038ee25796c2121 authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs(example): basic WebSocket-only client

6458b2bef171aa0d7dea198297608ea2ed4b1db9 authored over 1 year ago by Damien Arrachequesne <[email protected]>
docs(examples): upgrade to React 18

Reference: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html

b56da8a99f4814d553064af175edcf747d5561d7 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
chore(release): 4.6.1

Diff: https://github.com/socketio/socket.io/compare/4.6.0...4.6.1

7952312911e439f1e794760b50054565ece72845 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
fix: properly handle manually created dynamic namespaces

Namespaces that match the regex of a parent namespace will now be added
as a child of this names...

0d0a7a22b5ff95f864216c529114b7dd41738d1e authored almost 2 years ago by Damien Arrachequesne <[email protected]>
refactor: catch errors when trying to restore the connection state

2a8565fd1e4b01990d2995c1e90d31a324cd121a authored almost 2 years ago by Damien Arrachequesne <[email protected]>
fix(types): fix nodenext module resolution compatibility (#4625)

The import added in [1] was invalid, because it used an non-exported
class.

Related: https://gi...

d0b22c630208669aceb7ae013180c99ef90279b0 authored almost 2 years ago by Igor Lins e Silva <[email protected]>
docs: minor style fix (#4619)

e71f3d7dbe6e9ddedc63420d877700f1533fb18b authored almost 2 years ago by Nabaraj Subedi <[email protected]>
chore(release): 4.6.0

Diff: https://github.com/socketio/socket.io/compare/4.5.4...4.6.0

a2e5d1f77ff322455d9203c0a956eead4caca527 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
refactor: do not persist session if connection state recovery if disabled

This is a follow-up commit of [1]. Without it, adapter.persistSession()
would be called even if ...

d8143cc0676aa7a8bdcf162f2dc4fcd9f6070bc5 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
chore: bump engine.io to version 6.4.0

Diff: https://github.com/socketio/engine.io/compare/6.3.1...6.4.0
Release notes: https://github....

b2dd7cf660049d835fa7128db6c669b5ae3a2b26 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
revert: feat: expose current offset to allow deduplication

This reverts commit 4e6412386267c237b0094373c8e9d2523058e69f.

Using the id of the socket is not...

3734b74b4595da76bcc5f9aa33381e9c405ff546 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
feat: add description to the disconnecting and disconnect events (#4622)

See also: https://github.com/socketio/socket.io-client/commit/b862924b7f1720979e5db2f0154906b305...

8aa94991cee5518567d6254eec04b23f81510257 authored almost 2 years ago by Edouard Benauw <[email protected]>
feat: expose current offset to allow deduplication

Related: https://github.com/socketio/socket.io-client/commit/655dce97556a1ea44a60db6b694d0cfd85b...

4e6412386267c237b0094373c8e9d2523058e69f authored almost 2 years ago by Damien Arrachequesne <[email protected]>
refactor: do not include the pid by default

So that the client knows whether the connection state recovery feature
is enabled.

See also: ht...

115a9819fd99f8ad46788d12b1521b4281261618 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
fix: add timeout method to remote socket (#4558)

The RemoteSocket interface, which is returned when the client is
connected on another Socket.IO ...

0c0eb0016317218c2be3641e706cfaa9bea39a2d authored almost 2 years ago by Waldemar Schlegel <[email protected]>
refactor: export DisconnectReason type

Related: https://github.com/socketio/socket.io/issues/4556

f8640d9451bf9dffc085dc387ad4e5c2b9f711e9 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
refactor: add charset when serving the bundle files

Reference: https://developer.mozilla.org/fr/docs/Web/HTTP/Headers/Content-Type

Related: https:/...

93d446a5453894a1e90499856ca731ac397f1275 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
feat: add promise-based acknowledgements

This commit adds some syntactic sugar around acknowledgements:

- `emitWithAck()`

```js
try {
...

184f3cf7af57acc4b0948eee307f25f8536eb6c8 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
feat: add the ability to clean up empty child namespaces (#4602)

This commit adds a new option, "cleanupEmptyChildNamespaces". With this
option enabled (disabled...

5d9220b69adf73e086c27bbb63a4976b348f7c4c authored almost 2 years ago by Steve Baum <[email protected]>
test: add test with onAnyOutgoing() and binary attachments

Related:

- https://github.com/socketio/socket.io/issues/4374
- https://github.com/socketio/sock...

129883958afcd1e8c34ca0dd3e42d40d92557afd authored almost 2 years ago by Damien Arrachequesne <[email protected]>
test: add test with socket.disconnect(true)

Related: https://github.com/socketio/engine.io/commit/a65a047526401bebaa113a8c70d03f5d963eaa54

6c27b8b0a69d8bf1033655f432cc74bfc1042db9 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
fix(typings): properly type emits with timeout

When emitting with a timeout (added in version 4.4.0), the "err"
argument was not properly typed...

f3ada7d8ccc02eeced2b9b9ac8e4bc921eb630d2 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
docs(changelog): add note about maxHttpBufferSize default value (#4596)

Reference: https://github.com/socketio/socket.io/releases/tag/2.5.0

a21ad8882891a4af7688bb1abe369178d154ee22 authored almost 2 years ago by Marc Jansing <[email protected]>
feat: implement connection state recovery

Connection state recovery allows a client to reconnect after a
temporary disconnection and resto...

54d5ee05a684371191e207b8089f09fc24eb5107 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
perf: precompute the WebSocket frames when broadcasting

Note:

- only packets without binary attachments are affected
- the permessage-deflate extension...

da2b54279749adc5279c9ac4742b01b36c01cff0 authored almost 2 years ago by Damien Arrachequesne <[email protected]>
docs: add Rust client implementation (#4592)

client-only implementation -- it *may* add server-side support in the future.

b7d54dbe8d00dbd7226266e02b789c46b60b088c authored almost 2 years ago by Tristan F <[email protected]>
refactor(typings): add types for io.engine (#4591)

This adds typings for the socket.io engine field, which offers better
IntelliSense when retriev...

d4a9b2cdcb7b2efc4497015a0da159958024acca authored almost 2 years ago by Tristan F <[email protected]>
chore: add security policy

547c541fb9954ef2ec9703a39ee264c7113ba26f authored about 2 years ago by Damien Arrachequesne <[email protected]>
chore(release): 4.5.4

Diff: https://github.com/socketio/socket.io/compare/4.5.3...4.5.4

3b7ced7af7e0a2a66392577f94af1ee5ed190ab1 authored about 2 years ago by Damien Arrachequesne <[email protected]>
chore: bump engine.io to version 6.2.1

In order to fix CVE-2022-41940.

See also: https://github.com/socketio/engine.io/security/adviso...

c00bb9564c97c44bc71bdb5a07c572e9032ad38f authored about 2 years ago by Damien Arrachequesne <[email protected]>
chore: bump socket.io-parser to version 4.2.1

In order to fix CVE-2022-2421.

See also: https://github.com/advisories/GHSA-qm95-pgcg-qqfq

57e5f25e26f2abe69a929eab4dab8a079ab78cac authored about 2 years ago by Damien Arrachequesne <[email protected]>
docs: add missing versions in the changelog

f4b698418a378eec353b60b1a846e78eb1cf2e72 authored about 2 years ago by Damien Arrachequesne <[email protected]>
chore(release): 4.5.3

Diff: https://github.com/socketio/socket.io/compare/4.5.2...4.5.3

945c84be47d2923a9132786c9fd11dd90fa2c6db authored about 2 years ago by Damien Arrachequesne <[email protected]>
fix(typings): accept an HTTP2 server in the constructor

Related:

- https://github.com/socketio/socket.io/issues/4434
- https://github.com/socketio/sock...

d3d0a2d5beaff51fd145f810bcaf6914213f8a06 authored about 2 years ago by Damien Arrachequesne <[email protected]>
docs(examples): update dependencies of the basic CRUD example

Related: https://github.com/socketio/socket.io/issues/4409

19b225b0c8a093d7f54ccf1b9d3765bc8f463a65 authored about 2 years ago by Damien Arrachequesne <[email protected]>
docs: add jsdoc for each public method

8fae95dd182ee1fdd033f7646eacc6beca6f456a authored about 2 years ago by Damien Arrachequesne <[email protected]>
docs: add deprecation notice for the allSockets() method

e6f6b906db8209996b1adb564332cb443df38fc6 authored about 2 years ago by Damien Arrachequesne <[email protected]>
fix(typings): apply types to "io.timeout(...).emit()" calls

Typed events were not applied when calling "io.timeout(...).emit()".

Related: https://github.co...

e357daf5858560bc84e7e50cd36f0278d6721ea1 authored about 2 years ago by Damien Arrachequesne <[email protected]>
ci: upgrade to actions/checkout@3 and actions/setup-node@3

Reference: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-runnin...

596eb88af7fcd41e9d7c0abca4d1305a7e2c2fea authored about 2 years ago by Damien Arrachequesne <[email protected]>
refactor: add list of possible disconnection reasons

Note: some disconnection reasons could be merged in the next major
release, i.e. the Deno impl d...

10fa4a2690fafcf9415e49aad507394e0b9a9ab0 authored over 2 years ago by Damien Arrachequesne <[email protected]>
chore(release): 4.5.2

Diff: https://github.com/socketio/socket.io/compare/4.5.1...4.5.2

8be95b3bd323f83b9bc5d7b0292abc2dbea9ce56 authored over 2 years ago by Damien Arrachequesne <[email protected]>
fix(uws): prevent the server from crashing after upgrade

This should fix a rare case where the Engine.IO connection was upgraded
to WebSocket while the S...

ba497ee3eb52c4abf1464380d015d8c788714364 authored over 2 years ago by Damien Arrachequesne <[email protected]>
ci: add explicit permissions to workflow (#4466)

Reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions...

28038715cbe67e89431767d9b5ac1f873c633cca authored over 2 years ago by Alex <[email protected]>
refactor: add missing constraints (#4431)

See also: https://github.com/microsoft/TypeScript/issues/49489

134226e96cfacab300ab8f27cf5765d5b07d0271 authored over 2 years ago by Daniel Rosenwasser <[email protected]>
chore: bump dependencies

Production:

- socket.io-parser: ~4.0.4 => ~4.2.0

Development:

- superagent: ^6.1.0 => ^8.0.0
...

9890b036cf942f6b6ad2afeb6a8361c32cd5d528 authored over 2 years ago by Damien Arrachequesne <[email protected]>
chore: bump mocha to version 10.0.0

Related: https://github.com/socketio/socket.io/issues/3710

713a6b451bd8a090db9fe91fc3aa0b47fb770679 authored over 2 years ago by Damien Arrachequesne <[email protected]>
fix: prevent the socket from joining a room after disconnection

Calling `socket.join()` after disconnection would lead to a memory
leak, because the room was ne...

18f3fdab12947a9fee3e9c37cfc1da97027d1473 authored over 2 years ago by Damien Arrachequesne <[email protected]>