Skip to content
Compare
Choose a tag to compare
@PaulGilmartin PaulGilmartin released this 15 Feb 19:34

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.