| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 1 | Release notes for Gerrit 2.8 |
| 2 | ============================ |
| 3 | |
| 4 | |
| 5 | Gerrit 2.8 is now available: |
| 6 | |
| 7 | link:http://code.google.com/p/gerrit/downloads/detail?name=gerrit-2.8.war[ |
| 8 | http://code.google.com/p/gerrit/downloads/detail?name=gerrit-2.8.war] |
| 9 | |
| 10 | |
| 11 | Schema Change |
| 12 | ------------- |
| 13 | |
| 14 | |
| 15 | There is no schema change from link:ReleaseNotes-2.7.html[Gerrit 2.7]. |
| 16 | |
| 17 | |
| 18 | Release Highlights |
| 19 | ------------------ |
| 20 | |
| 21 | |
| 22 | * Lots of new link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api.html[ |
| 23 | REST API endpoints]. |
| 24 | |
| 25 | * New build system using link:http://facebook.github.io/buck/[Facebook Buck]. |
| 26 | |
| 27 | |
| 28 | New Features |
| 29 | ------------ |
| 30 | |
| 31 | |
| 32 | Web UI |
| 33 | ~~~~~~ |
| 34 | |
| 35 | |
| 36 | Global |
| 37 | ^^^^^^ |
| 38 | |
| 39 | * The change status is shown in a separate column on dashboards and search results. |
| 40 | |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 41 | Change Screens |
| 42 | ^^^^^^^^^^^^^^ |
| 43 | |
| 44 | |
| 45 | * New button to cherry-pick the change to another branch. |
| 46 | |
| 47 | * When issuing a rebase via the Web UI, the committer is now the logged in |
| 48 | user, rather than "Gerrit Code Review". |
| 49 | + |
| 50 | If the user has more than one email address, the preferred email address will |
| 51 | be used. |
| 52 | |
| 53 | |
| 54 | REST API |
| 55 | ~~~~~~~~ |
| 56 | |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 57 | Several new link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api.html[ |
| 58 | REST API endpoints] are added. |
| 59 | |
| 60 | Accounts |
| 61 | ^^^^^^^^ |
| 62 | |
| 63 | |
| 64 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#create-account[ |
| 65 | Create account] |
| 66 | |
| 67 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#get-account-name[ |
| 68 | Get account full name] |
| 69 | |
| 70 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#set-account-name[ |
| 71 | Set account full name] |
| 72 | |
| 73 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#delete-account-name[ |
| 74 | Delete account full name] |
| 75 | |
| 76 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#list-account-emails[ |
| 77 | List account email addresses] |
| 78 | |
| 79 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#get-account-email[ |
| 80 | Get account email address] |
| 81 | |
| 82 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#set-preferred-email[ |
| 83 | Set account preferred email address] |
| 84 | |
| 85 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#create-account-email[ |
| 86 | Create account email] |
| 87 | |
| 88 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#delete-account-email[ |
| 89 | Delete account email] |
| 90 | |
| 91 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#get-active[ |
| 92 | Get account state] |
| 93 | |
| 94 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#set-active[ |
| 95 | Set account state to active] |
| 96 | |
| 97 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#delete-active[ |
| 98 | Set account state to inactive] |
| 99 | |
| David Pursehouse | 7f47d26 | 2013-06-04 10:04:59 +0900 | [diff] [blame] | 100 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#get-http-password[ |
| 101 | Get account HTTP password] |
| 102 | |
| 103 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#set-http-password[ |
| 104 | Set or generate account HTTP password] |
| 105 | |
| 106 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#delete-http-password[ |
| 107 | Delete account HTTP password] |
| 108 | |
| 109 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#list-ssh-keys[ |
| 110 | List account SSH keys] |
| 111 | |
| 112 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#get-ssh-key[ |
| 113 | Get account SSH key] |
| 114 | |
| 115 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#add-ssh-key[ |
| 116 | Add account SSH key] |
| 117 | |
| 118 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#delete-ssh-key[ |
| 119 | Delete account SSH key] |
| 120 | |
| David Pursehouse | 55817ab | 2013-06-07 15:54:29 +0900 | [diff] [blame] | 121 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-accounts.html#get-username[ |
| 122 | Get account username] |
| 123 | |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 124 | Changes |
| 125 | ^^^^^^^ |
| 126 | |
| 127 | |
| 128 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-changes.html#rebase-change[ |
| 129 | Rebase change] |
| 130 | |
| 131 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-changes.html#cherry-pick[ |
| 132 | Cherry-pick revision] |
| 133 | |
| 134 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-changes.html#get-content[ |
| 135 | Get content of a file in a revision] |
| 136 | |
| 137 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-changes.html#get-patch[ |
| 138 | Get revision as a formatted patch] |
| 139 | |
| David Pursehouse | 55817ab | 2013-06-07 15:54:29 +0900 | [diff] [blame] | 140 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-changes.html#get-diff[ |
| 141 | Get diff of a file in a revision] |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 142 | |
| 143 | |
| David Pursehouse | 1bd4e8d | 2013-06-12 11:01:06 +0200 | [diff] [blame] | 144 | Config |
| 145 | ^^^^^^ |
| 146 | |
| 147 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-config.html#get-capabilities[ |
| 148 | Get capabilities] |
| 149 | |
| 150 | |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 151 | Projects |
| 152 | ^^^^^^^^ |
| 153 | |
| 154 | |
| 155 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-projects.html#list-branches[ |
| 156 | List branches] |
| 157 | |
| 158 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-projects.html#get-branch[ |
| 159 | Get branch] |
| 160 | |
| 161 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-projects.html#create-branch[ |
| 162 | Create branch] |
| 163 | |
| David Pursehouse | 55817ab | 2013-06-07 15:54:29 +0900 | [diff] [blame] | 164 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-projects.html#delete-branch[ |
| 165 | Delete branch] |
| 166 | |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 167 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-projects.html#list-child-projects[ |
| 168 | List child projects] |
| 169 | |
| 170 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/rest-api-projects.html#get-child-project[ |
| 171 | Get child project] |
| 172 | |
| 173 | |
| David Pursehouse | 1bd4e8d | 2013-06-12 11:01:06 +0200 | [diff] [blame] | 174 | Capabilities |
| 175 | ~~~~~~~~~~~~ |
| 176 | |
| 177 | |
| 178 | New global capabilities are added. |
| 179 | |
| 180 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/access_control.html#capability_generateHttpPassword[ |
| 181 | Generate Http Password] Allows non-administrator users to generate HTTP |
| 182 | passwords for users other than themself. |
| 183 | + |
| 184 | This capability would typically be assigned to a non-interactive group |
| 185 | to be able to generate HTTP passwords for users from a tool or web service |
| 186 | that uses the Gerrit REST API. |
| 187 | |
| 188 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/access_control.html#capability_runAs[ |
| 189 | Run As] Allows users to impersonate other users by setting the `X-Gerrit-RunAs` |
| 190 | HTTP header on REST API calls. |
| 191 | + |
| 192 | Site administrators do not inherit this capability; it must be granted |
| 193 | explicitly. |
| 194 | |
| 195 | |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 196 | Plugins |
| 197 | ~~~~~~~ |
| 198 | |
| 199 | |
| 200 | * The commit message length checker plugin can be configured to reject |
| 201 | commits whose subject or body length exceeds the limit. |
| 202 | |
| 203 | * Plugins may now contribute buttons to various parts of the UI. |
| 204 | |
| 205 | |
| 206 | ssh |
| 207 | ~~~ |
| 208 | |
| 209 | |
| 210 | * The `commit-msg` hook installation command is now |
| 211 | link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/config_gerrit.html#gerrit.installCommitMsgHookCommand[ |
| 212 | configurable]. |
| 213 | |
| 214 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/cmd-ls-members.html[ |
| 215 | New `ls-members` command]. |
| 216 | |
| David Pursehouse | 621c212 | 2013-06-19 09:30:16 +0900 | [diff] [blame^] | 217 | * link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/cmd-set-members.html[ |
| 218 | New `set-members` command] |
| 219 | + |
| 220 | New command to manipulate group membership. Members can be added or removed |
| 221 | and groups can be included or excluded in one specific group or number of groups. |
| 222 | |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 223 | |
| David Pursehouse | 7f47d26 | 2013-06-04 10:04:59 +0900 | [diff] [blame] | 224 | Daemon |
| 225 | ~~~~~~ |
| 226 | |
| 227 | |
| 228 | * Add `--init` option to Daemon to initialize site on daemon start. |
| 229 | + |
| 230 | The `--init` option will also upgrade an already existing site and is processed in |
| 231 | non-interactive (batch) mode. |
| 232 | |
| 233 | |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 234 | Bug Fixes |
| 235 | --------- |
| 236 | |
| 237 | |
| 238 | Web UI |
| 239 | ~~~~~~ |
| 240 | |
| 241 | |
| 242 | * Default review comment visibility is changed to expand all recent. |
| 243 | + |
| 244 | By default all comments within the last week are expanded, rather than |
| 245 | only the most recent. |
| 246 | |
| 247 | * The preferred email address field is shown as empty if the user has no |
| 248 | preferred email address. |
| 249 | |
| 250 | * link:https://code.google.com/p/gerrit/issues/detail?id=1574[Issue 1574]: |
| 251 | Correctly highlight matches of text in escaped HTML entities in suggestion results. |
| 252 | |
| David Pursehouse | 7f47d26 | 2013-06-04 10:04:59 +0900 | [diff] [blame] | 253 | * link:https://code.google.com/p/gerrit/issues/detail?id=1814[Issue 1814]: |
| 254 | Sort labels alphabetically by name in the approval table. |
| 255 | |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 256 | |
| 257 | REST API |
| 258 | ~~~~~~~~ |
| 259 | |
| 260 | |
| David Pursehouse | 7f47d26 | 2013-06-04 10:04:59 +0900 | [diff] [blame] | 261 | * Support raw input also in POST requests. |
| 262 | |
| David Pursehouse | 58b58de | 2013-05-20 19:11:58 +0900 | [diff] [blame] | 263 | * Show granted date for labels/all when using `/changes/`. |
| 264 | |
| 265 | * Return all revisions when `o=ALL_REVISIONS` is set on `/changes/`. |
| 266 | |
| 267 | ssh |
| 268 | ~~~ |
| 269 | |
| 270 | |
| 271 | * The `--force-message` option is removed from the `review` command. |
| 272 | |
| 273 | * link:https://code.google.com/p/gerrit/issues/detail?id=1908[Issue 1908]: |
| 274 | Provide more informative error messages when rejecting updates. |
| 275 | |
| 276 | Tools |
| 277 | ~~~~~ |
| 278 | |
| 279 | |
| 280 | * git-exproll.sh: return non-zero on errors |
| 281 | |
| 282 | Upgrades |
| 283 | -------- |
| 284 | |
| 285 | |
| 286 | * TODO |
| 287 | |
| 288 | Documentation |
| 289 | ------------- |
| 290 | |
| 291 | |
| 292 | * The link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.8/index.html[ |
| 293 | documentation index page] is rewritten in a hierarchical structure. |
| 294 | |