Djblets 2.3 Release Notes¶
Release date: February 8, 2022
Added compatibility shims to allow Django 1.11 to work on Python 3.10.
Python 3.10 removed some legacy imports in the
collectionsmodule, which were still being used in Django 1.11. Now, so long as the
djbletsmodule is imported early enough, Django 1.11 will continue to work.
Updated all Djblets-provided Django middleware to work as old-style middleware or new-style middleware.
Support for working as old-style middleware will be removed in Djblets 3.0.
cache_memoize()with values that don’t have a length.
This fixes storing booleans, integers, and other such values as cached data without first having to cast to a string or store in a list.
Extensions can now provide modern Django middleware.
Before, only legacy Django middleware were supported.
Support for legacy middleware will be removed in Djblets 3.0.
This shouldn’t impose any backwards-compatibility issues.
Added new extension state management capabilities for unit tests using
Fixed a crash with attempting to disable an extension with load errors.
Fixed extension state cleanup issues in unit tests using
Updated the Markdown extensions to stop using deprecated Python-Markdown 2.x code.
The following extensions are now fully compatible with Python-Markdown 3.x:
render_markdown_from_file()on Python 3.