Releases: pyapp-kit/psygnal
Releases · pyapp-kit/psygnal
v0.3.2
What's Changed
- generate gh release in CI by @tlambert03 in https://github.com/tlambert03/psygnal/pull/68
- work with older cython by @tlambert03 in https://github.com/tlambert03/psygnal/pull/67
Full Changelog: tlambert03/psygnal@v0.3.1...v0.3.2
v0.3.0
sizable feature release including:
SignalGroup
- (allows connecting to or blocking all signals in a group)EventedList
,EventedSet
, andEventedOrderedSet
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-compiledEventedObjectProxy
- 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
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 toconnect(partial(setattr, obj, name))
but with weakref onobj
)
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.
v0.1.4
Adds the .pause()
/.resume()
methods and .paused()
context manager to SignalInstance
, allowing accumulation/buffering of signals.
Also adds support for python 3.10
v0.1.3
v0.1.3