Changelog#

Unreleased#

Changed#

  • DeviceMap raises ValueError for 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_logic and StandardFlyable.flyable_logic are replaced by one logic property. A Device that moves and flies has one logic inheriting both MovableLogic and FlyableLogic; for an ephemeral flyer use FlyableLogic.with_device().

  • FlyableLogic hooks are replaced (defining an old one raises TypeError naming its replacement):

    • on_prepare(value) becomes prepare_to_fly(name, value, previous_ctx), an async generator yielding its context first.

    • on_kickoff(ctx) and on_complete(ctx) become one fly(ctx), an async generator yielding KICKED_OFF once up to speed.

    • stop() becomes ensure_stopped(), which must wait until the hardware has stopped, and on_stage() becomes ensure_ready().

  • MovableLogic.stop() becomes ensure_stopped(); the old name warns.

  • A flyer, including SimMotor, must be staged before prepare(); a verb called out of order raises TransitionError. Wrap bp.fly in bpp.stage_wrapper.

  • Staging an already-staged Standard device raises TransitionError.

  • A set() ended by stop() or a new set() raises StoppedError.

  • Renamed MotorFlyCtx to MotorPrepareCtx, PmacFlyCtx/PmacPrepareContext to PmacPrepareCtx, and SimMotorMoveLogic to SimMotorLogic.

  • Motor.unstage() always writes .STOP and waits for .DMOV.

Added#

  • watch_readback() reports move progress from a FlyableLogic hook; SimMotor.prepare() and complete() now report progress.

Fixed#

  • unstage() cancels a running prepare() 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’s plugins; "proc" is now reserved, pass proc_suffix instead.

Changed#

  • Breaking: WatchableAsyncStatus accepts only async generators.

Fixed#

  • add_children_as_readables() keeps declaration order, so hints, read() and describe() no longer vary between runs.