# Stash Latest (2.12) : Stash 2.11 release notes

Created by pwatson, last modified by mmcglynn on Apr 01, 2014

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 Stash upgrade guide.

Please also check the End of support announcements for Stash.

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 Stash 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.

### 1 April 2014 - Stash 2.11.6

T | Key | Summary
--- | --- | ---
| STASH-4526 | Backup Client 1.2.0 cannot restore
| STASH-4517 | Empty activity deletion deadlocks on MySQL
Authenticate to retrieve your issues

2 issues

### 26 March 2014 - Stash 2.11.5

T | Key | Summary
--- | --- | ---
| STASH-4519 | Migration/Setup: "A database error has occurred" masks useful failure details
| STASH-4518 | SQL Server: Deleting repositories with many comments fails
Authenticate to retrieve your issues

2 issues

### 17 March 2014 - Stash 2.11.4

T | Key | Summary
--- | --- | ---
| STASH-4503 | Page doesn't scroll to the focused comment
| STASH-4488 | Commit graph cache incorrectly propagates exception
| STASH-4432 | Links to comments in emails no longer jump to the comment
| STASH-4410 | When cycling through files in the diff view quickly using j/k, the window scrollbar disappears and it's not possible to scroll the diff
| STASH-4407 | Diff scrolling 'jumps' near the top of the page.
Authenticate to retrieve your issues

5 issues

### 5 March 2014 - Stash 2.11.3

T | Key | Summary
--- | --- | ---
| STASH-4445 | Typo in developer docs
| STASH-4453 | Hibernate Session OutOfMemoryError AND ORA-01000
| STASH-4452 | 500 errors on PR page due to markdown renderer
| STASH-4420 | BranchModelService is not exported to OSGI
| STASH-4411 | Commit links uses relative paths in emails
Authenticate to retrieve your issues

5 issues

### 25 February 2014 - Stash 2.11.2

T | Key | Summary
--- | --- | ---
| STASH-4296 | Add support for SQL Server 2014
| STASH-4256 | Support project keys with hyphens
| STASH-2981 | Link to commits within Markdown
| STASH-2756 | File Comments on Pull Requests
| STASH-2511 | Comments on Commits
| STASH-2492 | Include side-by-side diffs
| STASH-4244 | Only one draft comment is saved in local storage per file
| STASH-4212 | Syntax highlight Rakefiles
| STASH-3160 | Include SSH clone url's in REST API
| STASH-2697 | Move idx-snapshots out of /caches
| STASH-4396 | Increase license service cache expiration
| STASH-3164 | Add MySQL 5.6 to test matrix
| STASH-4372 | Some invalid licenses show 500 errors when saving
| STASH-4329 | Changeset parent selector does not update trigger
| STASH-4299 | 404 when navigating to Commits (nav item) after merging a pull request with the delete branch option checked
| STASH-4293 | NPE in DefaultRescopeProcessor
| STASH-4287 | JIRA keys not being indexed for individual repositories
| STASH-4280 | Error transitioning JIRA issues containing a Number custom field
| STASH-4245 | Branches containing '|' breaks parts of Stash
| STASH-4043 | Branch List ahead/behind count incorrect
Authenticate to retrieve your issues

Showing 20 out of 22 issues

## Attachments:

STASH211-file-comment-RN.png (image/png)
STASH211-commit-line-comment.png (image/png)
STASH211-SBS-diff.png (image/png)
STASH211-SBS-diff-toggle.png (image/png)