Gerrit 2.11.2 is now available:

Gerrit 2.11.2 includes the bug fixes done with Gerrit 2.10.6. These bug fixes are not listed in these release notes.

There are no schema changes from 2.11.1.

New Features

New SSH commands:

  • index start

    Allows to restart the online indexer without restarting the Gerrit server.

  • index activate

    Allows to activate the latest index version even if the indexing encountered problems.

Bug Fixes

  • Issue 2761: Fix incorrect file list when comparing patchsets.

    When comparing a patchset with another one, the added and deleted files were not displayed properly.

  • Issue 3460: Fix regression in the search box auto-suggestions.

    A change introduced in version 2.11 caused the auto-suggestions to not work any more.

  • Issue 3355: Fix corruption of database when deleting draft change ref fails.

  • Issue 3426: Fix regression in the %base option.

    A change introduced in version 2.11 caused the %base option to not work any more, meaning it was not possible to push a commit, which is already merged into a branch, for review to another branch of the same project.

  • JGit bug 468024: Fix data loss if a pack is pushed to a JGit based server and gc runs concurrently on the same repository.

  • Issue 3371: Fix wrong date/time for commits in refs/meta/config branch.

    When the refs/meta/config branch was modified using the PutConfig REST endpoint (e.g. when changing the project configuration in the web UI) the commit date/time was wrong. Instead of the actual date/time the date/time of the last Gerrit server start was used.

  • Fix NullPointerException in the related changes REST API endpoint.

  • Make sure /a is not in the project name for git-over-http requests.

    The /a prefix is used to trigger authentication but was not removed from the request. Therefore, it was included in the project name and hence the project wasn’t found when performing, for example git fetch http://server/a/project.

  • Fix disabling of git ssh commands.

    The ssh commands were available even when ssh commands were disabled.

  • Fix native string handling in Plugin API.

    The results of REST API calls were incorrectly being converted from NativeString to String when called from Javascript.

  • Issue 3440: Include prettify source files in the documentation.

    The prettify source files were being loaded from cdnjs.cloudflare.com, which may cause trouble if the Gerrit instance is behind a firewall on a machine not allowed to access the Internet at large.

    Now those files are bundled with the documentation.

  • Print proper name for project indexer tasks in show-queue command.

  • Print proper name for reindex after update tasks in show-queue command.

Updates

  • Update JGit to 4.0.1.201506240215-r.