Review Board 2.0 RC 3 Release Notes¶
Release date: May 8, 2014
This release contains all bug fixes and features found in Review Board version 1.7.25.
To install this release, run the following:
$ sudo easy_install \
-f http://downloads.reviewboard.org/releases/ReviewBoard/2.0/ \
We are very close to the final release of 2.0. If you are intending to run 2.0 on a production server, it is time to do some testing with this release to make sure we address any bugs you may run into.
If you are careful with backups, you may run this on a production server, but you may experience bugs. It is best to install on a test server first, in case there are any major problems.
Important Upgrade Notes¶
Make a backup of your database!
Substantial changes were made to database migration. While our testing has shown it to work, it could leave your database in a bad state.
Do not upgrade a production database without a full backup.
Please let us know if you have any problems with the upgrade.
Experimental Web Hooks¶
Added experimental “close-submitted” Web Hook support for Bitbucket, Beanstalk, and Google Code.
To use this, configure a WebHook and provide the URL for the hook.
For Google Code:
The 2.0 RC 2 release notes cover the usage of these hooks in more detail, though in RC 2, these webhooks were named “post-receive” instead of “close-submitted”.
Documentation on using these will be available at a later date. For now, the feature is experimental.
Patches by Bhushan Ramnani.
“close-submitted” Web Hooks can now match by commit ID.
The post-review Web Hooks for GitHub, Bitbucket, Beanstalk, and Google Code, which close review requests when commits are pushed, can now look up the proper review request through the Commit ID field, instead of requiring a URL in the commit message. This requires that the review request’s commit ID field matches the resulting SHA1 of the commit.
Patch by Anselina Chia.
Improved the look of generated e-mails.
Installing a new version of an extension will cause Review Board to re-install all bundled media files.
This removes the need for administrators to disable and re-enable an extension in order to get things working again.
This behavior can be triggered by adding the following to the package’s
[build_static_files] remove_source_files = 1
Improved support in
These resource models, used to communicate with the API, have been improved to better handle parsing payloads returned from the API.
RB.DefaultReviewerfor parsing payloads for the Default Reviewer API.
This is not feature-complete, but can be used to fetch basic details on a Default Reviewer entry.
Added sandboxing for several extension hook points.
Many of the hook points Review Board offers now protect the rest of the application from crashing if an extension raises an exception. Currently, ReviewRequestApprovalHook, NavigationBarHook, CommentDetailDisplayHook, TemplateHook, and the Action Hooks are sandboxed.
Patches by Edwin Zhang.
These signals are emitted before the publishing process starts on review requests, reviews, and replies. Extensions can connect to these to perform pre-publish validation. They can raise a
PublishErrorto abort the publish.
The error message provided to
PublishErrorwill be reflected in the API’s error message.
Patch by Mark Côté.
Custom AuthBackends can now raise a
UserQueryErrorwhen looking up errors.
These errors will be represented in the web API though 226 - User Query Error.
Fixed a regression where Gravatars wouldn’t display until Gravatar support was toggled off and back on.
Fixed a regression when resetting user passwords. (Bug #3301)
Fixed various browser compatibility issues with Firefox.
Patch by Matthew N.
Duplicate Markdown Reference links are no longer shown in replies to comments.
Diffs containing leading slashes are normalized to remove leading slashes, fixing lookups.
Fixed displaying and handling errors when publishing a review request fails.
Patch by Mark Côté.
Review requests created through the New Review Request page will once again show a draft banner.
Fixed escaping of content in the bugs field. (Bug #3244)
Dashboard and DataGrids¶
The Hide closed link on the All Review Requests page no longer impacts the dashboard. (Bug #3319)
Sorting on non-existing columns in the Dashboard no longer breaks.
Upgrades from pre-1.7 databases now work again.
Condensing diffs in the database should no longer use up all memory.
Fixed an issue parsing some payloads on GitHub in the post-receive Web Hook.
Fixed Unicode errors with LDAP authentication when the user dn contains non-ASCII characters.
Patch by Georgy Dyuldin.
Fixed breakages in the administration UI when viewing review requests with unicode characters in the summary. (Bug #3325)
Fixed leaking of variables between hook-provided templates.
Unicode values in GET query strings no longer causes HTTP 500 errors.