blob: b175546c8d4a1b5910bb133bb00eb603f53376f3 [file] [log] [blame]
David Pursehouse7fe39b92014-10-22 18:32:33 +09001Release notes for Gerrit 2.9.2
2==============================
3
4Download:
5link:https://gerrit-releases.storage.googleapis.com/gerrit-2.9.2.war[
6https://gerrit-releases.storage.googleapis.com/gerrit-2.9.2.war]
7
8Important Notes
9---------------
10
11*WARNING:* There are no schema changes from
12link:ReleaseNotes-2.9.1.html[2.9.1], but when upgrading from an existing site
David Pursehouse58ac7a92014-11-28 17:55:48 +090013that was initialized with Gerrit version 2.6 or later the primary key column
David Pursehouse7fe39b92014-10-22 18:32:33 +090014order will be updated for some tables. It is therefore important to upgrade the
15site with the `init` program, rather than only copying the .war file over the
16existing one.
17
18It is recommended to run the `init` program in interactive mode. Warnings will
19be suppressed in batch mode.
20
21----
22 java -jar gerrit.war init -d site_path
23----
24
25Bug Fixes
26---------
27
28ssh
29~~~
30
31* Update SSHD to 0.13.0.
32+
33This fixes link:https://issues.apache.org/jira/browse/SSHD-348[SSHD-348] which
34was causing ssh threads allocated to stream-events clients to get stuck.
35+
36Also update SSHD Mina to 2.0.8 and Bouncycastle to 1.51.
37
38Database
39~~~~~~~~
40
41* Update gwtorm to 1.14.
42+
43The primary key column order for compound keys was wrong for some Gerrit
44database tables. This caused poor performance for those SQL queries which rely
45on using a prefix of the primary key column sequence in their WHERE conditions.
46+
47This version of gwtorm fixes the issue for new sites. For existing sites that
David Pursehouse58ac7a92014-11-28 17:55:48 +090048were initialized with Gerrit version 2.6 or later, the primary key column
49order will be fixed during initialization when upgrading to 2.9.2.
David Pursehouse7fe39b92014-10-22 18:32:33 +090050
51Secondary Index
52~~~~~~~~~~~~~~~
53
54* Fix "400 cannot create query for index" error in "Conflicts With" list.
55+
56The new
57link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.9.2/config-gerrit.html#index.defaultMaxClauseCount[
58index.defaultMaxClauseCount] setting allows to increase the BooleanQuery limit
59for the Lucene index.
60+
61Raising the limit avoids failing a query with `BooleanQuery.TooManyClauses`,
62preventing users from seeing a "400 cannot create query for index" error
63in the "Conflicts With" section of the change screen.
64
65* link:https://code.google.com/p/gerrit/issues/detail?id=2996[Issue 2996]:
66Delete a change from the index if it is not in the database.
67+
68If for some reason the secondary index is out of date, i.e. a change was deleted
69from the database but wasn't deleted from the secondary index, it was impossible
70to re-index (remove) that change.
71+
72Automatically remove the change from the secondary index if it doesn't exist in
73the database. If a user clicks on search result from a stale change, they will
74get a 404 page and the change will be removed from the index.
75
76Change Screen
77~~~~~~~~~~~~~
78
79* link:https://code.google.com/p/gerrit/issues/detail?id=2964[Issue 2964]:
80Fix comment box font colors of dark CodeMirror themes.
81+
82When using a dark-colored theme, for example "Twilight", the comments were
83shown in a light color on a light background making them unreadable.
84
85* link:https://code.google.com/p/gerrit/issues/detail?id=2918[Issue 2918]:
86Fix placement of margin column in side-by-side diff.
87+
88The margin was placed approximately 10% too far to the right.
89
90* link:https://code.google.com/p/gerrit/issues/detail?id=2970[Issue 2970]:
91Fix display of accented characters in side-by-side diff.
92+
93On some browsers, accented characters were not displayed correctly
94because the line was not high enough.
95
96* link:https://code.google.com/p/gerrit/issues/detail?id=2960[Issue 2960]:
97Show filename in side-by-side diff screen.
98+
99In the old side-by-side diff screen, the name of the file being diffed was shown
100in the window title. This feature was missed in the new side-by-side diff screen.
101
102* Remove 'send email' checkbox from reply box on change screen.
103
104Plugins
105~~~~~~~
106
107* link:https://code.google.com/p/gerrit/issues/detail?id=543[Issue 543]
108Replication plugin: Prevent creating repos on extra servers.
109+
110If using a group to replicate only certain repositories, it was possible
111to be in a state where the authGroup is used on some servers but not
112others. If this happened, Gerrit would create the repository on all
113servers, even if the authGroup would prevent replicating code to it.
114By ensuring the authGroup can see the project first, the repository is
115not created if it's not needed.
116
117Security
118~~~~~~~~
119
120* Do not throw away bytes from the CNSPRG when generating HTTP passwords.
121+
122The implementation generated LEN bytes of cryptography-safe random data and
123applied base64 encoding on top of that. The base64 transformation, however,
124inflated the size of the data by 33%, and this meant that only 9 bytes of
125randomness were actually used.
126
127* Increase the size of HTTP passwords.
128+
129The length of generated HTTP passwords is increased from 12 to 42 characters.
130
131* Consider rule action while constructing local owners list
132+
133Previously rule action was not considered during computation of the local
134owners list. This meant that members of a group that was given OWNER permission
135with BLOCK or DENY action were considered as project owners.
136
137
138Miscellaneous Fixes
139~~~~~~~~~~~~~~~~~~~
140
141* link:https://code.google.com/p/gerrit/issues/detail?id=2911[Issue 2911]:
142Fix Null Pointer Exception after a MergeValidationListener throws
143MergeValidationException.
144
145* link:https://code.google.com/p/gerrit/issues/detail?id=2989[Issue 2989]:
146Fix incorrect submodule subscriptions.
147+
148The gitlinks update failed after deleting a branch in a super project which had
149other branches subscribed to the same submodule branch.
150
151* Fix infinite loop when checking group membership.
152
153* Fix quoted-printable encoding of e-mail addresses.
154+
155The "(Code Review)" part of the e-mail sender name was truncated when the
156author's name was not pure ASCII.