Note the mjs parsing error in the changelog.

PiperOrigin-RevId: 792336077
Change-Id: I09cd2eb310c6e2bc74051419f6d69f5db1081cec
This commit is contained in:
Alessio Quaglino
2025-08-07 15:39:26 -07:00
committed by Copybara-Service
parent 45476483f6
commit 92d77819fd
+2 -1
View File
@@ -58,7 +58,8 @@ Version 3.3.4 (July 8, 2025)
2. The Python functions ``element.delete`` have been replaced by ``spec.delete(element)``.
3. In the mjSpec C API, directly setting an element's name using :ref:`mjs_setString` has been replaced with a new
function :ref:`mjs_setName` which allows checking for naming collisions at set-time rather than compile-time, for
earlier catching of errors. Relatedly, the ``name`` attribute has been removed from all mjs elements.
earlier catching of errors. Relatedly, the ``name`` attribute has been removed from all mjs elements. Known issue:
the error is not raised during parsing.
4. For MJX, the ``mjx.Option`` dataclass now has private and public fields similar to ``mjx.Model`` and
``mjx.Data``. Some fields are no longer publicly available due to differences in the
underlying implementations of this data structure.