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