blob: 6037edd3f1e1b63377a78256dfc6d4bb36391acb [file] [log] [blame]
David Pursehouseb9b53942015-10-02 17:59:31 +09001Release notes for Gerrit 2.11.4
2===============================
3
4Gerrit 2.11.4 is now available:
5
6link:https://gerrit-releases.storage.googleapis.com/gerrit-2.11.4.war[
7https://gerrit-releases.storage.googleapis.com/gerrit-2.11.4.war]
8
9Gerrit 2.11.4 includes the bug fixes done with
10link:ReleaseNotes-2.10.7.html[Gerrit 2.10.7]. These bug fixes are *not* listed
11in these release notes.
12
13There are no schema changes from link:ReleaseNotes-2.11.3.html[2.11.3].
14
15
16Bug Fixes
17---------
18
19* Fix NullPointerException in `ls-project` command with `--has-acl-for` option.
20+
21Using the `--has-acl-for` option for external groups (e.g. LDAP groups) was
22causing a NullPointerException.
23
24* link:https://code.google.com/p/gerrit/issues/detail?id=3328[Issue 3328]:
25Allow to push a tag that points to a non-commit object.
26+
27When pushing a tag that points to a non-commit object, like
28link:https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tag/?id=v2.6.11[
29`v2.6.11` on linux-stable] which points to a tree, or
30link:https://git.eclipse.org/c/jgit/jgit.git/tag/?id=spearce-gpg-pub[
31`spearce-gpg-pub` on jgit] which points to a blob, Gerrit rejected the push with
32the error message 'missing object(s)'.
33+
34Note: This was previously fixed in Gerrit version 2.11.1, but was inadvertently
35reverted in 2.11.2 and 2.11.3.
36
37* link:https://code.google.com/p/gerrit/issues/detail?id=2817[Issue 2817]:
David Pursehouseff1a3e42015-10-13 14:28:47 +000038Insert `Change-Id` footer into access right changes.
David Pursehouseb9b53942015-10-02 17:59:31 +090039+
40When modifications of access rights were saved for review, the change
David Pursehouseff1a3e42015-10-13 14:28:47 +000041did not have a `Change-Id` footer in the commit message.
David Pursehouseb9b53942015-10-02 17:59:31 +090042
43* Fix duplicated log lines after reloading a plugin.
44+
45If a plugin was reloaded, logs emitted from the plugin were duplicated.
46
47* Remove `--recheck-mergeable` option from `reindex` command documentation.
48+
49The `--recheck-mergeable` option was removed in Gerrit version 2.11.
50
51* Use the correct validation policy for commits created by Gerrit.
52+
53Commits created by Gerrit were being validated in the same way as commits
54received from users.
55
56* link:https://code.google.com/p/gerrit/issues/detail?id=3557[Issue 3557]:
57Disallow invalid reference patterns in project configuration.
58+
59When editing a project configuration by using the UI or by submitting a change
60to `refs/meta/config`, it was possible to add a permission to an invalid
61reference pattern. This caused the project to be unavailable and the `ls-projects`
62command to fail whenever this project was encountered.
63
64* link:https://code.google.com/p/gerrit/issues/detail?id=3574[Issue 3574]:
65Fix review labels with `AnyWithBlock` function.
66+
67The review labels with `AnyWithBlock` with 0 and +1 values blocked submit when
68reviewers were added.
69
70* Fix ref in tag list for signed/annotated tags.
71+
72The tag name from the header was used, rather than the ref name. In some cases
73this resulted in the wrong tag ref being listed.
74
David Pursehouseff1a3e42015-10-13 14:28:47 +000075* Prevent user from bypassing `ref-update` hook through gerrit-created commits.
David Pursehouseb9b53942015-10-02 17:59:31 +090076+
77If the user used the cherry-pick ability in the UI or via the REST API, they
David Pursehouseff1a3e42015-10-13 14:28:47 +000078could put a commit on a branch that bypassed the requirements of the `ref-update`
David Pursehouseb9b53942015-10-02 17:59:31 +090079hook (such as that certain branches require QA-tickets to be referenced in the
80commit message).
81
David Pursehouseff1a3e42015-10-13 14:28:47 +000082* Allow `InternalUsers` to see drafts.
David Pursehouseb9b53942015-10-02 17:59:31 +090083+
David Pursehouseff1a3e42015-10-13 14:28:47 +000084According to the documentation, `InternalUsers` should have full read access.
85This was not true, since `InternalUsers` could not see drafts.
David Pursehouseb9b53942015-10-02 17:59:31 +090086
87* link:https://code.google.com/p/gerrit/issues/detail?id=2683[Issue 2683]:
88Fix non-ASCII password authentication failure under tomcat (LDAP).
89+
90The authentication with LDAP failed when the password contained non-ASCII
91characters such as ä, ö, Ä, and Ö.
92
93* Do not double decode the login URL token.
94+
95The login URL token used to redirect from the login servlet to the target page
96is already decoded and should not be decoded again.
97
David Pursehouseff1a3e42015-10-13 14:28:47 +000098* link:https://code.google.com/p/gerrit/issues/detail?id=3020[Issue 3020]:
99Include approvals specified on push in change message.
David Pursehouseb9b53942015-10-02 17:59:31 +0900100+
101When using the `%l` option to apply a review label on uploaded changes or
102patch sets, the applied label was not mentioned in the change message.
103
David Pursehouseff1a3e42015-10-13 14:28:47 +0000104* Fire the `comment-added` hook for approvals specified on push.
David Pursehouseb9b53942015-10-02 17:59:31 +0900105+
106When using the `%l` option to apply a review label on uploaded changes or
107patch sets, the `comment-added` hook was not being fired.
David Pursehouseff1a3e42015-10-13 14:28:47 +0000108
109* link:https://code.google.com/p/gerrit/issues/detail?id=3602[Issue 3602]:
110Use uploader for approvals specified on push, not the committer.
111+
112When using the `%l` option to apply a review label on uploaded changes or
113patch sets, the review label was in some cases applied as the committer rather
114than the uploader.
115
116* link:https://code.google.com/p/gerrit/issues/detail?id=3531[Issue 3531]:
117Fix internal server error on unified diff screen for anonymous users.
118
119* link:https://code.google.com/p/gerrit/issues/detail?id=2414[Issue 2414]:
120Improve detection of requiring sign-in.
121+
122Some queries, such as the `has:*` operators, require the user to be signed in.
123+
124Also, when handling a REST API failure, detect 'Invalid authentication' responses
125as also requiring a new session.
126
127* link:https://code.google.com/p/gerrit/issues/detail?id=3052[Issue 3052]:
128Fix 'Conflicts With' list for merge commits.
129+
130The 'Conflicts List' was not being populated correctly if the change being viewed
131was a merge commit, or if the change being viewed conflicted with an open merge
132commit.
133
134Plugin Bugfixes
135---------------
136
137* singleusergroup: Allow to add a user to a project's ACL using `user/username`.
138+
139A user could not be added to a project's ACL unless the user already had READ
140permission in the project's ACL.
141
142* replication: Add waiting time and number of retries to replication log.
143+
144Only the replication execution time was printed in the 'replication completed'
145log statement. The waiting time and retry count is added, to help debug
146replication delays.