File python-anywidget.changes of Package python-anywidget
-------------------------------------------------------------------
Fri Aug 30 09:04:41 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 0.9.13
* Improve legacy ESM deprecation notice with widget provenance
and Python migration instruction (#609)
- Release 0.9.12
* Add IPython Cell Magic for HMR (#594). New %%vfile cell magic
for prototyping widgets in notebooks. Enables syntax
highlighting and anywidget's Hot Module Replacement (HMR)
directly within the notebook. Previously, front-end code had to
be inline strings or file paths, causing loss of widget state
when editing inline-strings in notebooks. The new %%vfile cell
magic allows editing front-end code within the notebook with
live reloading on cell re-execution. Use %%vfile <filename> to
create a virtual file for either JavaScript or CSS, and use
vfile:<filename> in _esm or _css attributes of an AnyWidget
subclass to reference the virtual file. Anywidget applies HMR
updates automatically on cell re-execution.
- Release 0.9.11
* Relax version pinning for anywidget front end (#521)
* Adopted ~major.minor.* notation for more flexible version
compatibility in the front end, mirroring practices improve
compatability in environments where bumping the front-end
versions is not possible for end users (i.e., JupyterHub). This
change is intended to enhance adaptability without causing
disruptions. If issues arise, please report them on our issues
page.
-------------------------------------------------------------------
Sun May 5 17:56:54 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 0.9.10
* fix: Bring back anywidget.json to support notebook v6 discovery
(#553)
- Releases 0.9.4 to 0.9.9
* Make a blanket _repr_mimbundle_ implementation (#546)
* experimental Ensure anywidget.experimental.command is called
with self (#545)
* experimental Replace invoke timeout with more flexible
AbortSignal (#540)
* Refactor AnyWidget command registration (#526)
* feat: Suppress errors when inspecting widget for commands
(#522)
* Add experimental invoke API to call Python functions from the
front end and (#453) await the response.
* Bumped dependencies
-------------------------------------------------------------------
Thu Mar 28 19:23:31 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 0.9.3
* Updated JS dependencies
- Release 0.9.2
* Add Python 3.12 Support (#441)
* feat(experimental): Add @dataclass decorator (#222)
* Add error boundaries with nicer stack traces (#445)
- Release 0.9.1
* refactor: Use signals for HMR runtime (#438)
- Drop anywidget-pr439-py312mock.patch
-------------------------------------------------------------------
Tue Mar 5 18:45:40 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Skip python39: no longer supported since ipython 8.19 (through
ipywidgets)
-------------------------------------------------------------------
Sat Feb 10 15:00:16 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 0.9.0
* Require ANYWIDGET_HMR to opt-in to HMR during development
* Introduce front-end widget lifecycle methods (#395)
* Deprecation Notice: Exporting a render from the front-end
widget will trigger a deprecation notice in the browser
console. The preferred way to define a widget's front-end code
is now with a default object export.
* These methods introduce lifecycle hooks for widget developers:
- initialize: is executed once in the lifetime of a widget. It
has access to the only the model to setup non-view event
handlers or state to share across views.
- render: is executed once per view, or for each notebook
output cell. It has access to the model and a unique el DOM
element. This method should be familiar and is used to setup
event handlers or access state specific to that view.
* Fix serialization of layout trait (#426)
- Add anywidget-pr439-py312mock.patch gh#manzt/anywidget#439
-------------------------------------------------------------------
Sun Jan 21 10:52:29 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 0.8.1
* fix: Skip Promise serialization for ipywidget's layout/style
traits (#412)
-------------------------------------------------------------------
Sat Dec 23 18:33:46 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 0.8.0
* Remove re-export of @anywidget/vite from main package (#398)
* Breaking change. If using our Vite plugin, please make sure to
install @anywidget/vite (rather than importing from anywidget
main package). This change allows us to version the Vite plugin
and anywidget's core separately.
// vite.config.mjs
import { defineConfig } from "vite";
-- import anywidget from "anywidget/vite";
++ import anywidget from "@anywidget/vite";
If you are already using @anywidget/vite, there are no changes
necessary.
-------------------------------------------------------------------
Sun Nov 26 15:22:49 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 0.7.1
* feat: Raise Python error when file is missing (#345)
-------------------------------------------------------------------
Sat Oct 14 08:48:18 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 0.7.0
* feat(experimental)!: Require include in _get_anywidget_state
signature (#317)
* Allows implementors to avoid re-serializing fields which aren't
needed to send to the front end. This is a BREAKING change
because it requires implementors of _get_anywidget_state to
account for include in the function signature.
-------------------------------------------------------------------
Sat Sep 23 16:38:24 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 0.6.5
* fix: disable auto-reloading in dist-packages (#276)
* When the package is located in dist-packages, auto-reloading is
now disabled. This prevents unnecessary warnings when the
package is used in environments like Google Colab which are
likely non-development installs.
- Release 0.6.4
* fix: Keep support for binary traitlets (#274)
* Uses structuredClone to ensure binary data is automatically
serialized, correctly. Applies changes reverted in ipywidgets
8.1.1.
-------------------------------------------------------------------
Mon Sep 4 02:51:32 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Initial release of 0.6.3.