Skip to content

Releases: AmbitionEng/django-pghistory

3.9.1

12 Dec 00:53
d5b516f

Choose a tag to compare

Changes

  • Update CHANGELOG with migration note by @mlissner in #246.
  • Add connection pooling proxy section to performance doc by @mlissner in #247.

3.9.0

30 Nov 23:37
cfa49fb

Choose a tag to compare

Changes

  • Drop Python 3.9 support, add Python 3.14 support, add Postgres 18 support, add Django 6.0 support by @wesleykendall in #242.
  • Don't track transaction-altering statements in context tracking by @valentijnscholten in #239.

3.8.3

24 Sep 01:58
5209cc7

Choose a tag to compare

Fixes

  • Ignore context tracking on VACUUM and other SQL statements that are either irrelevant or cause issues by @wesleykendall in #232.

3.8.2

13 Sep 02:21
19c1d2c

Choose a tag to compare

Fixes

3.8.1

30 Aug 19:22
45ce57b

Choose a tag to compare

Fixes

  • Ensure mixed-case table names work with event proxy models by @stephan0h in #226.

3.8.0

16 Aug 23:49
f516763

Choose a tag to compare

Improvements

  • Add async support for pghistory.context by @qqii in #220.
  • Add docs for how to migrate existing tracking models to denormalized context by @wesleykendall in #221.

Fixes

3.7.0

25 May 20:29
5485b37

Choose a tag to compare

Changes

  • Ignore appending tracking configuration to SELECT statements when tracking context by @stephan0h in #207.
  • Fix typo in docs by @BStephenBB in #198.

3.6.0

21 Apr 21:26
e9fe592

Choose a tag to compare

Improvements

  • Add support for statement-level history tracking triggers, offering substantial performance improvements for tracking history over bulk operations by @wesleykendall in #197.

    Use @pghistory.track(level=pghistory.Statement) to leverage statement-level triggers in history tracking. Set is as the default with PGHISTORY_LEVEL = pghistory.Statement.

    A usage guide was added to the "Performance and Scaling" section of the docs. It notes how it works with conditional history tracking and caveats to be aware of.

  • Optimize context tracking by @wesleykendall in #197.

    Context tracking in history triggers is significantly faster when there are many historical events in a span.

Changes

3.5.5

28 Mar 03:18
e991e61

Choose a tag to compare

Changes

  • Allow passing extra context to the admin template by @Mariatta in #192.

3.5.4

12 Mar 20:38
0ae799c

Choose a tag to compare

Changes

  • Ensure generated fields on models are tracked properly by @pmdevita in #187.