Shawn O. Pearce | d07c92c | 2010-07-23 12:17:07 -0700 | [diff] [blame] | 1 | Release notes for Gerrit 2.1.4 |
| 2 | ============================== |
| 3 | |
| 4 | Gerrit 2.1.4 is now available in the usual location: |
| 5 | |
| 6 | link:http://code.google.com/p/gerrit/downloads/list[http://code.google.com/p/gerrit/downloads/list] |
| 7 | |
| 8 | Schema Change |
| 9 | ------------- |
| 10 | |
| 11 | *WARNING* This release contains multiple schema changes. To upgrade: |
| 12 | ---- |
| 13 | java -jar gerrit.war init -d site_path |
| 14 | ---- |
| 15 | |
| 16 | New Features |
| 17 | ------------ |
| 18 | |
| 19 | Change Management |
| 20 | ~~~~~~~~~~~~~~~~~ |
| 21 | |
| 22 | * issue 504 Implement full query operators |
| 23 | + |
David Pursehouse | 4d7ac77 | 2013-06-25 17:14:30 +0900 | [diff] [blame] | 24 | The search box now implements a wide range of operators and boolean |
Shawn O. Pearce | d07c92c | 2010-07-23 12:17:07 -0700 | [diff] [blame] | 25 | expressions, permitting complex queries such as `is:open CodeReview>=1 |
| 26 | (has:draft OR is:starred)` to locate open changes that have been code |
| 27 | reviewed, but still have unpublished drafts or were starred by the |
| 28 | current user. The full range of supported operators is documented |
| 29 | in the user guide. |
| 30 | |
| 31 | * Change lists now use query operators |
| 32 | + |
| 33 | All current change lists have been reimplemented using query |
| 34 | operators, so selecting 'All open changes' actually performs the query |
| 35 | 'is:open'. This is to help end-users learn the different operators |
| 36 | that are supported, and simplifies the internal implementation |
| 37 | considerably by removing redundant code. |
| 38 | |
| 39 | * issue 51 Tag changes with topic branches |
| 40 | + |
| 41 | Changes can be tagged with a topic name during upload. To add the tag |
| 42 | 'query' when pushing to branch 'master', use `git push URL |
| 43 | HEAD:refs/for/master/query`. To add a topic name with `repo upload` |
| 44 | use the `-t` command line flag. Topic names are displayed next to the |
| 45 | branch name in the web UI, and can be searched for with the `topic:` |
| 46 | query operator. |
| 47 | |
| 48 | * Filter the list of open changes by watched projects |
| 49 | + |
| 50 | The query operator `is:watched` matches changes matching the user's |
| 51 | watched project list, and a new menu item was added under the My menu |
| 52 | to select open changes matching these watched projects. |
| 53 | |
| 54 | Web UI |
| 55 | ~~~~~~ |
| 56 | |
| 57 | * issue 579 Remember diff formatting preferences |
| 58 | + |
| 59 | Formatting options at the top of a side-by-side or unified diff page |
| 60 | are now remembered by saving the current preferences into the user's |
| 61 | account whenever 'Update' is clicked. |
| 62 | |
| 63 | * issue 680 Show commit message on the per-file review pages |
| 64 | |
| 65 | * issue 498 Improved keyboard navigation |
| 66 | + |
| 67 | More keyboard bindings have been added, reducing the need to switch to |
| 68 | the mouse while navigating through a change and performing a review. |
| 69 | |
| 70 | * issue 395 Open new window/new tab for all files in a change |
| 71 | + |
| 72 | New buttons permit opening all modified files of a change into |
| 73 | new windows or tabs. |
| 74 | |
| 75 | * issue 440 Add copy to clipboard button for change-id |
| 76 | + |
| 77 | The Change-Id field in the upper left side of a change now support to |
| 78 | copy "Change-Id: I...." onto the clipboard, making it easier to paste |
| 79 | into a commit message. |
| 80 | |
| 81 | * issue 559 Allow copying user public ssh key to clipboard |
| 82 | |
Shawn O. Pearce | b0cdb1b | 2010-08-06 11:40:54 -0700 | [diff] [blame] | 83 | * issue 509 Make branch columns link to changes on that branch |
| 84 | |
Shawn O. Pearce | d07c92c | 2010-07-23 12:17:07 -0700 | [diff] [blame] | 85 | Email Notifications |
| 86 | ~~~~~~~~~~~~~~~~~~~ |
| 87 | |
| 88 | * issue 311 No longer CC a user by default |
| 89 | + |
| 90 | The user who causes a notification to be sent is no longer CC'd on the |
| 91 | email when it is sent. This reduces the number of messages sent to a |
| 92 | user, but can be re-enabled through a checkbox in the Settings > |
| 93 | Preferences panel. |
| 94 | |
| 95 | * issue 535 Enable watching of all projects |
| 96 | + |
| 97 | Adding the magic `\-- All Projects \--` to the watched project list |
| 98 | permits the user to be notified of any change occurring in any |
| 99 | project. Project specific entries override the notification settings |
| 100 | for all projects. |
| 101 | |
| 102 | * issue 492 Allow watching specific branches or any other search query |
| 103 | + |
| 104 | In addition to watching a project, users can register a query string |
| 105 | to match specific changes, reducing notifications to be a smaller |
| 106 | subset of the changes that occur in a project. |
| 107 | |
| 108 | * issue 70 Allow file:^regex to match affected files |
| 109 | + |
| 110 | The file:^path operator can be used in a watch filter to receive |
| 111 | notifications only when files matching the regular expression are |
| 112 | modified by the change. |
| 113 | |
| 114 | * issue 623 Include Gerrit-Owner, Gerrit-Reviewer in email footers |
| 115 | + |
| 116 | New fields in the email footer provide additional detail, enabling |
| 117 | better filtering and classification of messages. |
| 118 | |
| 119 | Access Control |
| 120 | ~~~~~~~~~~~~~~ |
| 121 | |
| 122 | * Support regular expressions for ref access rules |
| 123 | + |
| 124 | References in an access rule can now be specified by regular |
| 125 | expression by prefixing the reference name with ^. |
| 126 | |
| 127 | * issue 577 Support $\{username\} in access rules |
| 128 | + |
| 129 | Adding `$\{username\}` into a reference causes the current username to |
| 130 | be inserted at that position. When combined with the Push Branch |
| 131 | permission this creates a per-user branch namespace feature, giving |
| 132 | each user their own "sandbox" to push changes to. |
| 133 | |
Shawn O. Pearce | b0cdb1b | 2010-08-06 11:40:54 -0700 | [diff] [blame] | 134 | * issue 313 ssh gerrit create-group |
| 135 | + |
| 136 | Groups can now be created over SSH by administrators using the |
| 137 | `gerrit create-group` command. |
| 138 | |
Shawn O. Pearce | d07c92c | 2010-07-23 12:17:07 -0700 | [diff] [blame] | 139 | Authentication |
| 140 | ~~~~~~~~~~~~~~ |
| 141 | |
| 142 | * Remove password authentication over SSH |
| 143 | + |
| 144 | Adding password authentication over SSH turned out to be a major |
| 145 | mistake. Users primarily use SSH public keys, and the password |
| 146 | prompt just got in the way or confused them. Password support has |
| 147 | been removed from the SSH server. |
| 148 | |
| 149 | * Username cannot be changed once assigned |
| 150 | + |
| 151 | Once a username has been selected for a user account, it |
| 152 | cannot be modified by the user. |
| 153 | |
| 154 | * issue 555 Make LDAP sessions persistent for the session age |
| 155 | + |
| 156 | Web sessions are now persistent for the cache.web_sessions.maxAge |
| 157 | setting, rather than expiring when the browser closes. (Previously |
| 158 | sessions expired when the browser exited.) |
| 159 | |
| 160 | Misc. |
| 161 | ~~~~~ |
| 162 | |
| 163 | * Add topic, lastUpdated, sortKey to ChangeAttribute |
| 164 | + |
| 165 | Additional change fields are now exported as part of the |
| 166 | stream-events output. |
| 167 | |
| 168 | * issue 504 gerrit query SSH command |
| 169 | + |
| 170 | Queries to lookup change information can be executed over SSH through |
| 171 | the `gerrit query` command, with results output in either human |
| 172 | readable text or machine readable JSON. Change queries can also be |
| 173 | run over HTTP with the `/query?q=<query>&format=JSON` URL. Both |
| 174 | interfaces are intended for automated tools. |
| 175 | |
| 176 | * Remove git diff-tree dependency |
| 177 | + |
| 178 | Gerrit no longer requires `git` in the PATH; differences are now |
| 179 | constructed in pure Java code. Remote repository initialization over |
| 180 | SSH still requires `git` on the remote host's PATH. |
| 181 | |
| 182 | * Internal dependencies updated |
| 183 | + |
Shawn O. Pearce | b0cdb1b | 2010-08-06 11:40:54 -0700 | [diff] [blame] | 184 | Updated JGit to 0.8.4.89-ge2f5716, log4j to 1.2.16, GWT to 2.0.4, |
Shawn O. Pearce | d07c92c | 2010-07-23 12:17:07 -0700 | [diff] [blame] | 185 | sfl4j to 1.6.1, easymock to 3.0, JUnit to 4.8.1. |
| 186 | |
| 187 | Bug Fixes |
| 188 | --------- |
| 189 | |
| 190 | Web UI |
| 191 | ~~~~~~ |
| 192 | |
| 193 | * issue 352 Confirm branch deletion in web UI |
| 194 | + |
| 195 | Deleting a branch now presents a confirmation dialog to give the user |
| 196 | a second chance to abort the destructive operation. |
| 197 | |
| 198 | * Fix some JavaScript errors under Chrome |
| 199 | + |
| 200 | The GWT compiler started to define symbols in the same namespace as |
| 201 | the prettify syntax highlighting library. We moved the prettify |
| 202 | library into its own iframe so it has a different JavaScript namespace |
| 203 | in the browser. |
| 204 | |
Shawn O. Pearce | b0cdb1b | 2010-08-06 11:40:54 -0700 | [diff] [blame] | 205 | * Close button on OpenId register / sign-in dialog |
| 206 | + |
| 207 | There was no obvious way to leave the sign-in dialog. Fixed. |
| 208 | |
| 209 | * Links in OpenId sign-in dialog not focusable |
| 210 | + |
| 211 | Keyboard navigation to standard links like 'Google Accounts' |
| 212 | wasn't supported. Fixed. |
| 213 | |
Shawn O. Pearce | d07c92c | 2010-07-23 12:17:07 -0700 | [diff] [blame] | 214 | Misc. |
| 215 | ~~~~~ |
| 216 | |
| 217 | * issue 614 Fix 503 error when Jetty cancels a request |
| 218 | + |
| 219 | A bug was introduced in 2.1.3 that caused a server 503 error |
| 220 | when a fetch/pull/clone or push request timed out. Fixed. |
| 221 | |
| 222 | Version |
| 223 | ------- |
| 224 | |
Shawn O. Pearce | b0cdb1b | 2010-08-06 11:40:54 -0700 | [diff] [blame] | 225 | ae59d1bf232bba16d4d03ca924884234c68be0f2 |