Releases: PaulGilmartin/django-pgpubsub
1.3.1
1.3.0
1.2.1
1.2
What's Changed
- Remove unused opus10 devops by @PaulGilmartin in #74
- Test action by @PaulGilmartin in #75
- Stores non serialized json in the notification payload field with simple migration by @romank0 in #66
- Allow to add context to payload by @romank0 in #73
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
Some bug fixes thanks to @romank0 . See https://github.com/Opus10/django-pgpubsub/pull/70/files/ebffbbf7f49c8e9b1878fafdb8beb406537f8ecc..8d71f1499eb2d3933c04d032ab032454487a886f for more.
1.1.3
1.1.2
We are now on readthedocs!
Thanks to @madtools for this one.
1.1.1
Fixes include:
- Set default_auto_field on pgpubsub and pgpubsub.tests app config
- Add default ordering to the Notification model so that they come in c…
- Allow using the same channel on multiple listeners
Note that upgrading to this version will mean we need to apply a migration (adding the ordering to the Notification model).
1.1.0
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 thetests
app. - DISABLE_SERVER_SIDE_CURSORS should be False. See #38.
New-Features
- In built logging using the Python logging module.
- Ability to process notifications with backward incompatible changes in django models: see the "Model migrations" section of the READ ME for more.
- Reduced memory consumption when consuming notifications.
Bug Fixes
- Bring back Django 2.2. support
- Fix deserialization of trigger channels with some follow up fixes.
- Recovery handles errors consistently with the usual listener process
Special thanks to @romank0 for the amazing work done towards this release!
0.0.1
Initial release of the pgpubsub library - a distributed task processing framework for Django built on top of the Postgres NOTIFY/LISTEN protocol.