===============================
ipymuvue Change Log
===============================

.. current developments

v0.7.0
======

**Changed:**

* Changed the build system from the deprecated jupyter-packaging to hatchling
  and hatch-jupyter-builder. Building a wheel now builds the entire frontend
  automatically.
* Changed components written in Python to run on Pyodide 314.0.7, i.e., Python
  3.14, instead of a preview release of Pyodide 0.21 with Python 3.10.
  Components written in Python now need to import the submodules of `pyodide`
  they use explicitly, e.g., `import pyodide.http` to use `pyodide.http.pyfetch`.
* Changed the frontend to use Vue 3.5 and vue3-sfc-loader 0.9.

**Removed:**

* Removed leftovers of the extension for the classic notebook (prior to
  version 7) which has not been supported since 0.3.0.
* Removed support for ipywidgets 7. JupyterLab 4, which ipymuvue requires,
  only works with ipywidgets 8.

**Fixed:**

* Fixed the check that assets do not replace the Python files of ipymuvue that
  are shipped to the browser, and stopped `VueWidget` from modifying the
  `components` and `assets` that are passed to it.
* Fixed creating a `VueWidget` with `capture_output=False`.
* Fixed `computed()` and `watch()` of `ipymuvue.pyodide.vue` with Vue 3.4 and
  later which pass additional arguments to the getters.
* Fixed loading components written in Python when several such components
  are created in quick succession, e.g., when running all cells of a
  notebook. Previously, this sometimes failed with a `ModuleNotFoundError`.
* Fixed the "Unsatisfied version 6.0.12 from @jupyter-widgets/jupyterlab-manager
  of shared singleton module @jupyter-widgets/base" warning in the browser
  console with ipywidgets 8.
* Fixed the license classifier of the Python package which claimed that
  ipymuvue was MIT licensed. It is licensed under GPL-3.0-or-later.
* Fixed reporting of errors when calling methods of Vue components. Errors
  raised in the browser are now reported as an `InvocationError` instead of
  cancelling the call with a `CancelledError`.
* Fixed calling methods of Vue components with `poll=False`, e.g.,
  `await widget["ref"].method(poll=False)` which always failed with an
  `AssertionError`.
* Fixed replacing the widget in a slot with `VueWidget.slot()`. The new
  widget was not displayed in development builds and errors were logged to
  the browser console in production builds.

v0.6.0
====================

**Fixed:**

* Fixed the build of the JupyterLab extension and the installation
  instructions.



v0.3.0
====================

**Removed:**

* Removed support for the classic notebook prior to version 7.

**Fixed:**

* Fixed deprecation warnings in the Graph editor examples.



v0.2.2
====================

**Fixed:**

* Fixed compatibility with latest IPython and ipywidgets.



v0.2.1
====================

**Fixed:**

* Fixed making `@VueWidget.callback` callable again from frontend code.



v0.2.0
====================

**Added:**

* Added support for calling exposed methods on components, i.e., the
  ipyvue-async functionality. See examples/RPC.md for examples.



v0.1.0
====================

**Fixed:**

* Fixed memory leaks (partially), see #6.
* Fixed exceptions raised by object wrappers so that `get(key, default)` works.



v0.0.7
====================

**Changed:**

* Split ipymuvue.pyodide into smaller modules. Does not change the ipymuvue.pyodide.vue module.



v0.0.6
====================

**Added:**

* Added equivalent implementations to the official vuejs.org [tutorial](https://vuejs.org/tutorial/) to `examples/`.
* Added function to expose lifecycle hooks, such as `on_mounted`, to the Python pyodide API.
* Added function to expose `reactive()` to the Python pyodide API.
* Added `String`, `Number`, `Boolean`, `Array`, `Object`, `Date`, `Function`, `Symbol` to `ipymuvue.pyodide.vue` and support for type constraints in props.

**Fixed:**

* Fixed writing to wrapped arrays in the pyodide API.
* Allow watching non-callable reactive items directly in the pyodide API.



v0.0.5
====================

**Fixed:**

* Fixed build for JupyterLab.



v0.0.4
====================

**Changed:**

* Renamed `vue` module for frontend code written in Python to `ipymuvue.pyodide.vue`.

* Moved `VueWidget` from `ipymuvue` to `ipymuvue.widgets`.

**Fixed:**

* Fixed "cannot unmount an app that is not mounted" errors.



v0.0.3
====================

**Fixed:**

* Fixed highlighting of vertices in demo application.

* Wrap reactive JavaScript lists as proxies in Python.

* Do not rewrap JavaScript functions in Python.

* Added a hack to deep-clone some Python objects when putting them into Vue.



v0.0.2
====================

initial release
