Shawn O. Pearce | c20e283 | 2010-02-17 09:16:26 -0800 | [diff] [blame] | 1 | Release notes for Gerrit 2.1.1, 2.1.1.1 |
| 2 | ======================================= |
| 3 | |
| 4 | Gerrit 2.1.1.1 is now available in the usual location: |
| 5 | |
| 6 | link:http://code.google.com/p/gerrit/downloads/list[http://code.google.com/p/gerrit/downloads/list] |
| 7 | |
| 8 | Schema 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 | |
| 16 | Patch 2.1.1.1 |
| 17 | ------------- |
| 18 | |
| 19 | * Update MINA SSHD to SVN 897374 |
| 20 | + |
| 21 | A deadlock was recently discovered in the SSHD, causing an |
| 22 | IoProcessor thread to freeze and stop servicing clients. This |
| 23 | manifests itself as spotty SSH service; sometimes a connection |
| 24 | works, sometimes it hangs and never executes the command. Fixed. |
| 25 | |
| 26 | * issue 376 Fix deletion of comments on publish comments screen |
| 27 | + |
| 28 | Discarding a comment from the publish comments screen caused |
| 29 | a ConcurrentModificationException. Fixed. |
| 30 | |
| 31 | New Features |
| 32 | ------------ |
| 33 | |
| 34 | * issue 322 Update to GWT 2.0.0 |
| 35 | + |
| 36 | JavaScript code generation is now based upon GWT 2.0, which |
| 37 | is the latest stable release available. One benefit of this |
| 38 | is the initial JavaScript download is smaller, by omitting |
| 39 | less-frequently used sections of the UI like the admin screens |
| 40 | or user preferences. |
| 41 | |
| 42 | * Support creating new users in `DEVELOPMENT_BECOME_ANY_`... |
| 43 | + |
| 44 | Developers can now create new users (to facilitate testing |
| 45 | scenarios) through the /become URL, rather than manually |
| 46 | inserting account records or switching over to OpenID/LDAP. |
| 47 | |
| 48 | * issue 371 Make gitweb url links customizable, add support for c... |
| 49 | + |
| 50 | The linkage to gitweb is now more configurable, and we also |
| 51 | support linking to cgit, a popular C based alternative to the |
| 52 | Perl based gitweb.cgi. |
| 53 | |
| 54 | * Log SSH activity to $site_path/logs/sshd_log |
| 55 | + |
| 56 | SSH authentication failures and commands are now logged, including |
| 57 | execution times, so administrators can monitor server activity. |
| 58 | The log file is local to the server running the daemon process, |
| 59 | and came about to help replace the lastUsedOn columns which were |
| 60 | dropped from the database (see below). |
| 61 | |
| 62 | * Drop the lastUsedOn from AccountSshKeys, AccountExternalIds |
| 63 | * Implement automatic schema upgrading |
| 64 | + |
| 65 | The lastUsedOn column is no longer updated in the database, |
| 66 | and was actually removed by a schema upgrade in this release. |
| 67 | |
| 68 | * issue 162 Record submitters as the author of a merge commit |
| 69 | + |
| 70 | Merge commits created by Gerrit during change submission now |
| 71 | use the submitter's identity as the author identity, and generic |
| 72 | Gerrit user identity as the committer identity. |
| 73 | |
| 74 | * issue 162 Summarize single change merges with short description |
| 75 | + |
| 76 | The short description of a merge commit including exactly |
| 77 | one change into the branch now includes that change's short |
| 78 | description, making the log easier to read. |
| 79 | |
| 80 | * Reload GerritSiteHeader, GerritSiteFooter, GerritSite... |
| 81 | + |
| 82 | The site header/footer files are reloaded on the fly if they are |
| 83 | modified, 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 | + |
| 90 | The host page was compacted slightly, and the CPU time used on |
| 91 | the server to send it to a client was reduced by reusing as much |
| 92 | work as possible between sessions. |
| 93 | Additionally, the host page now selects the correct JavaScript |
| 94 | based on the User-Agent HTTP header, removing one HTTP round |
| 95 | trip during initial page load, and saving ~5 KiB of transfer. |
| 96 | |
| 97 | * Make hyperlinks update URL when screen is visible |
| 98 | + |
| 99 | The address bar now only updates when the corresponding content |
| 100 | is actually visible. This matches the behavior used within |
| 101 | other AJAX applications like Gmail. |
| 102 | |
| 103 | * Use a glass pane behind our dialogs, make most modal |
| 104 | + |
David Pursehouse | 4d7ac77 | 2013-06-25 17:14:30 +0900 | [diff] [blame] | 105 | Error dialogs are now more noticeable, and less easily dismissed |
| 106 | by an accidental click. This is especially useful when there |
Shawn O. Pearce | c20e283 | 2010-02-17 09:16:26 -0800 | [diff] [blame] | 107 | is a merge error during submit. |
| 108 | |
| 109 | Bug Fixes |
| 110 | --------- |
| 111 | |
| 112 | * issue 359 Allow updates of commits where only the parent changes |
| 113 | + |
| 114 | Commit replacements were sometimes rejected when the only thing |
| 115 | that changed as the parent pointer, e.g. rebasing a change because |
| 116 | the parent's commit message was modified to correct a typo. |
| 117 | We now allow these replacements, with a warning to the console. |
| 118 | |
| 119 | * gsql: Fix \d table missing first column |
| 120 | + |
| 121 | The gsql tool skipped the first column of any table, e.g. when |
| 122 | showing "\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 | + |
| 127 | The WAR file shrank because we deleted a large chunk of JavaScript |
| 128 | which was never used. GWT created this code in case the browser |
| 129 | didn't get forced into the 'en' locale, but we always force it to |
| 130 | use 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 | + |
| 134 | This test failed when the JVM's default locale wasn't en_US, as it |
| 135 | was testing a translated string against an English expected value. |
| 136 | |
| 137 | * issue 365 Skip CommitMsgHookTest on Win32 |
| 138 | + |
| 139 | This test failed on Windows platforms, where there is no shell |
| 140 | or perl available from a native Win32 application like the JVM. |
| 141 | For now, we skip the test. |
| 142 | |
| 143 | * issue 369 Add missing repositories to build search path |
| 144 | + |
| 145 | The out-of-the-box build of Gerrit's own source code didn't work, |
| 146 | due to missing Maven repository URLs in our pom.xml. I never |
| 147 | noticed the failure because my local repository already had the |
| 148 | required JARs present. |
| 149 | |
| 150 | * Fix MSIE 8 compatibility |
| 151 | + |
| 152 | Releases between 2.0.18 and 2.1.1 have not supported MSIE 8, |
| 153 | due to a broken GWT upgrade. Fixed. |
| 154 | |
| 155 | * Ensure gitweb.cgi pipes are closed |
| 156 | + |
| 157 | Exceptions may have allowed our internal gitweb CGI invocations |
| 158 | to leak file descriptors, as pipes to the external CGI were not |
| 159 | always closed. Fixed. |
| 160 | |
| 161 | Other |
| 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... |