Djblets 6.1 Release Notes¶
Release date: August 25, 2026
Installation¶
Djblets 6.1 is compatible with Python 3.8 - 3.13 and Django 4.2.x.
To install Djblets 6.1, run:
$ pip3 install Djblets==6.1
To learn more, see:
djblets.extensions¶
Always-enabled extensions¶
The extension manager can now be given a list of extensions that must always
be enabled. These act like enabled-by-default extensions, except that they
cannot be disabled through ExtensionManager.disable_extension() or the UI,
and will be considered enabled every time the extension manager loads.
This can be set using the new ExtensionManager.
always_enabled_extension_ids
attribute, or EXTENSIONS_ALWAYS_ENABLED.
For example:
from djblets.extensions.manager import ExtensionManager
class MyExtensionManager(ExtensionManager):
always_enabled_extension_ids = {
'myvendor.myextension.MyExtension',
}
Any always-enabled extension will still show up in the extension list, but it won’t have a button for disabling it. Similarly, the API will return an error if something attempts to disable it through other means.
Enabled-by-default configuration¶
Enabled-by-default extensions can now be configured on the
ExtensionManager instance by setting
enabled_by_default_extension_ids
to a list of extension IDs.
This is an alternative to setting EXTENSIONS_ENABLED_BY_DEFAULT.
For example:
from djblets.extensions.manager import ExtensionManager
class MyExtensionManager(ExtensionManager):
enabled_by_default_extension_ids = {
'myvendor.myextension.MyExtension',
}
Other improvements¶
ExtensionManager.get_can_disable_extension()can now take an extension instance or ID string, in addition to aRegisteredExtension.Passing a
registered_extensionkeyword argument is deprecated and will be removed in Djblets 8.ExtensionManager.get_dependent_extensions()now takes anenabled_onlyargument, allowing callers to filter results to only enabled extensions.
Bug fixes¶
Fixed an issue where a model’s relation tree may be cached before an extension providing a related model was registered, leaving that relation permanently missing from the tree.
djblets.integrations¶
Bug fixes¶
Fixed the confirmation dialog for deleting an integration configuration not closing after the deletion completed.
Contributors¶
Christian Hammond
David Trowbridge
Michelle Aubin