blob: 26aa8db1c9489a6bc4c8a9b15350474085fea99b [file] [log] [blame]
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -07001= Release notes for Gerrit 2.2.1
Shawn O. Pearcebd1ee1a2011-06-07 13:41:36 -07002
3Gerrit 2.2.1 is now available:
4
Shawn Pearce6d7ebc62015-06-12 16:34:42 -07005link:https://www.gerritcodereview.com/download/gerrit-2.2.1.war[https://www.gerritcodereview.com/download/gerrit-2.2.1.war]
Shawn O. Pearcebd1ee1a2011-06-07 13:41:36 -07006
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -07007== Schema Change
Shawn O. Pearcebd1ee1a2011-06-07 13:41:36 -07008*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
14to 2.1.7, and then to 2.2.x.
15
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -070016== New Features
Shawn O. Pearcebd1ee1a2011-06-07 13:41:36 -070017* Add 'Expand All Comments' checkbox in PatchScreen
18+
19Allows users to save a user preference that automatically expands
20any inline comment boxes when a page displays.
21
22* Multiple branches in ls-project
23+
24The -b option may be supplied multiple times to ls-project, each
25usage adds a new column of output per project line listing the
26current value of that branch.
27
Yuxuan 'fishy' Wang4f5ad9d2016-05-03 16:18:58 -070028== Bug Fixes
Shawn O. Pearcebd1ee1a2011-06-07 13:41:36 -070029* issue 994 Rename "-- All Projects --" to "All-Projects"
30+
31The name "-- All Projects --.git" is difficult to work with on
32the UNIX command line, due to tools assuming the name is actually
33part of a long option. The project has been renamed to remove these
David Pursehouse4d7ac772013-06-25 17:14:30 +090034leading hyphens, and remove spaces, making it more friendly to work
Shawn O. Pearcebd1ee1a2011-06-07 13:41:36 -070035with on the command line.
36
37* issue 997 Resolve Project Owners when checking access rights
38+
39Members of the 'Project Owners' magical group did not always have
40their project owner privileges when Gerrit Code Review was looking
41for "access to any ref" at the project level. This was caused by
42not expanding the 'Project Owner's group to the actual ownership
43list. Fixed.
44
45* issue 999 Do not reset Patch History selection on navigation
46+
47Navigating to the next/previous file lost the setting of the
48"Old Version" made under the "Patch History" expandable control
49on 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+
54Searching for labels (or any approval scores) was broken due to an
55incorrect usage of the Java "equals()" method. Fixed.
56
57* issue 1000 Fix administration of projects with no access controls
58+
59Projects that had no access sections could not have additional
60sections added to them, due to a bug in the web UI. Fixed.
61
62* Fix API breakage on ChangeDetailService
63+
64Version 2.1.7 broke the Gerrit Code Review plugin for Mylyn Reviews
David Pursehouse4d7ac772013-06-25 17:14:30 +090065due to an accidental signature change of one of the remote JSON
Shawn O. Pearcebd1ee1a2011-06-07 13:41:36 -070066APIs. The ChangeDetailService.patchSetDetail() method is back to the
67old signature and a new patchSetDetail2() method has been added to
68handle the newer calling convention used in some contexts of the
69web UI.
70
71* Add error messages for abandon and restore when in bad state
72+
73Instead of crashing with internal NullPointerExceptions, report
74a better error message to clients when a change is being moved
75between states.