-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: fix typos #20734
docs: fix typos #20734
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,10 +1,10 @@ | ||||||
# Releases | ||||||
|
||||||
The Cosmos-SDK follows both [0ver](https://0ver.org/) and [Semver](https://semver.org/). While this is confusing lets break it down: 0ver is used for the main Cosmos-SDK dependency (`github.com/cosmos/cosmos-sdk`) and Semver is used for all other dependencies. | ||||||
The Cosmos-SDK follows both [0ver](https://0ver.org/) and [Semver](https://semver.org/). While this is confusing let's break it down: 0ver is used for the main Cosmos-SDK dependency (`github.com/cosmos/cosmos-sdk`) and Semver is used for all other dependencies. | ||||||
|
||||||
## Semver Dependencies | ||||||
|
||||||
Although we adhere to semantic versioning (semver), we have introduced a few modifications to accommodate the unique characteristics of blockchains. One significant divergence is that the major version (Y.x.x) is incremented solely when a consensus-breaking change occurs. On the other hand, the minor version (x.Y.x) is increased when there is a non-consensus-breaking alteration that also results in an incompatible API change. Patch versions will be bumped for all other changes that dont break the API nor Consensus. | ||||||
Although we adhere to semantic versioning (semver), we have introduced a few modifications to accommodate the unique characteristics of blockchains. One significant divergence is that the major version (Y.x.x) is incremented solely when a consensus-breaking change occurs. On the other hand, the minor version (x.Y.x) is increased when there is a non-consensus-breaking alteration that also results in an incompatible API change. Patch versions will be bumped for all other changes that don't break the API nor Consensus. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove trailing spaces to adhere to markdown best practices. - Although we adhere to semantic versioning (semver), we have introduced a few modifications to accommodate the unique characteristics of blockchains. One significant divergence is that the major version (Y.x.x) is incremented solely when a consensus-breaking change occurs. On the other hand, the minor version (x.Y.x) is increased when there is a non-consensus-breaking alteration that also results in an incompatible API change. Patch versions will be bumped for all other changes that don't break the API nor Consensus.
+ Although we adhere to semantic versioning (semver), we have introduced a few modifications to accommodate the unique characteristics of blockchains. One significant divergence is that the major version (Y.x.x) is incremented solely when a consensus-breaking change occurs. On the other hand, the minor version (x.Y.x) is increased when there is a non-consensus-breaking alteration that also results in an incompatible API change. Patch versions will be bumped for all other changes that don't break the API nor Consensus. Committable suggestion
Suggested change
ToolsMarkdownlint
|
||||||
|
||||||
```mermaid | ||||||
flowchart TD | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ v1.0.0-beta1 → v1.0.0-beta2 → ... → v1.0.0-rc1 → v1.0.0-rc2 → ... → | |
* perform functional tests | ||
* add more tests | ||
* release new beta version as the bugs are discovered and fixed. | ||
* After the team feels that the `main` works fine we create a `release/vY` branch (going forward known a release branch), where `Y` is the version number, with the patch part substituted to `x` (eg: 0.42.x, 1.0.x). Ensure the release branch is protected so that pushes against the release branch are permitted only by the release manager or release coordinator. | ||
* After the team feels that the `main` works fine we create a `release/vY` branch (going forward known as release branch), where `Y` is the version number, with the patch part substituted to `x` (eg: 0.42.x, 1.0.x). Ensure the release branch is protected so that pushes against the release branch are permitted only by the release manager or release coordinator. | ||
* **PRs targeting this branch can be merged _only_ when exceptional circumstances arise** | ||
* update the GitHub mergify integration by adding instructions for automatically backporting commits from `main` to the `release/vY` using the `backport/Y` label. | ||
* In the release branch prepare a new version section in the `CHANGELOG.md` | ||
|
@@ -31,7 +31,7 @@ v1.0.0-beta1 → v1.0.0-beta2 → ... → v1.0.0-rc1 → v1.0.0-rc2 → ... → | |
* Remove GitHub workflows that should not be in the release branch | ||
* `test.yml`: All standalone go module tests should be removed (expect `./simapp`, and `./tests`, SDK and modules tests). | ||
* These packages are tracked and tested directly on main. | ||
* `build.yml`: Only the SDK and SimApp needs to be built on release branches. | ||
* `build.yml`: Only the SDK and SimApp need to be built on release branches. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clarify the exclusion of tooling from the build process on release branches. It's mentioned that tooling depending on the SDK needs to be built, but it's unclear which specific tools this includes. Can you clarify this in the documentation? ToolsLanguageTool
Markdownlint
|
||
* Tooling is tracked and tested directly on main. | ||
* This does not apply for tooling depending on the SDK (e.g. `confix`) | ||
* Update `Dockerfile` to not use latest go.mod and go.sum files. | ||
|
@@ -66,7 +66,7 @@ After the release branch has all commits required for the next patch release: | |
|
||
* Update `CHANGELOG.md` and `RELEASE_NOTES.md` (if applicable). | ||
* Create a new annotated git tag (eg `git -a v1.1.0`) in the release branch. | ||
* If the release is a submodule update, first go the submodule folder and name the tag prepending the path to the version: | ||
* If the release is a submodule update, first go to the submodule folder and name the tag prepending the path to the version: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Improve clarity in submodule tagging instructions. Consider providing examples or more detailed steps for tagging submodules, especially for those unfamiliar with the process. ToolsMarkdownlint
|
||
`cd core && git -a core/v1.1.0` or `cd tools/cosmovisor && git -a tools/cosmovisor/v1.4.0` | ||
* Create a GitHub release (if applicable). | ||
|
||
|
@@ -138,7 +138,7 @@ See the SDK's policy on migrations [here](https://docs.cosmos.network/main/migra | |
|
||
* State machine changes. | ||
* Breaking changes in Protobuf definitions, as specified in [ADR-044](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-044-protobuf-updates-guidelines.md). | ||
* Changes that introduces API breakages (e.g. public functions and interfaces removal/renaming). | ||
* Changes that introduce 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. | ||
|
@@ -182,15 +182,15 @@ As rule of thumb, the following changes will **NOT** be automatically accepted i | |
```md | ||
#### Impact | ||
|
||
Brief xplanation of the effects of the bug on users and a justification for backporting the fix to the stable release. | ||
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. | ||
Explanation of 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. | ||
``` | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -476,7 +476,7 @@ Use `confix` to clean-up your `app.toml`. A nginx (or alike) reverse-proxy can b | |||||
|
||||||
#### Database Support | ||||||
|
||||||
ClevelDB, BoltDB and BadgerDB are not supported anymore. To migrate from a unsupported database to a supported database please use a database migration tool. | ||||||
ClevelDB, BoltDB and BadgerDB are not supported anymore. To migrate from an unsupported database to a supported database please use a database migration tool. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider adding a comma after "database" for clarity. - ClevelDB, BoltDB and BadgerDB are not supported anymore. To migrate from an unsupported database to a supported database please use a database migration tool.
+ ClevelDB, BoltDB and BadgerDB are not supported anymore. To migrate from an unsupported database to a supported database, please use a database migration tool. Committable suggestion
Suggested change
ToolsLanguageTool
|
||||||
|
||||||
### Protobuf | ||||||
|
||||||
|
@@ -1219,7 +1219,7 @@ mistakes. | |||||
|
||||||
#### `x/params` | ||||||
|
||||||
* The `x/params` module has been deprecated in favour of each module housing and providing way to modify their parameters. Each module that has parameters that are changeable during runtime have an authority, the authority can be a module or user account. The Cosmos SDK team recommends migrating modules away from using the param module. An example of how this could look like can be found [here](https://github.com/cosmos/cosmos-sdk/pull/12363). | ||||||
* The `x/params` module has been deprecated in favour of each module housing and providing way to modify their parameters. Each module that has parameters that are changeable during runtime has an authority, the authority can be a module or user account. The Cosmos SDK team recommends migrating modules away from using the param module. An example of how this could look like can be found [here](https://github.com/cosmos/cosmos-sdk/pull/12363). | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider rephrasing for grammatical accuracy and clarity. - * The `x/params` module has been deprecated in favour of each module housing and providing way to modify their parameters. Each module that has parameters that are changeable during runtime has an authority, the authority can be a module or user account. The Cosmos SDK team recommends migrating modules away from using the param module. An example of how this could look like can be found [here](https://github.com/cosmos/cosmos-sdk/pull/12363).
+ * The `x/params` module has been deprecated in favour of each module housing and providing a way to modify their parameters. Each module that has parameters changeable during runtime has an authority, which can be a module or a user account. The Cosmos SDK team recommends migrating modules away from using the param module. An example of how this can be done can be found [here](https://github.com/cosmos/cosmos-sdk/pull/12363). Committable suggestion
Suggested change
ToolsLanguageTool
|
||||||
* The Param module will be maintained until April 18, 2023. At this point the module will reach end of life and be removed from the Cosmos SDK. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add a comma for grammatical correctness. - The Param module will be maintained until April 18, 2023. At this point the module will reach end of life and be removed from the Cosmos SDK.
+ The Param module will be maintained until April 18, 2023. At this point, the module will reach end of life and be removed from the Cosmos SDK. Committable suggestion
Suggested change
ToolsLanguageTool
|
||||||
|
||||||
#### `x/gov` | ||||||
|
@@ -1232,11 +1232,11 @@ More information can be found in the gov module [client documentation](https://d | |||||
|
||||||
#### `x/staking` | ||||||
|
||||||
The `staking module` added a new message type to cancel unbonding delegations. Users that have unbonded by accident or wish to cancel a undelegation can now specify the amount and valdiator they would like to cancel the unbond from | ||||||
The `staking module` added a new message type to cancel unbonding delegations. Users that have unbonded by accident or wish to cancel an undelegation can now specify the amount and validator they would like to cancel the unbond from | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Clarify the action in the sentence for better readability. - The `staking module` added a new message type to cancel unbonding delegations. Users that have unbonded by accident or wish to cancel an undelegation can now specify the amount and validator they would like to cancel the unbond from
+ The `staking module` has added a new message type to cancel unbonding delegations. Users who have unbonded by accident or wish to cancel an undelegation can now specify the amount and validator from which they would like to cancel the unbonding. Committable suggestion
Suggested change
ToolsLanguageTool
|
||||||
|
||||||
### Protobuf | ||||||
|
||||||
The `third_party/proto` folder that existed in [previous version](https://github.com/cosmos/cosmos-sdk/tree/v0.45.3/third_party/proto) now does not contains directly the [proto files](https://github.com/cosmos/cosmos-sdk/tree/release/v0.46.x/third_party/proto). | ||||||
The `third_party/proto` folder that existed in [previous version](https://github.com/cosmos/cosmos-sdk/tree/v0.45.3/third_party/proto) now does not contain directly the [proto files](https://github.com/cosmos/cosmos-sdk/tree/release/v0.46.x/third_party/proto). | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct the file path formatting for consistency and clarity. - The `third_party/proto` folder that existed in [previous version](https://github.com/cosmos/cosmos-sdk/tree/v0.45.3/third_party/proto) now does not contain directly the [proto files](https://github.com/cosmos/cosmos-sdk/tree/release/v0.46.x/third_party/proto).
+ The `third_party/proto` folder that existed in the [previous version](https://github.com/cosmos/cosmos-sdk/tree/v0.45.3/third_party/proto) no longer directly contains the [proto files](https://github.com/cosmos/cosmos-sdk/tree/release/v0.46.x/third_party/proto). Committable suggestion
Suggested change
|
||||||
|
||||||
Instead, the SDK uses [`buf`](https://buf.build). Clients should have their own [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml) with `buf.build/cosmos/cosmos-sdk` as dependency, in order to avoid having to copy paste these files. | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a comma after "issue" for better readability.
Committable suggestion
Tools
LanguageTool