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