Skip to content

Releases: nameko/nameko-sqlalchemy

Release 1.5.0

26 Feb 13:16
b7490d6
Compare
Choose a tag to compare
  • Theretry_transaction decorator now accepts arguments, allowing multiple retries after a delay.

Release 1.4.0

16 May 12:11
2cd1579
Compare
Choose a tag to compare
  • New database pytest fixture to make it easier to test the Database DependencyProvider with Nameko's worker_factory and replace_dependencies helpers.

Release 1.3.0

18 Apr 12:19
177d89e
Compare
Choose a tag to compare
  • Both DependencyProviders now accept engine_options and session_options parameters for configuring the SQLAlchemy engine and sessions respectively.

Release 1.2.0

15 Mar 18:26
c408570
Compare
Choose a tag to compare
  • Fix context manager so transactions are rolled back on commit errors (fixes #25)
  • Change default behaviour of context manager so sessions are closed on worker teardown rather than context manager exit (closes #24)

Release 1.1.0

24 Feb 13:26
fcaef12
Compare
Choose a tag to compare
  • Added transaction_retry decorator to reattempt transactions after temporary loss of connectivity to the database
  • Added missing cleanup that left connections open on kill (fixes #12)

Release 1.0.0

07 Dec 17:59
3456a98
Compare
Choose a tag to compare

Adds a second DependencyProvider that will create sessions on demand, including via a context manager that commits or rolls back on close.

Release 0.1.0

20 Feb 11:40
Compare
Choose a tag to compare
  • Added db_engine_options fixture.
  • Switch to semantic versioning

Release 0.0.4

02 Sep 14:11
Compare
Choose a tag to compare
  • Fix packaging so pytest fixtures added in 0.0.3 are included.

Release 0.0.3

26 Aug 10:53
Compare
Choose a tag to compare
  • Added pytest fixtures for managing session in tests.

Release 0.0.2

11 May 14:37
Compare
Choose a tag to compare
  • Create engine once at setup, and dispose of it again on stop