PyUp Safety actively tracks 268,006 Python packages for vulnerabilities and notifies you when to upgrade.
This release adds support for Django 3.0, and drops support for Python 2 and unsupported Django versions (most notably Django 1.11). Overview of changes: https://github.com/jjkester/django-auditlog/pull/263
Added support for Django 2.0, along with a number of bug fixes.
Release notes to be added soon.
**Fixes** - Fixes cricital bug in admin mixin making the library only usable on Django 1.11 (thanks, audiolion)
_As it turns out, haste is never good. Due to the focus on quickly releasing this version a nasty bug was not spotted, which makes this version only usable with Django 1.11 and above. Upgrading to 0.4.3 is not only encouraged but most likely necessary. Apologies for the inconvenience and lacking quality control._ **Improvements** - Models can be registered with decorators now (thanks skorokithakis) **Fixes** - A lot, yes, [_really_ a lot](https://github.com/jjkester/django-auditlog/milestone/8?closed=1), of fixes for the admin integration, with thanks to Kurocon, chris-griffin, fernandoe, skorokithakis and fsniper. - Flush command fixed for Django 1.10 (thanks goodmase)
**Improvements** - Improved Django Admin pages (thanks, robguttman) **Fixes** - Fixed multithreading issue where the wrong user was written to the log (thanks, Isszul and eugene-daragan-codex)
**Breaking changes** - Dropped support for Django 1.7 - Updated dependencies - _please check whether your project works with these higher versions_ **New features** - Management command for deleting all log entries - Added admin interface (thanks, crackjack) **Improvements** - Compatibility with Django 1.10 - Updated dependencies **Fixes** - Solved migration error for MySQL users
**Fixes** - `unregister` method (thanks, kbussell) - `LogEntry.objects.get_for_objects` works properly on PostgreSQL (thanks, justinlittman) - Added index in 0.3.2 no longer breaks for users with MySQL databases **Important notes** - The `object_pk` field is now limited to 255 chars
**New functionality** - Compatibility with Django 1.9 (thanks to grendel513 and others) - Tests passing with Django 1.9a1 **Improvements** - Enhanced performance for non-integer primary key lookups (thanks to 7wonders)
**Fixes** - Auditlog data is now correctly stored in the thread. Thanks to 7wonders for noticing!
**Breaking changes** Support for out-of-date Django versions is dropped as of this release. At minimum Django version 1.7 is required. This also means that South is no longer supported. **New functionality** - Workaround for many-to-many support - Additional data - Support for both Python 2.7 and 3.4 (tested) **Improvements** - Better diffs - Remote address is logged through middleware - Better documentation - Compatibility with django-polymorphic
**New functionality:** - South compatibility for `AuditlogHistoryField`
Although this release contains mostly bugfixes, the improvements were significant enough to justify a higher version number. Also, less changes to the API are expected. **Improvements:** - Signal disconnection fixed - Model diffs use unicode strings instead of regular strings - Tests on middleware
**New functionality:** - Utility methods for using log entry data **Improvements:** - Only save a new log entry if there are actual changes - Better way of loading the user model in the middleware
First beta release of Auditlog.