Psygnal

Latest version: v0.11.0

Safety actively analyzes 622248 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

0.11.0

What's Changed
* ci(dependabot): bump pypa/cibuildwheel from 2.16.5 to 2.17.0 by dependabot in https://github.com/pyapp-kit/psygnal/pull/303
* feat: add signal aliases on SignalGroup by getzze in https://github.com/pyapp-kit/psygnal/pull/299
* feat!: Rename `recursion_mode` to `reemission`. Rename `deferred` to `queued`. Add `latest-only` mode. (technically breaking) by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/296
* refactor: change EmitLoopError message, and mechanism of info gathering by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/302


**Full Changelog**: https://github.com/pyapp-kit/psygnal/compare/v0.10.2...v0.11.0

0.10.2

What's Changed
* fix: fix hard reference to objects in emitted arguments by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/301


**Full Changelog**: https://github.com/pyapp-kit/psygnal/compare/v0.10.1...v0.10.2

0.10.1

What's Changed
* chore: patch asv config to work locally with arm64 macos on hatchling by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/294
* A bit more consistent SignalGroup iter by getzze in https://github.com/pyapp-kit/psygnal/pull/289
* ci(dependabot): bump softprops/action-gh-release from 1 to 2 by dependabot in https://github.com/pyapp-kit/psygnal/pull/295
* feat: Add recursion_mode ('immediate' or 'deferred') to Signal and SignalInstance by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/293
* feat: add collect_fields option to SignalGroupDescriptor, and accept a SignalGroup subclass by getzze in https://github.com/pyapp-kit/psygnal/pull/291


**Full Changelog**: https://github.com/pyapp-kit/psygnal/compare/v0.10.0...v0.10.1

0.10.0

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:

python
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:

python
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 https://github.com/pyapp-kit/psygnal/pull/269 for details

What's Changed
* ci: use reusable ci workflow by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/241
* ci(dependabot): bump actions/upload-artifact from 3 to 4 by dependabot in https://github.com/pyapp-kit/psygnal/pull/249
* ci(dependabot): bump actions/setup-python from 4 to 5 by dependabot in https://github.com/pyapp-kit/psygnal/pull/248
* ci(pre-commit.ci): autoupdate by pre-commit-ci in https://github.com/pyapp-kit/psygnal/pull/247
* ci(dependabot): bump conda-incubator/setup-miniconda from 2 to 3 by dependabot in https://github.com/pyapp-kit/psygnal/pull/245
* ci(dependabot): bump CodSpeedHQ/action from 1 to 2 by dependabot in https://github.com/pyapp-kit/psygnal/pull/246
* fix: fix 3.7 build by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/250
* ci(pre-commit.ci): autoupdate by pre-commit-ci in https://github.com/pyapp-kit/psygnal/pull/251
* fix: add and fix copy operators by Czaki in https://github.com/pyapp-kit/psygnal/pull/255
* ci(dependabot): bump actions/cache from 3 to 4 by dependabot in https://github.com/pyapp-kit/psygnal/pull/253
* ci(dependabot): bump pypa/cibuildwheel from 2.16.2 to 2.16.4 by dependabot in https://github.com/pyapp-kit/psygnal/pull/256
* fix: fix connect_setattr on dataclass field signals by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/258
* feat: emit the old value as second argument in Signals from SignalGroupDescriptor (evented dataclass) by getzze in https://github.com/pyapp-kit/psygnal/pull/257
* Drop python 3.7 by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/268
* ci(dependabot): bump pypa/cibuildwheel from 2.16.4 to 2.16.5 by dependabot in https://github.com/pyapp-kit/psygnal/pull/263
* docs: Update README.md with `make build` by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/270
* ci: inherit secrets in reusable workflow by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/266
* ci(pre-commit.ci): autoupdate by pre-commit-ci in https://github.com/pyapp-kit/psygnal/pull/264
* chore: add future warning for maxargs in connect_setattr/setitem by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/259
* docs: Update README.md with evented containers by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/272
* refactor!: New SignalGroup that does not subclass SignalInstance by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/269

New Contributors
* getzze made their first contribution in https://github.com/pyapp-kit/psygnal/pull/257

**Full Changelog**: https://github.com/pyapp-kit/psygnal/compare/v0.9.5...v0.10.0rc0

0.10.0rc4

What's Changed
* test: test for recursion error by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/284
* fix: ensure proper order of signal emmision by Czaki in https://github.com/pyapp-kit/psygnal/pull/281
* refactor: Add back SignalGroup methods by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/286
* chore: use ruff format instead of black by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/287
* feat: add priority to connect, to control callback order by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/285
* chore: un-deprecate SignalGroup.signals by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/288


**Full Changelog**: https://github.com/pyapp-kit/psygnal/compare/v0.10.0rc3...v0.10.0rc4

0.10.0rc3

What's Changed
* perf: Fixing performance of evented set by Czaki in https://github.com/pyapp-kit/psygnal/pull/275
* perf: Delay SignalRelay connection to when a callback is connected by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/277
* perf: Do not use reducer if there is no callback in `SingalInstance.resume` by Czaki in https://github.com/pyapp-kit/psygnal/pull/278
* feat: deduplicate events emision in nested properties by Czaki in https://github.com/pyapp-kit/psygnal/pull/279
* refactor: Unify pydantic evented model modules by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/280
* chore: remove asynchronous emit and other deprecations by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/282
* feat: support for evented containers as pydantic v2 fields by tlambert03 in https://github.com/pyapp-kit/psygnal/pull/283


**Full Changelog**: https://github.com/pyapp-kit/psygnal/compare/v0.10.0rc2...v0.10.0rc3

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.