Cone.sql

Latest version: v0.8

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

Scan your dependencies

Page 1 of 2

0.9

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

- Nothing changed yet.

0.8

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

- Initialize SQL before calling ``setUp`` of super class in ``SQLLayer.setUp``,
which itself calls ``make_app``. This ensures ``sql.session_factory`` is
properly set if used in a cone ``main_hook``.
[rnix]

0.7

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

- Implement ``expires`` and ``expired`` on ``cone.sql.ugm.UserBehavior``.
Extend ``cone.sql.ugm.UgmBehavior`` by ``user_expires_attr`` which
enables used expiration support.
[rnix]

- Add ``TestSQLSessionFactory`` and set to ``cone.sql.session_factory`` in
``SQLLayer.init_sql`` if not present.
[rnix, toalba]

0.6

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

- Remove usage of ``Nodespaces`` behavior.
[rnix]

- Replace deprecated use of ``IStorage`` by ``IMappingStorage``.
[rnix]

- Replace deprecated use of ``Nodify`` by ``MappingNode``.
[rnix]

- Replace deprecated use of ``Adopt`` by ``MappingAdopt``.
[rnix]

- Replace deprecated use of ``NodeChildValidate`` by ``MappingConstraints``.
[rnix]

- Replace deprecated use of ``allow_non_node_children`` by ``child_constraints``.
[rnix]

0.5

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

- Rename deprecated ``SQLPrincipalRoles.allow_non_node_childs`` to
``allow_non_node_children``
[rnix]

- Add ``cache_ok`` to ``GUID`` type decorator to prevent warning with
SQLAlchemy 1.4
[rnix]

0.4

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

- Fix typo in ``SqlUGMFactory.__init__``.
[rnix]

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.