Miguel Grinberg
6a52e8b502
Add support for Redis Sentinel ( #1448 )
* Add support for Redis Sentinel
* more unit tests
2 months ago
Miguel Grinberg
537630b983
Remove incorrect reference to an "asyncio" installation extra ( Fixes #1449 )
2 months ago
dependabot[bot]
fc0c1e2fee
Bump gunicorn in /examples/server/wsgi/django_socketio ( #1445 ) #nolog
Bumps [gunicorn](https://github.com/benoitc/gunicorn ) from 22.0.0 to 23.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases )
- [Commits](https://github.com/benoitc/gunicorn/compare/22.0.0...23.0.0 )
---
updated-dependencies:
- dependency-name: gunicorn
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Miguel Grinberg
288ebb189d
Eliminate race conditions on disconnect ( Fixes #1441 )
3 months ago
dependabot[bot]
4adebf6ab8
Bump jinja2 from 3.1.5 to 3.1.6 in /examples/server/wsgi ( #1440 ) #nolog
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
dependabot[bot]
1b41943603
Bump django in /examples/server/wsgi/django_socketio ( #1439 ) #nolog
Bumps [django](https://github.com/django/django ) from 4.2.18 to 4.2.20.
- [Commits](https://github.com/django/django/compare/4.2.18...4.2.20 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Miguel Grinberg
781dc9a030
Update feature_request.md
4 months ago
Miguel Grinberg
82462f011c
Update bug_report.md
4 months ago
Miguel Grinberg
7605630bb2
Allow custom client subclasses to be used in SimpleClient and AsyncSimpleClient ( Fixes #1432 )
4 months ago
dependabot[bot]
a598a55cc1
Bump django in /examples/server/wsgi/django_socketio ( #1430 ) #nolog
Bumps [django](https://github.com/django/django ) from 4.2.17 to 4.2.18.
- [Commits](https://github.com/django/django/compare/4.2.17...4.2.18 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months ago
Miguel Grinberg
9e43a39cfe
revert to default funding file #nolog
5 months ago
Miguel Grinberg
387f996bdb
Version 5.12.2.dev0
6 months ago
Miguel Grinberg
572648bd0c
Release 5.12.1
6 months ago
Miguel Grinberg
269332da80
Enable instrumentation by default in WSGI and ASGI examples
6 months ago
Miguel Grinberg
8fe012abbb
Stop using deprecated datetime functions
6 months ago
Miguel Grinberg
b75fd31625
Fix admin instrumentation to support disconnect reasons ( Fixes #1423 )
6 months ago
Carlos Guerrero
8964dab9d5
Fixed broken gevent URL in documentation ( #1427 )
6 months ago
dependabot[bot]
7e8e884d50
Bump jinja2 from 3.1.3 to 3.1.5 in /examples/server/wsgi ( #1426 ) #nolog
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.3 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.5 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 months ago
Miguel Grinberg
2eaa1bd5b1
Version 5.12.1.dev0
6 months ago
Miguel Grinberg
06f50f8671
Release 5.12.0
6 months ago
Miguel Grinberg
bd8555da85
Pass a `reason` argument to the disconnect handler ( #1422 )
6 months ago
Miguel Grinberg
0b5c4638e5
Adopted pyenv-asyncio for async unit tests
6 months ago
humayunsr
b6ee33e56c
Prevent multiple tasks for reconnection ( #1369 )
* Prevent multiple taks for reconnection
As discussed here.
https://github.com/miguelgrinberg/python-socketio/discussions/1367
In certain scenarios, this library creates multiple reconnection tasks.
A check is added to make sure that reconnection task starts only when
this task is not running.
Signed-off-by: Humayun Ajmal <[email protected] >
* async client
---------
Signed-off-by: Humayun Ajmal <[email protected] >
Co-authored-by: Miguel Grinberg <[email protected] >
6 months ago
Arseny
78d1124c50
fix AsyncClient::wait unexpected return after success reconnect ( #1407 )
* fix AsyncClient::wait unexpected return after success reconnect
AsyncClient::wait use sleep(1) call to wait to start reconnect task.
Sometimes reconnect is faster then 1 second, and wait returns while connection to server is established.
Added one check to avoid this situation
* Making added check easier to understand in source code
* fix Client::wait unexpected return after success reconnect
* fixes
---------
Co-authored-by: Miguel Grinberg <[email protected] >
6 months ago
Miguel Grinberg
db642bb2bd
Upgrade the code to more recent Python versions
6 months ago
Masen Furer
bf5a05ae9b
server.py: teeny docstring typo fix ( #1421 )
Noticed while perusing the documentation, so submitting a micropatch.
6 months ago
dependabot[bot]
b75d7309b7
Bump path-to-regexp and express in /examples/server/javascript ( #1418 ) #nolog
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp ) to 0.1.12 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `path-to-regexp` from 0.1.10 to 0.1.12
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases )
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md )
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.10...v0.1.12 )
Updates `express` from 4.21.1 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.21.1...4.21.2 )
---
updated-dependencies:
- dependency-name: path-to-regexp
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 months ago
dependabot[bot]
f5b686c104
Bump django in /examples/server/wsgi/django_socketio ( #1417 ) #nolog
Bumps [django](https://github.com/django/django ) from 4.2.16 to 4.2.17.
- [Commits](https://github.com/django/django/compare/4.2.16...4.2.17 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 months ago
dependabot[bot]
3e95bb5ca8
Bump path-to-regexp and express in /examples/client/javascript ( #1416 ) #nolog
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp ) to 0.1.12 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `path-to-regexp` from 0.1.10 to 0.1.12
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases )
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md )
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.10...v0.1.12 )
Updates `express` from 4.21.1 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.21.1...4.21.2 )
---
updated-dependencies:
- dependency-name: path-to-regexp
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 months ago
Miguel Grinberg
8f0e66c1cd
Adopted unittest.mock.AsyncMock in async unit tests
7 months ago
Miguel Grinberg
abf336e108
Removed dependency on unittest.TestCase base class
7 months ago
dependabot[bot]
46c6a70046
Bump tornado from 6.4.1 to 6.4.2 in /examples/server/tornado ( #1408 ) #nolog
Bumps [tornado](https://github.com/tornadoweb/tornado ) from 6.4.1 to 6.4.2.
- [Changelog](https://github.com/tornadoweb/tornado/blob/v6.4.2/docs/releases.rst )
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.4.1...v6.4.2 )
---
updated-dependencies:
- dependency-name: tornado
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
dependabot[bot]
03b445a7ce
Bump aiohttp from 3.10.2 to 3.10.11 in /examples/server/aiohttp ( #1406 ) #nolog
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.10.2 to 3.10.11.
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.10.2...v3.10.11 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
Peter Bierma
72d37ea79f
Fix typo with `AsyncClient.connect` example ( #1403 )
7 months ago
dependabot[bot]
d2059c1b8f
Bump cookie and socket.io in /examples/client/javascript ( #1394 ) #nolog
Bumps [cookie](https://github.com/jshttp/cookie ) to 0.7.1 and updates ancestor dependency [socket.io](https://github.com/socketio/socket.io ). These dependencies need to be updated together.
Updates `cookie` from 0.4.2 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases )
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.1 )
Updates `socket.io` from 4.7.2 to 4.8.0
- [Release notes](https://github.com/socketio/socket.io/releases )
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io/compare/[email protected] )
---
updated-dependencies:
- dependency-name: cookie
dependency-type: indirect
- dependency-name: socket.io
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
dependabot[bot]
e2237077de
Bump cookie, socket.io and express in /examples/server/javascript ( #1395 ) #nolog
Bumps [cookie](https://github.com/jshttp/cookie ) to 0.7.1 and updates ancestor dependencies [cookie](https://github.com/jshttp/cookie ), [socket.io](https://github.com/socketio/socket.io ) and [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases )
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1 )
Updates `socket.io` from 4.7.2 to 4.8.0
- [Release notes](https://github.com/socketio/socket.io/releases )
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io/compare/[email protected] )
Updates `express` from 4.20.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.1 )
---
updated-dependencies:
- dependency-name: cookie
dependency-type: indirect
- dependency-name: socket.io
dependency-type: direct:production
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
Miguel Grinberg
42da5d2f54
Add Python 3.13 CI builds
8 months ago
dependabot[bot]
694d0a294c
Bump send and express in /examples/client/javascript ( #1393 ) #nolog
Bumps [send](https://github.com/pillarjs/send ) to 0.19.0 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases )
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md )
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0 )
Updates `express` from 4.20.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.1 )
---
updated-dependencies:
- dependency-name: send
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
dependabot[bot]
a9b02a5a65
Bump django in /examples/server/wsgi/django_socketio ( #1392 ) #nolog
Bumps [django](https://github.com/django/django ) from 4.2.15 to 4.2.16.
- [Commits](https://github.com/django/django/compare/4.2.15...4.2.16 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
dependabot[bot]
664acee9ef
Bump body-parser and express in /examples/server/javascript ( #1384 ) #nolog
Bumps [body-parser](https://github.com/expressjs/body-parser ) to 1.20.3 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases )
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md )
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3 )
Updates `express` from 4.19.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0 )
---
updated-dependencies:
- dependency-name: body-parser
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
aaab78a479
Bump path-to-regexp and express in /examples/server/javascript ( #1383 ) #nolog
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp ) to 0.1.10 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases )
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md )
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10 )
Updates `express` from 4.19.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0 )
---
updated-dependencies:
- dependency-name: path-to-regexp
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
98f94f465b
Bump serve-static and express in /examples/server/javascript ( #1386 ) #nolog
Bumps [serve-static](https://github.com/expressjs/serve-static ) to 1.16.0 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `serve-static` from 1.15.0 to 1.16.0
- [Release notes](https://github.com/expressjs/serve-static/releases )
- [Changelog](https://github.com/expressjs/serve-static/blob/master/HISTORY.md )
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...1.16.0 )
Updates `express` from 4.19.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0 )
---
updated-dependencies:
- dependency-name: serve-static
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
3157681c1a
Bump send and express in /examples/server/javascript ( #1385 ) #nolog
Bumps [send](https://github.com/pillarjs/send ) to 0.19.0 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases )
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md )
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0 )
Updates `express` from 4.19.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0 )
---
updated-dependencies:
- dependency-name: send
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
dependabot[bot]
c535558a8e
Bump path-to-regexp and express in /examples/client/javascript ( #1381 ) #nolog
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp ) to 0.1.10 and updates ancestor dependency [express](https://github.com/expressjs/express ). These dependencies need to be updated together.
Updates `path-to-regexp` from 0.1.7 to 0.1.10
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases )
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md )
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.7...v0.1.10 )
Updates `express` from 4.19.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0 )
---
updated-dependencies:
- dependency-name: path-to-regexp
dependency-type: indirect
- dependency-name: express
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months ago
Miguel Grinberg
5f83cd0f7b
Renamed flask-socketio references to python-socketio ( Fixes #1377 )
10 months ago
Miguel Grinberg
bd5c1c4f77
Version 5.11.5.dev0
10 months ago
Miguel Grinberg
4def8d9eb9
Release 5.11.4
10 months ago
Miguel Grinberg
1b901de007
prevent crash when client sends empty event
10 months ago
Pavieł Michalkievič
f1476041e5
Enable emitting to single client in managers with to=... ( #1374 )
* Enable emitting to single client in AsyncPubSubManager
* Handle `to` in async manager and sync versions
* Name tests consistently
* Rm extra blank line in test_pubsub_manager
10 months ago
dependabot[bot]
9f34493c27
Bump aiohttp from 3.9.4 to 3.10.2 in /examples/server/aiohttp ( #1372 ) #nolog
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.9.4 to 3.10.2.
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.4...v3.10.2 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months ago