Aiohttp-sqlalchemy

Latest version: v1.0.1

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

Scan your dependencies

Page 2 of 7

0.32

------------
* Added ``prepare_context()`` method for ``OffsetPaginationMixin``.

0.31

------------
**Added**

* Added default ``page_key`` and ``page_key_adapter`` attributes
for ``OffsetPaginationMixin``;
* Added ``execute_select_stmt()`` method for ``OffsetPaginationMixin``.

**Deprecated**

* ``OffsetPagination`` is deprecated. Use ``OffsetPaginationMixin``;
* ``SAModelDeleteMixin`` is deprecated. Use ``DeleteStatementMixin``;
* ``SAModelEditMixin`` is deprecated. Use ``UpdateStatementMixin``;
* ``SAModelViewMixin`` is deprecated. Use ``SelectStatementMixin``.

0.30

------------
**Deprecated**

* ``views`` module is deprecated. Use import from ``aiohttp_sqlalchemy``
or ``aiohttp_sqlalchemy.web_handlers``;
* ``SAItemAddMixin`` synonym is deprecated. Use ``ItemAddMixin`` class;
* ``SAItemDeleteMixin`` is deprecated. Use ``ItemDeleteMixin`` class;
* ``SAItemEditMixin`` synonym is deprecated. Use ``ItemEditMixin`` class;
* ``SAItemViewMixin`` synonym is deprecated. Use ``ItemViewMixin`` class;
* ``SAListAddMixin`` synonym is deprecated. Use ``ListAddMixin`` class;
* ``SAListDeleteMixin`` synonym is deprecated. Use ``ListDeleteMixin`` class;
* ``SAListEditMixin`` synonym is deprecated. Use ``ListEditMixin`` class;
* ``SAListViewMixin`` synonym is deprecated. Use ``ListViewMixin`` class;
* ``SAPrimaryKeyMixin`` synonym is deprecated. Use ``PrimaryKeyMixin`` class.

0.29

------------
**Added**

* ``OffsetPagination``.

**Changed**

* ``SAListViewMixin`` class is no longer inherited from
``aiohttp_things.PaginationMixin``.

0.28

------------
**Changed**

* Renamed ``handlers`` module to ``web_handlers``;
* Renamed ``sa_session`` method to ``get_sa_session`` in ``SAMixin``;
* Renamed ``get_sa_delete_stmt`` method to ``get_delete_stmt``
in ``SAModelDeleteMixin`` and ``ItemDeleteMixin``;
* Renamed ``get_sa_update_stmt`` method to ``get_update_stmt``
in ``SAModelEditMixin`` and ``ItemEditMixin``;
* Renamed ``get_sa_view_stmt`` method to ``get_select_stmt``
in ``SAModelViewMixin`` and ``ItemViewMixin``.

0.27

------------
**Added**

* ``SAItemAddMixin`` as a synonym for ``ItemAddMixin``;
* ``SAItemDeleteMixin`` as a synonym for ``ItemDeleteMixin``;
* ``SAItemEditMixin`` as a synonym for ``ItemEditMixin``;
* ``SAItemViewMixin`` as a synonym for ``ItemViewMixin``;
* ``SAListAddMixin`` as a synonym for ``ListAddMixin``;
* ``SAListDeleteMixin`` as a synonym for ``ListDeleteMixin``;
* ``SAListEditMixin`` as a synonym for ``ListEditMixin``;
* ``SAListViewMixin`` as a synonym for ``ListViewMixin``;
* ``SAPrimaryKeyMixin`` as a synonym for ``PrimaryKeyMixin``.

**Changed**

* ``views`` module renamed to ``handlers``;
* classes from ``handlers`` temporarily imported to empty ``views`` module for
backward compatibility;
* ``SAItemAddMixin`` renamed to ``ItemAddMixin``;
* ``SAItemDeleteMixin`` renamed to ``ItemDeleteMixin``;
* ``SAItemEditMixin`` renamed to ``ItemEditMixin``;
* ``SAItemViewMixin`` renamed to ``ItemViewMixin``;
* ``SAListAddMixin`` renamed to ``ListAddMixin``;
* ``SAListDeleteMixin`` renamed to ``ListDeleteMixin``;
* ``SAListEditMixin`` renamed to ``ListEditMixin``;
* ``SAListViewMixin`` renamed to ``ListViewMixin``;
* ``SAPrimaryKeyMixin`` renamed to ``PrimaryKeyMixin``.

**Removed**

* ``SAView`` a synonym for ``SAModelView``.

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.