Upgrading pluggy 0.4 to 0.5
Breaking0.4.0 → 0.5.2Breaking1Deprecated1New2Changed3Fixed4Other5
BreakingUpgrade verdict
1 breaking change.
In plain terms
- You can no longer register arbitrary callable objects as hook implementations; only real functions work.
- The __multicall__ mechanism is deprecated in favor of a faster internal call loop.
Must act 2 items need code or config changes
What you must change
Breaking1
Considers only actual functions for hooks, removing the ability to register arbitrary callable objects.
Deprecations to plan for
Deprecated1
Deprecates __multicall__ and adds a faster call loop implementation.
__multicall__