Skip to content

fix(deps): update dependency fastcs to v0.12.0#49

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/fastcs-0.x
Open

fix(deps): update dependency fastcs to v0.12.0#49
renovate[bot] wants to merge 1 commit intomainfrom
renovate/fastcs-0.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 8, 2026

This PR contains the following updates:

Package Change Age Confidence
fastcs ==0.12.0a1==0.12.0 age confidence

Release Notes

DiamondLightSource/fastcs (fastcs)

v0.12.0

Compare Source

Breaking Changes

  • EpicsCAIOC options parameter removed - The options parameter has been removed from EpicsCAIOC(pv_prefix, controller_api, options=...)
    • Pass EPICS options via the transport config instead.
  • AttrR.update() validates before calling callbacks - If validation fails, an error is logged and the value is not updated.
  • DATATYPE_DTYPES removed - Replaced by the DType union.
    • use DType instead.
  • bind_logger removed from public API - bind_logger has been removed
    • from fastcs.logging import bind_logger; bind_logger(...) -> from fastcs.logging import logger
  • ControllerVector is now generic on Controller_T
    • ControllerVector must now be parameterised with a specific Controller
  • add_on_update_callback(always=False) - always flag added to AttrR.add_on_update_callback to let callbacks fire even when the value hasn't changed. The default is now to not fire the callback if the value has not changed, the previous behaviour was always=True.

Fixes

  • AttrRW setpoint callbacks called with validated value - Sync setpoint callbacks in AttrRW now receive self._value (the validated value) rather than the raw input.
  • 2D+ Waveforms skipped in EPICS CA - Multi-dimensional waveforms are skipped (with a warning) in the EPICS CA transport rather than raising an error. This allows serving 2D waveforms in PVA alongside CA.

New Features

  • AttrR.wait_for_value / wait_for_predicate - New async methods on AttrR to block until an attribute reaches a target value or satisfies a custom predicate, with a timeout.
  • DataType.equal / DataType.all_equal - Static helper methods on all DataType subclasses to compare values correctly (e.g. using np.array_equal for array types).
  • DType union type - Replaces the old DATATYPE_DTYPES tuple. DType is a proper union type alias; DType_T is now TypeVar("DType_T", bound=DType).
  • Improved scan task handling / reconnect - Scan tasks are now paused on exception and can be restarted with Controller.reconnect, rather than requiring restarting the entire application.
    • Note: To make use of this overridden Controller.connect methods must now set self._connected = True, and Controller.reconnect should be implemented to restore the connection for scan tasks - by default reconnect will just start the scan tasks again
    • reconnect() can be called in the interactive shell, or a driver can implement a @scan method that checks for disconnect and automatically handles reconnection.
  • Logger uses file path and line numbers - Log messages now include source file path and line number for easier debugging.

Other

  • Package rename: FastCSfastcs

What's Changed

New Contributors

Full Changelog: DiamondLightSource/fastcs@0.11.3...0.12.0

v0.12.0a2

Compare Source

What's Changed

New Contributors

Full Changelog: DiamondLightSource/fastcs@0.12.0a1...0.12.0a2


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/fastcs-0.x branch from dfac3bf to 50313c4 Compare March 14, 2026 21:59
@renovate renovate bot changed the title fix(deps): update dependency fastcs to v0.12.0a2 fix(deps): update dependency fastcs to v0.12.0 Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants