Djangoevents

Latest version: v0.14.1

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.14.1

======

- Change the way modules are autodiscovered (use Django utility).
It should work now with new style apps.

0.14.0

======

- Added index on the `stored_entity_id` field which fixes performance
issue when there are many events. It requires migration, version
change reflects that.

0.13.4

======

- Switched to `schema_version = None` default when deserializing
events without `schema_version`.

0.13.3

======

- Stopped overriding `schema_version` if it exists.
- Started passing all event attributes to event constructor during
deserialization. This allows to handle event structure migration
("upcasting") in each event's constructor: one can modify `kwargs`
before calling `super().__init__`.

0.13.2

======

- Made `abstract` non inheritable: now only classes explicitly marked
with the `abstract` decorator are abstract. Their subclasses are not.
This was always the intended behavior.

0.13.1

======

- Switched to adding `schema_version` to event objects themselves
instead of just transcoded events. This way events will pass
validation if their Avro schemas require `schema_version`.

- Renamed setting responsible for the above feature
from `EVENT_TRANSCODER.ADDS_EVENT_VERSION_TO_DATA`
to `ADDS_SCHEMA_VERSION_TO_EVENT_DATA`.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.