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

fix(deps): update module github.com/redis/go-redis/v9 to v9.3.0 in go.mod #3906

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/redis/go-redis/v9 require minor v9.2.1 -> v9.3.0

Release Notes

redis/go-redis (github.com/redis/go-redis/v9)

v9.3.0: 9.3.0

Compare Source

What's new?

JSON support

We are continuing to add support for more Redis data types in Go-Redis. Today, we are happy to announce support for JSON. JSON is a Redis data structure for storing, querying, and manipulating a single JSON document.

With a JSON key in Redis, you can:

  • Use it as a versatile hierarchical data type
  • Opt for it as a sophisticated alternative to the traditional hash data structure
  • Treat it as a singular document in a document-based database

The following example demonstrate how to get started with JSON in Go-Redis:

var ctx = context.Background()
client := redis.NewClient(&redis.Options{
	Addr: "localhost:6379",
})

type Bicycle struct {
	Brand       string
	Model       string
	Price       int
}

bicycle := Bicycle{
	Brand: "Velorim",
	Model: "Jigger",
	Price: 270,
}

_, err := client.JSONSet(ctx, "bicycle:1", "$", bicycle).Result()
if err != nil {
	panic(err)
}

res, err := client.JSONGet(ctx, "bicycle:1", ".Model").Result()
if err != nil {
	panic(err)
}
fmt.Println("bicycle:1 model is", res)

Learn more about JSON support in Redis

Other notable improvements

🐛 Bug Fixes

  • Handle wrapped errors in scripter.Run (#​2674)
  • BUG: BFReserveArgs - error_rate & capacity (#​2763)
  • fix: free turn of connection pool when leave with error (#​2658)
  • Add BitMapCmdable to Cmdable. (#​2737)

🧰 Maintenance

  • Option types must propagage missing fields (#​2726)
  • fix missing fields in different Options (#​2757)
  • update PubSub.Channel documentation (#​2761)
  • Linking to Redis learning resources (#​2759)
  • Creating CODEOWNERS for documentation (#​2749)
  • chore(deps): bump rojopolis/spellcheck-github-actions from 0.33.1 to 0.34.0 (#​2740)
  • chore(deps): bump google.golang.org/grpc from 1.55.0 to 1.56.3 in /example/otel (#​2775)
  • chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /example/otel (#​2776)
  • Fix OpenTelemetry link in README (#​2755)

Contributors

We'd like to thank all the contributors who worked on this release!

@​Sovietaced, @​chayim, @​chenjie199234, @​cyningsun, @​dependabot, @​dependabot[bot], @​fred84, @​nic-gibson, @​ofekshenawa, @​peczenyj, @​sethrylan, @​snaffi, @​tzq0301 and @​vmihailenco


Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner November 1, 2023 01:31
@renovate renovate bot added the dependencies PRs that update a dependency file label Nov 1, 2023
@renovate renovate bot enabled auto-merge (squash) November 1, 2023 01:31
@renovate renovate bot merged commit f519638 into main Nov 1, 2023
14 checks passed
@renovate renovate bot deleted the renovate/github.com-redis-go-redis-v9-9.x branch November 1, 2023 02:01
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
….mod (runatlantis#3906)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
….mod (runatlantis#3906)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies PRs that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants