Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 1 | = Release notes for Gerrit 2.9 |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 2 | |
| 3 | |
| 4 | Gerrit 2.9 is now available: |
| 5 | |
Shawn Pearce | 6d7ebc6 | 2015-06-12 16:34:42 -0700 | [diff] [blame] | 6 | link:https://www.gerritcodereview.com/download/gerrit-2.9.war[ |
| 7 | https://www.gerritcodereview.com/download/gerrit-2.9.war] |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 8 | |
David Ostrovsky | 6b01806 | 2013-11-27 04:33:01 +0100 | [diff] [blame] | 9 | *WARNING:* Support for Java 1.6 has been discontinued. |
| 10 | As of Gerrit 2.9, Java 1.7 is required. |
| 11 | |
David Pursehouse | 96e2c99 | 2014-04-08 15:13:38 +0900 | [diff] [blame] | 12 | Gerrit 2.9 includes the bug fixes done with |
| 13 | link:ReleaseNotes-2.8.1.html[Gerrit 2.8.1], |
| 14 | link:ReleaseNotes-2.8.2.html[Gerrit 2.8.2], |
Edwin Kempin | 8441579 | 2014-05-09 13:06:16 +0200 | [diff] [blame] | 15 | link:ReleaseNotes-2.8.3.html[Gerrit 2.8.3], |
David Pursehouse | 7287567 | 2014-06-27 16:25:09 +0900 | [diff] [blame] | 16 | link:ReleaseNotes-2.8.4.html[Gerrit 2.8.4], |
David Pursehouse | 878a505 | 2014-07-10 16:14:33 +0900 | [diff] [blame] | 17 | link:ReleaseNotes-2.8.5.html[Gerrit 2.8.5], |
| 18 | link:ReleaseNotes-2.8.6.html[Gerrit 2.8.6] and |
| 19 | link:ReleaseNotes-2.8.6.1.html[Gerrit 2.8.6.1]. |
David Pursehouse | 96e2c99 | 2014-04-08 15:13:38 +0900 | [diff] [blame] | 20 | These bug fixes are *not* listed in these release notes. |
David Ostrovsky | 6b01806 | 2013-11-27 04:33:01 +0100 | [diff] [blame] | 21 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 22 | == Important Notes |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 23 | |
| 24 | |
| 25 | *WARNING:* This release contains schema changes. To upgrade: |
| 26 | ---- |
| 27 | java -jar gerrit.war init -d site_path |
David Pursehouse | 0623c5b | 2014-01-22 15:47:54 +0900 | [diff] [blame] | 28 | java -jar gerrit.war reindex --recheck-mergeable -d site_path |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 29 | ---- |
| 30 | |
David Pursehouse | 610f597 | 2015-02-27 16:37:38 +0900 | [diff] [blame] | 31 | *WARNING:* Upgrading to 2.9.x requires the server be first upgraded to 2.1.7 (or |
| 32 | a later 2.1.x version), and then to 2.9.x. If you are upgrading from 2.2.x.x or |
| 33 | later, you may ignore this warning and upgrade directly to 2.9.x. |
| 34 | |
| 35 | *WARNING:* When upgrading from version 2.8.4 or older with a site that uses |
| 36 | Bouncy Castle Crypto, new versions of the libraries will be downloaded. The old |
| 37 | libraries should be manually removed from site's `lib` folder to prevent the |
| 38 | startup failure described in |
| 39 | link:https://code.google.com/p/gerrit/issues/detail?id=3084[Issue 3084]. |
| 40 | |
| 41 | |
Edwin Kempin | 8d5bbcd | 2014-07-18 10:12:09 +0200 | [diff] [blame] | 42 | *WARNING:* Support for query via the SQL index is removed. The usage of |
Edwin Kempin | 6076b7a | 2014-05-14 14:52:16 +0200 | [diff] [blame] | 43 | a secondary index is now mandatory. |
| 44 | |
David Pursehouse | 7655df0 | 2014-09-02 18:27:51 +0900 | [diff] [blame] | 45 | *WARNING:* The `sortkey` and `sortkey_prev` options on the query changes |
| 46 | REST endpoint are link:#sortkey-deprecation[deprecated]. |
| 47 | |
Edwin Kempin | 8d5bbcd | 2014-07-18 10:12:09 +0200 | [diff] [blame] | 48 | *WARNING:* The new change screen only displays download commands if the |
| 49 | `download-commands` core plugin or any other plugin providing download |
| 50 | commands is installed. The `download-commands` plugin provides the |
| 51 | standard download schemes and commands. It is packaged together with |
David Pursehouse | ed82b66 | 2014-07-18 18:22:03 +0900 | [diff] [blame] | 52 | Gerrit and can be installed, or upgraded, during the |
Edwin Kempin | 8d5bbcd | 2014-07-18 10:12:09 +0200 | [diff] [blame] | 53 | link:https://gerrit-review.googlesource.com/Documentation/pgm-init.html[ |
| 54 | site initialization]: |
| 55 | |
David Pursehouse | ed82b66 | 2014-07-18 18:22:03 +0900 | [diff] [blame] | 56 | .Installing the plugin for the first time |
Edwin Kempin | 8d5bbcd | 2014-07-18 10:12:09 +0200 | [diff] [blame] | 57 | - Batch init: |
| 58 | + |
| 59 | By default the batch init does *not* install any core plugin. To |
| 60 | install the `download-commands` plugin during batch init, specify the |
| 61 | '--install-plugin download-commands' option: |
| 62 | + |
| 63 | ---- |
| 64 | $ java -jar gerrit-2.9.war init -d site --batch --install-plugin download-commands |
| 65 | ---- |
| 66 | |
| 67 | - Interactive init: |
| 68 | + |
| 69 | There is a question whether the `download-commands` plugin should be |
| 70 | installed. To install the plugin the question must be answered with `y`: |
| 71 | + |
| 72 | ---- |
| 73 | Install plugin download-commands version v2.9 [y/N]? y |
| 74 | ---- |
| 75 | |
David Pursehouse | ed82b66 | 2014-07-18 18:22:03 +0900 | [diff] [blame] | 76 | .Upgrading the plugin |
| 77 | Pay attention that the `download-commands` plugin from Gerrit 2.8 is |
Edwin Kempin | 8d5bbcd | 2014-07-18 10:12:09 +0200 | [diff] [blame] | 78 | *not* compatible with Gerrit 2.9 and must be upgraded: |
| 79 | |
| 80 | - Batch init: |
| 81 | + |
| 82 | With the batch init it is *not* possible to upgrade core plugins. |
| 83 | |
| 84 | - Interactive init: |
| 85 | + |
| 86 | The interactive init asks whether the plugin should be upgraded: |
| 87 | + |
| 88 | ---- |
| 89 | Install plugin download-commands version v2.9 [y/N]? y |
| 90 | version v2.8.6.1 is already installed, overwrite it [y/N]? y |
| 91 | ---- |
| 92 | |
| 93 | - Manual upgrade: |
| 94 | + |
| 95 | The plugin can be upgraded manually by copying the new plugin jar into |
| 96 | the site's `plugins` folder. |
| 97 | |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 98 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 99 | == Release Highlights |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 100 | |
| 101 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 102 | * link:http://code.google.com/p/gerrit/issues/detail?id=2065[Issue 2065]: |
| 103 | The new change screen is now the default change screen. |
Edwin Kempin | 0ff3a65 | 2014-05-09 13:51:09 +0200 | [diff] [blame] | 104 | + |
| 105 | The |
| 106 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/user-review-ui.html[ |
| 107 | documentation of the new review UI] describes the new screens in detail |
| 108 | and highlights the important functionality with screenshots. |
| 109 | + |
| 110 | Users that are accessing the new change screen for the first time are |
| 111 | informed about the new change screen by a welcome popup. The welcome |
| 112 | popup links to the review UI documentation and allows users to go back |
| 113 | to the old change screen. |
| 114 | |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 115 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 116 | == New Features |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 117 | |
| 118 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 119 | === Web UI |
Edwin Kempin | 7ab00c4 | 2014-05-14 16:31:23 +0200 | [diff] [blame] | 120 | |
| 121 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 122 | ==== Global |
Edwin Kempin | 7ab00c4 | 2014-05-14 16:31:23 +0200 | [diff] [blame] | 123 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 124 | * Project links by default link to the project dashboard. |
Edwin Kempin | 7ab00c4 | 2014-05-14 16:31:23 +0200 | [diff] [blame] | 125 | |
| 126 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 127 | ==== New Change Screen |
Edwin Kempin | 9e32456 | 2014-05-14 17:08:42 +0200 | [diff] [blame] | 128 | |
| 129 | |
| 130 | * The new change screen is now the default change screen. |
| 131 | |
| 132 | * The layout was changed so that the focus is now on the commit |
| 133 | message, the change ID and the change status. |
| 134 | |
| 135 | * Draft comments are displayed in the reply box. |
| 136 | + |
| 137 | There are links to navigate to the inline comments which can be used if |
| 138 | a comment needs to be edited. |
| 139 | |
| 140 | * New inline comments from other users, that were published after the |
| 141 | current user last reviewed this change, are highlighted in bold. |
| 142 | |
| 143 | * New summary comments from other users, that were published after the |
| 144 | current user last reviewed this change, are automatically expanded in |
| 145 | the change history. |
| 146 | + |
| 147 | The support for the old comment visibility strategy is discontinued. |
| 148 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 149 | * link:http://code.google.com/p/gerrit/issues/detail?id=93[Issue 93]: |
| 150 | Inline comments are shown in the change history. |
Edwin Kempin | 9e32456 | 2014-05-14 17:08:42 +0200 | [diff] [blame] | 151 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 152 | * link:http://code.google.com/p/gerrit/issues/detail?id=592[Issue 592]: |
| 153 | A reply icon is shown on each change message. |
Edwin Kempin | 9e32456 | 2014-05-14 17:08:42 +0200 | [diff] [blame] | 154 | |
| 155 | * Quoting is possible when replying to a comment. |
| 156 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 157 | * link:http://code.google.com/p/gerrit/issues/detail?id=2313[Issue 2313]: |
| 158 | Show whether a related change is merged or old. |
| 159 | |
Edwin Kempin | 9e32456 | 2014-05-14 17:08:42 +0200 | [diff] [blame] | 160 | * New link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/user-review-ui.html#related-changes[ |
| 161 | Related Changes] tabs: |
| 162 | ** `Cherry-Picks` |
| 163 | ** `Same Topic` |
| 164 | ** `Conflicts With` |
| 165 | |
| 166 | * The title of the `Patch Sets` drop-down panel shows the number of the |
| 167 | currently viewed patch set and the total number of patch sets, in the |
| 168 | form: "current patch set/number of patch sets". |
| 169 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 170 | * The currently viewed patch set is displayed in the `Patch Sets` title. |
Edwin Kempin | 9e32456 | 2014-05-14 17:08:42 +0200 | [diff] [blame] | 171 | |
| 172 | * Keyboard shortcuts to navigate to next/previous patch set. |
| 173 | |
| 174 | * Support `[`, `/` and `]` keys to navigate between files in a cycle. |
| 175 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 176 | * link:http://code.google.com/p/gerrit/issues/detail?id=2078[Issue 2078]: |
| 177 | Show a tooltip on reviewers indicating on which labels they can vote. |
Edwin Kempin | 9e32456 | 2014-05-14 17:08:42 +0200 | [diff] [blame] | 178 | |
| 179 | * The `Submit` button is enabled even if the change is not mergeable. |
| 180 | + |
| 181 | This allows to do the conflict resolution for a change series in a |
| 182 | single merge commit and submit the changes in reverse order. |
| 183 | |
| 184 | * New `Open All` button in files header. |
| 185 | |
| 186 | * If a merge commit is viewed this is highlighted by an icon. In this |
| 187 | case the parent commits are also shown. |
| 188 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 189 | * link:http://code.google.com/p/gerrit/issues/detail?id=2191[Issue 2191]: |
| 190 | New copy-to-clipboard button for commit ID. |
| 191 | |
| 192 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 193 | ==== New Side-by-Side Diff Screen |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 194 | |
| 195 | * link:http://code.google.com/p/gerrit/issues/detail?id=348[Issue 348]: |
| 196 | The lines of a patch file are linkable. |
| 197 | + |
| 198 | These links can be used to directly link to certain inline comments. |
| 199 | |
| 200 | * link:http://code.google.com/p/gerrit/issues/detail?id=2395[Issue 2395]: |
| 201 | The line length preference is used to draw a margin line at that many |
| 202 | columns of text. |
| 203 | + |
| 204 | This allows a user to configure their preferred width (e.g. 80 columns |
| 205 | or 100 columns) and see the margin, making it easier to identify lines |
| 206 | that run over that width. |
| 207 | |
| 208 | * link:http://code.google.com/p/gerrit/issues/detail?id=2530[Issue 2530]: |
| 209 | All diff preferences are honored. |
| 210 | |
| 211 | * link:http://code.google.com/p/gerrit/issues/detail?id=148[Issue 148]: |
| 212 | The full file path is shown. |
| 213 | |
Edwin Kempin | 9e32456 | 2014-05-14 17:08:42 +0200 | [diff] [blame] | 214 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 215 | ==== Change List / Dashboards |
Edwin Kempin | 7ab00c4 | 2014-05-14 16:31:23 +0200 | [diff] [blame] | 216 | |
| 217 | * The `Status` column shows `Merge Conflict` for changes that are not |
| 218 | mergeable. |
| 219 | |
| 220 | * A new `Size` column shows the change size as a colored bar. |
| 221 | ** The user preference `Show Change Sizes As Colored Bars In Changes Table` |
| 222 | can be disabled to get the size information displayed as text. |
| 223 | ** The number of changed lines by which a change is considered as a |
| 224 | large change can be |
| 225 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/config-gerrit.html#change.largeChange[ |
| 226 | configured]. |
| 227 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 228 | * Support to drill down into dashboard section. |
Edwin Kempin | 7ab00c4 | 2014-05-14 16:31:23 +0200 | [diff] [blame] | 229 | + |
| 230 | Clicking on the section title executes the query of this section |
| 231 | without the `limit` operator. |
| 232 | |
| 233 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 234 | ==== Project Screens |
Edwin Kempin | 7ab00c4 | 2014-05-14 16:31:23 +0200 | [diff] [blame] | 235 | |
| 236 | * The general project screen provides a copyable clone command that |
| 237 | automatically installs the `commit-msg` hook. |
| 238 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 239 | * link:http://code.google.com/p/gerrit/issues/detail?id=562[Issue 562]: |
| 240 | Project owners can change `HEAD` from the project branches screen. |
Edwin Kempin | 7ab00c4 | 2014-05-14 16:31:23 +0200 | [diff] [blame] | 241 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 242 | * link:http://code.google.com/p/gerrit/issues/detail?id=1298[Issue 1298]: |
| 243 | Administrators can change the parent project from the project access |
Edwin Kempin | 7ab00c4 | 2014-05-14 16:31:23 +0200 | [diff] [blame] | 244 | screen; other users can save changes to the parent project for review |
| 245 | and get the change approved by an administrator. |
| 246 | |
| 247 | * The project list displays icons for projects that are read only or |
| 248 | hidden. |
| 249 | |
| 250 | * The Git garbage collection can be triggered from the general project |
| 251 | screen if the user has the |
| 252 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/access-control.html#capability_runGC[ |
| 253 | Run Garbage Collection] global capability. |
| 254 | |
| 255 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 256 | ==== User Preferences |
Edwin Kempin | 7ab00c4 | 2014-05-14 16:31:23 +0200 | [diff] [blame] | 257 | |
| 258 | * Users can choose the UK date format to render dates and timestamps in |
| 259 | the UI. |
| 260 | |
| 261 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 262 | === Secondary Index |
David Pursehouse | 0623c5b | 2014-01-22 15:47:54 +0900 | [diff] [blame] | 263 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 264 | * Support for query via the SQL index is removed. The usage of |
| 265 | a secondary index is now mandatory. |
David Pursehouse | 0623c5b | 2014-01-22 15:47:54 +0900 | [diff] [blame] | 266 | |
| 267 | * New `--recheck-mergeable` option on the |
| 268 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/pgm-reindex.html[ |
Edwin Kempin | a06338eb | 2014-05-14 13:37:40 +0200 | [diff] [blame] | 269 | reindex] program. |
David Pursehouse | 0623c5b | 2014-01-22 15:47:54 +0900 | [diff] [blame] | 270 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 271 | === ssh |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 272 | |
Edwin Kempin | 650b7c0 | 2014-05-14 14:27:29 +0200 | [diff] [blame] | 273 | * New `--notify` option on the |
| 274 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/cmd-review.html[ |
| 275 | review] command allowing to control when email notifications should be |
| 276 | sent. |
| 277 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 278 | * link:http://code.google.com/p/gerrit/issues/detail?id=1752[Issue 1752]: |
| 279 | New `--branch` option on the |
Edwin Kempin | 650b7c0 | 2014-05-14 14:27:29 +0200 | [diff] [blame] | 280 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/cmd-review.html[ |
| 281 | review] command. |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 282 | |
Edwin Kempin | a06338eb | 2014-05-14 13:37:40 +0200 | [diff] [blame] | 283 | * New `--all-reviewers` option on the |
| 284 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/cmd-query.html[ |
| 285 | query] command allowing query results to include information about all |
| 286 | reviewers added on the change. |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 287 | |
| 288 | * New link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/cmd-apropos.html[ |
Edwin Kempin | a06338eb | 2014-05-14 13:37:40 +0200 | [diff] [blame] | 289 | apropos] command to search the Gerrit documentation. |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 290 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 291 | * link:http://code.google.com/p/gerrit/issues/detail?id=1156[Issue 1156]: |
| 292 | New link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/cmd-create-branch.html[ |
Edwin Kempin | 650b7c0 | 2014-05-14 14:27:29 +0200 | [diff] [blame] | 293 | create-branch] command. |
| 294 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 295 | === REST API |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 296 | |
| 297 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 298 | ==== Changes |
David Pursehouse | 7655df0 | 2014-09-02 18:27:51 +0900 | [diff] [blame] | 299 | |
| 300 | |
| 301 | [[sortkey-deprecation]] |
| 302 | * Results returned by the |
| 303 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/rest-api-changes.html#list-changes[ |
| 304 | query changes] endpoint are now paginated using offsets instead of sortkeys. |
| 305 | + |
| 306 | The `sortkey` and `sortkey_prev` parameters on the endpoint are deprecated. The |
| 307 | results are now paginated using the `--limit` (`-n`) option to limit the number |
| 308 | of results, and the `-S` option to set the start point. |
| 309 | + |
| 310 | Queries with sortkeys are still supported against old index versions, to enable |
| 311 | online reindexing while clients have an older JS version. |
| 312 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 313 | ==== Projects |
Edwin Kempin | 237e224 | 2014-05-14 14:57:29 +0200 | [diff] [blame] | 314 | |
| 315 | |
| 316 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/rest-api-projects.html#get-content[ |
| 317 | Get content of a file from HEAD of a branch]. |
| 318 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 319 | ==== Documentation |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 320 | |
| 321 | |
Edwin Kempin | a06338eb | 2014-05-14 13:37:40 +0200 | [diff] [blame] | 322 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/rest-api-documentation.html#search-documentation.html[ |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 323 | Search documentation]. |
| 324 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 325 | === Access Rights |
Edwin Kempin | 4bae120 | 2014-05-14 14:35:38 +0200 | [diff] [blame] | 326 | |
| 327 | |
| 328 | * New link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/access-control.html#capability_viewAllAccounts[ |
| 329 | global capability for viewing all accounts]. |
| 330 | |
| 331 | * New link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/access-control.html#capability_viewPlugins[ |
| 332 | global capability for viewing the list of installed plugins]. |
| 333 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 334 | * link:http://code.google.com/p/gerrit/issues/detail?id=1993[Issue 1993]: |
| 335 | New `Change Owner` group that allows to assign label permissions to the change owner. |
Edwin Kempin | 4bae120 | 2014-05-14 14:35:38 +0200 | [diff] [blame] | 336 | |
| 337 | * Support link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/access-control.html#category_submit_on_behalf_of[ |
| 338 | on behalf of for submit]. |
| 339 | |
| 340 | * Allow service users to access REST API if `auth.gitBasicAuth = true`. |
| 341 | + |
| 342 | If link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/config-gerrit.html#auth.gitBasicAuth[ |
| 343 | auth.gitBasicAuth] is set to `true` in the `gerrit.config` file all |
| 344 | HTTP traffic is authenticated using standard `BasicAuth` and the |
| 345 | credentials are validated using the same auth method as configured for |
| 346 | the Gerrit Web UI. E.g. for LDAP this means that users must use their |
| 347 | LDAP password for Git over HTTP and for accessing the REST API. |
| 348 | + |
| 349 | Service users are technical users that were created by the |
| 350 | `create-account` SSH command. These users only exist in Gerrit and |
| 351 | hence they do not have any LDAP password. This is why service users |
| 352 | were not able to make use of the REST API if `auth.gitBasicAuth` was |
| 353 | set to `true`. |
| 354 | + |
| 355 | Now if `auth.gitBasicAuth` is set to `true` users that exist only in |
| 356 | Gerrit but not in LDAP are authenticated with their HTTP password from |
| 357 | the Gerrit database. |
| 358 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 359 | === Search |
Edwin Kempin | 6076b7a | 2014-05-14 14:52:16 +0200 | [diff] [blame] | 360 | |
Edwin Kempin | 6076b7a | 2014-05-14 14:52:16 +0200 | [diff] [blame] | 361 | * New link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/user-search.html#mergeable[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 362 | is:mergeable] search operator. |
Edwin Kempin | 6076b7a | 2014-05-14 14:52:16 +0200 | [diff] [blame] | 363 | + |
| 364 | Finds changes that have no merge conflicts and can be merged into the |
| 365 | destination branch. |
| 366 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 367 | * link:http://code.google.com/p/gerrit/issues/detail?id=2163[Issue 2163]: |
| 368 | New link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/user-search.html#parentproject[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 369 | parentproject] search operator. |
Edwin Kempin | 6076b7a | 2014-05-14 14:52:16 +0200 | [diff] [blame] | 370 | + |
| 371 | Finds changes in the specified project or in one of its child projects. |
| 372 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 373 | * link:http://code.google.com/p/gerrit/issues/detail?id=2162[Issue 2162]: |
| 374 | New link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/user-search.html#conflicts[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 375 | conflicts] search operator. |
Edwin Kempin | 6076b7a | 2014-05-14 14:52:16 +0200 | [diff] [blame] | 376 | + |
| 377 | Finds changes that conflict with the specified change. |
| 378 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 379 | * New operators for absolute last-updated-on search. |
Edwin Kempin | 6076b7a | 2014-05-14 14:52:16 +0200 | [diff] [blame] | 380 | ** link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/user-search.html#before_until[ |
| 381 | before / until] |
| 382 | ** link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/user-search.html#after_since[ |
| 383 | after / since] |
| 384 | |
| 385 | * Support exact match on file parts in |
| 386 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/user-search.html#file[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 387 | file] operator. |
Edwin Kempin | 6076b7a | 2014-05-14 14:52:16 +0200 | [diff] [blame] | 388 | |
| 389 | * Query shortcuts |
| 390 | ** `o` = `owner` |
| 391 | ** `r` = `reviewer` |
| 392 | ** `p` = `project` |
| 393 | ** `f` = `file` |
| 394 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 395 | === Daemon |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 396 | |
| 397 | |
| 398 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/dev-inspector.html[ |
| 399 | Gerrit Inspector]: interactive Jython shell. |
| 400 | + |
| 401 | New `-s` option is added to the Daemon to start an interactive Jython shell for inspection and |
| 402 | troubleshooting of live data of the Gerrit instance. |
| 403 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 404 | === Documentation |
Edwin Kempin | 51f4ab7 | 2014-05-14 14:12:04 +0200 | [diff] [blame] | 405 | |
| 406 | |
| 407 | * The documentation is now |
| 408 | https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/rest-api-documentation.html#search-documentation.html[ |
| 409 | searchable]: |
| 410 | + |
| 411 | On each documentation page there is search box in the right top corner |
| 412 | that allows to search in the documentation. |
| 413 | |
| 414 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/user-review-ui.html[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 415 | Documentation of the new review UI]. |
Edwin Kempin | 51f4ab7 | 2014-05-14 14:12:04 +0200 | [diff] [blame] | 416 | |
| 417 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/intro-project-owner.html[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 418 | New Project Owner Guide]. |
Edwin Kempin | 51f4ab7 | 2014-05-14 14:12:04 +0200 | [diff] [blame] | 419 | |
| 420 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/index.html[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 421 | Newly structured documentation index]. |
Edwin Kempin | 51f4ab7 | 2014-05-14 14:12:04 +0200 | [diff] [blame] | 422 | |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 423 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 424 | === Configuration |
Edwin Kempin | 2a2a646 | 2014-05-14 15:36:04 +0200 | [diff] [blame] | 425 | |
| 426 | * New init step for installing the `Verified` label. |
| 427 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 428 | * link:http://code.google.com/p/gerrit/issues/detail?id=2257[Issue 2257]: |
| 429 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/config-gerrit.html#repository.name.defaultSubmitType[ |
Edwin Kempin | 2a2a646 | 2014-05-14 15:36:04 +0200 | [diff] [blame] | 430 | Default submit type] for newly created projects can be configured. |
| 431 | |
| 432 | * `sshd_log` and `httpd_log` can use log4j configuration. |
| 433 | |
| 434 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/config-gerrit.html#change.allowDrafts[ |
| 435 | Draft workflow can be disabled]. |
| 436 | |
| 437 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/config-project-config.html#receive.checkReceivedObjects[ |
| 438 | Project configuration for checking of received objects]. |
| 439 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 440 | * link:http://code.google.com/p/gerrit/issues/detail?id=2318[Issue 2318]: |
| 441 | Allow the text of the "Report Bug" link to be configured. |
| 442 | |
Edwin Kempin | 2a2a646 | 2014-05-14 15:36:04 +0200 | [diff] [blame] | 443 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 444 | === Misc |
Edwin Kempin | 886e543 | 2014-05-14 15:38:46 +0200 | [diff] [blame] | 445 | |
| 446 | * The removal of reviewers and their votes is recorded as a change |
| 447 | message. |
| 448 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 449 | * link:http://code.google.com/p/gerrit/issues/detail?id=2229[Issue 2229]: |
| 450 | The change URL is returned on push if the change is updated. |
Edwin Kempin | 886e543 | 2014-05-14 15:38:46 +0200 | [diff] [blame] | 451 | |
| 452 | * The topic is included into merge commit messages if all merged |
| 453 | changes have the same topic. |
| 454 | |
| 455 | * Stable CSS class names. |
| 456 | |
| 457 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 458 | === Plugins |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 459 | |
| 460 | |
| 461 | * Plugin API to invoke the REST API. |
| 462 | |
| 463 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/dev-plugins.html#screen[ |
| 464 | Plugins can add entire screens to Gerrit]. |
| 465 | |
| 466 | * Plugins can have a |
| 467 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/dev-plugins.html#settings-screen[ |
| 468 | settings screen] which is linked from plugin list screen. |
| 469 | |
| 470 | * Support to edit |
| 471 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/dev-plugins.html#simple-project-specific-configuration[ |
| 472 | project plugin configuration parameters] in the UI. |
| 473 | |
| 474 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/config-gerrit.html#plugins.allowRemoteAdmin[ |
| 475 | Remote plugin administration is by default disabled]. |
| 476 | |
| 477 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 478 | ==== Extension Points |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 479 | |
| 480 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 481 | * Extension point to provide a "Message Of The Day". |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 482 | |
| 483 | * Validation for |
| 484 | ** link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/config-validation.html#new-project-validation[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 485 | project creation]. |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 486 | ** link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/config-validation.html#new-group-validation[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 487 | group creation]. |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 488 | |
| 489 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/dev-plugins.html#init_step[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 490 | Init steps can do initialization after the site is created]. |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 491 | ** The `All-Projects` `project.config` can be read and edited |
| 492 | |
| 493 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/dev-plugins.html#receive-pack[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 494 | Initialization of ReceivePack]. |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 495 | |
| 496 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/dev-plugins.html#post-receive-hook[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 497 | Registration of PostReceiveHooks]. |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 498 | |
| 499 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/dev-plugins.html#root-level-commands[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 500 | Registration of root level commands]. |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 501 | |
| 502 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/dev-plugins.html#multiple-commands[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 503 | Multiple SSH commands can be bound to the same class]. |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 504 | |
| 505 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/config-gerrit.html#database.dataSourceInterceptorClass[ |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 506 | DataSource Interception]. |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 507 | |
| 508 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 509 | ==== JavaScript Plugins |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 510 | |
| 511 | |
| 512 | * link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9/js-api.html#self_on[ |
| 513 | JavaScript Callbacks] |
| 514 | ** Gerrit.on(\'history\', f) |
| 515 | ** Gerrit.on(\'submitchange\', f) |
| 516 | ** Gerrit.on(\'showchange\', f) |
| 517 | |
| 518 | * `change_plugins` element on the new change screen that allows to |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 519 | insert arbitrary HTML fragments from plugins. |
Edwin Kempin | a6b8f9b | 2014-05-14 16:04:28 +0200 | [diff] [blame] | 520 | |
| 521 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 522 | == Bug Fixes |
David Pursehouse | 44a4570 | 2013-10-18 14:25:06 +0900 | [diff] [blame] | 523 | |
| 524 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 525 | === Access Rights |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 526 | |
| 527 | |
| 528 | * Fix possibility to overcome BLOCK permissions. |
| 529 | |
| 530 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 531 | === Web UI |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 532 | |
| 533 | |
| 534 | * link:http://code.google.com/p/gerrit/issues/detail?id=2652[Issue 2652]: |
| 535 | Copy label approvals when cherry-picking change to same branch. |
| 536 | |
Edwin Kempin | 6ef9350 | 2014-05-21 13:15:08 +0200 | [diff] [blame] | 537 | * link:http://code.google.com/p/gerrit/issues/detail?id=2662[Issue 2662]: |
| 538 | Limit file list in new change screen to files that were touched in new |
| 539 | patch set. |
| 540 | |
| 541 | * link:http://code.google.com/p/gerrit/issues/detail?id=2308[Issue 2308]: |
| 542 | Show related changes in new change screen for merged changes if there |
| 543 | are open descendants. |
| 544 | |
| 545 | * link:http://code.google.com/p/gerrit/issues/detail?id=2635[Issue 2635]: |
| 546 | Fix copying of download commands by 'Cmd-C' in Safari. |
| 547 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 548 | * link:http://code.google.com/p/gerrit/issues/detail?id=2178[Issue 2178]: |
| 549 | Fix background of reply box on new change screen getting transparent. |
| 550 | |
| 551 | * link:http://code.google.com/p/gerrit/issues/detail?id=2362[Issue 2362]: |
| 552 | Show quick approve button only for current patch set. |
| 553 | |
| 554 | * link:http://code.google.com/p/gerrit/issues/detail?id=2405[Issue 2405]: |
| 555 | Update `Patch Sets` drop-down panel when draft patch set is deleted. |
| 556 | |
| 557 | * link:http://code.google.com/p/gerrit/issues/detail?id=2397[Issue 2397]: |
| 558 | Fix linkifying of topics that are set to a URL. |
| 559 | |
| 560 | * link:http://code.google.com/p/gerrit/issues/detail?id=2151[Issue 2151]: |
| 561 | Fix overflowing of long lines in commit message block. |
| 562 | |
| 563 | * link:http://code.google.com/p/gerrit/issues/detail?id=2401[Issue 2401]: |
| 564 | Fix truncated long lines in new side-by-side diff screen. |
| 565 | |
| 566 | * link:http://code.google.com/p/gerrit/issues/detail?id=2225[Issue 2225]: |
| 567 | Display larger icons for Prev / Next and Up to Change links on new |
| 568 | side-by-side diff screen. |
| 569 | |
| 570 | * link:http://code.google.com/p/gerrit/issues/detail?id=2340[Issue 2340]: |
| 571 | Fix selection in new side-by-side diff screen. |
| 572 | |
Edwin Kempin | 6ef9350 | 2014-05-21 13:15:08 +0200 | [diff] [blame] | 573 | * link:http://code.google.com/p/gerrit/issues/detail?id=2409[Issue 2409]: |
| 574 | Show in new side-by-side diff screen updates of submodule links. |
| 575 | |
| 576 | * link:http://code.google.com/p/gerrit/issues/detail?id=2481[Issue 2481]: |
| 577 | After showing a binary file in the unified diff screen switch back to |
| 578 | the side-by-side diff screen when the user navigates to the |
| 579 | next/previous file. |
| 580 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 581 | * link:http://code.google.com/p/gerrit/issues/detail?id=2417[Issue 2417]: |
| 582 | Respect base diff revision for files REST call. |
| 583 | |
| 584 | * link:http://code.google.com/p/gerrit/issues/detail?id=2654[Issue 2654]: |
| 585 | Require the user to confirm setting the username. |
| 586 | + |
| 587 | Once the username has been set, it cannot be edited. This can cause |
| 588 | problems for users who accidentally set the wrong username. A |
| 589 | confirmation dialog now warns the user that setting the username is |
| 590 | permanent and the username is only set when the user confirms. |
| 591 | |
| 592 | * link:https://code.google.com/p/gerrit/issues/detail?id=2635[Issue 2635]: |
| 593 | Fix copying from copyable label in Safari. |
| 594 | |
| 595 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 596 | === Secondary Index |
Edwin Kempin | 94c2468 | 2014-05-14 16:10:54 +0200 | [diff] [blame] | 597 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 598 | * Fix Online Reindexing. |
Edwin Kempin | 94c2468 | 2014-05-14 16:10:54 +0200 | [diff] [blame] | 599 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 600 | * Fix for full-text search with Lucene. |
Edwin Kempin | 94c2468 | 2014-05-14 16:10:54 +0200 | [diff] [blame] | 601 | + |
| 602 | The full-text search was using a fuzzy query which used the edit |
| 603 | distance to find terms in the index close to the provided search term. |
| 604 | This produced bizarre results for queries like "message:1234". |
| 605 | + |
| 606 | Instead, use Lucene's QueryBuilder with an analyzer to convert a |
| 607 | full-text search word/phrase into a phrase query. |
| 608 | |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 609 | * link:http://code.google.com/p/gerrit/issues/detail?id=2281[Issue 2281]: |
| 610 | Reindex change after updating commit message. |
| 611 | |
| 612 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 613 | === REST |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 614 | |
| 615 | |
| 616 | * link:http://code.google.com/p/gerrit/issues/detail?id=2568[Issue 2568]: |
| 617 | Update description file during `PUT /projects/{name}/config`. |
| 618 | |
| 619 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 620 | === SSH |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 621 | |
| 622 | |
| 623 | * link:http://code.google.com/p/gerrit/issues/detail?id=2516[Issue 2516]: |
| 624 | Fix parsing of label name on `review` command. |
| 625 | |
| 626 | * link:http://code.google.com/p/gerrit/issues/detail?id=2440[Issue 2440]: |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 627 | Clarify for review command when `--verified` can be used. |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 628 | |
| 629 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 630 | === Plugins |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 631 | |
| 632 | |
| 633 | * link:http://code.google.com/p/gerrit/issues/detail?id=2551[Issue 2551]: |
| 634 | Handle absolute URLs in the top level menu. |
| 635 | |
| 636 | * link:http://code.google.com/p/gerrit/issues/detail?id=2391[Issue 2391]: |
| 637 | Respect servlet context path in URL for top menu items. |
| 638 | |
| 639 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 640 | === Other |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 641 | |
| 642 | |
| 643 | * link:http://code.google.com/p/gerrit/issues/detail?id=2382[Issue 2382]: |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 644 | Clean left over data migration after removal of TrackingIds table. |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 645 | |
Edwin Kempin | 94c2468 | 2014-05-14 16:10:54 +0200 | [diff] [blame] | 646 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 647 | == Upgrades |
David Pursehouse | 43e54b7 | 2013-12-12 19:19:51 +0900 | [diff] [blame] | 648 | |
Edwin Kempin | d0ac9ec | 2014-05-14 15:26:44 +0200 | [diff] [blame] | 649 | * Update JGit to 3.4.0.201405051725-m7 |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 650 | + |
| 651 | This upgrade fixes the MissingObjectExceptions in Gerrit that are |
| 652 | described in link:http://code.google.com/p/gerrit/issues/detail?id=2025[ |
| 653 | issue 2025]. |
| 654 | |
Edwin Kempin | a06338eb | 2014-05-14 13:37:40 +0200 | [diff] [blame] | 655 | * Update gwtjsonrpc to 1.5 |
David Pursehouse | b4c181d | 2014-07-11 14:53:27 +0900 | [diff] [blame] | 656 | * Update gwtorm to 1.13 |
Edwin Kempin | d0ac9ec | 2014-05-14 15:26:44 +0200 | [diff] [blame] | 657 | * Update guava to 16.0 |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 658 | |
Edwin Kempin | d0ac9ec | 2014-05-14 15:26:44 +0200 | [diff] [blame] | 659 | * Update H2 to 1.3.174 |
Edwin Kempin | 55e5e35 | 2014-05-15 13:13:27 +0200 | [diff] [blame] | 660 | + |
| 661 | This version includes a fix for an LOB deadlock between reading and |
| 662 | updating LOB columns. This could lead to a deadlock between web and SSH |
| 663 | clients as described in |
| 664 | link:http://code.google.com/p/gerrit/issues/detail?id=2365[issue 2365]. |
| 665 | |
Edwin Kempin | d0ac9ec | 2014-05-14 15:26:44 +0200 | [diff] [blame] | 666 | * Update Jetty to 9.1.0.v20131115 |
| 667 | * Update Servlet API to 3.1 |
| 668 | * Update Lucene to 4.6.0 |
| 669 | * Update GWT to 2.6.0 |
| 670 | |
Luca Milanesio | eb64932 | 2013-11-29 09:17:41 +0000 | [diff] [blame] | 671 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 672 | == Plugins |
Luca Milanesio | eb64932 | 2013-11-29 09:17:41 +0000 | [diff] [blame] | 673 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 674 | === Replication |
Luca Milanesio | eb64932 | 2013-11-29 09:17:41 +0000 | [diff] [blame] | 675 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 676 | * Default push refSpec is changed to `refs/*:refs/*` (non-forced push). |
Edwin Kempin | ecbc1ece | 2014-05-14 15:11:18 +0200 | [diff] [blame] | 677 | + |
| 678 | The default push refSpec for the replication plugin has changed from `forced` |
Luca Milanesio | eb64932 | 2013-11-29 09:17:41 +0000 | [diff] [blame] | 679 | to `non-forced` push (was `+refs/*:refs/*` and now is `refs/*:refs/*`). This change |
| 680 | should not impact typical replication topologies where the slaves are read-only |
| 681 | and can be pushed by their masters only. If you wanted explicitly to overwrite |
| 682 | all changes on the slaves, you need to add a `push=+refs/*:refs/*` configuration |
| 683 | entry for each replication target. |
Edwin Kempin | 39269d8 | 2014-05-14 15:07:38 +0200 | [diff] [blame] | 684 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 685 | * Support replication of HEAD updates. |
Edwin Kempin | ecbc1ece | 2014-05-14 15:11:18 +0200 | [diff] [blame] | 686 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 687 | * Stream events for ref replication. |
Edwin Kempin | ecbc1ece | 2014-05-14 15:11:18 +0200 | [diff] [blame] | 688 | |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 689 | * Replications failed due to "failed to lock" errors are retried. |
Edwin Kempin | ecbc1ece | 2014-05-14 15:11:18 +0200 | [diff] [blame] | 690 | |
| 691 | * Configuration changes can be detected and replication is |
David Pursehouse | 70b4f8f | 2014-07-20 22:11:30 +0900 | [diff] [blame] | 692 | automatically restarted. |
Edwin Kempin | ecbc1ece | 2014-05-14 15:11:18 +0200 | [diff] [blame] | 693 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 694 | === Issue Tracker System plugins |
Edwin Kempin | 39269d8 | 2014-05-14 15:07:38 +0200 | [diff] [blame] | 695 | |
| 696 | *WARNING:* The `hooks-*` plugins (`plugins/hooks-bugzilla`, |
| 697 | `plugins/hooks-jira` and `plugins/hooks-rtc`) are deprecated with |
| 698 | Gerrit 2.9. |
| 699 | |
| 700 | There are new plugins for the integration with Bugzilla, Jira and IBM |
| 701 | Rational Team Concert: |
| 702 | |
| 703 | * link:https://gerrit-review.googlesource.com/#/admin/projects/plugins/its-bugzilla[plugins/its-bugzilla] |
| 704 | * link:https://gerrit-review.googlesource.com/#/admin/projects/plugins/its-jira[plugins/its-jira] |
| 705 | * link:https://gerrit-review.googlesource.com/#/admin/projects/plugins/its-rtc[plugins/its-rtc] |
| 706 | |
| 707 | The new issue tracker system plugins have a common base which is |
| 708 | link:https://gerrit-review.googlesource.com/#/admin/projects/plugins/its-base[plugins/its-base]. |
| 709 | |
| 710 | The configuration of the new plugins is slightly different than the |
| 711 | configuration of the old plugins because they use different section |
| 712 | names in the Gerrit configuration. For easy migration the new plugins |
| 713 | have an init step that allows to take over the configuration from the |
| 714 | old plugins during the Gerrit initialization phase. |
| 715 | |
| 716 | New Features: |
| 717 | |
| 718 | * The issue tracker integration can be enabled/disabled per project. |
| 719 | * Parent projects can enforce the issue tracker integration for their |
| 720 | child projects. |
| 721 | * It can be configured for which branches of a project the issue |
| 722 | tracker integration is enabled. |
| 723 | * Whether the issue tracker integration is enabled/disabled for a |
| 724 | project can be changed from the ProjectInfoScreen in the Gerrit |
| 725 | WebUI. |