Releases: Kirill888/jupyter-ui-poll
Releases · Kirill888/jupyter-ui-poll
v1.0.0
What's Changed
It's time to make a 1.0 release, no API changes are expected going forward, some additions might happen though. Overall this looks "complete" to me.
API Changes
NONE.
Maintenance
- updated binder env
- updated read the docs configuration
- do not pin dependencies in binder and read the docs env
Full Changelog: v0.2.2...v1.0.0
v0.2.2
What's Changed
- Support cross-widget messaging by @kylebarron in #22
- Replay of delayed execution events for "non-cell" code, used by some libraries, was not handled properly
- Maintenance #24
- Remove
pyzmq
andtornado
from dependency list
- Remove
New Contributors
- @kylebarron made their first contribution in #22
Full Changelog: v0.2.1...v0.2.2
v0.2.1
v0.2.0
- Support series 6 of
ipykernel
(as well a 5) - No breaking changes since
0.1.x
series - Adding async operation mode
- Adding doc building and publishing to read the docs
to use new async interface use async with
or async for
async with ui_events() as ui_poll:
do_stuff()
await ui_poll()
async for x in with_ui_events(its):
await do_stuff_with(x)
Since ipykernel
switched to async interface starting from 6.x
series, we need to launch a separate thread to process events in a separate event loop (this happens for 5.x
series too now). If you need to avoid that, use async
mode of operation.
v0.2.0a1
- Support series 6 of
ipykernel
as well a 5 - Back to previously supported synchronous insterface
- Async interface is also available
to use new async interface use async with
or async for
async with ui_events() as ui_poll:
do_stuff()
await ui_poll()
async for x in with_ui_events(its):
do_stuff_with(x)
v0.2.0a0
- Support series 6 of
ipykernel
- Switch to async interface, since this is how
ipykernel
works now
Breaking Changes
This library is now async. Synchronous operation is not supported.
- for i in with_ui_events(range(55), 10):
+ async for i in with_ui_events(range(55), 10):
do_stuff(i)
with ui_events() as ui_poll:
- ui_poll()
+ await ui_poll()
- run_ui_poll_loop(on_poll, 1/15)
+ await run_ui_poll_loop(on_poll, 1/15)