Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 1 | = Release notes for Gerrit 2.2.1 |
Shawn O. Pearce | bd1ee1a | 2011-06-07 13:41:36 -0700 | [diff] [blame] | 2 | |
| 3 | Gerrit 2.2.1 is now available: |
| 4 | |
Shawn Pearce | 6d7ebc6 | 2015-06-12 16:34:42 -0700 | [diff] [blame] | 5 | link:https://www.gerritcodereview.com/download/gerrit-2.2.1.war[https://www.gerritcodereview.com/download/gerrit-2.2.1.war] |
Shawn O. Pearce | bd1ee1a | 2011-06-07 13:41:36 -0700 | [diff] [blame] | 6 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 7 | == Schema Change |
Shawn O. Pearce | bd1ee1a | 2011-06-07 13:41:36 -0700 | [diff] [blame] | 8 | *WARNING:* This release contains schema changes. To upgrade: |
| 9 | ---- |
| 10 | java -jar gerrit.war init -d site_path |
| 11 | ---- |
| 12 | |
| 13 | *WARNING:* Upgrading to 2.2.x requires the server be first upgraded |
| 14 | to 2.1.7, and then to 2.2.x. |
| 15 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 16 | == New Features |
Shawn O. Pearce | bd1ee1a | 2011-06-07 13:41:36 -0700 | [diff] [blame] | 17 | * Add 'Expand All Comments' checkbox in PatchScreen |
| 18 | + |
| 19 | Allows users to save a user preference that automatically expands |
| 20 | any inline comment boxes when a page displays. |
| 21 | |
| 22 | * Multiple branches in ls-project |
| 23 | + |
| 24 | The -b option may be supplied multiple times to ls-project, each |
| 25 | usage adds a new column of output per project line listing the |
| 26 | current value of that branch. |
| 27 | |
Yuxuan 'fishy' Wang | 4f5ad9d | 2016-05-03 16:18:58 -0700 | [diff] [blame] | 28 | == Bug Fixes |
Shawn O. Pearce | bd1ee1a | 2011-06-07 13:41:36 -0700 | [diff] [blame] | 29 | * issue 994 Rename "-- All Projects --" to "All-Projects" |
| 30 | + |
| 31 | The name "-- All Projects --.git" is difficult to work with on |
| 32 | the UNIX command line, due to tools assuming the name is actually |
| 33 | part of a long option. The project has been renamed to remove these |
David Pursehouse | 4d7ac77 | 2013-06-25 17:14:30 +0900 | [diff] [blame] | 34 | leading hyphens, and remove spaces, making it more friendly to work |
Shawn O. Pearce | bd1ee1a | 2011-06-07 13:41:36 -0700 | [diff] [blame] | 35 | with on the command line. |
| 36 | |
| 37 | * issue 997 Resolve Project Owners when checking access rights |
| 38 | + |
| 39 | Members of the 'Project Owners' magical group did not always have |
| 40 | their project owner privileges when Gerrit Code Review was looking |
| 41 | for "access to any ref" at the project level. This was caused by |
| 42 | not expanding the 'Project Owner's group to the actual ownership |
| 43 | list. Fixed. |
| 44 | |
| 45 | * issue 999 Do not reset Patch History selection on navigation |
| 46 | + |
| 47 | Navigating to the next/previous file lost the setting of the |
| 48 | "Old Version" made under the "Patch History" expandable control |
| 49 | on a specific file view. This was accidentally broken when the |
| 50 | "Old Version History" control was added to the change page. Fixed. |
| 51 | |
| 52 | * issue 1001 Fix search by codereview status |
| 53 | + |
| 54 | Searching for labels (or any approval scores) was broken due to an |
| 55 | incorrect usage of the Java "equals()" method. Fixed. |
| 56 | |
| 57 | * issue 1000 Fix administration of projects with no access controls |
| 58 | + |
| 59 | Projects that had no access sections could not have additional |
| 60 | sections added to them, due to a bug in the web UI. Fixed. |
| 61 | |
| 62 | * Fix API breakage on ChangeDetailService |
| 63 | + |
| 64 | Version 2.1.7 broke the Gerrit Code Review plugin for Mylyn Reviews |
David Pursehouse | 4d7ac77 | 2013-06-25 17:14:30 +0900 | [diff] [blame] | 65 | due to an accidental signature change of one of the remote JSON |
Shawn O. Pearce | bd1ee1a | 2011-06-07 13:41:36 -0700 | [diff] [blame] | 66 | APIs. The ChangeDetailService.patchSetDetail() method is back to the |
| 67 | old signature and a new patchSetDetail2() method has been added to |
| 68 | handle the newer calling convention used in some contexts of the |
| 69 | web UI. |
| 70 | |
| 71 | * Add error messages for abandon and restore when in bad state |
| 72 | + |
| 73 | Instead of crashing with internal NullPointerExceptions, report |
| 74 | a better error message to clients when a change is being moved |
| 75 | between states. |