Release Notes¶
1.8.0 (2025-11-30)¶
Changes¶
- Drop Python 3.9 support, add Python 3.14 support, add Postgres 18 support, add Django 6.0 support by @wesleykendall in #21
1.7.2 (2025-5-15)¶
Changes¶
- Minor typing and docstring improvements by @max-muoto in #18.
1.7.1 (2024-12-15)¶
Changes¶
- Changed project ownership to
AmbitionEngby @wesleykendall in #17.
1.7.0 (2024-11-01)¶
Changes¶
- Added Python 3.13 support, dropped Python 3.8. Added Postgres17 support by @wesleykendall in #16.
1.6.2 (2024-09-13)¶
Fixes¶
- Add missing py.typed file by @max-muoto in #15.
1.6.1 (2024-09-07)¶
Trivial¶
- Improve type-checking for public interface by @max-muoto in #14
1.6.0 (2024-08-24)¶
Features¶
-
Support transaction-level locks by @wesleykendall in #13.
Use
pglock.advisory(xact=True)for transaction-level advisory locks. Both context manager and functional invocations are supported.
Changes¶
- Django 5.1 support, drop Django 3.2 support by @wesleykendall in #12.
1.5.1 (2024-04-06)¶
Trivial¶
- Fix ReadTheDocs builds. [Wesley Kendall, f1b9c5c]
1.5.0 (2023-11-26)¶
Feature¶
-
Django 5.0 compatibility [Wesley Kendall, 5197c72]
Support and test against Django 5 with psycopg2 and psycopg3.
1.4.1 (2023-10-09)¶
Trivial¶
- Added Opus10 branding to docs [Wesley Kendall, 80e8466]
1.4.0 (2023-10-08)¶
Feature¶
-
Add Python3.12 support and use Mkdocs for documentation [Wesley Kendall, d706755]
Python 3.12 and Postgres 16 are supported now, along with having revamped docs using Mkdocs and the Material theme.
Python 3.7 support was dropped.
1.3.0 (2023-06-08)¶
Feature¶
-
Added Python 3.11, Django 4.2, and Psycopg 3 support [Wesley Kendall, 62c86bf]
Adds Python 3.11, Django 4.2, and Psycopg 3 support along with tests for multiple Postgres versions. Drops support for Django 2.2.
1.2.0 (2023-05-08)¶
Feature¶
-
Support PG15 [Wesley Kendall, 31edec7]
PG15 is supported and tested
Trivial¶
- Updated with the latest Python project template [Wesley Kendall, 109f794]
1.1.0 (2022-11-04)¶
Bug¶
-
Fix PG10-13 issues. [Wesley Kendall, bf2036b]
The waitstart column in the pg_locks view wasn't introduced until Postgres14. If using earlier versions,
django-pglockwill return null for these columns.
1.0.0 (2022-10-25)¶
Api-Break¶
-
Initial release of
django-pglock[Wesley Kendall, 731e0cc]django-pglockperforms advisory locks, table locks, and helps manage blocking locks. Here's some of the functionality at a glance:pglock.advisoryfor application-level locking, for example, ensuring that tasks don't overlap.pglock.modelfor locking an entire model.pglock.timeoutfor dynamically setting the timeout to acquire a lock.pglock.prioritizeto kill blocking locks for critical code, such as migrations.- The
PGLockandBlockedPGLockmodels for querying active and blocked locks. - The
pglockmanagement command that wraps the models and provides other utilities.