Repository navigation
v3.14.2
This patch fixes a panel that could stay stuck on an older page after a slow page turn, and handles a request Discord never answers like a dropped connection. Views posted through a channel now find their bot, and the unreachable sweep restores a panel it finds reachable again.
Added
REGISTRY_PRUNEDnames the message each pruned row was on, so a bot that keeps its panel's message id can tell its current panel from an earlier post under the same key.
Changed
DISCORD_CALL_ERRORSincludesasyncio.TimeoutError, so code catching the tuple also catches a request Discord never answered. A block that handles its own timeout catchesasyncio.TimeoutErrorin a clause above the tuple.send()callson_bindfor a persistent view posted through a channel, so anawait view.on_bind(bot)before the send can go, unless code beforesend()reads whaton_bindsets. Code that keeps it sees the hook run twice, which an idempotenton_bindalready allows.
Fixed
- A panel no longer sticks on an older page after a slow page turn. The next press answers with the view's current render, with no extra request.
- A view posted through a channel finds its bot, so it keeps the client's mention rules on every edit.
- The unreachable sweep restores a panel it finds reachable again, and keeps a row whose re-check says nothing about its message instead of deleting it.
- A repost that cannot close an earlier run's message says so, and a prune that fails part way reports the rows it already deleted.
Documentation
Install
pip install pycascadeui==3.14.2
See the full CHANGELOG for every change in this release.
Full Changelog: v3.14.1...v3.14.2