Django-pgtrigger

Latest version: v4.11.1

Safety actively analyzes 623490 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

4.11.1

Trivial

- Fix ReadTheDocs builds. [Wesley Kendall, 9c7f377]

4.11.0

Feature

- Django 5.0 compatibility [Wesley Kendall, 2e1366e]

Support and test against Django 5 with psycopg2 and psycopg3.

4.10.1

Trivial

- Change docs so that deferred (AFTER) triggers return NULL [Peter Thomassen, 59be2e9]
- Fix typo in cookbook (`exclude` instead of `filter`) [Peter Thomassen, 3714c08]
- Fix typo in docs model protection example [Peter Thomassen, 00b86af]
- Do additional error checking for arguments supplied to `FSM` trigger. [Wesley Kendall, e203834]

4.10.0

Bug

- Fix issues updating triggers in non-atomic migrations [Artem Streltsov, 888c4cf]

Fields of trigger conditions can now have their types updated in non-atomic migrations.

4.9.0

Feature

- Utilities to build trigger conditions based on field changes. [Wesley Kendall, 1471a35]

The following utility classes have been added to help trigger authors construct
trigger conditions based on changes to underlying fields:

- `pgtrigger.AnyChange`: If any supplied fields change, trigger the condition.
- `pgtrigger.AnyDontChange`: If any supplied fields don't change, trigger the condition.
- `pgtrigger.AllChange`: If all supplied fields change, trigger the condition.
- `pgtrigger.AllDontChange`: If all supplied fields don't change, trigger the condition.

A section in the docs was added for more examples on their use.

4.8.0

Bug

- Create triggers in unmigrated apps when `--run-syncdb` is specified [Daniel Hillier, b762f9d]

Triggers are now properly created when running `manage.py migration --run-syncdb`
for unmigrated apps.
- Recreate triggers when a migration that removed triggers is unapplied [Daniel Hillier, c223910]

Reverting a migration of dropped models will now successfully recreate
triggers.

Feature

- Add Python 3.12 support and use Mkdocs for documentation [Wesley Kendall, c2b389f]

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.

Trivial

- Fix minor log formatting issues [Wesley Kendall, 76ab946]

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.