unstale

pypi / anywidget

anywidget

What changed in anywidget 0.9 to 0.11, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-14.

2 breaking7 new APIs and options1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

anywidget 0.117 changes

New APIs and options 7

  • Resolves a child widget's underlying AnyModel for direct event subscriptions or get, set, and send access without participating in rendering.

    0.11.0release notes

  • Resolves a child widget by reference, awaits its initialize, and returns its exports and render function for composition.

    0.11.0release notes

  • initialize may return a plain object of exports, which the host exposes to other widgets that resolve this widget as a reference.

    0.11.0release notes

  • initialize now receives an AbortSignal that the host aborts when the widget is destroyed or during HMR, enabling lifecycle cleanup with web platform APIs.

    0.11.0release notes

  • render now receives an AbortSignal that the host aborts when the widget is destroyed or during HMR, enabling lifecycle cleanup with web platform APIs.

    0.11.0release notes

  • A new type alias is provided for annotations of widget references.

    0.11.0release notes

  • A new traitlet validates anywidget-compatible objects for widget references.

    0.11.0release notes

anywidget 0.101 changes

Breaking changes 1

  • Python 3.8 and 3.9 are no longer supported; Python >=3.10 is required.

    0.10.0release notes

anywidget 0.92 changes

Breaking changes 1

  • AnyWidget.__repr__ uses object.__repr__ instead of serializing all trait values, avoiding costly serialization; users can override it to restore the previous representation.

    0.9.20release notes

Fixes and other changes 1

  • The JupyterLab extension now embeds source maps in the JavaScript bundle, avoiding the MIME type issue that prevented it from loading in version 0.9.20 while retaining debugging support.

    0.9.21release notes