Skip to content

v0.6.0

Choose a tag to compare

@percevalw percevalw released this 26 Feb 10:05
· 47 commits to main since this release

Changelog

  • Added a new load_store_snapshot function to load a Python snapshot of the store state without subscribing to updates or risking mutations. This can be useful for instance in Metanno to load the annotations in a read-only pure Python format for export or processing purposes.
  • We now warn users when they call create_store with initial data and a file already exists at the specified path, to prevent accidental overwriting of existing data.
  • create_store now also accepts data as a callable that returns the initial data, to support lazy initialization of the store state.
  • Jupyter outputs now send only marshaler_id/chunk_idx and fetch bundles on demand. This should reduce the notebooks file size drastically for apps containing large amounts of data, and speed up the rendering of outputs.
  • New "Open in a new browser tab" command on Pret widgets in jupyter to create a new full-viewport view that overlays and hides jupyter simple presentation mode.
  • New "Restart app" button when widget is detected as stale or kernel is down upon widget mounting
  • Rendering a pret widget now autosaves the notebook to limit the kernel-notebook desynchronization issues
  • All tutorials are now runnable notebooks, rendered identically as documentation pages
  • New transact function to group mutations as a single transaction.

Pull Requests

Full Changelog: v0.5.2...v0.6.0