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/coinbase/rosetta-sdk-go from 0.7.11 to 0.8.6 #868

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 21, 2024

Bumps github.com/coinbase/rosetta-sdk-go from 0.7.11 to 0.8.6.

Release notes

Sourced from github.com/coinbase/rosetta-sdk-go's releases.

Update docs to mesh, add header forwarder

Docs update

We publicly renamed Rosetta to Mesh, this release contains all the docs updates for that rename

Header Forwarding

Why

In order to support some common use cases, Mesh servers need the ability to pass request headers through to the native nodes, and to return headers from native node requests back to the caller.

Use cases:

  • passing a client ID header to the nodes — this client ID shouldn't originate with the Mesh server since it may have many different callers, so it should be passed through to the native node requests
  • sticky session cookies — to support sticky sessions on native nodes, AWS uses cookies. Cookies are managed by the Cookie and Set-Cookie headers, which will need to be passed from the caller to the native node, and returned from the native node ALB to the caller

Solution

The HeaderForwarder type extracts headers from potentially many native node requests and adds them to a Mesh response. HeaderForwarder can be injected into native node network requests as an http.RoundTripper, and can be applied to Mesh servers as middleware

A few key features:

  • opt-in — users of this library can choose to use or not use this feature
  • implements http.RoundTripper so that it can be used to create an http.Client or other client
  • implements a common middleware pattern: func(http.Handler) http.Handler
  • assigns every request a unique ID (which is used to associate headers from native node responses back to Mesh request/responses)
  • allows forwarding only specific headers

Changelog

Full changelog: v0.8.5...v0.8.6

Add the ability to create new generic asserter

What's Changed

Full Changelog: coinbase/mesh-sdk-go@v0.8.4...v0.8.5

New Generic Rosetta Client

Add a new asserter client with ignoring rosetta spec validation.

Generic improvements

What's Changed

Full Changelog: coinbase/mesh-sdk-go@v0.8.2...v0.8.3

... (truncated)

Commits

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)

Bumps [github.com/coinbase/rosetta-sdk-go](https://github.com/coinbase/rosetta-sdk-go) from 0.7.11 to 0.8.6.
- [Release notes](https://github.com/coinbase/rosetta-sdk-go/releases)
- [Commits](coinbase/mesh-sdk-go@v0.7.11...v0.8.6)

---
updated-dependencies:
- dependency-name: github.com/coinbase/rosetta-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 21, 2024
Copy link
Author

dependabot bot commented on behalf of github Oct 21, 2024

The following labels could not be found: A:automerge.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants