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