diff --git a/CHANGELOG.md b/CHANGELOG.md index 008981f..bd1a08a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 4.12.2 (2024-09-13) + +#### Fixes + + - Add missing `py.typed`, add `__invert__` for type-checking onto `pgtrigger.Q` by [@max-muoto](https://github.com/max-muoto) in [#176](https://github.com/Opus10/django-pgtrigger/pull/176). + - Fix typo in statement-level trigger docs by [@g-nie](https://github.com/g-nie) in [#175](https://github.com/Opus10/django-pgtrigger/pull/175). + ## 4.12.1 (2024-09-08) #### Fixes diff --git a/pgtrigger/core.py b/pgtrigger/core.py index 1c2c7bf..846af5b 100644 --- a/pgtrigger/core.py +++ b/pgtrigger/core.py @@ -339,6 +339,7 @@ def _quote(val): def __or__(self, other: Self) -> Self: ... def __and__(self, other: Self) -> Self: ... + def __invert__(self) -> Self: ... class _Change(Condition): diff --git a/pgtrigger/py.typed b/pgtrigger/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml index 31d9094..d104db8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ packages = [ exclude = [ "*/tests/" ] -version = "4.12.1" +version = "4.12.2" description = "Postgres trigger support integrated with Django models." authors = ["Wes Kendall"] classifiers = [