blob: 639229ac93012a7c7382a363c57f0871bd1abd34 [file] [log] [blame]
Shawn O. Pearced07c92c2010-07-23 12:17:07 -07001Release notes for Gerrit 2.1.4
2==============================
3
4Gerrit 2.1.4 is now available in the usual location:
5
6link:http://code.google.com/p/gerrit/downloads/list[http://code.google.com/p/gerrit/downloads/list]
7
8Schema Change
9-------------
10
11*WARNING* This release contains multiple schema changes. To upgrade:
12----
13 java -jar gerrit.war init -d site_path
14----
15
16New Features
17------------
18
19Change Management
20~~~~~~~~~~~~~~~~~
21
22* issue 504 Implement full query operators
23+
David Pursehouse4d7ac772013-06-25 17:14:30 +090024The search box now implements a wide range of operators and boolean
Shawn O. Pearced07c92c2010-07-23 12:17:07 -070025expressions, permitting complex queries such as `is:open CodeReview>=1
26(has:draft OR is:starred)` to locate open changes that have been code
27reviewed, but still have unpublished drafts or were starred by the
28current user. The full range of supported operators is documented
29in the user guide.
30
31* Change lists now use query operators
32+
33All current change lists have been reimplemented using query
34operators, so selecting 'All open changes' actually performs the query
35'is:open'. This is to help end-users learn the different operators
36that are supported, and simplifies the internal implementation
37considerably by removing redundant code.
38
39* issue 51 Tag changes with topic branches
40+
41Changes can be tagged with a topic name during upload. To add the tag
42'query' when pushing to branch 'master', use `git push URL
43HEAD:refs/for/master/query`. To add a topic name with `repo upload`
44use the `-t` command line flag. Topic names are displayed next to the
45branch name in the web UI, and can be searched for with the `topic:`
46query operator.
47
48* Filter the list of open changes by watched projects
49+
50The query operator `is:watched` matches changes matching the user's
51watched project list, and a new menu item was added under the My menu
52to select open changes matching these watched projects.
53
54Web UI
55~~~~~~
56
57* issue 579 Remember diff formatting preferences
58+
59Formatting options at the top of a side-by-side or unified diff page
60are now remembered by saving the current preferences into the user's
61account whenever 'Update' is clicked.
62
63* issue 680 Show commit message on the per-file review pages
64
65* issue 498 Improved keyboard navigation
66+
67More keyboard bindings have been added, reducing the need to switch to
68the mouse while navigating through a change and performing a review.
69
70* issue 395 Open new window/new tab for all files in a change
71+
72New buttons permit opening all modified files of a change into
73new windows or tabs.
74
75* issue 440 Add copy to clipboard button for change-id
76+
77The Change-Id field in the upper left side of a change now support to
78copy "Change-Id: I...." onto the clipboard, making it easier to paste
79into a commit message.
80
81* issue 559 Allow copying user public ssh key to clipboard
82
Shawn O. Pearceb0cdb1b2010-08-06 11:40:54 -070083* issue 509 Make branch columns link to changes on that branch
84
Shawn O. Pearced07c92c2010-07-23 12:17:07 -070085Email Notifications
86~~~~~~~~~~~~~~~~~~~
87
88* issue 311 No longer CC a user by default
89+
90The user who causes a notification to be sent is no longer CC'd on the
91email when it is sent. This reduces the number of messages sent to a
92user, but can be re-enabled through a checkbox in the Settings >
93Preferences panel.
94
95* issue 535 Enable watching of all projects
96+
97Adding the magic `\-- All Projects \--` to the watched project list
98permits the user to be notified of any change occurring in any
99project. Project specific entries override the notification settings
100for all projects.
101
102* issue 492 Allow watching specific branches or any other search query
103+
104In addition to watching a project, users can register a query string
105to match specific changes, reducing notifications to be a smaller
106subset of the changes that occur in a project.
107
108* issue 70 Allow file:^regex to match affected files
109+
110The file:^path operator can be used in a watch filter to receive
111notifications only when files matching the regular expression are
112modified by the change.
113
114* issue 623 Include Gerrit-Owner, Gerrit-Reviewer in email footers
115+
116New fields in the email footer provide additional detail, enabling
117better filtering and classification of messages.
118
119Access Control
120~~~~~~~~~~~~~~
121
122* Support regular expressions for ref access rules
123+
124References in an access rule can now be specified by regular
125expression by prefixing the reference name with ^.
126
127* issue 577 Support $\{username\} in access rules
128+
129Adding `$\{username\}` into a reference causes the current username to
130be inserted at that position. When combined with the Push Branch
131permission this creates a per-user branch namespace feature, giving
132each user their own "sandbox" to push changes to.
133
Shawn O. Pearceb0cdb1b2010-08-06 11:40:54 -0700134* issue 313 ssh gerrit create-group
135+
136Groups can now be created over SSH by administrators using the
137`gerrit create-group` command.
138
Shawn O. Pearced07c92c2010-07-23 12:17:07 -0700139Authentication
140~~~~~~~~~~~~~~
141
142* Remove password authentication over SSH
143+
144Adding password authentication over SSH turned out to be a major
145mistake. Users primarily use SSH public keys, and the password
146prompt just got in the way or confused them. Password support has
147been removed from the SSH server.
148
149* Username cannot be changed once assigned
150+
151Once a username has been selected for a user account, it
152cannot be modified by the user.
153
154* issue 555 Make LDAP sessions persistent for the session age
155+
156Web sessions are now persistent for the cache.web_sessions.maxAge
157setting, rather than expiring when the browser closes. (Previously
158sessions expired when the browser exited.)
159
160Misc.
161~~~~~
162
163* Add topic, lastUpdated, sortKey to ChangeAttribute
164+
165Additional change fields are now exported as part of the
166stream-events output.
167
168* issue 504 gerrit query SSH command
169+
170Queries to lookup change information can be executed over SSH through
171the `gerrit query` command, with results output in either human
172readable text or machine readable JSON. Change queries can also be
173run over HTTP with the `/query?q=<query>&format=JSON` URL. Both
174interfaces are intended for automated tools.
175
176* Remove git diff-tree dependency
177+
178Gerrit no longer requires `git` in the PATH; differences are now
179constructed in pure Java code. Remote repository initialization over
180SSH still requires `git` on the remote host's PATH.
181
182* Internal dependencies updated
183+
Shawn O. Pearceb0cdb1b2010-08-06 11:40:54 -0700184Updated JGit to 0.8.4.89-ge2f5716, log4j to 1.2.16, GWT to 2.0.4,
Shawn O. Pearced07c92c2010-07-23 12:17:07 -0700185sfl4j to 1.6.1, easymock to 3.0, JUnit to 4.8.1.
186
187Bug Fixes
188---------
189
190Web UI
191~~~~~~
192
193* issue 352 Confirm branch deletion in web UI
194+
195Deleting a branch now presents a confirmation dialog to give the user
196a second chance to abort the destructive operation.
197
198* Fix some JavaScript errors under Chrome
199+
200The GWT compiler started to define symbols in the same namespace as
201the prettify syntax highlighting library. We moved the prettify
202library into its own iframe so it has a different JavaScript namespace
203in the browser.
204
Shawn O. Pearceb0cdb1b2010-08-06 11:40:54 -0700205* Close button on OpenId register / sign-in dialog
206+
207There was no obvious way to leave the sign-in dialog. Fixed.
208
209* Links in OpenId sign-in dialog not focusable
210+
211Keyboard navigation to standard links like 'Google Accounts'
212wasn't supported. Fixed.
213
Shawn O. Pearced07c92c2010-07-23 12:17:07 -0700214Misc.
215~~~~~
216
217* issue 614 Fix 503 error when Jetty cancels a request
218+
219A bug was introduced in 2.1.3 that caused a server 503 error
220when a fetch/pull/clone or push request timed out. Fixed.
221
222Version
223-------
224
Shawn O. Pearceb0cdb1b2010-08-06 11:40:54 -0700225ae59d1bf232bba16d4d03ca924884234c68be0f2