Ocdskit

Latest version: v1.3.0

Safety actively analyzes 688924 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 10

1.3.0

------------------

Added
~~~~~

- :class:`ocdskit.schema.Field`: Add ``name``, ``deprecated_self``, ``pattern``, ``merge_by_id``.
- :func:`ocdskit.schema.get_schema_fields`:

- Add support for ``allOf``, ``anyOf``, ``oneOf``, ``then``, ``else``, ``$defs``.
- Add support for ``items`` within ``definitions``.
- Add support for ``patternProperties`` and ``items`` within ``items``.
- Add support for ``properties``, ``patternProperties`` and ``items`` within ``patternProperties``.

Changed
~~~~~~~

- :class:`ocdskit.schema.Field`: Rename ``definition_path`` to ``definition``.

Removed
~~~~~~~

- :func:`ocdskit.schema.get_schema_fields`: Remove support for ``null`` schema, which is invalid.
- :class:`ocdskit.schema.Field`:

- Remove ``definition_pointer``, ``definition_pointer_components``, ``definition_path_components``.
- Remove support for adding fields to ``__dict__``.

1.2.0

------------------

Changed
~~~~~~~

- Some arguments must be keyword arguments in:

- :func:`ocdskit.mapping_sheet.mapping_sheet`
- :func:`ocdskit.schema.add_validation_properties`
- :func:`ocdskit.util.iterencode`
- :func:`ocdskit.util.json_dump`
- :func:`ocdskit.util.json_dumps`

- Drop support for Python 3.8.

1.1.13

-------------------

Added
~~~~~

- :func:`ocdskit.combine.merge` accepts a ``convert_exceptions_to_warnings`` argument.

1.1.12

-------------------

Added
~~~~~

- :func:`ocdskit.combine.merge` accepts a ``force_version`` argument.

1.1.11

-------------------

Added
~~~~~

- :func:`ocdskit.combine.merge` accepts a ``ignore_version`` argument.

1.1.10

-------------------

Added
~~~~~

- :class:`ocdskit.util.Format` enumeration

Changed
~~~~~~~

- :func:`ocdskit.util.detect_format`: Detect empty packages that set metadata fields but not a ``releases`` or ``records`` field.

Page 1 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.