Stable Release Series continue to receive bug fixes until they reach End Of Life.
Only the following release series are currently supported and receive bug fixes:
- 1.0 is the latest stable release.
The 1.0 release series is maintained in compliance with the Stable Release Policy as described in this document.
This policy presently applies only to the following release series:
- 1.0
Once a Desmos release has been completed and published, updates for it are released under certain circumstances and must follow the Point Release Procedure.
Unlike in-development master
branch snapshots, Desmos releases are subject to much wider adoption,
and by a significantly different demographic of users. During development, changes in the master
branch
affect Desmos users, application developers, early adopters, and other advanced users that elect to use
unstable experimental software at their own risk.
Conversely, users of a stable release expect a high degree of stability. They build their applications on it, and the problems they experience with it could be potentially highly disruptive to their projects.
Stable release updates are recommended to the vast majority of developers, and so it is crucial to treat them with great caution. Hence, when updates are proposed, they must be accompanied by a strong rationale and present a low risk of regressions, i.e. even one-line changes could cause unexpected regressions due to side effects or poorly tested code. We never assume that any change, no matter how little or non-intrusive, is completely exempt of regression risks.
Therefore, the requirements for stable changes are different from those that are candidates to be merged in
the master
branch. When preparing future major releases, our aim is to design the most elegant, user-friendly and
maintainable SDK possible which often entails fundamental changes to the SDK's architecture design, rearranging and/or
renaming packages as well as reducing code duplication so that we maintain common functions and data structures in one
place rather than leaving them scattered all over the code base. However, once a release is published, the
priority is to minimise the risk caused by changes that are not strictly required to fix qualifying bugs; this tends to
be correlated with minimising the size of such changes. As such, the same bug may need to be fixed in different
ways in stable releases and master
branch.
To smoothen the update to the latest stable release, Desmos includes a set of CLI commands for managing migrations between Desmos versions, under the migrate
subcommand. Only migration scripts between stable releases are included.
- High-impact bugs
- Bugs that may directly cause a security vulnerability.
- Severe regressions from a Desmos' previous release. This includes all sort of issues
that may cause the core packages or the
x/
modules unusable. - Bugs that may cause loss of user's data.
- Other safe cases:
- Bugs which don't fit in the aforementioned categories for which an obvious safe patch is known.
- Relatively small yet strictly non-breaking features with strong support from the community.
- Relatively small yet strictly non-breaking changes that introduce forward-compatible client features to smoothen the migration to successive releases.
- Relatively small yet strictly non-breaking CLI improvements.
- State machine changes.
- Breaking changes in Protobuf definitions, as specified in Cosmos ADR-044.
- Changes that introduces API breakages (e.g. public functions and interfaces removal/renaming).
- Client-breaking changes in gRPC and HTTP request and response types.
- CLI-breaking changes.
- Cosmetic fixes, such as formatting or linter warning fixes.
Pull requests that fix bugs and add features that fall in the following categories do not require a Stable Release Exception to be granted to be included in a stable point-release:
- Severe regressions.
- Bugs that may cause client applications to be largely unusable.
- Bugs that may cause state corruption or data loss.
- Bugs that may directly or indirectly cause a security vulnerability.
- Non-breaking features that are strongly requested by the community.
- Non-breaking CLI improvements that are strongly requested by the community.
As rule of thumb, the following changes will NOT be automatically accepted into stable point-releases:
- State machine changes.
- Protobuf-breaking changes, as specified in Cosmos ADR-044.
- Client-breaking changes, i.e. changes that prevent gRPC, HTTP and RPC clients to continue interacting with the node without any change.
- API-breaking changes, i.e. changes that prevent client applications to build without modifications to the client application's source code.
- CLI-breaking changes, i.e. changes that require usage changes for CLI users.
In some circumstances, PRs that don't meet the aforementioned criteria might be raised and asked to be granted a Stable Release Exception.
- Check that the bug is either fixed or not reproducible in
master
. It is, in general, not appropriate to release bug fixes for stable releases without first testing them inmaster
. Please apply the label v1.0 to the issue. - Add a comment to the issue and ensure it contains the following information (see the bug template below):
- [Impact] An explanation of the bug on users and justification for backporting the fix to the stable release.
- A [Test Case] section containing detailed instructions on how to reproduce the bug.
- A [Regression Potential] section with a clear assessment on how regressions are most likely to manifest as a result of the pull request that aims to fix the bug in the target stable release.
- Stable Release Managers will review and discuss the PR. Once consensus surrounding the rationale has been reached and the technical review has successfully concluded, the pull request will be merged in the respective point-release target branch (e.g.
release/v1.0.x
) and the PR included in the point-release's respective milestone (e.g.v1.0.3
).
#### Impact
Brief explanation of the effects of the bug on users and a justification for backporting the fix to the stable release.
#### Test Case
Detailed instructions on how to reproduce the bug on Stargate's most recently published point-release.
#### Regression Potential
Explanation on how regressions might manifest - even if it's unlikely.
It is assumed that stable release fixes are well-tested and they come with a low risk of regressions.
It's crucial to make the effort of thinking about what could happen in case a regression emerges.
The Stable Release Managers evaluate and approve or reject updates and backports to Desmos Stable Release series, according to the stable release policy and release procedure. Decisions are made by consensus.
Their responsibilities include:
- Driving the Stable Release Exception process.
- Approving/rejecting proposed changes to a stable release series.
- Executing the release process of stable point-releases in compliance with the Point Release Procedure.
The Stable Release Managers are appointed by the Desmos Foundation. Currently residing Stable Release Managers:
- @desmos-labs/core-devs - Desmos-labs Core Dev Team