Stash 2.2 release notes
05 March 2013
With today's release of Stash 2.2 we introduce several capabilities for customizing your Git development workflow – Git repository hooks, an API for hook integrations, and merge checks for pull requests.
If you are upgrading from an earlier version of Stash, please read the Stash upgrade guide.
The Stash 2.2 changelog is at the bottom.
Git repository hooks
Git hooks allow you to customize your development team's workflow for any requirement they may have. Admins can enable and configure hooks for each repository, right within Stash, without having to install them on the file-system.
Stash comes bundled with repository hooks to let you start customizing Stash straight off.
Read more about using repository hooks in Stash.
API for hook integrations
We've leveraged native Git hooks to create a new hooks API that allows developers to easily write their own hooks. Stash handles the persistence, packaging and per-repository configuration for your hooks, making it simple to extend Stash to suit your particular project's needs. Read more about writing hooks for Stash in our revamped developer docs.
Furthermore, you can mix-and-match bundled Stash hooks with hooks from the Atlassian Marketplace. You can find and install these from within Stash – simply use the Add hook button on the hooks settings page to view available hooks from the marketplace.
Merge checks for pull requests
To help customize your workflow, you can now set checks to control when a pull request can be merged. Pull requests cannot be merged if the required checks have not been met. These checks are set separately on each repository in a Stash project:
- Require a minimum number of approvers – block merging of a pull request until it has been approved by the selected number of participants.
- Require a number of completed builds – stop pull requests from being merged if they have any unsuccessful builds, and until the set number of builds have completed.
Read more about merge checks in Stash.
Change log
This section will contain information about the Stash 2.2 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.