Skip to content

3.3.0

Compare
Choose a tag to compare
@wesleykendall wesleykendall released this 27 Aug 15:02
· 23 commits to main since this release
fd164af

Features

  • PGHISTORY_INSTALL_CONTEXT_FUNC_ON_MIGRATE setting to configure installation of tracking function after migrations by @wesleykendall in #140.
  • PGHISTORY_CREATED_AT_FUNCTION setting to configure the function for determining the current time in history triggers by @lokhman in #137.
  • Add ASGI support by @pablogadhi in #127.

Fixes

  • Ensure BigAutoFields are properly mirrored in history models by @tobiasmcnulty in #134.

    Warning If you have event models for models with BigAutoField primary keys, you will see new migrations to convert pgh_obj_id to a bigint.

  • Support filtering event models by referenced proxy models by @lokhman in #135.

  • Ensure bytes representations of SQL are handled by @tobiasmcnulty in #136.

  • Fix setting default trackers with the PGHISTORY_DEFAULT_TRACKERS setting by @SupImDos in #133.

  • Don't install pghistory's context tracking function on non-postgres databases by @pmdevita in #132.

  • Ensure MiddlewareEvents doesn't filter out non-middleware events in the admin by @lokhman in #130.

  • Support custom primary keys for the aggregate Events proxy model by @lokhman in #128.

  • Fix type hints for pghistory.track by @SebastianDix in #118.

  • Support named arguments in SQL by @foobarna in #111.

Changes

  • Django 5.1 compatibility, dropped Django 3.2 / Postgres 12 support by @wesleykendall in #139.
  • Added section in FAQ for handling issues with concrete inheritance by @xaitec in #138.
  • Add reference to DjangoCon talk in the docs by @max-muoto in #114.