blob: 5f0214691baf1b29f31d32e7f44194b064b3ae0b [file] [log] [blame]
Shawn O. Pearcec20e2832010-02-17 09:16:26 -08001Release notes for Gerrit 2.1.1, 2.1.1.1
2=======================================
3
4Gerrit 2.1.1.1 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 a schema change. To upgrade:
12----
13 java -jar gerrit.war init -d site_path
14----
15
16Patch 2.1.1.1
17-------------
18
19* Update MINA SSHD to SVN 897374
20+
21A deadlock was recently discovered in the SSHD, causing an
22IoProcessor thread to freeze and stop servicing clients. This
23manifests itself as spotty SSH service; sometimes a connection
24works, sometimes it hangs and never executes the command. Fixed.
25
26* issue 376 Fix deletion of comments on publish comments screen
27+
28Discarding a comment from the publish comments screen caused
29a ConcurrentModificationException. Fixed.
30
31New Features
32------------
33
34* issue 322 Update to GWT 2.0.0
35+
36JavaScript code generation is now based upon GWT 2.0, which
37is the latest stable release available. One benefit of this
38is the initial JavaScript download is smaller, by omitting
39less-frequently used sections of the UI like the admin screens
40or user preferences.
41
42* Support creating new users in `DEVELOPMENT_BECOME_ANY_`...
43+
44Developers can now create new users (to facilitate testing
45scenarios) through the /become URL, rather than manually
46inserting account records or switching over to OpenID/LDAP.
47
48* issue 371 Make gitweb url links customizable, add support for c...
49+
50The linkage to gitweb is now more configurable, and we also
51support linking to cgit, a popular C based alternative to the
52Perl based gitweb.cgi.
53
54* Log SSH activity to $site_path/logs/sshd_log
55+
56SSH authentication failures and commands are now logged, including
57execution times, so administrators can monitor server activity.
58The log file is local to the server running the daemon process,
59and came about to help replace the lastUsedOn columns which were
60dropped from the database (see below).
61
62* Drop the lastUsedOn from AccountSshKeys, AccountExternalIds
63* Implement automatic schema upgrading
64+
65The lastUsedOn column is no longer updated in the database,
66and was actually removed by a schema upgrade in this release.
67
68* issue 162 Record submitters as the author of a merge commit
69+
70Merge commits created by Gerrit during change submission now
71use the submitter's identity as the author identity, and generic
72Gerrit user identity as the committer identity.
73
74* issue 162 Summarize single change merges with short description
75+
76The short description of a merge commit including exactly
77one change into the branch now includes that change's short
78description, making the log easier to read.
79
80* Reload GerritSiteHeader, GerritSiteFooter, GerritSite...
81+
82The site header/footer files are reloaded on the fly if they are
83modified, allowing the administrator to abuse the header for a
84"message of the day" feature, if desired.
85
86* Reduce the size (and cost) of the host page
87* Use server side permutation selection
88* Allow ?s=0 to disable server side permutation
89+
90The host page was compacted slightly, and the CPU time used on
91the server to send it to a client was reduced by reusing as much
92work as possible between sessions.
93Additionally, the host page now selects the correct JavaScript
94based on the User-Agent HTTP header, removing one HTTP round
95trip during initial page load, and saving ~5 KiB of transfer.
96
97* Make hyperlinks update URL when screen is visible
98+
99The address bar now only updates when the corresponding content
100is actually visible. This matches the behavior used within
101other AJAX applications like Gmail.
102
103* Use a glass pane behind our dialogs, make most modal
104+
David Pursehouse4d7ac772013-06-25 17:14:30 +0900105Error dialogs are now more noticeable, and less easily dismissed
106by an accidental click. This is especially useful when there
Shawn O. Pearcec20e2832010-02-17 09:16:26 -0800107is a merge error during submit.
108
109Bug Fixes
110---------
111
112* issue 359 Allow updates of commits where only the parent changes
113+
114Commit replacements were sometimes rejected when the only thing
115that changed as the parent pointer, e.g. rebasing a change because
116the parent's commit message was modified to correct a typo.
117We now allow these replacements, with a warning to the console.
118
119* gsql: Fix \d table missing first column
120+
121The gsql tool skipped the first column of any table, e.g. when
122showing "\d accounts" the registered_on column wasn't displayed.
123
124* Default to the en locale
125* Limit permutations to only the en locale
126+
127The WAR file shrank because we deleted a large chunk of JavaScript
128which was never used. GWT created this code in case the browser
129didn't get forced into the 'en' locale, but we always force it to
130use the 'en' locale because the top of our HTML page demands it.
131
132* issue 364 Fix SchemaCreatorTest to work when localized errors a...
133+
134This test failed when the JVM's default locale wasn't en_US, as it
135was testing a translated string against an English expected value.
136
137* issue 365 Skip CommitMsgHookTest on Win32
138+
139This test failed on Windows platforms, where there is no shell
140or perl available from a native Win32 application like the JVM.
141For now, we skip the test.
142
143* issue 369 Add missing repositories to build search path
144+
145The out-of-the-box build of Gerrit's own source code didn't work,
146due to missing Maven repository URLs in our pom.xml. I never
147noticed the failure because my local repository already had the
148required JARs present.
149
150* Fix MSIE 8 compatibility
151+
152Releases between 2.0.18 and 2.1.1 have not supported MSIE 8,
153due to a broken GWT upgrade. Fixed.
154
155* Ensure gitweb.cgi pipes are closed
156+
157Exceptions may have allowed our internal gitweb CGI invocations
158to leak file descriptors, as pipes to the external CGI were not
159always closed. Fixed.
160
161Other
162-----
163* Switch to ClientBundle
164* Update to gwtexpui-1.2.0-SNAPSHOT
165* Merge branch 'master' into gwt-2.0
166* Use gwt-maven's -Dgwt.style rather than our own
167* Don't build the "Story of Your Compile" report by def...
168* Drop the com.google.gerrit.httpd.auth.become system p...
169* Move all of our CSS rules into our CssResource
170* Start splitting our code to reduce initial download
171* Defer our large JavaScript parsing until later
172* Move prettify to be loaded as part of our patch split...
173* issue 363 Update Google Code Prettify to 3-Dec-2009
174* Start next release development
175* Merge branch 'gwt-2.0'
176* documentation: Remove Eclipse user library
177* Fix disclosure panel CSS
178* Simplify pretty printer loading
179* Fix formatting of whitespace errors
180* Correct URL to apache license in CSS headers
181* Restore the CSS linker for GWT's stylesheet
182* documentation: Correct calculation of QPS
183* Consolidate windows platform tests to a single class
184* documentation: Correct other calculations of QPS
185* issue 370 Revert "Defer our large JavaScript parsing until late...
186* Merge change If238e2bd
187* Remove unnecessary /login/`*` URLs when auth.type = LDAP
188* Stop using AccountExternalId lastUsedOn for most rece...
189* Revert "Remove unnecessary /login/* URLs when auth.ty...
190* Document why LoginRedirectServlet is required
191* Cleanup Maven build by pushing component dependencies...
192* Cleanup Maven build by using common plugin management
193* Fix package-before-copyright in GerritLauncher
194* Fix unified patch view
195* Fix background of RPC loading status message
196* Use @def for common CSS definitions
197* Correct comment panel border styles
198* Improve keyapplet referencing
199* Remove the duplicate Version class
200* Be specific about the Maven plugin groupId
201* Fix automatic formatting in SshPanel
202* Remove unnecessary compile scope tags
203* Disable unnecessary class operations
204* Use the full name 'Gerrit Code Review' in sign-in dia...
205* init: Defer all prune executions until upgrade cycle ...
206* Fix automatic formatting in LdapRealm
207* Update gwtorm, gwtjsonrpc, gwtexpui
208* Push Command.destroy down through DispatchCommand red...
209* Quote usernames in the sshd_log if necessary
210* Document why ReplicationUser doesn't use registered g...
211* Configure the gwtorm KeyUtil.Encoder during module lo...