Stash 2.11 release notes
25 February 2014
Introducing Stash 2.11
Today we're excited to announce Stash 2.11, which brings added support for code review workflows with side-by-side diffs and new ways to discuss code changes.
If you are upgrading from an earlier version of Stash, please read the Bitbucket Server upgrade guide.
Please also check the End of support announcements.
The Stash 2.11 changelog is at the bottom of this page.
Commit comments
Now you can get immediate feedback on changes in a particular commit, even if they're not part of a pull request. Commit discussions allow you to request feedback early on in the development cycle – not only to ensure you are on the right path, but also to speed up subsequent pull requests because the bulk of the changes have already been reviewed. Commit comments also let developers point out general issues in code or discuss ideas for improving code quality in future work.
You can comment directly on a line of code right in the diff, just as you've been able to do with diffs in pull requests. Just hover over the line of code, click the icon at the left (arrowed below), and enter your comment; @mention another Stash user in the comment, to get their attention.
As the author of the commit, or when you make a comment, you're automatically made a watcher, and get notified when others comment. You can watch, or unwatch, the commit at any time, of course.
File comments for pull requests and commits
Until now you've only been able to comment on particular lines of code in files under discussion in pull requests. But what if you wanted to comment about the whole file, or about a file without text, such as an image? Now you can!
Whether you're looking at a pull request or a file in a commit, just click the header icon (arrowed below, or use the 'M' keyboard shortcut) to add a comment about the whole file. You can do this in both a unified diff or a side-by-side diff (also new in this release - see below).
As with general or in-line comments, file comments on a pull request appear in the activity stream, so it's easy for others to see, and you can @mention other Stash users to really get their attention.
Read more about pull requests in Stash...
Side-by-side diffs
We added a new side-by-side view for when you're looking at diffs in both pull requests and commits – we think you'll find that this really improves your experience of using Stash for code reviews, and for viewing code changes in general.
Toggle between the unified diff and side-by-side diff views using the menu arrowed below. The side-by-side view is not available for added or removed files.
For a pull request, the lefthand panel shows the code in the target branch and the righthand panel shows what the result of merging will be. For a commit, the lefthand panel shows the previous revision and the righthand panel show the current revision.
As mentioned above, file comments and per-line comments are both available for the side-by-side view.
Small improvements
MySQL 5.6.16+ is now supported
Stash now supports versions of MySQL 5.6 from MySQL 5.6.16 on. See Supported platforms.
Lockout recovery process
We've made some changes to help admins who accidentally lock themselves out of Stash. See Lockout recovery process.
Change log
This section will contain information about the Stash 2.11 minor releases as they become available. These releases will be free to all customers with active Stash software maintenance.
If you are upgrading from an earlier version of Stash, please read the Bitbucket Server upgrade guide.
The issues listed below are the highlights of all those that have been resolved for the Stash 2.11.x releases. Note that Stash 2.11.0 and 2.11.1 were internal releases.