From 73907be0724edac6c52cc4b0409510c8f1ff23de Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 8 Aug 2013 15:18:55 +0900 Subject: [PATCH] Update 2.8 release notes with recent changes and fixes Change-Id: I71f296132d157398c295e64eab3c93436a43ea51 --- ReleaseNotes/ReleaseNotes-2.8.txt | 68 ++++++++++++++++++++++++++++--- 1 file changed, 63 insertions(+), 5 deletions(-) diff --git a/ReleaseNotes/ReleaseNotes-2.8.txt b/ReleaseNotes/ReleaseNotes-2.8.txt index 4a5685c428..0cd8b5d1d8 100644 --- a/ReleaseNotes/ReleaseNotes-2.8.txt +++ b/ReleaseNotes/ReleaseNotes-2.8.txt @@ -22,6 +22,9 @@ Release Highlights * Lots of new link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api.html[ REST API endpoints]. +* New link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/js-api.html[ +JavaScript API]. + * New build system using link:http://facebook.github.io/buck/[Facebook Buck]. @@ -44,6 +47,23 @@ the 'ChangeFooter' and 'CommentFooter'. * New `topic-changed` hook and stream event is fired when a change's topic is edited from the Web UI or via a REST API. +* New options `--list-plugins` and `--install-plugins` on the +link:[http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/pgm-init.html[ +site initialization command]. + +* New `auth.httpDisplaynameHeader` and `auth.httpEmailHeader` in the +link:[http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/config_gerrit.html#_a_id_auth_a_section_auth[ +authentication configuration]. ++ +When using HTTP-based authentication, the SSO can be delegated to check not only +the user credentials but also to fetch the full user-profile. ++ +With the config properties `auth.httpDisplaynameHeader` and `auth.httpEmailHeader` +it is possible to configure the name of the headers used for propagating this extra +information and enforce them on the user profile during login and beyond. + +* link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/config_gerrit.html#_a_id_httpd_a_section_httpd[ +Configurable external `robots.txt` file]. Web UI ~~~~~~ @@ -84,6 +104,8 @@ REST API endpoints] are added. * REST views can determine how long their response should be cached. +* REST views can handle 'HTTP 422 Unprocessable Entity' responses. + Access Rights ^^^^^^^^^^^^^ @@ -248,10 +270,16 @@ Global ^^^^^^ -* Plugins may now contribute buttons to various parts of the UI. +* Plugins may now contribute buttons to various parts of the UI using the +link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/js-api.html[ +JavaScript API]. * Plugins may now provide an 'About' section on their documentation index page. +* Plugins may now provide +link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/config-validation.html#pre-merge-validation[ +pre-merge validation steps]. + Commit Message Length Checker ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -265,7 +293,12 @@ Replication * The `{$name}` placeholder is optional when replicating a single project, allowing a single project to be replicated under a different name. -* Projects can be matched with wildcard or regex patterns in replication.config. +* Projects can be matched with wildcard or regex patterns in `replication.config`. + +* The `replication start` command does not exit until replication is finished +when the `--wait` option is used. + +* The `replication start` command displays a summary of the replication status. ssh ~~~ @@ -284,6 +317,10 @@ New `set-members` command]. New command to manipulate group membership. Members can be added or removed and groups can be included or excluded in one specific group or number of groups. +* The full commit message is now included in the data sent by the +link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/cmd-stream-events.html[ +`stream-events` command]. + Daemon ~~~~~~ @@ -299,16 +336,29 @@ Bug Fixes --------- +General +~~~~~~~ + + +* Use the parent change on the same branch for rebases. ++ +Since there can be multiple changes with the same commit on different branches, +use the parent change on the same branch during rebase. + Configuration ~~~~~~~~~~~~~ * Do not persist default project state in `project.config`. -* Honor `gerrit.cannonicalWebUrl` when opening browser after init. +* Honor the `gerrit.cannonicalWebUrl` setting when opening the browser after init. * Fix 'query disabled' error when Query Limit is set. +* Honor the `gerrit.createChangeId` setting from the git config in the +The link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/cmd-hook-commit-msg.html[ +`commit-msg` hook]. + Web UI ~~~~~~ @@ -323,6 +373,8 @@ Correctly highlight matches of text in escaped HTML entities in suggestion resul * link:https://code.google.com/p/gerrit/issues/detail?id=1996[Issue 1996]: The "Keyboard Shortcuts" help popup can be closed by pressing the Escape key. +* link:https://code.google.com/p/gerrit/issues/detail?id=2013[Issue 2013]: +Correctly populate the list of watched changes when watching more than one project. Change Screens ^^^^^^^^^^^^^^ @@ -367,18 +419,24 @@ ssh ~~~ -* The `--force-message` option is removed from the `review` command. +* The `--force-message` option is removed from the +The link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/cmd-review.html[ +`review` command]. * link:https://code.google.com/p/gerrit/issues/detail?id=1908[Issue 1908]: Provide more informative error messages when rejecting updates. * Remove the limit in the query of patch sets by revision. -* Add `isDraft` in the `patchSet` attribute of stream-events data. +* Add `isDraft` in the `patchSet` attribute of `stream-events` data. + This allows consumers of the event stream to determine whether or not the event is related to a draft patch set. +* Normalize the case of review labels submitted via the +The link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/cmd-review.html[ +`review` command]. + Emails ~~~~~~