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