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

build(deps): bump github.com/cosmos/gogoproto from 1.4.10 to 1.6.0 #34

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 8, 2024

Bumps github.com/cosmos/gogoproto from 1.4.10 to 1.6.0.

Release notes

Sourced from github.com/cosmos/gogoproto's releases.

v1.6.0

What's Changed

Full Changelog: cosmos/gogoproto@v1.5.0...v1.6.0

v1.5.0

Improvements

  • #119 The functions proto.Marshal, proto.Unmarshal, and proto.MessageName, as well as the jsonpb marshaling and unmarshaling methods now all support official google.golang.org/protobuf types. This allows users to gradually start using these types instead of gogo proto without needing to refactor all of their code with type switch statements.

Full CHANGELOG: https://github.com/cosmos/gogoproto/blob/main/CHANGELOG.md

v1.4.12

What's Changed

New Contributors

Full Changelog: cosmos/gogoproto@v1.4.11...v1.4.12

v1.4.11

What's Changed

New Contributors

Note

Dependencies depending on earlier version of x/exp may not be able to bump to v1.4.11 because slices.SortFunc had some breaking changes. For limiting breaking changes in patch versions, for instance, the Cosmos SDK v0.47.x will not bump to v1.4.11.

Full Changelog: cosmos/gogoproto@v1.4.10...v1.4.11

Changelog

Sourced from github.com/cosmos/gogoproto's changelog.

v1.6.0 - 2024-08-08

  • #142 Update code generator to make grpc ServiceDesc public.

v1.5.0 - 2024-06-05

Improvements

  • #119 The functions proto.Marshal, proto.Unmarshal, and proto.MessageName, as well as the jsonpb marshaling and unmarshaling methods now all support official google.golang.org/protobuf types. This allows users to gradually start using these types instead of gogo proto without needing to refactor all of their code with type switch statements.

v1.4.12 - 2024-03-20

Improvements

  • #115 Move any type from cosmos-sdk/codec/types to types/any.

v1.4.11 - 2023-08-18

Improvements

  • #83 Bump golang.org/x/exp to latest version. This solves API incompatibilities for users bumping x/exp to latest version in their app.
Commits
  • 5312ce8 feat: make serviceDesc public (#142)
  • 0923950 chore: bump bufbuild/buf-setup-action from 1.35.0 to 1.36.0 (#141)
  • dbc6930 chore: bump amannn/action-semantic-pull-request from 5.5.2 to 5.5.3 (#136)
  • 8cd96de chore: bump bufbuild/buf-setup-action from 1.31.0 to 1.35.0 (#139)
  • 89ccff4 chore: improve any compat error (#138)
  • 6eec973 docs: Update CHANGELOG.md for v1.5.0 (#132)
  • f634560 chore: bump amannn/action-semantic-pull-request from 5.5.0 to 5.5.2 (#125)
  • eaaae34 chore: bump amannn/action-semantic-pull-request from 5.4.0 to 5.5.0 (#124)
  • 2e43aad chore: bump bufbuild/buf-setup-action from 1.30.1 to 1.31.0 (#123)
  • 378c8ed chore: bump bufbuild/buf-setup-action from 1.30.0 to 1.30.1 (#120)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • New Features

    • Introduced a new dependency for enhanced tooling support with cosmossdk.io/tools/rosetta.
    • Added new libraries that may improve application performance and compatibility.
  • Bug Fixes

    • Updated several existing dependencies to their latest versions, ensuring improved stability and functionality.

Bumps [github.com/cosmos/gogoproto](https://github.com/cosmos/gogoproto) from 1.4.10 to 1.6.0.
- [Release notes](https://github.com/cosmos/gogoproto/releases)
- [Changelog](https://github.com/cosmos/gogoproto/blob/main/CHANGELOG.md)
- [Commits](cosmos/gogoproto@v1.4.10...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/gogoproto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner August 8, 2024 10:48
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 8, 2024
@dependabot dependabot bot requested review from hanchon and MalteHerrmann and removed request for a team August 8, 2024 10:48
Copy link

coderabbitai bot commented Aug 8, 2024

Walkthrough

The updates to go.mod introduce new dependencies and upgrade existing ones, enhancing the module's capabilities. A notable addition is cosmossdk.io/tools/rosetta at version v0.2.1. The dependency github.com/cosmos/gogoproto has been upgraded from v1.4.10 to v1.6.0, and github.com/cosmos/go-bip39 has taken its place as a direct dependency. Other dependencies have also been updated or added, improving performance and ecosystem compatibility.

Changes

File Change Summary
go.mod - Added cosmossdk.io/tools/rosetta v0.2.1
- Replaced github.com/cosmos/gogoproto with github.com/cosmos/go-bip39 v1.0.0
- Updated github.com/cosmos/gogoproto to v1.6.0
- Updated golang.org/x/exp
- Added indirect dependency github.com/improbable-eng/grpc-web v0.15.0
- Added github.com/rs/cors v1.11.0, github.com/spf13/cobra v1.8.1, golang.org/x/net v0.27.0, and sigs.k8s.io/yaml v1.4.0

Poem

In the meadow, changes bloom,
New tools arrive, dispelling gloom.
With every hop, we leap ahead,
Dependencies sprout, new paths to tread.
A cosmic dance of code we weave,
In this garden, we believe! 🐇✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

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 an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • 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/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@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.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between ab675cc and da24994.

Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
Files selected for processing (1)
  • go.mod (7 hunks)
Additional comments not posted (9)
go.mod (9)

27-27: Verify the usage and compatibility of github.com/spf13/cobra v1.8.1.

Ensure that this new dependency is used appropriately and does not introduce compatibility issues.


23-23: Verify the impact of adding github.com/improbable-eng/grpc-web v0.15.0.

Ensure that this new indirect dependency does not negatively impact the build or runtime environment.

Verification successful

The addition of github.com/improbable-eng/grpc-web v0.15.0 is appropriate and does not introduce issues.

The grpcweb package is used in the MountGRPCWebServices function in server/util.go to handle gRPC web requests, indicating correct integration. No negative impact on the build or runtime environment is evident from this usage.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the impact of adding `github.com/improbable-eng/grpc-web v0.15.0`.

# Test: Check if `github.com/improbable-eng/grpc-web` is used in the codebase.
rg --type go 'github.com/improbable-eng/grpc-web'

Length of output: 113


Script:

#!/bin/bash
# Description: Investigate the usage of `grpcweb` in `server/util.go`.

# Extract lines around the usage of `grpcweb` to understand its context.
rg --type go 'grpcweb' -A 10 -B 10 server/util.go

Length of output: 1104


16-16: Verify compatibility of github.com/cosmos/gogoproto update to v1.6.0.

Ensure that this update is compatible with the existing codebase and other dependencies. Review the release notes for potential breaking changes.

Verification successful

Update to github.com/cosmos/gogoproto v1.6.0 appears compatible.

The release notes for version v1.6.0 do not indicate any breaking changes. The update includes improvements and feature additions that seem to be backward-compatible with the existing codebase.

  • No breaking changes found in the release notes.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify compatibility of `github.com/cosmos/gogoproto` update to `v1.6.0`.

# Test: Search for the usage of `github.com/cosmos/gogoproto` in the codebase.
rg --type go 'github.com/cosmos/gogoproto'

Length of output: 629


Script:

#!/bin/bash
# Fetch the release notes for `github.com/cosmos/gogoproto` version `v1.6.0`.

# Using GitHub CLI to fetch release notes
gh release view v1.6.0 --repo cosmos/gogoproto --json body -q .body

Length of output: 750


25-25: Verify the usage and compatibility of github.com/rs/cors v1.11.0.

Ensure that this new dependency is used appropriately and does not introduce compatibility issues.

Verification successful

Usage of github.com/rs/cors v1.11.0 is verified and correct.

The cors package is used appropriately in server/json_rpc.go to handle CORS settings for the JSON-RPC server. The implementation considers security configurations and uses the package as intended. No compatibility issues were found.

  • server/json_rpc.go: Correct usage of cors for CORS handling.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the usage and compatibility of `github.com/rs/cors v1.11.0`.

# Test: Search for the usage of `github.com/rs/cors` in the codebase.
rg --type go 'github.com/rs/cors'

Length of output: 74


Script:

#!/bin/bash
# Extract and examine the usage of `github.com/rs/cors` in `server/json_rpc.go`.
rg --type go --context 5 'github.com/rs/cors' server/json_rpc.go

Length of output: 374


Script:

#!/bin/bash
# Search for the usage of `cors` within `server/json_rpc.go` to gather more context.
rg --type go 'cors' server/json_rpc.go -A 10

Length of output: 744


15-15: Verify the replacement of github.com/cosmos/gogoproto with github.com/cosmos/go-bip39.

Ensure that this replacement does not introduce any functional discrepancies and aligns with the project's requirements.


38-38: Verify the usage and compatibility of sigs.k8s.io/yaml v1.4.0.

Ensure that this new dependency is used appropriately and does not introduce compatibility issues.

Verification successful

Usage of sigs.k8s.io/yaml v1.4.0 is appropriate and compatible.

The yaml.Marshal function is used in client/keys/utils.go, which is a standard and compatible use case for this package. No issues found.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the usage and compatibility of `sigs.k8s.io/yaml v1.4.0`.

# Test: Search for the usage of `sigs.k8s.io/yaml` in the codebase.
rg --type go 'sigs.k8s.io/yaml'

Length of output: 72


Script:

#!/bin/bash
# Extract lines from `client/keys/utils.go` where `sigs.k8s.io/yaml` is used.
rg --type go --context 5 'sigs.k8s.io/yaml' client/keys/utils.go

Length of output: 218


Script:

#!/bin/bash
# Search for specific function calls or usage of `sigs.k8s.io/yaml` in `client/keys/utils.go`.
rg --type go 'yaml\.' client/keys/utils.go

Length of output: 76


9-9: Verify the compatibility and usage of cosmossdk.io/tools/rosetta.

Ensure that this new dependency aligns with the project's objectives and does not introduce compatibility issues with existing dependencies.


35-35: Verify the usage and compatibility of golang.org/x/net v0.27.0.

Ensure that this new dependency is used appropriately and does not introduce compatibility issues.


34-34: Verify compatibility of golang.org/x/exp update.

Ensure that this update is compatible with the existing codebase and other dependencies. Review the release notes for potential breaking changes.

@MalteHerrmann
Copy link
Collaborator

not doing any upgrades til merging the evmos repo's changes

Copy link
Author

dependabot bot commented on behalf of github Aug 9, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/cosmos/gogoproto-1.6.0 branch August 9, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant