Skip to content

Releases: hanjinliu/magic-class

v0.7.11

13 Jun 01:55
980c780
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.10...v0.7.11

v0.7.10

14 Mar 12:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.9...v0.7.10

v0.7.9

03 Mar 15:19
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.8...v0.7.9

v0.7.8

09 Feb 06:19
Compare
Choose a tag to compare

What's Changed

  • Implement serialize/deserialize by @hanjinliu in #134
  • Implement _repr_png_ for tool buttons.
  • Update logger's print_table.

Full Changelog: v0.7.7...v0.7.8

v0.7.7

26 Dec 05:04
Compare
Choose a tag to compare
  • Warn if widgets are added to a magic class as a class variable (#130).
  • Fix using same magic classes in fields (#132).
  • Migrate to mkdocs (#133).
  • Fix tooltips of tool buttons.
  • Assign "Esc" to close magicgui dialogs.

v0.7.6

31 Oct 08:34
Compare
Choose a tag to compare

Changes

  • Support python 3.12 (#123) and magicgui 0.8.0 (#127).
  • Implement location= argument for the consistent way of parent/child connection (#125).
  • Support iconify icons, following the latest update in magicgui (#126).
  • Hold children classes as a WeakSet.

Bug Fixes

  • Fix connect_async behavior (#118).
  • Fix callback searching strategy (#119).

Deprecations

  • dataclass_gui is deprecated because it is not well tested and magicgui's guiclass does the similar thing.
  • Magic classes' cls.field / cls.vfield methods are deprecated in favor of location argument of field / vfield functions.
  • Using Qt standard icons are deprecated in favor of using iconify.

v0.7.5

25 Aug 09:57
Compare
Choose a tag to compare

New Features

  • Add methods to temporarily convert GUI error mode (#111).
  • Simple scrollable, collapsible, resizable and draggable container creation by boxification (#112).
  • Support nested thread_worker (#114).
  • Implement connect_async for async callbacks of value widgets (#117).
  • Support "validator" key in Annotated.

Bug Fixes

  • Fix typing (#106, #107).
  • Fix callback searching strategy (#116).

v0.7.4

12 Jul 07:30
Compare
Choose a tag to compare

Changes

  • More menus in matplotlib figures.
  • Support positional-only arguments in methods.
  • More VSCode-like behavior of CodeEdit widget.
  • Don't launch message box if method calls are cancelled.
  • Close magicgui before function call.
  • Add OneLineRunner widget.
  • Support python 3.8 again.

Bug Fixes

  • Fix copying in polars viewer widget.
  • Fix do_not_record not considered in functions appended after GUI construction.
  • Fix repeat_method behavior.
  • Fix some thread unsafety.

v0.7.3

30 May 03:20
Compare
Choose a tag to compare

Bug Fixes

  • Fix pyproject.toml to include "testing" and "*.pyi".
  • Fix pyproject.toml to exclude unrelated files.

v0.7.1

29 May 04:12
Compare
Choose a tag to compare

New Features

  • Add testing submodule (#99).
  • Implement ColormapEdit (#100).
  • More arguments in repeat_method.
  • Support key combo in bind_key.

Bug Fixes

  • Fix label not considered in UnionWidget.
  • Fix with_choices annotation.
  • Fix copy/save of images in logger widgets.
  • Fix matplotlib default paramters in logger widgets.
  • Fix error catching architecture of thread_worker.
  • Fix color getter/setter of pyqtgraph scatter plot and histogram.
  • Fix repr of undo stack.

Changes

  • Drop python 3.8.