Skip to content

Releases: AmbitionEng/django-pghistory

3.7.0

25 May 20:29
5485b37
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Changes

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

3.5.3

27 Feb 15:24
21212c1
Compare
Choose a tag to compare

Fixes

  • Fix custom field support by deconstructing field classes correctly in history model by @iamsauravsharma in #184.

3.5.2

05 Feb 11:37
36a5e7c
Compare
Choose a tag to compare

Changes

3.5.1

16 Dec 01:50
066dbba
Compare
Choose a tag to compare

Changes

3.5.0

01 Nov 13:26
6f1b3a5
Compare
Choose a tag to compare

Features

  • Optimized Events diff queries by ~100x via a subquery instead of LAG windows by @lokhman in #173.
  • Optimized object-level Events queries in the django admin by avoiding UNION queries by @lokhman in #174.

Changes

  • Added Python 3.13 support, dropped Python 3.8. Added Postgres17 support by @wesleykendall in #175.
  • Make EventQuerySet Generic for better typing by @max-muoto in #170

3.4.4

28 Sep 01:40
87f1c05
Compare
Choose a tag to compare

Fixes

  • Fix db_column not being passed through on tracked AutoFields by @pmdevita in #168.

3.4.3

14 Sep 05:02
6e8840c
Compare
Choose a tag to compare

Fixes