Djblets 4.0 Beta 2 Release Notes¶
Release date: July 11, 2023
This release contains all bug fixes and features found in Djblets version 3.3 and 4.0 beta 1.
Installation¶
To install this release, run the following:
$ sudo pip3 install \
-f https://downloads.reviewboard.org/betas/reviewboard/6.0-beta-2/ \
--pre -U Djblets
We do not recommend upgrading a production server with this version of Djblets. This version is still in development, and is not guaranteed to have API stability.
To learn more, see:
Packaging¶
Djblets 4.x supports Python 3.7 - 3.11.
Django 3.2.x is required.
cryptography 1.8.1+ is required.
django-pipeline 2.0.9 - 2.0.x is required.
markdown 3.3.x is required.
For building packages, Node.JS packages have now been consolidated as
dependencies under a new utility package. All Node.JS dependencies are now
listed in package.json
instead of djblets/dependencies.py
.
@beanbag/frontend-buildkit 1.1.0 - 1.1.x
djblets.datagrids¶
Fixed crashes loading datagrids with
?sort=,
query arguments.Datagrids can’t normally create a link with a sort field that just contains a comma, but some web crawlers would manufacture that URL, causing error emails to be generated.
djblets.datagrid.grids.DataGrid.load_extra_state()
must now return a list of field names to save.The old usage had previously raised a deprecation warning.
djblets.extensions¶
Extensions that define static media using TypeScript (
.ts
) files but do not include arollup.config.js
file will no longer cause the devserver to hang.djblets.testing.testrunners.TestRunner
has been updated to allow usage ofpytest
.This will become the default in Djblets 5.
djblets.forms¶
The
value
attribute todjblets.forms.widgets.ListEditWidget
must be passed as a list instead of a string.The old usage had previously raised a deprecation warning.
djblets.pipeline¶
build_pipeline_settings()
now expects parameters to be passed as keyword arguments.Calling this with positional arguments will raise a deprecation warning.
djblets.util¶
djblets.util.properties.AliasProperty
anddjblets.util.properties.TypedProperty
now expect constructor parameters to be passed as keyword arguments.Calling these with positional arguments will raise a deprecation warning.
djblets.webapi¶
Caching behavior for API resources has been dramatically improved, removing some legacy limits on HTTP caching.
The
token_generator_id
andtoken_info
parameters are now required fordjblets.webapi.managers.WebAPITokenManager.generate_token()
.The old usage had previously raised a deprecation warning.
Contributors¶
Christian Hammond
David Trowbridge
Michelle Aubin