.. _deprecated: Deprecated code suggestions =========================== .. list-table:: :header-rows: 1 * - **Target** - **Deprecation** - **Removal** - **Alternatives** * - ``get_system_state()`` method - v0.12.0 - June 2024 - See :ref:`New SystemStatus` * - ``SystemState`` namedtuple - v0.12.0 - June 2024 - See :ref:`New SystemStatus` * - ``SystemStatusOld`` enum - v0.12.0 - June 2024 - See :ref:`New SystemStatus` * - ``get_sequencer_state()`` method - v0.12.0 - June 2024 - See :ref:`New SequencerStatus` * - ``get_acquisition_state()`` method - v0.12.0 - June 2024 - See :ref:`New SequencerStatus` * - ``SequencerState`` namedtuple - v0.12.0 - June 2024 - See :ref:`New SequencerStatus` * - ``SequencerStatusOld`` enum - v0.12.0 - June 2024 - See :ref:`New SequencerStatus` .. note:: Deprecated features will be removed in the first release after this specified date. Until then, support for these features is guaranteed. .. _New SystemStatus: New System Status -------------------- In v0.12.0, ``SystemStatus`` has changed from an enum to a namedtuple composed of ``SystemStatuses``, ``SystemStatusFlags`` and ``SystemStatusSlotFlags`` enums. The old ``SystemStatus`` enum was kept as ``SystemStatusOld`` enum for backwards compatibility till removal, but can be replaced with ``SystemStatuses`` enum. The ``SystemState`` namedtuple should be replaced by new ``SystemStatus`` namedtuple. The method ``get_system_state()`` should be replaced by ``get_system_status()``. .. _New SequencerStatus: New Sequencer Status -------------------- In v0.12.0, ``SequencerStatus`` changed from an enum to a namedtuple composed of ``SequencerStatuses``, ``SequencerStates`` and ``log``, ``info``, ``warning``, ``error`` lists of ``SequencerStatusFlags`` enums. The old ``SequencerStatus`` enum was kept as ``SequencerStatusOld`` enum for backwards compatibility till removal, but can be replaced with ``SequencerStates`` enum. The ``SequencerState`` namedtuple should be replaced by the new ``SequencerStatus`` namedtuple. The method ``get_sequencer_state()`` should be replaced with ``get_sequencer_status()``, and ``get_acquisition_state()`` with ``get_acquisition_status()``.