Pyryver

Latest version: v0.4.0.post1

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

Scan your dependencies

Page 2 of 3

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=ryverws#pyryver.ryver_ws.RyverWS.set_auto_reconnect) and [`Ryver.get_live_session()`](https://pyryver.readthedocs.io/en/latest/api_client.html#pyryver.ryver.Ryver.get_live_session)'s new `auto_reconnect` parameter).
- New decorator [`RyverWS.on_reconnect`](https://pyryver.readthedocs.io/en/latest/api_realtime.html#pyryver.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.html#pyryver.ryver_ws.RyverWS.close) will no longer cause [`RyverWS.run_forever()`](https://pyryver.readthedocs.io/en/latest/api_realtime.html#pyryver.ryver_ws.RyverWS.run_forever) to return. Instead, [`RyverWS.terminate()`](https://pyryver.readthedocs.io/en/latest/api_realtime.html#pyryver.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.

0.3.2

This release fixes a critical bug with the realtime websocket API that would rarely cause it to get stuck in an infinite loop while generating a ton of log messages when there is an unexpected connection loss not caught by the ping routine. As a result of this fix, the `RyverWS.on_error` decorator's functionality has been removed and is now deprecated.

It is **highly recommended** to update to this release or a later version ~~to avoid generating over 200MB in log files~~.

Some additional features include implementing `__getitem__()` for `WSMessageData` objects for limited backwards compatibility, and various improvements to documentation.

0.3.1

In this release, `Ryver.get_chat()`, `Ryver.get_groupchat()` and `Ryver.get_user()` will now do case-insensitive searches if searching by username, email, or group chat nickname, as these values are case-insensitive in the official app. `get_obj_by_field()` also gained a new parameter that can be used to specify if the search should be case-insensitive.

0.3.0

This release features Tasks support and a clean-up of the API. There are several minor incompatibilities but the overall structure and usage is unchanged.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.