.. _chg__0_15__0_16: 0.15.x → 0.16.x =============== Add each change under the matching section below as it lands, and name the migration's ``unique_id`` wherever a breaking schema change ships one (see :ref:`migrations_reference`). Remove the sections that stay empty before the release. Breaking — YAML schema ---------------------- * ``J1939Frame`` names must be unique within a :class:`~flync.model.flync_4_bus.can_bus.CANBus`. A J1939 frame is addressed by name (``J1939FrameRef.frame_ref``), so a bus that declares two J1939 frames with the same ``name`` no longer loads (``FLYNC-BUS-MAJ-UNIQ-426``); previously the later frame silently shadowed the earlier one. Rename one of the frames. Classical ``CANFrame`` / ``CANFDFrame`` names remain free-form. * ``J1939FrameRef`` (``j1939_sender_frames`` / ``j1939_receiver_frames``) addresses its frame by ``frame_ref`` (the frame name) and/or ``can_id`` (the full on-bus CAN identifier, Source Address in its low byte) instead of ``pgn``. A J1939 reference resolves by name or identifier, so a bus may carry several J1939 frames that share a Parameter Group Number, and a bus reached by a J1939 node may also carry classical CAN frames. .. code-block:: yaml # before j1939_sender_frames: - pgn: 61441 # after j1939_sender_frames: - frame_ref: Frame_EBC1 **Migrated** by ``v0_15_to_0_16``: ``pgn`` is replaced with the name of the J1939 frame with that PGN on the interface's bus, which 0.15 kept unique. A ``pgn`` that names no frame is left unchanged and a warning is logged. Additive — YAML schema ---------------------- Namespaces for PDUs and SOME/IP ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``communication/someip/services`` and ``communication/channels/pdus`` accept sub-folders. A service or PDU in a sub-folder is named ``::`` (nested folders join, e.g. ``abc::def::``); one stored directly in the folder keeps its name. Reference a namespaced PDU by its qualified name in ``pdu_ref``. New field: ``lite`` on MII ~~~~~~~~~~~~~~~~~~~~~~~~~~ :class:`~flync.model.flync_4_ecu.mii.MII` gained ``lite`` (default ``false``) for MII-Lite, which drops TX_ER, RX_ER, CRS and COL and so carries full duplex only. New validation: ``FLYNC-CMN-WARN-COMP-431`` and ``FLYNC-CMN-MAJ-CONS-432``, see :doc:`../error_catalog`. New xMII type: QSGMII ~~~~~~~~~~~~~~~~~~~~~ ``mii_config`` on :class:`~flync.model.flync_4_ecu.port.ECUPort`, :class:`~flync.model.flync_4_ecu.switch.SwitchPort` and :class:`~flync.model.flync_4_ecu.controller.EthernetInterfaceConfig` also accepts :class:`~flync.model.flync_4_ecu.mii.QSGMII` (``type: qsgmii``), four 10/100/1000 Mbps channels over one serial link, without a Packet Control Header. It is also accepted as a port extender uplink, including a channelized one. New validation: ``FLYNC-ECU-MAJ-VAL-428`` to ``FLYNC-ECU-MAJ-VAL-430``, see :doc:`../error_catalog`. Breaking — Python API --------------------- Deprecated — Python API ----------------------- Additive — Python API ---------------------