hibiken / asynq

Simple, reliable, and efficient distributed task queue in Go
MIT License
10k stars 714 forks source link

Bump github.com/redis/go-redis/v9 from 9.0.3 to 9.3.0 #777

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 1 year ago

Bumps github.com/redis/go-redis/v9 from 9.0.3 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)

Changelog

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

9.0.5 (2023-05-29)

Features

9.0.4 (2023-05-01)

Bug Fixes

Features

  • add client info command (#2483) (b8c7317)
  • no longer verify HELLO error messages (#2515) (7b4f217)
  • read the structure to increase the judgment of the omitempty op… (#2529) (37c057b)
Commits


Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

kamikazechaser commented 9 months ago

@dependabot rebase

dependabot[bot] commented 9 months ago

Superseded by #809.