blob: 8292eb570f6918671043f9f8b5391457fc751da4 [file] [log] [blame]
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -07001= Release notes for Gerrit 2.12.2
David Pursehouse5db88b952016-03-09 12:09:42 +09002
3Gerrit 2.12.2 is now available:
4
5link:https://gerrit-releases.storage.googleapis.com/gerrit-2.12.2.war[
6https://gerrit-releases.storage.googleapis.com/gerrit-2.12.2.war]
7
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -07008== Schema Upgrade
David Pursehousecd0a9002016-03-14 02:56:46 +00009
10*WARNING:* There are no schema changes from link:ReleaseNotes-2.12.1.html[
112.12.1] but a manual schema upgrade is necessary when upgrading from 2.12.
12
13When upgrading a site that is already running version 2.12, the `patch_sets`
14table must be manually migrated using the `gerrit gsql` SSH command or the
15`gqsl` site program.
16
17For the default H2 database, execute the command:
18
19----
20 alter table patch_sets modify push_certficate clob;
21----
22
23For MySQL, execute the command:
24
25----
26 alter table patch_sets modify push_certficate text;
27----
28
29For PostgreSQL, execute the command:
30
31----
32 alter table patch_sets alter column push_certficate type text;
33----
34
35For other database types, execute the appropriate equivalent command.
36
37Note that the misspelled `push_certficate` is the actual name of the
38column.
39
40When upgrading from a version earlier than 2.12, or from 2.12.1 having already
41done the migration, this manual step is not necessary and should be omitted.
42
David Pursehouse5db88b952016-03-09 12:09:42 +090043
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -070044== Bug Fixes
David Pursehouse5db88b952016-03-09 12:09:42 +090045
46* Upgrade Apache commons-collections to version 3.2.2.
47+
48Includes a fix for a link:https://issues.apache.org/jira/browse/COLLECTIONS-580[
49remote code execution exploit].
50
51* link:https://code.google.com/p/gerrit/issues/detail?id=3919[Issue 3919]:
52Explicitly set parent project to 'All-Projects' when a project is created
53without giving the parent.
54
55* Don't add message twice on abandon or restore via ssh review command.
56+
57When abandoning or reviewing a change via the ssh `review` command, and
58providing a message with the `--message` option, the message was added to
59the change twice.
60
61* Clear the input box after cancelling add reviewer action.
62+
63When the action was cancelled, the content of the input box was still
64there when opening it again.
65
66* Fix internal server error when aborting ssh command.
67
68* link:https://code.google.com/p/gerrit/issues/detail?id=3969[Issue 3969]:
69Fix internal server error when submitting a change with 'Rebase If Necessary'
70strategy.