Releases: pyapp-kit/psygnal
v0.11.1
What's Changed
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #305
- perf: let EventedSet use clear() method of underlying set by @DanGonite57 in #307
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #308
New Contributors
- @DanGonite57 made their first contribution in #307
Full Changelog: v0.11.0...v0.11.1
v0.11.0
What's Changed
- ci(dependabot): bump pypa/cibuildwheel from 2.16.5 to 2.17.0 by @dependabot in #303
- feat: add signal aliases on SignalGroup by @getzze in #299
- feat!: Rename
recursion_mode
toreemission
. Renamedeferred
toqueued
. Addlatest-only
mode. (technically breaking) by @tlambert03 in #296 - refactor: change EmitLoopError message, and mechanism of info gathering by @tlambert03 in #302
Full Changelog: v0.10.2...v0.11.0
v0.10.2
What's Changed
- fix: fix hard reference to objects in emitted arguments by @tlambert03 in #301
Full Changelog: v0.10.1...v0.10.2
v0.10.1
What's Changed
- chore: patch asv config to work locally with arm64 macos on hatchling by @tlambert03 in #294
- A bit more consistent SignalGroup iter by @getzze in #289
- ci(dependabot): bump softprops/action-gh-release from 1 to 2 by @dependabot in #295
- feat: Add recursion_mode ('immediate' or 'deferred') to Signal and SignalInstance by @tlambert03 in #293
- feat: add collect_fields option to SignalGroupDescriptor, and accept a SignalGroup subclass by @getzze in #291
Full Changelog: v0.10.0...v0.10.1
v0.10.0rc4
What's Changed
- test: test for recursion error by @tlambert03 in #284
- fix: ensure proper order of signal emmision by @Czaki in #281
- refactor: Add back SignalGroup methods by @tlambert03 in #286
- chore: use ruff format instead of black by @tlambert03 in #287
- feat: add priority to connect, to control callback order by @tlambert03 in #285
- chore: un-deprecate SignalGroup.signals by @tlambert03 in #288
Full Changelog: v0.10.0rc3...v0.10.0rc4
v0.10.0
What's Changed
- ci: use reusable ci workflow by @tlambert03 in #241
- ci(dependabot): bump actions/upload-artifact from 3 to 4 by @dependabot in #249
- ci(dependabot): bump actions/setup-python from 4 to 5 by @dependabot in #248
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #247
- ci(dependabot): bump conda-incubator/setup-miniconda from 2 to 3 by @dependabot in #245
- ci(dependabot): bump CodSpeedHQ/action from 1 to 2 by @dependabot in #246
- fix: fix 3.7 build by @tlambert03 in #250
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #251
- fix: add and fix copy operators by @Czaki in #255
- ci(dependabot): bump actions/cache from 3 to 4 by @dependabot in #253
- ci(dependabot): bump pypa/cibuildwheel from 2.16.2 to 2.16.4 by @dependabot in #256
- fix: fix connect_setattr on dataclass field signals by @tlambert03 in #258
- feat: emit the old value as second argument in Signals from SignalGroupDescriptor (evented dataclass) by @getzze in #257
- build: Drop python 3.7 by @tlambert03 in #268
- ci(dependabot): bump pypa/cibuildwheel from 2.16.4 to 2.16.5 by @dependabot in #263
- docs: Update README.md with
make build
by @tlambert03 in #270 - ci: inherit secrets in reusable workflow by @tlambert03 in #266
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #264
- chore: add future warning for maxargs in connect_setattr/setitem by @tlambert03 in #259
- docs: Update README.md with evented containers by @tlambert03 in #272
- refactor!: New SignalGroup that does not subclass SignalInstance by @tlambert03 in #269
- build: remove all dependencies by @tlambert03 in #273
- perf: Fixing performance of evented set by @Czaki in #275
- perf: Delay SignalRelay connection to when a callback is connected by @tlambert03 in #277
- perf: Do not use reducer if there is no callback in
SignalInstance.resume
by @Czaki in #278 - feat: deduplicate events emission in nested properties by @Czaki in #279
- refactor: Unify pydantic evented model modules by @tlambert03 in #280
- chore: remove asynchronous emit and other deprecations by @tlambert03 in #282
- feat: support for evented containers as pydantic v2 fields by @tlambert03 in #283
- test: test for recursion error by @tlambert03 in #284
- fix: ensure proper order of signal emmision by @Czaki in #281
- refactor: Add back SignalGroup methods by @tlambert03 in #286
- chore: use ruff format instead of black by @tlambert03 in #287
- feat: add priority to connect, to control callback order by @tlambert03 in #285
- chore: un-deprecate SignalGroup.signals by @tlambert03 in #288
New Contributors
Full Changelog: v0.9.5...v0.10.0
v0.10.0rc3
What's Changed
- perf: Fixing performance of evented set by @Czaki in #275
- perf: Delay SignalRelay connection to when a callback is connected by @tlambert03 in #277
- perf: Do not use reducer if there is no callback in
SingalInstance.resume
by @Czaki in #278 - feat: deduplicate events emision in nested properties by @Czaki in #279
- refactor: Unify pydantic evented model modules by @tlambert03 in #280
- chore: remove asynchronous emit and other deprecations by @tlambert03 in #282
- feat: support for evented containers as pydantic v2 fields by @tlambert03 in #283
Full Changelog: v0.10.0rc2...v0.10.0rc3
v0.10.0rc2
Full Changelog: v0.10.0rc1...v0.10.0rc2
just fixing the ci wheel building
v0.10.0rc1
What's Changed
- build: remove all dependencies by @tlambert03 in #273
Full Changelog: v0.10.0rc0...v0.10.0rc1
v0.10.0rc0
- drops support for python 3.7
v0.10.0 brings an important fix and breaking change to the way SignalGroups work (SignalGroups are collections of signals and are used in both EventedModel and evented dataclasses)
Before v0.10.0, SignalGroup
was a subclass of SignalInstance
, meaning that if you wanted to connect to all signals on a group (let's call the group "events
"), then you would directly use the SignalInstance attributes on the group:
# OLD way:
events = SomeSignalGroup()
# connect a callback to any signal emitted in the group
events.connect(on_any_event)
in v0.10.0 and beyond, you must use the "all"
attribute to connect, disconnect, or otherwise interact with the aggregate signal instance:
# NEW way:
events = SomeSignalGroup()
# connect a callback to any signal emitted in the group
events.all.connect(on_any_event)
All of the old names inherited from SignalInstance are still accessible for now, with a deprecation warning. But you should migrate your code, as direct access (like events.connect
) will be an AttributeError
in v0.11
See #269 for details
What's Changed
- ci: use reusable ci workflow by @tlambert03 in #241
- ci(dependabot): bump actions/upload-artifact from 3 to 4 by @dependabot in #249
- ci(dependabot): bump actions/setup-python from 4 to 5 by @dependabot in #248
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #247
- ci(dependabot): bump conda-incubator/setup-miniconda from 2 to 3 by @dependabot in #245
- ci(dependabot): bump CodSpeedHQ/action from 1 to 2 by @dependabot in #246
- fix: fix 3.7 build by @tlambert03 in #250
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #251
- fix: add and fix copy operators by @Czaki in #255
- ci(dependabot): bump actions/cache from 3 to 4 by @dependabot in #253
- ci(dependabot): bump pypa/cibuildwheel from 2.16.2 to 2.16.4 by @dependabot in #256
- fix: fix connect_setattr on dataclass field signals by @tlambert03 in #258
- feat: emit the old value as second argument in Signals from SignalGroupDescriptor (evented dataclass) by @getzze in #257
- Drop python 3.7 by @tlambert03 in #268
- ci(dependabot): bump pypa/cibuildwheel from 2.16.4 to 2.16.5 by @dependabot in #263
- docs: Update README.md with
make build
by @tlambert03 in #270 - ci: inherit secrets in reusable workflow by @tlambert03 in #266
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #264
- chore: add future warning for maxargs in connect_setattr/setitem by @tlambert03 in #259
- docs: Update README.md with evented containers by @tlambert03 in #272
- refactor!: New SignalGroup that does not subclass SignalInstance by @tlambert03 in #269
New Contributors
Full Changelog: v0.9.5...v0.10.0rc0