Eugnee
004593060d
redis manager, verbose error logging
Sometimes it's very useful to see exact error from redis in logs
12 months ago
Eugnee
efd1247ed9
channel was not properly initialized in several pubsub client managers ( #1476 )
1 year ago
dependabot[bot]
3a002e69d9
Bump aiohttp from 3.10.11 to 3.12.14 in /examples/server/aiohttp ( #1474 ) #nolog
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.10.11 to 3.12.14.
- [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.11...v3.12.14 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-version: 3.12.14
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
d3a9b82d58
Bump django in /examples/server/wsgi/django_socketio ( #1470 ) #nolog
Bumps [django](https://github.com/django/django ) from 4.2.21 to 4.2.22.
- [Commits](https://github.com/django/django/compare/4.2.21...4.2.22 )
---
updated-dependencies:
- dependency-name: django
dependency-version: 4.2.22
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
473e05c206
Bump tornado from 6.4.2 to 6.5.1 in /examples/server/tornado ( #1467 ) #nolog
Bumps [tornado](https://github.com/tornadoweb/tornado ) from 6.4.2 to 6.5.1.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst )
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.4.2...v6.5.1 )
---
updated-dependencies:
- dependency-name: tornado
dependency-version: 6.5.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Func
5e04003dad
Add missing `async` on session examples for the async server ( #1465 )
1 year ago
dependabot[bot]
86a7176a5a
Bump django in /examples/server/wsgi/django_socketio ( #1461 ) #nolog
Bumps [django](https://github.com/django/django ) from 4.2.20 to 4.2.21.
- [Commits](https://github.com/django/django/compare/4.2.20...4.2.21 )
---
updated-dependencies:
- dependency-name: django
dependency-version: 4.2.21
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
96073f4022
Bump h11 from 0.14.0 to 0.16.0 in /examples/server/wsgi/django_socketio ( #1459 ) #nolog
Bumps [h11](https://github.com/python-hyper/h11 ) from 0.14.0 to 0.16.0.
- [Commits](https://github.com/python-hyper/h11/compare/v0.14.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
dependabot[bot]
059fd90761
Bump h11 from 0.11.0 to 0.16.0 in /examples/server/asgi ( #1458 ) #nolog
Bumps [h11](https://github.com/python-hyper/h11 ) from 0.11.0 to 0.16.0.
- [Commits](https://github.com/python-hyper/h11/compare/v0.11.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: h11
dependency-version: 0.16.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Marc Mueller
81c80cddde
Add SPDX license identifier ( #1453 )
1 year ago
Miguel Grinberg
259de30d43
Remove debugging print
1 year ago
Miguel Grinberg
d9ecbee93c
Version 5.13.1.dev0
1 year ago
Miguel Grinberg
80e77170ea
Release 5.13.0
1 year ago
Miguel Grinberg
8ea5e814c1
linter fixes #nolog
1 year ago
Tim Van Baak
5c93c59648
Preserve exception context in Client.connect ( #1450 )
1 year ago
Miguel Grinberg
6a52e8b502
Add support for Redis Sentinel ( #1448 )
* Add support for Redis Sentinel
* more unit tests
1 year ago
Miguel Grinberg
537630b983
Remove incorrect reference to an "asyncio" installation extra ( Fixes #1449 )
1 year 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>
1 year ago
Miguel Grinberg
288ebb189d
Eliminate race conditions on disconnect ( Fixes #1441 )
1 year 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>
1 year 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>
1 year ago
Miguel Grinberg
781dc9a030
Update feature_request.md
1 year ago
Miguel Grinberg
82462f011c
Update bug_report.md
1 year ago
Miguel Grinberg
7605630bb2
Allow custom client subclasses to be used in SimpleClient and AsyncSimpleClient ( Fixes #1432 )
1 year 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>
2 years ago
Miguel Grinberg
9e43a39cfe
revert to default funding file #nolog
2 years ago
Miguel Grinberg
387f996bdb
Version 5.12.2.dev0
2 years ago
Miguel Grinberg
572648bd0c
Release 5.12.1
2 years ago
Miguel Grinberg
269332da80
Enable instrumentation by default in WSGI and ASGI examples
2 years ago
Miguel Grinberg
8fe012abbb
Stop using deprecated datetime functions
2 years ago
Miguel Grinberg
b75fd31625
Fix admin instrumentation to support disconnect reasons ( Fixes #1423 )
2 years ago
Carlos Guerrero
8964dab9d5
Fixed broken gevent URL in documentation ( #1427 )
2 years 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>
2 years ago
Miguel Grinberg
2eaa1bd5b1
Version 5.12.1.dev0
2 years ago
Miguel Grinberg
06f50f8671
Release 5.12.0
2 years ago
Miguel Grinberg
bd8555da85
Pass a `reason` argument to the disconnect handler ( #1422 )
2 years ago
Miguel Grinberg
0b5c4638e5
Adopted pyenv-asyncio for async unit tests
2 years 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] >
2 years 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] >
2 years ago
Miguel Grinberg
db642bb2bd
Upgrade the code to more recent Python versions
2 years ago
Masen Furer
bf5a05ae9b
server.py: teeny docstring typo fix ( #1421 )
Noticed while perusing the documentation, so submitting a micropatch.
2 years 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>
2 years 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>
2 years 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>
2 years ago
Miguel Grinberg
8f0e66c1cd
Adopted unittest.mock.AsyncMock in async unit tests
2 years ago
Miguel Grinberg
abf336e108
Removed dependency on unittest.TestCase base class
2 years 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>
2 years 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>
2 years ago
Peter Bierma
72d37ea79f
Fix typo with `AsyncClient.connect` example ( #1403 )
2 years 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>
2 years ago