Changelog¶
This section lists the biggest changes done on each release.
Release 1.0¶
- BACKWARD INCOMPATIBLE:: dropped support for django prior 1.6
- code clean
- fixes issue #54 (thanks vmspike).
- fixes issue #53. updates Documentation
- disable_concurrency() can now disable concurrency in any model
- disable_concurrency() is now also a decorator
- BACKWARD INCOMPATIBLE:: removed custom backends.
TriggerVerionField
can be used with standard Django - new way to create triggers (thanks Naddiseo)
- new trigger code
- new :method:`TriggerVersionField.check`.
- new
TriggerVersionField.trigger_name
. - new
CONCURRECY_ENABLED
to fully disable concurrency - new
CONCURRECY_MANUAL_TRIGGERS
to disable triggers auto creation fixes issue #41 (thanks Naddiseo)
Release 0.9¶
- django 1.8 compatibility
- python 3.4 compatibility
- BACKWARD INCOMPATIBLE :function:`disable_concurrency` works differently if used with classes or instances
- better support for external Models (models that are part of plugged-in applications)
- fixes issue with TriggerVersioField and Proxy Models (thanx Richard Eames)
Release 0.8.1¶
- avoid to use concurrency when selecting all items (select_across)
Release 0.8¶
- django 1.7 compatibility
- fixes typo in
delete_selected_confirmation.html
template - python 3.2/3.3 compatibility
Release 0.7.1¶
- backward compatibility updates. Do not check for concurrency if 0 is passed as version value
(ie. no value provided by the form)
Release 0.7¶
- new
concurrency.fields.TriggerVersionField
- start using pytest
- moved tests outside main package
- new protocol see:ref:protocols
- it’s now possible disable concurrency in Models that extends concurrency enabled models
- fixed issue #23 (thanks matklad)
- new
USE_SELECT_FOR_UPDATE
Release 0.6.0¶
- new disable_concurrency() context manager
- added documentation for concurrency.middleware.ConcurrencyMiddleware
- BACKWARD INCOMPATIBLE Fixed typo:
CONCURRECY_SANITY_CHECK
nowCONCURRENCY_SANITY_CHECK
- added
disable_sanity_check
context manager - added configuration
- check admin actions for concurrent deletion
- added concurrency check for admin’s Handle list_editable
Release 0.5.0¶
- python 3.x compatibility
- new
CONCURRENCY_FIELD_SIGNER
Release 0.4.0¶
- start deprecation of
concurrency.core.VersionChangedError
,concurrency.core.RecordModifiedError
, concurrency.core.InconsistencyError
,moved inconcurrency.exceptions
- start deprecation of
start deprecation of
concurrency.core.apply_concurrency_check
,concurrency.core.concurrency_check
moved inconcurrency.api
added
CONCURRECY_SANITY_CHECK
settings entrysigning of version number to avoid tampering (ConcurrentForm)
added ConcurrencyTestMixin to help test on concurrency managed models
changed way to add concurrency to exisiting models (apply_concurrency_check())
fixed issue #4 (thanks FrankBie)
removed RandomVersionField
new concurrency_check
added ConcurrentForm to mitigate some concurrency conflict
select_for_update now executed with
nowait=True
removed some internal methods, to avoid unlikely but possible name clashes