Pyryver

Latest version: v0.4.0

Safety actively analyzes 621498 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.0b2

Minor bugfix release.

Changes:
* Fix bug in connection loss error handling for `RyverWS`. In previous releases, sometimes during the connection loss error handlers, an `asyncio.InvalidStateError` may be thrown, caused by calling `Future.set_exception()` on a future that's already done. This release fixes this bug.

0.4.0b1

First beta release of v0.4.0.

0.4.0a5

Small bugfixes and improvements. Changelog:
- `__repr__` has been improved for a lot of classes derived from `Object`. Objects with names will have their names shown in their `__repr__`, and some other classes such as `Message`s will have even more information. (ab3f9f9)
- `GroupChatMember`'s `as_user()` method has been made async because it needs to fetch additional information. (11ca311)
- Fixed `File.download_data()`, which was broken by 0b5bc03. (0e33571)
- Add methods `GroupChat.join()` and `GroupChat.leave()` for joining and leaving forums and teams. (d14ccca)

This release is on PyPI.

0.4.0a4

Another more stable alpha release of v0.4.0 with more features.

0.4.0a1

Alpha release of v0.4.0. Some notable changes include:
- `RyverWS` realtime sessions can now auto-reconnect (see [`RyverWS.set_auto_reconnect()`](https://pyryver.readthedocs.io/en/latest/api_realtime.html?highlight=ryverwspyryver.ryver_ws.RyverWS.set_auto_reconnect) and [`Ryver.get_live_session()`](https://pyryver.readthedocs.io/en/latest/api_client.htmlpyryver.ryver.Ryver.get_live_session)'s new `auto_reconnect` parameter).
- New decorator [`RyverWS.on_reconnect`](https://pyryver.readthedocs.io/en/latest/api_realtime.htmlpyryver.ryver_ws.RyverWS.on_reconnect) for defining a callback to be called when auto-reconnect succeeds.
- All methods that deal with files (e.g. attaching to a message, a topic or a task) can now take `File` objects and not just `Storage` objects.

**Breaking changes include:**
- To allow for re-connecting, [`RyverWS.close()`](https://pyryver.readthedocs.io/en/latest/api_realtime.htmlpyryver.ryver_ws.RyverWS.close) will no longer cause [`RyverWS.run_forever()`](https://pyryver.readthedocs.io/en/latest/api_realtime.htmlpyryver.ryver_ws.RyverWS.run_forever) to return. Instead, [`RyverWS.terminate()`](https://pyryver.readthedocs.io/en/latest/api_realtime.htmlpyryver.ryver_ws.RyverWS.terminate) was introduced to make `run_forever()` return.
- Previously deprecated `RyverWS.on_error` decorator was removed.

Other changes:
- `setup.py install` should work now without having to install the dependencies first, as the version has been moved out of `__init__.py` and into its own separate file.

0.3.2.post1

This post-release fixes a few bugs caused by forgetting to await coroutines (in `Message.get_author()`, `ChatMessage.get_author()`, and `TaskBoard.get_chat()`). These errors were present since release v0.3.0. We apologize for the inconvenience.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.