Skip to content
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

chore: deprecate v0.46 and v0.50 changelog #18119

Merged
merged 17 commits into from
Nov 9, 2023
Merged

chore: deprecate v0.46 and v0.50 changelog #18119

merged 17 commits into from
Nov 9, 2023

Conversation

julienrbrt
Copy link
Member

@julienrbrt julienrbrt commented Oct 13, 2023

Description

Closes: XXX


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • run make lint and make test
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed ! in the type prefix if API or client breaking change
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

Summary by CodeRabbit

  • New Features
    • Introduced search functionality in the app.
    • Added hybrid handlers to MsgServiceRouter.
    • Introduced standalone mode for gRPC & API server.
    • Added confix tool for managing configuration files.
    • Introduced view, diff, and home commands in confix.
    • Added grants pruning feature in x/feegrant.
  • Bug Fixes
    • Fixed gRPC address hardcoding, governance hooks, and missed blocks key builder function.
    • Fixed state machine breaking in x/upgrade.
  • Documentation
    • Updated Cosmos SDK documentation.
    • Updated information regarding major release series for the SDK.
    • Updated version and release notes in various CHANGELOG.md files.
  • Refactor
    • Removed telemetry for counting votes and proposals in x/gov.
    • Altered evidence constructor in x/evidence.
    • Removed global bech32 usage in x/feegrant keeper.
    • Changed parameter types for several functions in x/feegrant.
  • Chores
    • Updated GitHub Actions workflow for creating releases.
    • Added Slack notification for successful release.
    • Ended support for v0.46.x line.
    • Updated various versions in CHANGELOG.md files.
    • Removed comet.Info as an argument to evidence in x/evidence.
    • Removed AutoCLI options feature in x/nft.

@julienrbrt julienrbrt changed the title chore: deprecate v0.46 chore: deprecate v0.46 :bye Oct 13, 2023
@julienrbrt julienrbrt changed the title chore: deprecate v0.46 :bye chore: deprecate v0.46 👋🏾 Oct 13, 2023
@faddat
Copy link
Contributor

faddat commented Oct 20, 2023

happy chore

@julienrbrt julienrbrt changed the title chore: deprecate v0.46 👋🏾 chore: deprecate v0.46 and add v0.50 changelog Oct 20, 2023
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 25, 2023

Walkthrough

The provided walkthrough and changes are comprehensive and well-structured. The poem adds a creative touch to the summary. If you have any specific questions or need further assistance, feel free to ask!


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai help to get help.
  • @coderabbitai resolve to resolve all the CodeRabbit review comments.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

@julienrbrt julienrbrt changed the title chore: deprecate v0.46 and add v0.50 changelog chore: deprecate v0.46 and add v0.47.6, v0.50 changelog Nov 2, 2023
@@ -240,3 +240,7 @@ Those modules can be considered as part of the Cosmos SDK, but features and impr
### Modules that do not depend on the Cosmos SDK

Modules that do not depend on the Cosmos SDK can be released at any time from the `main` branch of the Cosmos SDK repository.

#### Exception to the rule
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions github-actions bot added the C:CLI label Nov 7, 2023
@julienrbrt julienrbrt changed the title chore: deprecate v0.46 and add v0.47.6, v0.50 changelog chore: deprecate v0.46 and v0.50 changelog Nov 7, 2023
@julienrbrt julienrbrt marked this pull request as ready for review November 7, 2023 20:55
@julienrbrt julienrbrt requested a review from a team as a code owner November 7, 2023 20:55
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 1

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 8fbf616 and 1915f49.
Files selected for processing (12)
  • .github/workflows/release.yml (1 hunks)
  • CHANGELOG.md (12 hunks)
  • README.md (1 hunks)
  • RELEASE_PROCESS.md (2 hunks)
  • client/v2/CHANGELOG.md (1 hunks)
  • proto/README.md (1 hunks)
  • tools/confix/CHANGELOG.md (1 hunks)
  • x/circuit/CHANGELOG.md (1 hunks)
  • x/evidence/CHANGELOG.md (2 hunks)
  • x/feegrant/CHANGELOG.md (1 hunks)
  • x/nft/CHANGELOG.md (1 hunks)
  • x/upgrade/CHANGELOG.md (2 hunks)
Files skipped from review due to trivial changes (4)
  • README.md
  • proto/README.md
  • x/circuit/CHANGELOG.md
  • x/nft/CHANGELOG.md
Additional comments: 21
client/v2/CHANGELOG.md (1)
  • 36-48: The changelog is well maintained and follows the recommended format. The breaking changes are clearly mentioned with the relevant issue links. Ensure that the version updates and the API breaking changes are communicated to all stakeholders.
x/feegrant/CHANGELOG.md (1)
  • 27-43: Ensure that all calls to the functions mentioned in the changelog throughout the codebase have been updated to match the new signatures. Also, verify that the changes in the NewKeeper function and the removal of global bech32 usage in the keeper do not break any existing functionality.
tools/confix/CHANGELOG.md (1)
  • 31-38: The changelog is well-structured and follows the recommended format. It provides clear information about the changes introduced in version v0.1.0 of the cosmos-sdk. Ensure that the links to the pull requests are correct and lead to the appropriate changes.
x/upgrade/CHANGELOG.md (2)
  • 25-31: The change log entry for the state machine breaking change is clear and provides a link to the relevant issue for more context. Ensure that the issue link is correct and that it provides sufficient information for users to understand the change.

  • 50-53: The bug fix entry is clear and provides a link to the relevant issue and ADR for more context. Ensure that the issue link and ADR link are correct and that they provide sufficient information for users to understand the change.

.github/workflows/release.yml (1)
  • 1-51: The changes to the GitHub Actions workflow file look good. The workflow is set to trigger on tag push, which is a common practice for release workflows. The permissions are set correctly, allowing the workflow to read the repository contents and write for creating a release. The Go version is set to "1.21" and the check-latest option is enabled, ensuring the latest Go version is used. The new job release-success is added to notify Slack on successful release, which is a good practice for visibility and tracking. The Slack notification settings are configured correctly.
x/evidence/CHANGELOG.md (1)
  • 26-32: The new version v0.1.0 is added with a link to the release on GitHub. The x/evidence module is now a standalone module with its own go.mod file. Ensure that the link to the release is correct and the module extraction doesn't break any dependencies.
RELEASE_PROCESS.md (2)
  • 81-88: The supported major release series for the SDK have been updated. Ensure that the new versions are correctly reflected throughout the documentation and any related code.
- * **0.47** is the previous major release and is supported until the release of **0.51.0**. A fairly strict **bugfix-only** rule applies to pull requests that are requested to be included into a not latest stable point-release.
- * **0.50** is the last major release and is supported until the release of **0.52.0**.
+ * **0.50** is the previous major release and is supported until the release of **0.53.0**. A fairly strict **bugfix-only** rule applies to pull requests that are requested to be included into a not latest stable point-release.
+ * **0.52** is the last major release and is supported until the release of **0.54.0**.
  • 244-246: An exception has been added for the release of Store v1 from the release/v0.50.x branch. Ensure that this exception is properly handled in the release process.
+ * Store v1 is released from `release/v0.50.x` branch.
CHANGELOG.md (12)
  • 48-49: The addition of base64 encoding for public keys can have implications for systems that interact with this data. Ensure that all systems that use this data can handle base64 encoded keys.

  • 50-50: The introduction of a new message type, MsgBurn, to burn coins can have significant implications for the token economy of the application. Ensure that this change is well-documented and communicated to users.

  • 56-57: The changes to the x/gov module, including limiting the accepted deposit coins for a proposal to the minimum proposal deposit denoms and improving <appd> q gov proposer by querying directly a proposal instead of tx events, can have significant implications for governance on the platform. Ensure that these changes are well-documented and communicated to users.

Hunk 1:

  • 68-74: The bug fixes in this hunk, including fixing a data race inside BaseApp.getContext, consistently setting viper prefix in client and server, and fixing problems with executing command make test-sim-custom-genesis-fast for simulation test, improve the stability and reliability of the application. These changes should be communicated to users to increase their confidence in the application.

  • 77-80: The API breaking changes in this hunk, including changes to x/genutil, x/gov/testutil, x/staking/testutil, and x/bank/testutil, can have significant implications for developers building on top of this application. Ensure that these changes are well-documented and communicated to developers.

Hunk 2:

  • 193-197: The state machine breaking changes in this hunk, including migrating community pool funds from x/distribution to x/protocolpool and replacing HistoricalInfo with HistoricalRecord in x/staking, can have significant implications for the state of the application. Ensure that these changes are well-documented and communicated to users.

  • 200-201: The client breaking change in this hunk, deprecating CommunityPool and FundCommunityPool rpc methods and advising to use x/protocolpool module's rpc methods instead, can have significant implications for developers building on top of this application. Ensure that this change is well-documented and communicated to developers.

Hunk 3:

  • 239-240: The addition of a Textual SignModeHandler and the ability to query blocks by events with queries directly passed to Tendermint can have significant implications for developers building on top of this application. Ensure that these changes are well-documented and communicated to developers.

Hunk 4:

  • 264-265: The improvements in this hunk, including improving getSDKVersion() to handle module replacements and removing GetTxCmd() *cobra.Command and GetQueryCmd() *cobra.Command from module.AppModuleBasic interface, can have significant implications for developers building on top of this application. Ensure that these changes are well-documented and communicated to developers.

Hunk 5:

  • 312-313: The state machine breaking changes in this hunk, including adding a denom check to reject denoms outside of those listed in MinDeposit and rejecting a group and gov proposal if the proposal metadata title and summary do not match the proposal title and summary, can have significant implications for the state of the application. Ensure that these changes are well-documented and communicated to users.

Hunk 6:

  • 383-384: The API breaking changes in this hunk, including removing gRPC query methods from gov keeper and removing GetSignBytes implementations on messages and global legacy amino codec definitions from all modules, can have significant implications for developers building on top of this application. Ensure that these changes are well-documented and communicated to developers.

Hunk 7:

  • 476-477: The client breaking changes in this hunk, including removing telemetry for counting votes and proposals and adding msg_index to all event attributes to associate events and messages, can have significant implications for developers building on top of this application. Ensure that these changes are well-documented and communicated to developers.

x/evidence/CHANGELOG.md Show resolved Hide resolved
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 1915f49 and b4cdf4b.
Files selected for processing (5)
  • tools/confix/CHANGELOG.md (1 hunks)
  • x/evidence/CHANGELOG.md (2 hunks)
  • x/feegrant/CHANGELOG.md (1 hunks)
  • x/nft/CHANGELOG.md (1 hunks)
  • x/upgrade/CHANGELOG.md (2 hunks)
Files skipped from review due to trivial changes (2)
  • tools/confix/CHANGELOG.md
  • x/nft/CHANGELOG.md
Additional comments: 6
x/feegrant/CHANGELOG.md (1)
  • 27-43: The changelog is well-documented and provides clear information about the changes in the new version. Ensure that all the changes mentioned in the changelog are reflected in the codebase and that the API breaking changes are handled properly in the dependent code.
x/evidence/CHANGELOG.md (2)
  • 25-32: The extraction of the x/evidence module to have a separate go.mod file is a significant change. This allows it to be a standalone module, which could affect how it's imported and used in other parts of the codebase. Ensure that all references to this module have been updated accordingly.

  • 38-40: The changes to the evidence constructor and the removal of several keeper functions are breaking changes. As previously mentioned, these changes should be communicated to all developers using this module. Also, ensure that the removal of these functions doesn't break any existing functionality.

x/upgrade/CHANGELOG.md (3)
  • 26-30: The change in the state machine is a significant one and could potentially impact other parts of the system. Ensure that all dependencies and modules that interact with the app version are updated to fetch it from the ParamStore of baseapp.

  • 32-36: The switch from using gov v1beta1 to gov v1 in upgrade CLIs is a breaking change. Make sure that all the clients using the upgrade CLIs are aware of this change and have updated their code accordingly.

  • 50-53: The replacement of BeginBlock by PreBlock is a bug fix. Ensure that this change doesn't introduce any new bugs or issues in the system.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 1

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between b4cdf4b and 5992a12.
Files selected for processing (1)
  • .github/workflows/lint.yml (1 hunks)
Additional comments: 2
.github/workflows/lint.yml (2)
  • 20-22: The go-version is set to "1.21". Ensure that this version is compatible with the rest of your codebase and dependencies.

  • 23-31: This step uses the get-diff-action to get a diff of the specified file patterns. Ensure that these patterns cover all the files you want to include in the diff.

Comment on lines 32 to 34
# with:
# PATTERNS: |
# Makefile
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These commented lines suggest that you might want to include Makefile and **/Makefile in the patterns for the get-diff-action. If these files are relevant, consider uncommenting these lines.

@julienrbrt julienrbrt added this pull request to the merge queue Nov 9, 2023
Merged via the queue into main with commit 097f99d Nov 9, 2023
55 of 56 checks passed
@julienrbrt julienrbrt deleted the julien/046-main branch November 9, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants