Skip to content

Releases: PaulGilmartin/django-pgpubsub

1.3.1

17 Nov 13:25
Compare
Choose a tag to compare

Fixes potential races during LISTEN initiation. Thanks @romank0 .

1.3.0

09 Sep 14:27
Compare
Choose a tag to compare

Adds psycogp3 support thanks to @romank0. See README.md and docs for specifics.

1.2.1

01 Aug 15:43
Compare
Choose a tag to compare

1.2

15 Feb 19:34
Compare
Choose a tag to compare
1.2

What's Changed

Full Changelog: 1.1.4...1.2

This release contains two major changes (again thanks to @romank0 ):

  • Options to add context into notification payload: see https://django-pgpubsub.readthedocs.io/en/latest/payload_context.html
  • An update which addresses a discrepancy in the handling of JSON payloads in the pg_notify feature. Previously, although JSON objects were sent, they were stored as serialized strings in the database. This resulted in limitations when querying the stored data. With this update, JSON payloads are now properly parsed and stored as JSONB objects in the database, allowing for more efficient querying and manipulation of the data. Note that this update requires a migration to the triggers in order accomplish this.
    To maintain compatibility with pgpubsub, the library is adjusted to correctly handle accepting notifications with payloads serialized in both the old and new ways. In a follow up release, we will remove this backwards compatibility.

Upgrading to this version will require a migration of your triggers.

1.1.4

06 Feb 18:45
Compare
Choose a tag to compare

1.1.3

06 Feb 17:20
Compare
Choose a tag to compare

Added some new logging options (thanks @romank0 ) and some new docker development scaffolding.

1.1.2

13 Nov 16:18
Compare
Choose a tag to compare

We are now on readthedocs!
Thanks to @madtools for this one.

1.1.1

23 Oct 14:34
Compare
Choose a tag to compare

Fixes include:

Note that upgrading to this version will mean we need to apply a migration (adding the ordering to the Notification model).

1.1.0

05 Jun 11:39
Compare
Choose a tag to compare

Points of note for those upgrading from an earlier version of this library:

  • Instead of using print to log messages to the console, the Python logging module is now used instead: #51
  • A migration is required to pick up changes to both the Notification model and to the test models in the tests app.
  • DISABLE_SERVER_SIDE_CURSORS should be False. See #38.

New-Features

Bug Fixes

Special thanks to @romank0 for the amazing work done towards this release!

0.0.1

09 May 05:57
212b4a4
Compare
Choose a tag to compare

Initial release of the pgpubsub library - a distributed task processing framework for Django built on top of the Postgres NOTIFY/LISTEN protocol.