Skip to content

Releases: pyapp-kit/psygnal

v0.11.1

07 May 00:17
5673adf
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.11.0...v0.11.1

v0.11.0

29 Mar 03:19
c4c83b2
Compare
Choose a tag to compare

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 to reemission. Rename deferred to queued. Add latest-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

12 Mar 21:36
82a4e87
Compare
Choose a tag to compare

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

11 Mar 19:39
3e45ba1
Compare
Choose a tag to compare

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

05 Mar 14:01
025104e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.10.0rc3...v0.10.0rc4

v0.10.0

05 Mar 23:47
f4ac7c3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.9.5...v0.10.0

v0.10.0rc3

24 Feb 16:37
Compare
Choose a tag to compare

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

18 Feb 20:21
Compare
Choose a tag to compare
v0.10.0rc2 Pre-release
Pre-release

Full Changelog: v0.10.0rc1...v0.10.0rc2

just fixing the ci wheel building

v0.10.0rc1

17 Feb 18:21
190a316
Compare
Choose a tag to compare
v0.10.0rc1 Pre-release
Pre-release

What's Changed

Full Changelog: v0.10.0rc0...v0.10.0rc1

v0.10.0rc0

16 Feb 15:00
bb9611d
Compare
Choose a tag to compare
v0.10.0rc0 Pre-release
Pre-release
  • 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

New Contributors

Full Changelog: v0.9.5...v0.10.0rc0