blob: 4f5a5babc38c1891b270cf5bcba1fc5d3826be1c [file] [log] [blame]
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -07001= Release notes for Gerrit 2.0.16
Shawn O. Pearcec20e2832010-02-17 09:16:26 -08002
3Gerrit 2.0.16 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. Pearcec20e2832010-02-17 09:16:26 -08006
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -07007== Schema Change
Shawn O. Pearcec20e2832010-02-17 09:16:26 -08008
9*WARNING: This version contains a schema change* (since 2.0.14)
10
11Apply the database specific schema script:
12----
13 java -jar gerrit.war --cat sql/upgrade013_014_postgres.sql | psql reviewdb
14 java -jar gerrit.war --cat sql/upgrade013_014_mysql.sql | mysql reviewdb
15----
16
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -070017== New Features
Shawn O. Pearcec20e2832010-02-17 09:16:26 -080018* Search for changes created or reviewed by a user
19+
20The search box in the upper right corner now accepts "owner:email" and "reviewer:email", in addition to change numbers and commit SHA-1s. Using owner: and reviewer: is not the most efficient query plan, as potentially the entire database is scanned. We hope to improve on that as we move to a pure git based backend.
21
22* Make History panel settings in a diff screen sticky
23+
24When comparing different patch sets, e.g. patch set 3 against patch set 2, the settings are now sticky across files in the same change, reducing the number of clicks required to re-review an existing change.
25
26* GERRIT-113 Permit projects to require Signed-off-by lines to crea...
27+
28GERRIT-113 requested that project owners be able to enforce having a Signed-off-by line in the footer of a commit message. Forks of the Linux kernel require this line in order to contribute back upstream. If enabled in the project settings screen there must be a SOB line for the author, the committer, and the uploader of a change (though typically committer == uploader).
29
30* Use Tested-by: instead of Verified-by: during cherry-p...
31+
32The Verified-by footer line created during a cherry-picked submit is now called Tested-by. This better matches with the upstream Linux kernel's conventions of what the role means. Since the kernel is more widespread than Gerrit Code Review, I'm sticking with the kernel's conventions.
33
34* Extract reviewer suggestions from commit messages
35+
36If a commit message contains Reviewed-by, Tested-by or CC footer lines and those email addresses are registered in Gerrit, those users will receive notification of the new change. This is an alternate method to supplying reviewer address on the command line.
37
38* Drop the unnecessary host page servlet name from URLs
39+
40The "/Gerrit" suffix is no longer necessary in the URL. Gerrit now favors just "/" as its path location. This drops one redirection during initial page loading, slightly improving page loading performance, and making all URLs 6 characters shorter. :-)
41
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -070042== Bug Fixes
Shawn O. Pearcec20e2832010-02-17 09:16:26 -080043* Don't create reflogs for patch set refs
44+
45Previously Gerrit created pointless 1 record reflogs for each change ref under refs/changes/. These waste an inode on the local filesystem and provide no metadata value, as the same information is also stored in the metadata database. These reflogs are no longer created.
46
47* Fix "Error out if a user forgets to squash when replac...
48+
49Users were still able to find a way to make a change depend upon itself, which makes the change unsubmittable. Often this was done by creating a merge commit, then committing on top of that, and uploading it as a replacement. Gerrit failed to notice this condition because it only considered direct ancestors, now it also looks for indirect ancestors.
50
51* Fix syntax error in MySQL URL in jetty_gerrit.xml
52+
53Someone noticed that the MySQL URL was invalid XML, its fixed now.
54
55* Catch OpenID errors caused by clock skew and present t...
56+
57OpenID errors caused by clock skew (or other factors) now present as an error in the client user interface, and in the server log file, making it more obvious when an OpenID failure occurs. New administrators trying to setup Gerrit installations have often run into problems here, due to bad error reporting.
58
59* GERRIT-232 Support HTTP connections tunneled through SSH
60+
61If the hostname is "localhost" or "127.0.0.1", such as might happen when a user tries to proxy through an SSH tunnel, we honor the hostname anyway if OpenID is not being used.
62
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -070063== Other Changes
Shawn O. Pearcec20e2832010-02-17 09:16:26 -080064* Start 2.0.16 development
65* Update JGit to 0.4.9-18-g393ad45
66* Name replication threads by their remote name
67* Exclude JGit's JSch version during build
68* Update ehcache to 1.6.0 release
69* Update JGit to 0.5.0
70* Update openid4java to 0.9.5 release
71* Remove --offline mode from to_hosted.sh
72* Save all project settings in one RPC
73* Don't tag Reviewed-by, Tested-by if already Signed-off...
74* Don't append duplicate Reviewed-on Gerrit URLs during ...
75* Don't append duplicate Verified-by or Tested-by lines
76* Use the List<FooterLine> to determine if a paragraph b...
77* Try harder to pretty-print an exception name in error ...
78* Fix minor whitespace issues in ErrorDialog
79* Document how to contribute to Gerrit Code Review
80* gerrit 2.0.16