Marshmallow-sqlalchemy

Latest version: v1.1.0

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

Scan your dependencies

Page 1 of 10

1.1.0

++++++++++++++++++

Features:

* ``sqlalchemy.Enum`` fields generate a corresponding ``marshmallow.fields.Enum`` field
(:issue:`485`, :issue:`112`). Thanks :user:`panda-byte` for the PR.

Support:

* Drop support for marshmallow<=3.18.0.

1.0.0

+++++++++++++++++++

* Remove ``__version__`` attribute. Use feature detection or
``importlib.metadata.version("marshmallow-sqlalchemy")`` instead (:pr:`568`).
* Support marshmallow>=3.10.0 (:pr:`566`).
* Passing `info={"marshmallow": ...}` to SQLAlchemy columns is removed, as it is redundant with
the ``auto_field`` functionality (:pr:`567`).
* Remove ``packaging`` as a dependency (:pr:`566`).
* Support Python 3.12.

0.30.0

+++++++++++++++++++

Features:

* Use ``Session.get()`` load instances to improve deserialization performance (:pr:`548`).
Thanks :user:`zippolyte` for the PR.

Other changes:

* Drop support for Python 3.7, which is EOL (:pr:`540`).

0.29.0

+++++++++++++++++++

Features:

* Support SQLAlchemy 2.0 (:pr:`494`).
Thanks :user:`dependabot` for the PR.
* Enable (in tests) and fix SQLAlchemy 2.0 compatibility warnings (:pr:`493`).

Bug fixes:

* Use mapper ``.attrs`` rather than ``.get_property`` and ``.iterate_properties``
to ensure ``registry.configure`` is called (call removed in SQLAlchemy 2.0.2)
(:issue:`487`).
Thanks :user:`ddoyon92` for the PR.

Other changes:

* Drop support for SQLAlchemy 1.3, which is EOL (:pr:`493`).

0.28.2

+++++++++++++++++++

Bug fixes:

* Use .scalar_subquery() for SQLAlchemy>1.4 to suppress a warning (:issue:`459`).
Thanks :user:`indiVar0508` for the PR.

Other changes:

* Lock SQLAlchemy<2.0 in setup.py. SQLAlchemy 2.x is not supported (:pr:`486`).
* Test against Python 3.11 (:pr:`486`).

0.28.1

+++++++++++++++++++

Bug fixes:

* Address ``DeprecationWarning`` re: usage of ``distutils`` (:pr:`435`).
Thanks :user:`Tenzer` for the PR.

Page 1 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.