Jump to >

Review Board 4.0 RC 1 Release Notes

Release date: March 2, 2021

Please see the 4.0 beta 1 and 4.0 beta 2 release notes and for general upgrade notes for the 4.0 beta series.

These release notes show changes since beta 2.

Installation

To install this release, run the following:

$ sudo pip install \
    --trusted-host downloads.reviewboard.org \
    -f http://downloads.reviewboard.org/releases/ReviewBoard/4.0/ \
    -f http://downloads.reviewboard.org/releases/rbintegrations/2.0/ \
    --pre -U ReviewBoard

Or:

$ sudo easy_install \
    -f http://downloads.reviewboard.org/releases/ReviewBoard/4.0/ \
    -f http://downloads.reviewboard.org/releases/rbintegrations/2.0/ \
    -U ReviewBoard

Note

If this is a new install on Python 2.7, please use pip, as support for easy_install is going away.

pip is required for Python 3.

Warning

We do not recommend upgrading a production server with this version of Review Board. It’s best to install on a test server, with a copy of your production database, in case there are any major problems.

New Features

Official Docker Support

We now have an official Docker image for Review Board. Going forward, all releases (including betas) will come with a Docker image, ready for testing or deployment in your network.

For now, the Docker image is also a beta. Please read the documentation on setting up a container with our Docker image.

With this, Review Board can now be run via Gunicorn and other independent WSGI application servers by making use of a new reviewboard.wsgi module. The old htdocs/reviewboard.wsgi script now makes use of this module, and will be upgraded automatically.

rb-site

  • Reworked the installation experience for new sites in rb-site install.

    While the process has not changed much, it has been refined. Much of the installation guidance has been improved, with new recommendations and better explanations for setup options, and the removal of old options that have been deprecated (mod_python and fastcgi support).

  • Improved the help output.

    The help output has been greatly improved for rb-site and its subcommands. rb-site manage, in particular, has been extended to show the most typical management commands an administrator is likely to use.

  • rb-site manage no longer needs a special -- option before specifying management command options.

  • Added a --allowed-host option to rb-site install to specify additional hostnames for the server.

    This can be specified multiple times.

  • Improved checks and error messages when failing to install a new site directory at a specified location.

    There’s no longer a generic error shown if the site directory can’t be written to or contains existing files. The error is now tailored based on what failed.

rbext

  • Added new options to rbext test for unit tests.

    -e/--extension takes an extension class path and uses it to set up the test environment. --app can specify additional Django app labels to enable in that environment.

    -x/--stop will stop running tests on failure, while --pdb will open a debugger on failure. --with-coverage will showing a unit test code coverage report after tests have run.

  • Improved the help output.

    The new help output for rbext and its subcommands go into detail on how to use the command to create extensions and run tests.

Bug Fixes

Installation

  • Fixed having to manually run resolve a “static-media” check after installing a new site.

  • Added a warning in the terminal that extensions are disabled if there’s a pending upgrade required for a site directory.

    It was otherwise confusing why management commands provided by extensions couldn’t be run.

Extensions

  • Fixed viewing database administration pages provided by extensions.
  • Fixed styling of extensions using Review Board 3.0’s sidebar components.

Authentication

  • Fixed UTF-8 encoding issues on LDAP and Active Directory.

Command Line Tools

  • Fixed some bad option defaults for cache selection in rb-site.
  • Fixed a bad Apache version check in rb-site.
  • Fixed viewing help output in rbext.

Review Requests

  • Fixed the behavior of pressing Enter on the Upload File Attachment and Upload Diff dialogs.

    Pressing Enter used to dismiss the dialog, due to a bug. Now it properly submits the form. Pressing Escape will close the dialog.

    Patch by Hannah Lin.

  • Fixed showing the Base Directory field in the New Review Request page. (Bug #4911)

Misc. Changes

  • Improved log message context throughout the product.

    Patches by Clarissa Audrey, Michael Liu, and Qianxi Li.

Contributors

  • Christian Hammond
  • Clarissa Audrey
  • David Trowbridge
  • Hannah Lin
  • Michael Liu
  • Qianxi Li