# What changed in anywidget

> 10 changes in anywidget 0.9 to 0.11 from its official release notes, upgrade guides and advisories: 2 breaking, 7 new APIs and options. Each one cited. Sources checked 2026-11-14. HTML: https://unstale.sh/pypi/anywidget/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## anywidget 0.11

### New APIs and options

- Resolves a child widget's underlying AnyModel for direct event subscriptions or get, set, and send access without participating in rendering. (0.11.0) — [release notes](https://github.com/manzt/anywidget/releases/tag/anywidget%400.11.0)
- Resolves a child widget by reference, awaits its initialize, and returns its exports and render function for composition. (0.11.0) — [release notes](https://github.com/manzt/anywidget/releases/tag/anywidget%400.11.0)
- initialize may return a plain object of exports, which the host exposes to other widgets that resolve this widget as a reference. (0.11.0) — [release notes](https://github.com/manzt/anywidget/releases/tag/anywidget%400.11.0)
- 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.0) — [release notes](https://github.com/manzt/anywidget/releases/tag/anywidget%400.11.0)
- 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.0) — [release notes](https://github.com/manzt/anywidget/releases/tag/anywidget%400.11.0)
- A new type alias is provided for annotations of widget references. (0.11.0) — [release notes](https://github.com/manzt/anywidget/releases/tag/anywidget%400.11.0)
- A new traitlet validates anywidget-compatible objects for widget references. (0.11.0) — [release notes](https://github.com/manzt/anywidget/releases/tag/anywidget%400.11.0)

## anywidget 0.10

### Breaking changes

- Python 3.8 and 3.9 are no longer supported; Python >=3.10 is required. (0.10.0) — [release notes](https://github.com/manzt/anywidget/releases/tag/anywidget%400.10.0)

## anywidget 0.9

### Breaking changes

- 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.20) — [release notes](https://github.com/manzt/anywidget/releases/tag/anywidget%400.9.20)

### Fixes and other changes

- 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.21) — [release notes](https://github.com/manzt/anywidget/releases/tag/anywidget%400.9.21)
