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(deps): bump github.com/redis/go-redis/v9 from 9.2.1 to 9.3.0 #2338

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2023

Bumps github.com/redis/go-redis/v9 from 9.2.1 to 9.3.0.

Release notes

Sourced from github.com/redis/go-redis/v9's releases.

9.3.0

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

  • Allow using pointers of simple data types as command values (#2745) (#2753)
  • Add InfoMap command (#2665)

🐛 Bug Fixes

... (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/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.2.1 to 9.3.0.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md)
- [Commits](redis/go-redis@v9.2.1...v9.3.0)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner November 6, 2023 02:31
@dependabot dependabot bot added automerge Used by Kodiak bot to automerge PRs dependencies Pull requests that update a dependency file go labels Nov 6, 2023
Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Merging #2338 (d0d349f) into main (85e5f3a) will increase coverage by 0.05%.
Report is 10 commits behind head on main.
The diff coverage is 75.32%.

@@            Coverage Diff             @@
##             main    #2338      +/-   ##
==========================================
+ Coverage   70.87%   70.92%   +0.05%     
==========================================
  Files          78       78              
  Lines        7436     7449      +13     
==========================================
+ Hits         5270     5283      +13     
+ Misses       1866     1865       -1     
- Partials      300      301       +1     
Files Coverage Δ
internal/storage/fs/local/source.go 91.17% <100.00%> (+0.26%) ⬆️
internal/storage/fs/store.go 94.00% <100.00%> (+14.68%) ⬆️
internal/storage/fs/s3/source.go 76.71% <70.00%> (-2.70%) ⬇️
internal/storage/fs/git/source.go 79.77% <61.53%> (-2.16%) ⬇️
internal/storage/fs/snapshot.go 70.28% <71.79%> (-0.05%) ⬇️

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@kodiakhq kodiakhq bot merged commit fb60603 into main Nov 6, 2023
28 checks passed
@kodiakhq kodiakhq bot deleted the dependabot/go_modules/github.com/redis/go-redis/v9-9.3.0 branch November 6, 2023 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Used by Kodiak bot to automerge PRs dependencies Pull requests that update a dependency file go
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants