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