Releases: febus982/sqlalchemy-bind-manager
Releases · febus982/sqlalchemy-bind-manager
v0.7.0
v0.6.0
v0.5.0
v0.4.0
What's Changed
Breaking changes
- deleting by primary key support has been dropped in
deletemethod: It was necessary loading the model from the database anyway to handle correctly model relationships. This approach was neither performant, nor scalable. @febus982 in #33
New features
- Added
get_manymethod to get a collection of models by primary key @febus982 in #33 - Added
delete_manyto delete a collection of models in a single transaction @febus982 in #33
Full Changelog: v0.3.2...v0.4.0
v0.3.2
v0.3.1
v0.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.repositorymodule and not anymore insqlalchemy_bind_managerbase module - Pagination information for
PaginatedResultare now grouped in a nestedPageInfoobject in thePaginatedResult.page_infoproperty. per_pageanditems_per_pageoccurrences have been consolidates asitems_per_page
Non-breaking changes
BaseRepositorymoved to its own module- Presenter classes added to produce
PaginatedResultandCursorPaginatedResult - Default
paginated_findto page 1