Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 1 | = Release notes for Gerrit 2.10.3 |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 2 | |
| 3 | Download: |
Shawn Pearce | 6d7ebc6 | 2015-06-12 16:34:42 -0700 | [diff] [blame] | 4 | link:https://www.gerritcodereview.com/download/gerrit-2.10.3.war[ |
| 5 | https://www.gerritcodereview.com/download/gerrit-2.10.3.war] |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 6 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 7 | == Important Notes |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 8 | |
| 9 | *WARNING:* There are no schema changes from |
| 10 | link:ReleaseNotes-2.10.2.html[2.10.2], but Bouncycastle was upgraded to 1.51. |
| 11 | It is therefore important to upgrade the site with the `init` program, rather |
| 12 | than only copying the .war file over the existing one. |
| 13 | |
| 14 | *WARNING:* When upgrading from version 2.8.4 or older with a site that uses |
| 15 | Bouncy Castle Crypto, new versions of the libraries will be downloaded. The old |
| 16 | libraries should be manually removed from site's `lib` folder to prevent the |
| 17 | startup failure described in |
| 18 | link:https://code.google.com/p/gerrit/issues/detail?id=3084[Issue 3084]. |
| 19 | |
| 20 | It is recommended to run the `init` program in interactive mode. Warnings will |
| 21 | be suppressed in batch mode. |
| 22 | |
| 23 | ---- |
| 24 | java -jar gerrit.war init -d site_path |
| 25 | ---- |
| 26 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 27 | == New Features |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 28 | |
David Pursehouse | 07bb595 | 2015-04-17 12:31:55 +0900 | [diff] [blame] | 29 | * Support hybrid OpenID and OAuth2 authentication |
David Ostrovsky | 3dbdb2b | 2015-04-16 11:14:12 +0000 | [diff] [blame] | 30 | + |
| 31 | OpenID auth scheme is aware of optional OAuth2 plugin-based authentication. |
David Pursehouse | 07bb595 | 2015-04-17 12:31:55 +0900 | [diff] [blame] | 32 | This feature is considered to be experimental and hasn't reached full feature set yet. |
David Pursehouse | 1ff91c0 | 2015-05-19 15:05:26 +0900 | [diff] [blame] | 33 | Particularly, linking of user identities across protocol boundaries and even from |
David Ostrovsky | 3dbdb2b | 2015-04-16 11:14:12 +0000 | [diff] [blame] | 34 | one OAuth2 identity to another OAuth2 identity wasn't implemented yet. |
| 35 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 36 | === Configuration |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 37 | |
| 38 | * Allow to configure |
| 39 | link:https://gerrit-documentation.storage.googleapis.com/Documentation/2.10.3/config-gerrit.html#sshd.rekeyBytesLimit[ |
| 40 | SSHD rekey parameters]. |
| 41 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 42 | == SSH |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 43 | |
| 44 | * Update SSHD to 0.14.0. |
| 45 | + |
| 46 | This fixes link:https://issues.apache.org/jira/browse/SSHD-348[SSHD-348] which |
| 47 | was causing ssh threads allocated to stream-events clients to get stuck. |
| 48 | + |
| 49 | Also update SSHD Mina to 2.0.8 and Bouncycastle to 1.51. |
| 50 | |
| 51 | * link:https://code.google.com/p/gerrit/issues/detail?id=2797[Issue 2797]: |
| 52 | Add support for ECDSA based public key authentication. |
| 53 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 54 | == Bug Fixes |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 55 | |
| 56 | * Prevent wrong content type for CSS files. |
| 57 | + |
| 58 | The mime-util library contains two content type mappings for .css files: |
| 59 | `application/x-pointplus` and `text/css`. Unfortunately, using the wrong one |
| 60 | will result in most browsers discarding the file as a CSS file. Ensure we only |
| 61 | use the correct type for CSS files. |
| 62 | |
| 63 | * link:https://code.google.com/p/gerrit/issues/detail?id=3289[Issue 3289]: |
| 64 | Prevent NullPointerException in Gitweb servlet. |
| 65 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 66 | === Replication plugin |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 67 | |
| 68 | * Set connection timeout to 120 seconds for SSH remote operations. |
David Pursehouse | 07bb595 | 2015-04-17 12:31:55 +0900 | [diff] [blame] | 69 | + |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 70 | The creation of a missing Git, before starting replication, is a blocking |
| 71 | operation. By setting a timeout, we ensure the operation does not get stuck |
| 72 | forever, essentially blocking all future remote git creation operations. |
| 73 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 74 | === OAuth extension point |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 75 | |
| 76 | * Respect servlet context path in URL for login token |
| 77 | + |
| 78 | On sites with non empty context path, first redirect was broken and ended up |
| 79 | with 404 Not found. |
| 80 | |
| 81 | * Invalidate OAuth session after web_sessions cache expiration |
| 82 | + |
| 83 | After web session cache expiration there is no way to re-sign-in into Gerrit. |
| 84 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 85 | === Daemon |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 86 | |
| 87 | * Print proper names for tasks in output of `show-queue` command. |
| 88 | + |
| 89 | Some tasks were not displayed with the proper name. |
| 90 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 91 | === Web UI |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 92 | |
| 93 | * link:http://code.google.com/p/gerrit/issues/detail?id=3044[Issue 3044]: |
| 94 | Remove stripping `#` in login redirect. |
| 95 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 96 | === SSH |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 97 | |
| 98 | * Prevent double authentication for the same public key. |
| 99 | |
Saša Živkov | 16d56c3 | 2015-04-16 14:46:23 +0200 | [diff] [blame] | 100 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 101 | == Performance |
Saša Živkov | 16d56c3 | 2015-04-16 14:46:23 +0200 | [diff] [blame] | 102 | |
| 103 | * Improved performance when creating a new branch on a repository with a large |
| 104 | number of changes. |
| 105 | |
| 106 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 107 | == Upgrades |
David Ostrovsky | f1ac0da | 2015-04-14 08:04:27 +0200 | [diff] [blame] | 108 | |
| 109 | * Update Bouncycastle to 1.51. |
| 110 | |
| 111 | * Update SSHD to 0.14.0. |