Sqlalchemy-bind-manager

Latest version: v0.10.0

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

Scan your dependencies

Page 2 of 3

0.5.0

What's Changed
* Remove sync and async tests duplication by febus982 in https://github.com/febus982/sqlalchemy-bind-manager/pull/34
* Make session handler thread safe and async task safe by febus982 in https://github.com/febus982/sqlalchemy-bind-manager/pull/35


**Full Changelog**: https://github.com/febus982/sqlalchemy-bind-manager/compare/v0.4.0...v0.5.0

0.4.0

What's Changed

Breaking changes

* deleting by primary key support has been dropped in `delete` method: It was necessary loading the model from the database anyway to handle correctly model relationships. This approach was neither performant, nor scalable. febus982 in https://github.com/febus982/sqlalchemy-bind-manager/pull/33

New features

* Added `get_many` method to get a collection of models by primary key febus982 in https://github.com/febus982/sqlalchemy-bind-manager/pull/33
* Added `delete_many` to delete a collection of models in a single transaction febus982 in https://github.com/febus982/sqlalchemy-bind-manager/pull/33

**Full Changelog**: https://github.com/febus982/sqlalchemy-bind-manager/compare/v0.3.2...v0.4.0

0.3.2

What's Changed
* Fix: Make sure async scoped session is removed even if no loop available by febus982 in https://github.com/febus982/sqlalchemy-bind-manager/pull/32


**Full Changelog**: https://github.com/febus982/sqlalchemy-bind-manager/compare/v0.3.1...v0.3.2

0.3.1

What's Changed
* Update documentation by febus982 in https://github.com/febus982/sqlalchemy-bind-manager/pull/26
* Adds homepage to pypi project by febus982 in https://github.com/febus982/sqlalchemy-bind-manager/pull/27
* Cursor pagination improvements by febus982 in https://github.com/febus982/sqlalchemy-bind-manager/pull/28


**Full Changelog**: https://github.com/febus982/sqlalchemy-bind-manager/compare/v0.3.0...v0.3.1

0.3.0

Adds cursor-based pagination capability to support GraphQL-Relay style. Single column ordering only supported.

Breaking changes
* All repository and unit of work related resources are now available in `sqlalchemy_bind_manager.repository` module and not anymore in `sqlalchemy_bind_manager` base module
* Pagination information for `PaginatedResult` are now grouped in a nested `PageInfo` object in the `PaginatedResult.page_info` property.
* `per_page` and `items_per_page` occurrences have been consolidates as `items_per_page`

Non-breaking changes
* `BaseRepository` moved to its own module
* Presenter classes added to produce `PaginatedResult` and `CursorPaginatedResult`
* Default `paginated_find` to page 1

0.2.1

What's Changed
* Use class to validate if the model is handled by SQLAlchemy by febus982 in https://github.com/febus982/sqlalchemy-bind-manager/pull/23


**Full Changelog**: https://github.com/febus982/sqlalchemy-bind-manager/compare/v0.2.0...v0.2.1

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.