Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 1 | = Release notes for Gerrit 2.1.8 |
Shawn O. Pearce | 01bac34 | 2011-06-24 09:41:28 -0700 | [diff] [blame] | 2 | |
| 3 | Gerrit 2.1.8 is now available: |
| 4 | |
Shawn Pearce | 6d7ebc6 | 2015-06-12 16:34:42 -0700 | [diff] [blame] | 5 | link:https://www.gerritcodereview.com/download/gerrit-2.1.8.war[https://www.gerritcodereview.com/download/gerrit-2.1.8.war] |
Shawn O. Pearce | 01bac34 | 2011-06-24 09:41:28 -0700 | [diff] [blame] | 6 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 7 | == New Features |
Shawn O. Pearce | 01bac34 | 2011-06-24 09:41:28 -0700 | [diff] [blame] | 8 | * Add cache for tag advertisements |
| 9 | + |
| 10 | When READ level access controls are used on references/branches, this |
| 11 | cache provides a massive performance boost. On some repositories, |
| 12 | no-op Git client requests can go from 7.910s to 0.550s. Since all |
| 13 | of the time reduction is server CPU, this is a major performance |
| 14 | improvement for busy servers. |
| 15 | |
| 16 | * Substantially speed up pushing changes for review |
| 17 | + |
| 18 | Pushing changes to big projects was very slow, for similar issues |
| 19 | as the READ level access controls. Push checks have been improved, |
| 20 | reducing the amount of server CPU required to validate a push for |
| 21 | review is connected to the branch its intended for. |
| 22 | |
| 23 | * Avoid costly findMergedInto during push to refs/for/* |
| 24 | + |
| 25 | Checking to see if a new commit uploaded for review has already been |
| 26 | merged into a branch turns out to be expensive, and not very useful. |
| 27 | Since the commit is brand new to the server, it cannot possibly ever |
| 28 | have been merged. Skip the merge check to get a major performance |
| 29 | improvement on upload to big projects. |
| 30 | |
| 31 | * Allow serving static files in subdirectories |
| 32 | + |
| 33 | The /static/ subdirectory can now serve static files contained within |
| 34 | subdirectories. This change also patches the code to perform better |
| 35 | checks to ensure the requested URL is actually in the subdirectory. |
| 36 | These additional checks are only relevant on Windows servers, where |
| 37 | MS-DOS compatibility may have permitted access to special device |
| 38 | files in any directory, rather than just the "\\.\" device namespace. |
| 39 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 40 | == Bug Fixes |
Shawn O. Pearce | 01bac34 | 2011-06-24 09:41:28 -0700 | [diff] [blame] | 41 | * issue 518 Fix MySQL counter resets |
| 42 | + |
| 43 | MySQL databases lost their change_id, account_id counters after |
| 44 | server restarts, causing duplicate key insertion errors. Fixed. |
| 45 | |
| 46 | * issue 1019 Normalize OpenID URLs with http:// prefix |
| 47 | + |
| 48 | OpenID standards require sites to add "http://" to an OpenID |
| 49 | identifier if the user did not enter it themselves. |
| 50 | |
| 51 | * Ignore PartialResultException from LDAP. |
| 52 | + |
| 53 | Instead of crashing with an exception, partial results are ignored |
| 54 | when configured to be ignored. |