Skip to content

Releases: febus982/sqlalchemy-bind-manager

v0.7.0

22 Jul 13:57
3668ccb

Choose a tag to compare

What's Changed

  • Fail operations on models not belonging to repository by @febus982 in #45

Full Changelog: v0.6.0...v0.7.0

v0.6.0

08 Jul 11:01
24e177a

Choose a tag to compare

Breaking changes

Full Changelog: v0.5.0...v0.6.0

v0.5.0

05 Jul 11:28
9724ba0

Choose a tag to compare

What's Changed

  • Remove sync and async tests duplication by @febus982 in #34
  • Make session handler thread safe and async task safe by @febus982 in #35

Full Changelog: v0.4.0...v0.5.0

v0.4.0

03 Jul 22:38
000e20b

Choose a tag to compare

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 #33

New features

  • Added get_many method to get a collection of models by primary key @febus982 in #33
  • Added delete_many to delete a collection of models in a single transaction @febus982 in #33

Full Changelog: v0.3.2...v0.4.0

v0.3.2

03 Jul 10:47
d57c79a

Choose a tag to compare

What's Changed

  • Fix: Make sure async scoped session is removed even if no loop available by @febus982 in #32

Full Changelog: v0.3.1...v0.3.2

v0.3.1

24 Jun 15:00
fdc7750

Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

18 Jun 17:43
456e53b

Choose a tag to compare

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

v0.2.1

25 Apr 16:59
cab3914

Choose a tag to compare

What's Changed

  • Use class to validate if the model is handled by SQLAlchemy by @febus982 in #23

Full Changelog: v0.2.0...v0.2.1

v0.2.0

25 Apr 16:20
afc5181

Choose a tag to compare

What's Changed

Full Changelog: v0.1.0...v0.2.0

v0.1.0

24 Feb 20:06
878482f

Choose a tag to compare

What's Changed

Full Changelog: v0.0.1...v0.1.0