Marshmallow-jsonapi

Latest version: v0.24.0

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

Scan your dependencies

Page 3 of 7

0.20.1

===================

Bug fixes:

* Fix deserializing ``missing`` with a `Relationship` field (:issue:`130`).
Thanks :user:`kumy` for the catch and patch.

0.20.0

===================

Bug fixes:

* Fix serialization of ``id`` for ``Relationship`` fields when
``attribute`` is set (:issue:`69`). Thanks :user:`jordal` for
reporting and thanks :user:`scottwernervt` for the fix.

Note: The above fix could break some code that set
``Relationship.id_field`` before instantiating it.
Set ``Relationship.default_id_field`` instead.

.. code-block:: python


before
fields.Relationship.id_field = "item_id"

after
fields.Relationship.default_id_field = "item_id"


Support:

* Test refactoring and various doc improvements (:issue:`63`, :issue:`86`,
:issue:`121,` and :issue:`122`). Thanks :user:`scottwernervt`.

0.19.0

===================

Features:

* Schemas passed to ``fields.Relationship`` will inherit context from
the parent schema (:issue:`84`). Thanks :user:`asteinlein` and
:user:`scottwernervt` for the PRs.

0.18.0

===================

Features:

* Add ``fields.ResourceMeta`` for serializing a resource-level meta
object (:issue:`107`). Thanks :user:`scottwernervt`.

Other changes:

* *Backwards-incompatible*: Drop official support for Python 3.4.

0.17.0

===================

Features:

* Add support for marshmallow 3 (:issue:`97`). Thanks :user:`rockmnew`.
* Thanks :user:`mdodsworth` for helping with :issue:`101`.
* Move meta information object to document top level (:issue:`95`). Thanks :user:`scottwernervt`.

0.16.0

===================

Features:

* Add support for exluding or including nested fields on relationships
(:issue:`94`). Thanks :user:`scottwernervt` for the PR.

Other changes:

* *Backwards-incompatible*: Drop support for marshmallow<2.8.0

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.