blob: ae6d7dd7969a96afd9dc4474a9e851263b07e372 [file] [log] [blame]
Shawn O. Pearcec20e2832010-02-17 09:16:26 -08001Release notes for Gerrit 2.0.22
2===============================
3
4Gerrit 2.0.22 is now available in the usual location:
5
6link:http://code.google.com/p/gerrit/downloads/list[http://code.google.com/p/gerrit/downloads/list]
7
8Schema Change
9-------------
10
11There is no schema change in this release.
12
13* Restriction on SSH Username
14+
15There is a new restriction placed on the SSH Username field
16within an account. Users who are using invalid names should
17be asked to change their name to something more suitable.
18Administrators can identify these users with the following query:
19----
20 -- PostgreSQL
21 SELECT account_id,preferred_email,ssh_user_name
22 FROM accounts
23 WHERE NOT (ssh_user_name ~ '^[a-zA-Z][a-zA-Z0-9._-]*[a-zA-Z0-9]$');
24
25 -- MySQL
26 SELECT account_id,preferred_email,ssh_user_name
27 FROM accounts
28 WHERE NOT (ssh_user_name REGEXP '^[a-zA-Z][a-zA-Z0-9._-]*[a-zA-Z0-9]$');
29----
30 Administrators can force these users to select a new name by
31 setting ssh_user_name to NULL; the user will not be able to
32 login over SSH until they return and select a new name.
33
34
35New Features
36------------
37* GERRIT-280 create-project: Add --branch and cleanup arguments
38+
39The --branch option to create-project can be used to setup the
40default initial branch to be a name other than 'master'.
41Argument parsing also changed slightly, especially around the
42boolean options and submit type. Please recheck the documentation
43and/or the output of --help.
44
45* GERRIT-216 Add slave mode to ssh daemon
46+
47The standalone SSH daemon can now be run in a read-only
48mode. This allows use Gerrit's access control database for
49access decisions when serving a read-only copy of the project
50repositories. Placing a read-only slave local to a remote office
51may reduce sync times for those closer to the slave server.
52
53* Enable multi-line comment highlighting for Scala code
54+
55Scala source code now highlights more like Java source code does,
56especially for multiline `/** ... */` style comments.
57
58* GERRIT-271 Enable forcing ldap.accountSshUserName to lowercase
59+
60The following properties may now be configured from LDAP using
61more complex expressions: accountFullName, accountEmailAddress,
62accountSshUserName. Property expressions permit forcing
David Pursehouse4d7ac772013-06-25 17:14:30 +090063to a lowercase string, or performing string concatenation.
Shawn O. Pearcec20e2832010-02-17 09:16:26 -080064These features may help some environments to better integrate
65with their local LDAP server.
66
67* Support username/password authentication by LDAP
68+
69A new auth.type of LDAP was added to support Gerrit prompting
70the end-user for their username and password, and then doing a
71simple bind against the LDAP server to authenticate the user.
72This can simplify installation in environments which lack a
73web based single-sign-on solution, but which already have a
74centralized LDAP directory for user management.
75
76* Inform submitter of merge failure by dialog box
77+
78When a change submit fails, a dialog box is now displayed showing
79the merge failure message. This saves the user from needing to
80scroll down to the end of the change page to determine if their
81submit was successful, or not.
82
83* Better submit error messages
84+
85Missing dependency submit errors are now much more descriptive
86of the problem, helping the user to troubleshoot the issue on
87their own. Merge errors from projects using the cherry-pick
88and fast-forward submit types are also more descriptive of the
89real cause. Unfortunately path conflict errors are not any more
90descriptive, but path conflict is now only reported when there
91is actually a path conflict.
92
93* issue 285 Include pull command line in email notifications
94+
95Sample git pull lines are now included in email notifications.
96
97Bug Fixes
98---------
99* create-project: Document needing to double quote descr...
100+
101The --description flag to create-project require two levels
102of quoting if the new description string contains whitespace.
103The documentation has been updated to reflect that, and shows some
104examples . Unfortunately this is not easily fixed in software,
105due to the way the SSH client passes the command line to the
106remote server.
107
108* GERRIT-281 daemon: Remove unnecessary requirement of HttpServletR...
109+
110The standalone SSH daemon now starts correctly, without needing
111to put the Java servlet API into the CLASSPATH.
112
113* Enforce Account.sshUserName to match expression
114* Restrict typeable characters in SSH username
115* Disallow ., `_` and - in end of SSH Username
116+
117SSH usernames were permitted to contain any character, including
118oddball characters like '\0' and '/'. We really want them to
119be a restricted subset which won't cause errors when we try to
120map SSH usernames as file names in a Git repository as we try
David Pursehouse3be717b2013-05-13 13:56:11 +0900121to move away from an SQL database.
Shawn O. Pearcec20e2832010-02-17 09:16:26 -0800122
123* GERRIT-282 Fix reply to comment on left side
124+
125Clicking 'Reply' to a comment on the left hand side sometimes
126generated a server error due to a subtle bug in how the reply
127was being setup. Fixed.
128
129* issue 282 Fix NullPointerException if ldap.password is missing
130+
131The server NPE'd when trying to open an LDAP connection if
132ldap.username was set, but ldap.password was missing. We now
133assume an unset ldap.password is the same as an empty password.
134
135* issue 284 Make cursor pointer when hovering over OpenID links
136+
137The cursor was wrong in the OpenID sign-in dialog. Fixed.
138
139* Use abbreviated Change-Id in merge messages
140+
141Merge commits created by Gerrit were still using the older style
142integer change number; changed to use the abbreviated Change-Id.
143
144Other Changes
145-------------
146* Start 2.0.22 development
147* Configure Maven to build with UTF-8 encoding
148* Document minimum build requirement for Mac OS X
149* Merge change 10296
150* Remove trailing whitespace.
151* Update issue tracking link in documentation
152* Merge branch 'doc-update'
153* Move client.openid to auth.openid
154* Fix minor errors in install documentation.
155* Merge change 11961
156* Cleanup merge op to better handle cherry-pick, error c...
157* GERRIT-67 Wait for dependencies to submit before claiming merge ...
158* Move abandonChange to ChangeManageService
159* Remove trailing whitespace in install.txt
David Pursehouse3be717b2013-05-13 13:56:11 +0900160* Gerrit 2.0.22