Skip to content

Releases: pyapp-kit/psygnal

v0.3.2

14 Feb 13:17
Compare
Choose a tag to compare

v0.3.0

10 Feb 16:48
Compare
Choose a tag to compare

sizable feature release including:

  • SignalGroup - (allows connecting to or blocking all signals in a group)
  • EventedList, EventedSet, and EventedOrderedSet objects: psygnal-backed variants of the ones in napari, making it easier to reuse these things outside of napari... and probably improving performance a bit since they are cython-compiled
  • EventedObjectProxy - an experimental (but reasonably well tested) proxy object that emits events when attributes are set/deleted, items are set/deleted, or inplace operations are used (like += ).

v0.2.0

08 Nov 00:25
Compare
Choose a tag to compare

This release adds a number of performance improvements, and safety improvements around holding strong references to connected objects. Thanks a bunch to @Czaki for his many contributions to this release.

  • better handing of partial methods (connect(partial(obj.method)))
  • better handling of poorly decorated methods
  • new connect_setattr convenience (similar to connect(partial(setattr, obj, name)) but with weakref on obj)

also:

  • hashable objects (like MutableMapping) can now have signals
  • set PSYGNAL_UNCOMPILED env var to always run in uncompiled mode (for better debugging)

This release also establishes benchmarks over the lifetime of psygnal to ensure that performance is a top priority.

full changelog

v0.1.4

17 Oct 20:05
Compare
Choose a tag to compare

Adds the .pause()/.resume() methods and .paused() context manager to SignalInstance, allowing accumulation/buffering of signals.

Also adds support for python 3.10

Full Changelog

v0.1.3

01 Oct 13:22
Compare
Choose a tag to compare
v0.1.3