Releases: pyapp-kit/psygnal
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
v0.9.5
What's Changed
- feat: better repr for WeakCallback objects by @tlambert03 in #236
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #239
- ci(dependabot): bump pypa/cibuildwheel from 2.15.0 to 2.16.1 by @dependabot in #238
- ci(dependabot): bump pypa/cibuildwheel from 2.16.1 to 2.16.2 by @dependabot in #240
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #242
- fix: fix py37 build by @tlambert03 in #243
- refactor: make EmitLoop error message clearer by @tlambert03 in #232
Full Changelog: v0.9.4...v0.9.5
v0.9.4
What's Changed
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #230
- ci(dependabot): bump actions/checkout from 3 to 4 by @dependabot in #231
- fix: emission of events from root validators and extraneous emission of dependent fields by @tlambert03 in #234
- perf: don't compare before/after values in evented dataclass/model when no signals connected by @tlambert03 in #235
- test: python 3.12 by @tlambert03 in #225
Full Changelog: v0.9.3...v0.9.4
v0.9.2
What's Changed
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #211
- ci(dependabot): bump pypa/cibuildwheel from 2.13.0 to 2.13.1 by @dependabot in #212
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #213
- fix: fix duplicated derived events by @tlambert03 in #216
- feat: support pydantic v2 by @tlambert03 in #214
- Fix imports of typing extensions by @tlambert03 in #221
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #219
- ci(dependabot): bump pypa/cibuildwheel from 2.13.1 to 2.14.1 by @dependabot in #218
- build: remove setuppy by @tlambert03 in #223
- ci: change concurrency by @tlambert03 in #224
- fix: add deepcopy method for mypyc support, don't copy weakly connected slots by @tlambert03 in #222
- ci: fix linux wheels by @tlambert03 in #226
Full Changelog: v0.9.1...v0.9.2
v0.9.1
What's Changed
- build: add test dep by @tlambert03 in #206
- ci(dependabot): bump pypa/cibuildwheel from 2.12.1 to 2.12.3 by @dependabot in #204
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #205
- ci(dependabot): bump pypa/cibuildwheel from 2.12.3 to 2.13.0 by @dependabot in #207
- fix: better error message with keyword only partials by @tlambert03 in #209
- feat: Support toolz by @tlambert03 in #210
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- ci(dependabot): bump actions/setup-python from 3 to 4 by @dependabot in #193
- build: add pyinstaller hook to simplify frozing apps using pyinstaller by @Czaki in #194
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #196
- ci(dependabot): bump pypa/cibuildwheel from 2.12.0 to 2.12.1 by @dependabot in #197
- feat: add thread parameter to connection method, allowed "queued connections" by @tlambert03 in #200
- chore: deprecate async keyword in emit method by @tlambert03 in #201
- ci(pre-commit.ci): autoupdate by @pre-commit-ci in #202
- docs: add docs on connecting across thread by @tlambert03 in #203
Full Changelog: v0.8.1...v0.9.0
v0.8.1
What's Changed
- fix: fix strict signal group checking when signatures aren't hashable by @tlambert03 in #192
- test: add back typesafety tests by @tlambert03 in #190
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
- refactor: use weakmethod instead of _get_method_name by @tlambert03 in #168
- ci: add codspeed benchmarks by @tlambert03 in #170
- fix: add getattr to signalgroup for typing by @tlambert03 in #174
- ci: add evented benchmark by @tlambert03 in #175
- feat: make SignalGroupDescriptor public by @tlambert03 in #173
- refactor: split out SlotCaller logic into new
weak_callable
module... maybe public eventually by @tlambert03 in #178 - fix: minor typing fixes on
connect
by @tlambert03 in #180 - docs: update evented docs to descript SignalGroupDescriptor by @tlambert03 in #179
- refactor: split out dataclass utils by @tlambert03 in #176
- docs: adding spellchecking to docs by @tlambert03 in #182
- refactor: remove PSYGNAL_UNCOMPILED flag. by @tlambert03 in #183
- docs: small docs updates, document EmissionLoopError by @tlambert03 in #184
- feat: improved
monitor_events
by @tlambert03 in #181 - test: no cover compile funcs by @tlambert03 in #185
- fix: fix inheritance of classes with a SignalGroupDescriptor by @tlambert03 in #186
- feat: compile throttler module, improve typing by @tlambert03 in #187
- refactor: change patching of setattr in SignalGroupDescriptor, make more explicit by @tlambert03 in #188
- ci: add dataclasses benchmarks by @tlambert03 in #189
Full Changelog: v0.7.2...v0.8.0
v0.8.0.rc1
What's Changed
- refactor: change patching of setattr in SignalGroupDescriptor, make more explicit by @tlambert03 in #188
Full Changelog: v0.8.0rc0...v0.8.0.rc1