Skip to content

Releases: Kirill888/jupyter-ui-poll

v1.0.0

10 Jun 09:31
Compare
Choose a tag to compare

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

27 Oct 01:26
Compare
Choose a tag to compare

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 and tornado from dependency list

New Contributors

Full Changelog: v0.2.1...v0.2.2

v0.2.1

09 Oct 10:12
Compare
Choose a tag to compare

Fix failures in cell replay when using older ipykernel and having async cells in the notebook (issue: #16, PR: #17)

v0.2.0

19 Sep 09:58
Compare
Choose a tag to compare
  • 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

18 Sep 05:24
Compare
Choose a tag to compare
v0.2.0a1 Pre-release
Pre-release
  • 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

04 Sep 05:31
Compare
Choose a tag to compare
v0.2.0a0 Pre-release
Pre-release
  • 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)

v0.1.3

04 Sep 04:39
Compare
Choose a tag to compare

Maintenance release

  • set dependency constraint ipykernel<6

Changes in ipykernel going to version 6 require switching to async mode of operation.

v0.1.2

05 Jan 06:39
Compare
Choose a tag to compare

Maintenance release

  • Packaging related changes
  • Push to test pypi from master
  • Push to pypi on release

v0.1.1

26 Oct 11:04
Compare
Choose a tag to compare
  • Fix a bug, where output would sometimes go to the wrong cell when using Run All mode
  • Improve docs and sample notebooks
  • Add Binder launcher

v0.1.0

19 Oct 13:31
Compare
Choose a tag to compare

It's a usable library now.

  • Better docs
  • More ways to work: callback, iterator and pure poll
  • Better handling of exceptions raised during replay