• Get Review Board
  • What's New
  • Products
  • Review Board Code review, image review, and document review
  • Documentation
  • Release Notes
  • Power Pack Enterprise integrations, reports, and enhanced document review
  • Try for 60 Days
  • Purchase
  • RBCommons Review Board as a Service, hosted by us
  • Pricing
  • RBTools Command line tools and Python API for Review Board
  • Documentation
  • Release Notes
  • Review Bot Automated code review, connecting tools you already use
  • Documentation
  • Release Notes
  • RB Gateway Manage Git and Mercurial repositories in your network
  • Documentation
  • Release Notes
  • Learn and Explore
  • What is Code Review?
  • Documentation
  • Frequently Asked Questions
  • Support Options
  • Third-Party Integrations
  • Demo
  • Review Board RBTools Power Pack Review Bot Djblets RB Gateway
    1. Djblets
    2. Djblets 2.0 Release Notes
  • Home
  • Djblets 5.2.1 Release Notes
  • Djblets 5.2 Release Notes
  • Djblets 5.1.1 Release Notes
  • Djblets 5.1 Release Notes
  • Djblets 5.0.2 Release Notes
  • Djblets 5.0.1 Release Notes
  • Djblets 5.0 Release Notes
  • Djblets 4.0 Release Notes
  • Djblets 4.0 Beta 3 Release Notes
  • Djblets 4.0 Beta 2 Release Notes
  • Djblets 4.0 Beta 1 Release Notes
  • Djblets 3.3 Release Notes
  • Djblets 3.2 Release Notes
  • Djblets 3.1 Release Notes
  • Djblets 3.0 Release Notes
  • Djblets 3.0 RC 1 Release Notes
  • Djblets 3.0 Beta 2 Release Notes
  • Djblets 3.0 Beta 1 Release Notes
  • Djblets 2.3.4 Release Notes
  • Djblets 2.3.3 Release Notes
  • Djblets 2.3.2 Release Notes
  • Djblets 2.3.1 Release Notes
  • Djblets 2.3 Release Notes
  • Djblets 2.2.3 Release Notes
  • Djblets 2.2.2 Release Notes
  • Djblets 2.2.1 Release Notes
  • Djblets 2.2 Release Notes
  • Djblets 2.1.1 Release Notes
  • Djblets 2.1 Release Notes
  • Djblets 2.0 Release Notes
  • Djblets 1.0.18 Release Notes
  • Djblets 1.0.17 Release Notes
  • Djblets 1.0.16 Release Notes
  • Djblets 1.0.15 Release Notes
  • Djblets 1.0.14 Release Notes
  • Djblets 1.0.13 Release Notes
  • Djblets 1.0.12 Release Notes
  • Djblets 1.0.11 Release Notes
  • Djblets 1.0.10 Release Notes
  • Djblets 1.0.9 Release Notes
  • Djblets 1.0.8 Release Notes
  • Djblets 1.0.7 Release Notes
  • Djblets 1.0.6 Release Notes
  • Djblets 1.0.5 Release Notes
  • Djblets 1.0.4 Release Notes
  • Djblets 1.0.3 Release Notes
  • Djblets 1.0.2 Release Notes
  • Djblets 1.0.1 Release Notes
  • Djblets 1.0 Release Notes
  • Djblets 1.0 RC 1 Release Notes
  • Djblets 0.10 Beta 2 Release Notes
  • Djblets 0.10 Beta 1 Release Notes
  • Djblets 0.9.9 Release Notes
  • Djblets 0.9.8 Release Notes
  • Djblets 0.9.7 Release Notes
  • Djblets 0.9.6 Release Notes
  • Djblets 0.9.5 Release Notes
  • Djblets 0.9.4 Release Notes
  • Djblets 0.9.3 Release Notes
  • Djblets 0.9.2 Release Notes
  • Djblets 0.9.1 Release Notes
  • Djblets 0.9 Release Notes
  • Djblets 0.9 RC 1 Release Notes
  • Djblets 0.9 Beta 2 Release Notes
  • Djblets 0.9 Beta 1 Release Notes
  • Djblets 0.8.29 Release Notes
  • Djblets 0.8.28 Release Notes
  • Djblets 0.8.27 Release Notes
  • Djblets 0.8.26 Release Notes
  • Djblets 0.8.25 Release Notes
  • Djblets 0.8.24 Release Notes
  • Djblets 0.8.23 Release Notes
  • Djblets 0.8.22 Release Notes
  • Djblets 0.8.21 Release Notes
  • Djblets 0.8.20 Release Notes
  • Djblets 0.8.19 Release Notes
  • Djblets 0.8.18 Release Notes
  • Djblets 0.8.17 Release Notes
  • Djblets 0.8.16 Release Notes
  • Djblets 0.8.15 Release Notes
  • Djblets 0.8.14 Release Notes
  • Djblets 0.8.13 Release Notes
  • Djblets 0.8.12 Release Notes
  • Djblets 0.8.11 Release Notes
  • Djblets 0.8.10 Release Notes
  • Djblets 0.8.9 Release Notes
  • Djblets 0.8.8 Release Notes
  • Djblets 0.8.7 Release Notes
  • Djblets 0.8.6 Release Notes
  • Djblets 0.8.5 Release Notes
  • Djblets 0.8.4 Release Notes
  • Djblets 0.8.3 Release Notes
  • Djblets 0.8.2 Release Notes
  • Djblets 0.8.1 Release Notes
  • Djblets 0.8 Release Notes
  • Djblets 0.8 RC 2 Release Notes
  • Djblets 0.8 RC 1 Release Notes
  • Djblets 0.8 Beta 3 Release Notes
  • Djblets 0.8 Beta 2 Release Notes
  • Djblets 0.8 Beta 1 Release Notes
  • Djblets 0.8 Alpha 2 Release Notes
  • Djblets 0.8 Alpha 1 Release Notes
  • Djblets 0.7.33 Release Notes
  • Djblets 0.7.32 Release Notes
  • Djblets 0.7.31 Release Notes
  • Djblets 0.7.30 Release Notes
  • Djblets 0.7.29 Release Notes
  • Djblets 0.7.28 Release Notes
  • Djblets 0.7.27 Release Notes
  • Djblets 0.7.26 Release Notes
  • Djblets 0.7.25 Release Notes
  • Djblets 0.7.24 Release Notes
  • Djblets 0.7.23 Release Notes
  • Djblets 0.7.22 Release Notes
  • Djblets 0.7.21 Release Notes
  • Djblets 0.7.20 Release Notes
  • Djblets 0.7.19 Release Notes
  • Djblets 0.7.18 Release Notes
  • Djblets 0.7.17 Release Notes
  • Djblets 0.7.16 Release Notes
  • Djblets 0.7.15 Release Notes
  • Djblets 0.7.14 Release Notes
  • Djblets 0.7.13 Release Notes
  • Djblets 0.7.12 Release Notes
  • Djblets 0.7.11 Release Notes
  • Djblets 0.7.10 Release Notes
  • Djblets 0.7.9 Release Notes
  • Djblets 0.7.8 Release Notes
  • Djblets 0.7.7 Release Notes
  • Djblets 0.7.6 Release Notes
  • Djblets 0.7.5 Release Notes
  • Djblets 0.7.4 Release Notes
  • Djblets 0.7.3 Release Notes
  • Djblets 0.7.2 Release Notes
  • Djblets 0.7.1 Release Notes
  • Djblets 0.7 Release Notes
  • Djblets 0.6.31 Release Notes
  • Djblets 0.6.30 Release Notes
  • Djblets 0.6.29 Release Notes
  • Djblets 0.6.28 Release Notes
  • Djblets 0.6.27 Release Notes
  • Djblets 0.6.26 Release Notes
  • Djblets 0.6.25 Release Notes
  • Djblets 0.6.24 Release Notes
  • Djblets 0.6.23 Release Notes
  • Djblets 0.6.22 Release Notes
  • Djblets 0.6.21 Release Notes
  • Djblets 0.6.20 Release Notes
  • Djblets 0.6.19 Release Notes
  • Djblets 0.6.18 Release Notes
  • Djblets 0.6.17 Release Notes
  • Djblets 0.6.16 Release Notes
  • Djblets 0.6.15 Release Notes
  • Djblets 0.6.14 Release Notes
  • Djblets 0.6.13 Release Notes
  • Djblets 0.6.12 Release Notes
  • Djblets 0.6.11 Release Notes
  • Djblets 0.6.10 Release Notes
  • Djblets 0.6.9 Release Notes
  • Djblets 0.6.8 Release Notes
  • Djblets 0.6.7 Release Notes
  • Djblets 0.6.6 Release Notes
  • Djblets 0.6.5 Release Notes
  • Djblets 0.6.4 Release Notes
  • Djblets 0.6.3 Release Notes
  • Djblets 0.6.2 Release Notes
  • Djblets 0.6.1 Release Notes
  • Djblets 0.6 Release Notes
  • Djblets 0.5.9 Release Notes
  • Djblets 0.5.8 Release Notes
  • Djblets 0.5.7 Release Notes
  • Djblets 0.5.6 Release Notes
  • Djblets 0.5.5 Release Notes
  • Djblets 0.5.4 Release Notes
  • Djblets 0.5.3 Release Notes
  • Djblets 0.5.2 Release Notes
  • Djblets 0.5.1 Release Notes
  • Djblets 0.5 Release Notes
  • Djblets 0.5 RC 2 Release Notes
  • Djblets 0.5 RC 1 Release Notes
  • Djblets 0.5 Beta 1 Release Notes
  • Djblets 0.5 Alpha 3 Release Notes
  • Djblets 0.5 Alpha 2 Release Notes
  • Release Notes
  • Djblets 2.0 Release Notes¶

    Release date: December 16, 2020

    Packaging/Compatibility¶

    • Increased Python support to 2.7 and 3.6-3.9.

      This is the last version series to support Python 2.7.

    • Increased Django support to 1.6 and 1.11.

      This is the last version series to support any Django 1.x releases.

    • Added a dependency on Pillow and removed support for PIL.

      PIL is a legacy image library that we’ve maintained compatibility with through pillowfight. We’re finally dropping PIL and moving entirely to Pillow.

      If you hit any issues, you may need to manually uninstall PIL.

    • Added a dependency on python-dateutil 2.7 or higher.

    • djblets.markdown now requires Markdown 3.x.

    • djblets.extensions now requires django-evolution 2.1 or higher for extension database support.

    LessCSS/JavaScript Components¶

    ConfigForms¶

    • Added ARIA attributes to improve accessibility.

    • Switched all ConfigForms classes to our modern CSS Component naming scheme.

      These were first introduced in Djblets 1.0. The modern scheme uses djblets-c-config-forms-* prefixes for all CSS classes, and a -is-* or -has-* form for modifier CSS classes.

      This is now used all throughout our codebase, in both CSS and JavaScript. Consuming applications may need to make changes.

    • Added a .djblets-o-spinner CSS Component for showing a spinner.

      This replaces the Font Awesome fa-spinner. It’s less wobbly, cleaner, and supports light/dark themes.

      LessCSS-based consumers can set the theme by calling #djblets-ns-ui.spinners.set-theme with dark or light within a spinner selector rule.

    • Added a .djblets-c-config-forms-list-actions CSS component for adding a list of actions above a list.

    • Added support for item states in list items.

      .djblets-c-config-forms-list__item now supports CSS modifier classes: .djblets-c-config-forms-list__item.-is-disabled and .djblets-c-config-forms-list__item.-has-error. These affect the presentation of the item, using icons and colors.

      New states can be added using #djblets-ns-config-forms.list.add-item-state.

      Djblets.Config.ListItemView() will manage these based on the itemState attribute on the Djblets.Config.ListItem().

    • Added support for multi-line content in list items.

      List items that contain multiple lines of content (such as multiple paragraphs) should use the new .djblets-c-config-forms-list__item.-is-multiline CSS modifier class or a .djblets-c-config-forms-list.-all-items-are-multiline on the parent .djblets-c-config-forms-list. These will ensure padding and actions are correct.

    • Djblets.Config.ListItemView() actions can now return a Promise() for asynchronous tasks.

      This will cause the button to show a spinner until the action is complete or has failed.

    • Added many new ConfigForms variables and macros in #djblets-ns-config-forms.

    Modal Boxes¶

    • Added a new formal stylesheet for modal boxes.

      This is available in the djblets-ui Pipeline bundle, and replaces the old styles that were only available when using the djblets-extensions bundle.

      Definitions are in djblets/css/ui/modalboxes.less.

    • Added ARIA attributes to improve accessibility.

    djblets.auth¶

    • Fixed a database transaction error in RegistrationForm that could occur when attempting to create a user with a conflicting username.

    djblets.avatars¶

    • Removed the deprecated AvatarServiceRegistry.enabled_services setter property.

      Callers must update to use AvatarServiceRegistry.set_enabled_services() instead.

    djblets.configforms¶

    • Removed the deprecated ConfigPageForm.profile property.

    djblets.datagrid¶

    • All column sorting links are now marked as nofollow.

      This will hint to search engine bots that they shouldn’t attempt to load all the various sorting variants of the URL.

    • Fixed some display issues involving tiny gaps between headers and bodies, which mostly affected high-DPI displays.

    • Removed a gap on the right-hand side of the datagrid header when a scrollbar is visible.

    • Removed the deprecated paginator() template tag.

    djblets.db¶

    • Fixed a rare infinite recursion issue in CounterField.

      Patch by Beth Rennie.

    • Removed the deprecated encoder argument in the JSONField constructor, in favor of encoder_cls and encoder_kwargs.

    djblets.extensions¶

    • Added a new and improved UI for managing extensions.

      This is a complete design refresh, bringing it in line with the Integrations UI. The new design makes use of the Djblets ConfigForms CSS styles, making it easier to embed in any page, not just the Django admin UI.

      The new layout does a better job of presenting the enabled and available extensions, and bringing attention to the buttons for managing the extension state and configuring the extension.

      It’s also been made more accessible, helping people manage the list when using screen readers.

      Consumers can also set DJBLETS_EXTENSIONS_BROWSE_URL in their project’s settings.py to a URL, which will enable a More Extensions button for getting additional extensions.

    • Database migrations for extensions now support both evolutions (through Django Evolution) and Django’s migrations.

      Evolutions are also no longer applied to multiple extensions or Django apps at a time.

    • Shortcuts for extension-provided API resources are now added to the root API’s URI templates list.

      Patch by Maram El-Salamouny.

    • Fixed some extension state management issues when an extension broke in the middle of initializing.

    • Removed the deprecated SettingsForm.siteconfig attribute, in favor of SettingsForm.instance.

    • Removed the deprecated support for calling ExtensionHook.shutdown(), in favor of ExtensionHook.disable_hook().

      ExtensionHook.shutdown() is now specifically intended for hooks to perform their own shutdown logic.

    • Removed the deprecated 'djblets.extensions.loaders.load_template_source' in TEMPLATE_LOADERS.

      This was used to load templates from extensions. Consumers must now add djblets.extensions.loaders.Loader in TEMPLATE’s loaders list.

    • Removed the deprecated support for passing an pkg_resources.EntryPoint to ExtensionInfo.

      Callers should call ExtensionInfo.create_from_entrypoint() if they need to pass one.

    djblets.forms¶

    • Added RelatedObjectWidget, which can be extended to provide a clean, mobile-friendly UI for managing a list of related objects in a form.

      This is intended as a replacement for Django’s built-in filtered selection fields.

      Patch by Storm Kaefer.

    djblets.gravatars¶

    • Removed the deprecated request argument in get_gravatar_url_for_email() and get_gravatar_url().

    djblets.http¶

    • Added AbsoluteURLRedirectMiddleware, which turns all relative URL redirects to absolute.

    djblets.integrations¶

    • Removed the deprecated Integration.render_config_status().

    • Removed the deprecated {% render_integration_config_status %} template tag.

      The integrations template tag library is now deprecated.

    djblets.log¶

    • Fixed a crash when trying to log a message with a HttpRequest that was missing attributes expected in LOGGING_REQUEST_FORMAT.

    • The “Reloading logging settings” message is now logged as debug instead of info.

    djblets.registries¶

    • Added djblets.registries.importer.lazy_import_registry(), which can be used to create a registry instance at a module level only when it’s first accessed.

      This can help with providing registries at the base of a Django app without causing loading problems in modern versions of Django.

    djblets.testing¶

    • Added TestCase.assertWarns(), for asserting that a warning was emitted by a call.

    • Added TestCase.assertNoWawrnings(), for asserting that no warning is emitted by a call.

    • TestModelsLoaderMixin is now much faster, requires less database work, and is compatible with Django Evolution 2.0+.

    djblets.urls¶

    • Removed the deprecated support for an initial view path string prefix in never_cache_patterns().

    djblets.util¶

    • Added a special AliasProperty class for creating an alias to another attribute.

      This can optionally emit a deprecation warning on access, making it useful when renaming attributes and retaining backwards-compatibility.

    • Added a special TypedProperty class for type-specific properties.

      This will do the work of checking that any values set are of a list of supported types.

    • Added a {% querystring %} template tag for adding, removing, or updating URL query strings.

      This deprecates {% querystring_with %}.

      Patch by Mandeep Singh.

    • Added a {{...|getattr}} template filter.

      This can be used by templates to fetch the attribute of an object. If not found, None will be returned.

    • Added a global option to the {% definevar %} template tag.

      This will register the variable in the top-most Django template context, allowing other blocks to use it. It’s suggested that consumers create an early block in the top-level template, and for sub-templates to override that block and register global variables.

    • The {{...|json_dumps}} template filter now returns keys sorted.

    • Removed the deprecated root_url().

    • Removed some long-deprecated modules:

      • djblets.util.cache

      • djblets.util.context_processors

      • djblets.util.db

      • djblets.util.dbevolution

      • djblets.util.forms

      • djblets.util.misc

      • djblets.util.rooturl

      • djblets.util.testing

      • djblets.util.urlresolvers

    djblets.webapi¶

    • Added a new way of specifying field types in API resources.

      Field definitions for API resources used to take in an int, str, list, etc. as a field type. This was limited and posed compatibility problems.

      Consumers should now use one of the new field types, defined in djblets.webapi.fields. They can also create their own, providing their own parsing/validation/serialization logic.

    • Added an _expanded field to API resource responses when using ?expand=....

      This is a dictionary contains information on the fields that were expanded. Each key is an expanded field name, and each value is a dictionary that may contain item_mimetype, list_mimetype, and list_url fields. These are useful for clients that need to map expanded payloads to resource-specific handlers.

    • All JSON payloads now sort dictionary keys alphabetically.

    • Removed the deprecated djblets.webapi.core module.

    • Removed the deprecated query arguments to the WebAPITestCaseMixin API invocation utility methods, in favor of data.

    Contributors¶

    • Beth Rennie

    • Christian Hammond

    • David Trowbridge

    • Hailan Xu

    • Jacob Blazusiak

    • Mandeep Singh

    • Maram El-Salamouny

    • Monica Bui

    • Storm Kaefer

    Keep up with the latest Review Board releases, security updates, and helpful information.

    About
    News
    Demo
    RBCommons Hosting
    Integrations
    Happy Users
    Support Options
    Documentation
    FAQ
    User Manual
    RBTools
    Administration Guide
    Power Pack
    Release Notes
    Downloads
    Review Board
    RBTools
    Djblets
    Power Pack
    Package Store
    PGP Signatures
    Contributing
    Bug Tracker
    Submit Patches
    Development Setup
    Wiki
    Follow Us
    Mailing Lists
    Reddit
    Twitter
    Mastodon
    Facebook
    YouTube

    Copyright © 2006-2025 Beanbag, Inc. All rights reserved.

    Terms of Service — Privacy Policy — AI Ethics Policy — Branding

    On this page

    • [Top]
    • Packaging/Compatibility
    • LessCSS/JavaScript Components
      • ConfigForms
      • Modal Boxes
    • djblets.auth
    • djblets.avatars
    • djblets.configforms
    • djblets.datagrid
    • djblets.db
    • djblets.extensions
    • djblets.forms
    • djblets.gravatars
    • djblets.http
    • djblets.integrations
    • djblets.log
    • djblets.registries
    • djblets.testing
    • djblets.urls
    • djblets.util
    • djblets.webapi
    • Contributors