In this page
Release notes
6.0.0
Compatibility with Atlassian Data Center Platform 7
Upgrading from 5.3.0
5.3.0
Improved configuration problem detection
Bugfixes
Upgrading from 5.2.0
5.2.0
Compatibility with Bitbucket Mesh
Upgrading from 5.1.2
5.1.2
Improvements
Upgrading from 5.0.1
5.0.1
Bugfixes
Upgrading from 5.0.0
5.0.0
What is the Better DevOps Automation app?
DevOps automation tools for Data Center and Server
What should you do right now?
Upgrading from 4.2.0
4.2.0
Support for external systems using SSH access keys
Improvements
Bugfixes
Upgrading from 4.1.1
4.1.1
Bugfixes
Upgrading from 4.1.0
4.1.0
Upgrading from 4.0.0
4.0.0
Better Commit Policy for Bitbucket is a Data Center approved app!
"Commit Policy Plugin for Bitbucket" is now called "Better Commit Policy for Bitbucket"!
Improvements
Upgrading from 3.0.1
3.0.1
More efficient computation of the "is existing" property for Bitbucket commits
Compatibility changes
Upgrading from 3.0.0
3.0.0
Compatibility with Better Commit Policy for Jira 3.0.0
Upgrading from 2.2.0
2.2.0
Merge checks (verifying pull requests against commit policies before merging)
Project-level settings
Upgrading from 2.1.0
2.1.0
Support for multiple linked Jira instances
Integration with Power Editor
New "Getting Started" page
Improvements
Upgrading from 2.0.1
2.0.1
Bugfixes
Upgrading from 2.0.0
2.0.0
Support for Bitbucket Data Center
Support for Bitbucket 5.0
Upgrading from 1.0.0
Version history
Version | Date | Notes | ||
---|---|---|---|---|
6.0.0 | 06/08/2024 | Compatibility release for Bitbucket 9 (and Atlassian Data Center Platform 7). | Release Notes & Upgrade Guide | Download |
5.3.0 | 03/03/2023 | Maintenance release. | Release Notes & Upgrade Guide | Download |
5.2.0 | 03/06/2022 | Compatibility release for Bitbucket 8. Compatibility with Bitbucket Mesh. | Release Notes & Upgrade Guide | Download |
5.1.2 | 14/04/2022 | Maintenance release. | Release Notes & Upgrade Guide | Download |
5.0.1 | 25/08/2021 | Maintenance release. | Release Notes & Upgrade Guide | Download |
5.0.0 | 28/01/2021 | Support for DevOps automations (compatibility release for the upcoming Better DevOps Automation for Jira app). | Release Notes & Upgrade Guide | Download |
4.2.0 | 12/09/2019 | Support for external systems using SSH access keys. | Release Notes & Upgrade Guide | Download |
4.1.1 | 11/03/2019 | Maintenance release. | Release Notes & Upgrade Guide | Download |
4.1.0 | 19/02/2019 | Compatibility release for Bitbucket 6. | Release Notes & Upgrade Guide | Download |
4.0.0 | 05/01/2019 | Support for the new Data Center Approved Apps program. | Release Notes & Upgrade Guide | Download |
3.0.1 | 06/07/2018 | Major performance improvements for super-large Bitbucket repositories. | Release Notes & Upgrade Guide | Download |
3.0.0 | 12/06/2018 | Compatibility release for Commit Policy Plugin for Jira 3.0.0 (tons of changes!). | Release Notes & Upgrade Guide | Download |
2.2.0 | 18/04/2018 | Support for merge checks. Support for project-level settings. | Release Notes & Upgrade Guide | Download |
2.1.0 | 27/04/2018 | Support for multiple Jira instances. Integration with Power Editor. | Release Notes & Upgrade Guide | Download |
2.0.1 | 30/05/2017 | Maintenance release. | Release Notes & Upgrade Guide | Download |
2.0.0 | 08/05/2017 | Support for Bitbucket Data Center. Compatibility with Bitbucket 5.0. | Release Notes & Upgrade Guide | Download |
Release notes
6.0.0
This version is a compatibility release for the Bitbucket 9 line.
Compatibility with Atlassian Data Center Platform 7
Bitbucket 9 is the newest platform release of the Bitbucket Data Center product. It includes an upgrade to Atlassian Data Center Platform 7.
Data Center Platform 7 enhances the security of the Bitbucket application and ensures its compliance with the latest industry standards. It is introducing a number of under-the-hood changes and improvements, including but not limited to Java 17 as the minimum supported JDK, the removal of some third-party libraries, and the revised definition of Java API.
This app version is compatible with all these "invisible" platform changes. From a broader point of view, it is also Midori's commitment to support future Bitbucket Data Center versions.
Upgrading from 5.3.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
5.3.0
This version is a maintenance release with no changes in the app functionality.
Improved configuration problem detection
It turned out over the recent months that most support tickets that are created for the app lead to investigating configuration problems. Sometimes the application link between Bitbucket and Jira was not configured correctly, sometimes user accounts were not synced between the two applications, sometimes product access on the Jira side was missing.
To make troubleshooting faster, in this version we made detecting the various types of configuration problems more precise. Plus, we wrote precise "how to fix?" instructions for each configuration problem type.
Bugfixes
- Fixed: The same policy may sometimes appear multiple times in the commit policy selector.
Upgrading from 5.2.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
5.2.0
This version is a compatibility release for the Bitbucket 8 line.
Compatibility with Bitbucket Mesh
Bitbucket Mesh is Atlassian's distributed and replicated Git repository storage introduced in Bitbucket 8.0. Starting from 5.2.0, the Better Commit Policy for Bitbucket app fully supports multi-node Mesh deployments.
The app was now validated in a Data Center deployment using multiple Mesh nodes. We confirmed that assuming that all nodes are in healthy state, the commit policy can be reliably verified on any node. It works in a completely transparent way for the Git user when pushing commits and for the Bitbucket user when merging pull requests.
Upgrading from 5.1.2
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
5.1.2
Improvements
- Minor update in outdated dependencies.
Upgrading from 5.0.1
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
5.0.1
This version fixes a bug reported in Bitbucket 7.14 context.
Bugfixes
- Fixed: When verifying commits pushed to Bitbucket 7.14, the "java.lang.IllegalStateException: withQuarantine method not found" exception appears in the log.
Upgrading from 5.0.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
5.0.0
This version prepares the foundation for a new Midori app called Better DevOps Automation for Jira.
Note that when upgrading from 4.2.0 to 5.0.0, there is no visible change in the Better Commit Policy for Bitbucket app's already existing functionality. But, under the hood, it implements the changes that will power the upcoming DevOps automation app. When upgrading Better Commit Policy for Bitbucket, don't forget to upgrade Better Commit Policy for Jira as well.
Although the DevOps automation app is not publicly available at the time when this version is released, we suggest upgrading to this version right away. Read on why.
What is the Better DevOps Automation app?
This is an early notice that we are releasing a new DevOps automation app soon!
This no-code, low-code automation tool will allow you to create all kinds of DevOps automation rules. The rules can be started by accepted commits, rejected commits, branch creation, tag creation, and other events. It will work with every Version Control System (both centralized and distributed) that is supported by Better Commit Policy: Git, Bitbucket, GitHub, GitLab, Subversion and others!
Have you heard about Smart Commits in Bitbucket Cloud? We have something even cooler in store!
Better DevOps Automation will introduce the concept of Genius Commits. These will be "smarter than Smart Commits" and will be way more powerful for building DevOps workflows in Jira. These will allow you to use custom commands with custom logic in commit messages. For example, just write "@deploy prod" in the commit message to start the automation that deploys the given code version to your production instance. Or, use "@done" to transition to the user story to the Done status, "@scan" to start a source code analysis or "@build" to start an expensive CI build. There are countless use cases.
DevOps automation tools for Data Center and Server
Please note that no-code, low-code DevOps automation features, that are so easy to use as a drag-and-drop interface are offered by Atlassian, but only for the Cloud deployment type. While we are planning to release our Better Commit Policy and DevOps Automation apps also for Jira Cloud in the future, we are focusing on Data Center and Server customers first.
For them, the best option today for automating DevOps processes and for connecting DevOps tools to Jira is to write and maintain custom scripts. It requires technical expertise to write and operate these.
The Automation for Jira app, however, already provides a user-friendly interface for building complex automation rules and workflows even for non-technical people. With Better DevOps Automations, we are unlocking the same ease of use also for DevOps automations!
What should you do right now?
Don't forget to:
- Lock in a massive 50% discount! Are you on board with DevOps automation? Once it's available at Atlassian Marketplace, we are offering Better DevOps Automation for 50% off for Better Commit Policy customers. You can lock in the discount if you purchase within 3 months after launch. You only need to join our Slack channel and drop us a line. We will fix you up with a promo code.
- Get your hands on it before anyone else! No sneak peek video and "signup for a wait list" bullsh*t. Join our Slack channel and claim early assess to the app, and try it yourself as soon as it fits you.
- Join the conversation. As an existing Better Commit Policy user, you are invited to our Slack channel where you can ask questions about Better DevOps Automation directly from the developers.
Upgrading from 4.2.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
4.2.0
Support for external systems using SSH access keys
When you use an external system (e.g. a build system) that authenticates to Bitbucket using SSH access keys, this new feature allows you to automatically accept or reject the commits pushed by the external system.
Learn more about verifying commits pushed by SSH access keys.
Improvements
Bugfixes
- Fixed: When trying to push exactly 1000 commits (which is the upper limit), the app rejects it and asks me to push max. 1000.
Upgrading from 4.1.1
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
4.1.1
This version fixes a bug reported in Bitbucket 6 context.
Bugfixes
- Fixed: Commit Policy dropdown is empty in the project-level hook configuration popup in Bitbucket 6.x.
Upgrading from 4.1.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
4.1.0
This version is a compatibility release for the Bitbucket 6 line.
Upgrading from 4.0.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
4.0.0
As you probably know, Better Commit Policy already supports Bitbucket Data Center deployments (i.e. clustered Bitbucket). To be precise, those are supported since app version 2.0.0 (released in May 2017).
In 2018, Atlassian re-launched its Data Center program and introduced new testing criteria for "Data Center approved apps". This version is the official release for the revised program.
Better Commit Policy for Bitbucket is a Data Center approved app!
The followings have been done to comply with the revised development and testing requirements:
- This version has been verified against the Atlassian's official Data Center technical checklist, which would identify potential non-cluster-safe parts in the app. All points are met.
- This version has been tested in our internal AWS infrastructure which is using "c4.xlarge" type standard EC2 instances to host the Bitbucket nodes. The testing confirmed that the app works correctly and consistently in clusters with 1, 2, 4 and 8 nodes (and anything in-between).
- This version has been successfully tested with UPM 3.0, the new generation of the Universal Plugin Manager.
"Commit Policy Plugin for Bitbucket" is now called "Better Commit Policy for Bitbucket"!
In this version we made a slight adjustment in the app's name. We did this, because the term "plugin" was replaced by Atlassian first with "add-on" and then with "app". We decided to get rid of this completely.
You may still see the old name popping up here and there, until we roll out the change everywhere. Thanks for the patience!
Improvements
- Safe handling of extremely long commit messages.
- Safe handling of extremely large number of commits pushed or merged in one go.
Upgrading from 3.0.1
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
3.0.1
More efficient computation of the "is existing" property for Bitbucket commits
Better Commit Policy for Bitbucket 3.0.0 introduced a new mechanism to detect existing commits (commits that are pushed or merged to a repo, but already existing on another branch in the same repository). It helps to avoid re-verifying existing commits, not because of performance, but because the issues referenced by the existing commits may already be in another stage in their lifecycle (like in another status) at their second push, which could lead to sub-optimal development workflows and policies.
As for implementation, unlike other Bitbucket commit verification apps, we did not use the "commit indexer" mechanism built to Bitbucket, because that is not reliable enough for this purpose. Instead, we used a lower level approach relying purely on Git. If it affected you, then your developers may have complained about unexpectedly slow pushes.
Although the original implementation of the "is existing" computation logic is working correctly, it did not scale to repositories with several hundred branches or with tens of thousands of commits.
In the new app version, we implemented a better approach that is two orders of magnitude (100x) faster even in huge repositories! For instance, the verification of a large push to a mega-repo now completes in less than a second instead of 2 minutes.
Compatibility changes
To take advantage of the improvement, the required Git version (that you use on the Bitbucket server) is 2.11.0 or newer. (But, older Git versions are still supported!)
Upgrading from 3.0.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
3.0.0
Compatibility with Better Commit Policy for Jira 3.0.0
The Jira counter-part of this app was released today, introducing a long list of new features and improvements.
Better Commit Policy for Bitbucket 3.0.0 is simply the compatibility release for Better Commit Policy for Jira 3.0.0. Its goal is to offer all the recent improvements implemented in the Jira app also for Bitbucket users.
IMPORTANT!Upgrading to Better Commit Policy for Bitbucket 3.0.0 on the Bitbucket side also requires upgrading to Better Commit Policy for Jira 3.0.0 on the Jira side! Make sure you upgrade both, otherwise "Outdated GIT_SERVER hook script version 1/bitbucket found" warnings will be written to the Jira log and to the Git client.
Upgrading from 2.2.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
2.2.0
Just some days after the 2.1.0 version, we are releasing 2.2.0, which introduces two super-important features at the cost of reducing the range of the compatible Bitbucket versions. To be precise: Better Commit Policy 2.2.0 requires Bitbucket 5.2 or newer.
Why two new app releases in such short timeframe?
Our goal was to ship those valuable features that can be implemented for pre-5.2 Bitbucket versions in app version 2.1.0. And then quickly follow 2.1.0 with 2.2.0, which ships additional features that require Bitbucket 5.2+ due to technical reasons. In other words, we wanted to create the largest possible value for all users, regardless they use some older or a modern Bitbucket version.
Merge checks (verifying pull requests against commit policies before merging)
From this app version, this is possible to verify pull requests before merging. It aims to reject those pull requests that would violate the commit policy applied to the target repository.
Technically speaking, the commits in the pull requests (i.e. the commits that would be merged to the target repository) are verified against the commit policy in the same fashion as the commits pushed to repository are. If the policy rejects the commits, the pull request cannot be merged:
Learn more about verifying pull requests.
Project-level settings
Hooks and merge checks enabled at the project level (in contrast to being enabled for individual repositories) can significantly reduce the administration work if:
- There are multiple repositories in the same Bitbucket project,
- ...and the same commit policy should be applied to all of those repositories.
In this case, this is sufficient to configure the hook or merge check only once for the whole project.
Learn more about project level hooks.
Upgrading from 2.1.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
2.1.0
Support for multiple linked Jira instances
In enterprise deployments, the same Bitbucket instance may be linked to multiple Jira instances. Although previous Better Commit Policy for Bitbucket versions never had problems in these scenarios, they always connected the first linked Jira instance for policy verification, which didn't really allow precise control.
From this release, you can explicitly select the Jira instance to use for policy verification:
Learn more about linking to multiple Jira's.
Integration with Power Editor
Power Editor is a super-useful Bitbucket app (developed by Mohami) that accelerates daily work. It enables making changes via the Bitbucket web interface in a way that eliminates the time consuming pull-edit-commit-push cycles just to fix that damn typo or source code comment. (Sounds familiar, right?)
Starting from this release, thanks to the Mohami team, Better Commit Policy is integrated with Power Editor. Every commit you make via Power Editor is verified against the commit policy the same exact way like the commits you make in your "real" Git client:
As a result, you can work super-fast without compromising the quality of your source code, changes, repo structure or history. Don't take our words, install and try this free for yourself!
Learn more about the Power Editor integration.
New "Getting Started" page
We added a "Getting Started" page to the app to help first-time evaluators. It can be visited from the hook configuration dialog or via the link at Repository settings → Commit policies.
Improvements
- Commit collector logic can tolerate loops (cycles) in commit sequences. (In theory, this should never happen, but in practice we have seen this in Git repositories converted from Subversion.)
Upgrading from 2.0.1
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
2.0.1
This version fixes a bug reported in Bitbucket 5 context.
Bugfixes
- Fixed: Cannot push new branches to Bitbucket 5.
Upgrading from 2.0.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).
2.0.0
Support for Bitbucket Data Center
How does the app work in a clustered Bitbucket deployment? "Commit Policy Verification" hooks are transparently replicated among the cluster nodes. The node that actually processes the "push" will communicate with Jira. If the changes are accepted, those are replicated among the nodes.
All in all, for the end-user this is completely transparent if this is a single-node Bitbucket server deployment or a multi-node cluster, the app works identically.
Support for Bitbucket 5.0
This version is also a compatibility updated for Bitbucket 5.0.
Upgrading from 1.0.0
Just update your app version using UPM (Universal Plugin Manager, the app manager built in to Bitbucket).