Skip to content

Commit

Permalink
Add __invert__, add py.typed (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-muoto authored Sep 13, 2024
1 parent a13ab33 commit 9eb09e9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions pgtrigger/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Empty file added pgtrigger/py.typed
Empty file.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 9eb09e9

Please sign in to comment.