Changelog#
Unreleased#
Changed#
DeviceMapraisesValueErrorfor a key containing.or:, as the path of a child must stay unique and splittable.
[0.22.0] - 2026-12-01#
Breaking changes#
StandardMovable.movable_logicandStandardFlyable.flyable_logicare replaced by onelogicproperty. A Device that moves and flies has one logic inheriting bothMovableLogicandFlyableLogic; for an ephemeral flyer useFlyableLogic.with_device().FlyableLogichooks are replaced (defining an old one raisesTypeErrornaming its replacement):on_prepare(value)becomesprepare_to_fly(name, value, previous_ctx), an async generator yielding its context first.on_kickoff(ctx)andon_complete(ctx)become onefly(ctx), an async generator yieldingKICKED_OFFonce up to speed.stop()becomesensure_stopped(), which must wait until the hardware has stopped, andon_stage()becomesensure_ready().
MovableLogic.stop()becomesensure_stopped(); the old name warns.A flyer, including
SimMotor, must be staged beforeprepare(); a verb called out of order raisesTransitionError. Wrapbp.flyinbpp.stage_wrapper.Staging an already-staged Standard device raises
TransitionError.A
set()ended bystop()or a newset()raisesStoppedError.Renamed
MotorFlyCtxtoMotorPrepareCtx,PmacFlyCtx/PmacPrepareContexttoPmacPrepareCtx, andSimMotorMoveLogictoSimMotorLogic.Motor.unstage()always writes.STOPand waits for.DMOV.
Added#
watch_readback()reports move progress from aFlyableLogichook;SimMotor.prepare()andcomplete()now report progress.
Fixed#
unstage()cancels a runningprepare()or fly, so nothing it started is left running.A failed or cancelled
prepare()stops the move to the run-up start.
[0.21.6] - 2026-11-30#
Added#
cancel_and_wait()cancels tasks and waits for all of them to end.plugins_with_proc()adds the process plugin to a detector’splugins;"proc"is now reserved, passproc_suffixinstead.
Changed#
Breaking:
WatchableAsyncStatusaccepts only async generators.
Fixed#
add_children_as_readables()keeps declaration order, sohints,read()anddescribe()no longer vary between runs.