Sqlathanor

Latest version: v0.7.0

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

Scan your dependencies

Page 1 of 2

0.7.0

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

.. image:: https://travis-ci.com/insightindustry/sqlathanor.svg?branch=v.0.7.0
:target: https://travis-ci.com/insightindustry/sqlathanor
:alt: Build Status (Travis CI)

.. image:: https://codecov.io/gh/insightindustry/sqlathanor/branch/v.0.7.0/graph/badge.svg
:target: https://codecov.io/gh/insightindustry/sqlathanor
:alt: Code Coverage Status (Codecov)

.. image:: https://readthedocs.org/projects/sqlathanor/badge/?version=v.0.7.0
:target: http://sqlathanor.readthedocs.io/en/latest/?badge=v.0.7.0
:alt: Documentation Status (ReadTheDocs)

Bug Fixes
-----------------

* Fixed a typo in the documentation (thanks, timmy224!)

Other Changes
------------------

* Significant performance improvement through the introduction of a heap cache (thanks,
digitalkaoz!)
* Added contributors list.

-----------

0.6.0

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

.. image:: https://travis-ci.com/insightindustry/sqlathanor.svg?branch=v.0.6.0
:target: https://travis-ci.com/insightindustry/sqlathanor
:alt: Build Status (Travis CI)

.. image:: https://codecov.io/gh/insightindustry/sqlathanor/branch/v.0.6.0/graph/badge.svg
:target: https://codecov.io/gh/insightindustry/sqlathanor
:alt: Code Coverage Status (Codecov)

.. image:: https://readthedocs.org/projects/sqlathanor/badge/?version=v.0.6.0
:target: http://sqlathanor.readthedocs.io/en/latest/?badge=v.0.6.0
:alt: Documentation Status (ReadTheDocs)

Bug Fixes
-----------------

* 87: Fixed a longstanding bug that prevented one-to-one relationships from being
deserialized properly.

Other Changes
------------------

* 89: Implemented support for ``display_name`` on relationships.
* Updated test matrix to maintain test compability in the Python 3.4 environment.

-----------

0.5.1

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

.. image:: https://travis-ci.com/insightindustry/sqlathanor.svg?branch=v.0.5.1
:target: https://travis-ci.com/insightindustry/sqlathanor
:alt: Build Status (Travis CI)

.. image:: https://codecov.io/gh/insightindustry/sqlathanor/branch/v.0.5.1/graph/badge.svg
:target: https://codecov.io/gh/insightindustry/sqlathanor
:alt: Code Coverage Status (Codecov)

.. image:: https://readthedocs.org/projects/sqlathanor/badge/?version=v.0.5.1
:target: http://sqlathanor.readthedocs.io/en/latest/?badge=v.0.5.1
:alt: Documentation Status (ReadTheDocs)

Bug Fixes
-----------------

* 80: Revised how the default deserializer functions for ``datetime.timedelta``
and ``datetime.datetime`` objects functions. When deserializing either, the
default deserializer now starts by attempting to coerce the value to a
``datetime.timedelta`` using the Validator Collection ``timedelta()`` validator
function, which supports the expression of amounts of time as both integers (e.g.
``23 seconds``) and strings (e.g. ``00:00:23``). If the object cannot be
converted to a ``timedelta`` (if it is a complete / proper datetime with both
a time and date value), the default deserializer will then revert to returning
a ``datetime.datetime`` object.
* 82: Revised the minimum version needed for the Validator Collection library
to resolve a bug in iterable serialization/deserialization.

Other Changes
------------------

* 84: Added Python 3.8 to test matrix.

-----------

0.5.0

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

.. image:: https://travis-ci.com/insightindustry/sqlathanor.svg?branch=v.0.5.0
:target: https://travis-ci.com/insightindustry/sqlathanor
:alt: Build Status (Travis CI)

.. image:: https://codecov.io/gh/insightindustry/sqlathanor/branch/v.0.5.0/graph/badge.svg
:target: https://codecov.io/gh/insightindustry/sqlathanor
:alt: Code Coverage Status (Codecov)

.. image:: https://readthedocs.org/projects/sqlathanor/badge/?version=v.0.5.0
:target: http://sqlathanor.readthedocs.io/en/latest/?badge=v.0.5.0
:alt: Documentation Status (ReadTheDocs)

New Features
-----------------

* 68: Replaced serialization to ``dict`` with serialization to ``OrderedDict`` to preserve
key ordering when serializing to JSON and YAML. The interface and interaction
with ``OrderedDict`` should be 100% consistent with the behavior of past ``dict``
objects - just now their order will be preserved when on Python versions before
3.7.

Bug Fixes
-----------------

* 71: Modified default ``to_str()`` serializer function to coerce values to strings.
* 73: Corrected a variety of mismatches in the default serializer/deserializer
functions relating to ``datetime.timedelta`` objects and SQLAlchemy ``Interval``
and ``DATETIME`` type objects.
* 75: Corrected a bug that may have introduced errors in applications using
Python 3.7, SQLAlchemy 1.3+, and relying on ``AssociationProxy`` constructions
in their models.
* Updated the ``requirements.txt`` (which does not actually indicate utilization
dependencies, and instead indicates development dependencies) to upgrade
a number of libraries that had recently had security vulnerabilities
discovered.


-----------

0.4.0

Not secure
=========================================

.. image:: https://travis-ci.com/insightindustry/sqlathanor.svg?branch=v.0.4.0
:target: https://travis-ci.com/insightindustry/sqlathanor
:alt: Build Status (Travis CI)

.. image:: https://codecov.io/gh/insightindustry/sqlathanor/branch/v.0.4.0/graph/badge.svg
:target: https://codecov.io/gh/insightindustry/sqlathanor
:alt: Code Coverage Status (Codecov)

.. image:: https://readthedocs.org/projects/sqlathanor/badge/?version=v.0.4.0
:target: http://sqlathanor.readthedocs.io/en/latest/?badge=v.0.4.0
:alt: Documentation Status (ReadTheDocs)

Bug Fixes
-----------------

* 63: Fixed error handling for when SQLAlchemy returns ``UnsupportedCompilationError`` on
certain data types.

New Features
-----------------

* 61: Added ``display_name`` attribute configuration option to re-write attribute names
on serialization / de-serialization.
* 62: Added support for multiple named configuration sets when using the meta
configuration pattern.

Other Changes
------------------

* Upgraded PyYAML version in ``requirements.txt``.

-----------

0.3.1

Not secure
=========================================

.. image:: https://travis-ci.com/insightindustry/sqlathanor.svg?branch=v.0.3.1
:target: https://travis-ci.com/insightindustry/sqlathanor
:alt: Build Status (Travis CI)

.. image:: https://codecov.io/gh/insightindustry/sqlathanor/branch/v.0.3.1/graph/badge.svg
:target: https://codecov.io/gh/insightindustry/sqlathanor
:alt: Code Coverage Status (Codecov)

.. image:: https://readthedocs.org/projects/sqlathanor/badge/?version=v.0.3.1
:target: http://sqlathanor.readthedocs.io/en/latest/?badge=v.0.3.1
:alt: Documentation Status (ReadTheDocs)

Bug Fixes
-----------------

* 58: Fixed problem where ``None`` values are mistakenly serialized to empty lists.
* 57: Fixed problem where ``on_serialize`` functions were ignored for relationships.
* 56: Fixed problem where relationships were not properly deserialized.

Other Changes
------------------

* 26: Added Python 3.7 to test matrix.
* Removed some unnecessary print statements.

-----------

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.