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