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/go-redis/redis/v8 to v9 #2108

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 18, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/go-redis/redis/v8 v8.11.5 -> v9.5.1 age adoption passing confidence

Release Notes

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

v9.5.1: 9.5.1

Compare Source

Changes

Note: This release fixes the SETINFO issue from 9.5.0. This release restores connections to redis versions that do not have SETINFO. Thank you to our amazing community for their help with this issue

🐛 Bug Fixes

  • bug: Fix SETINFO ensuring it is set-and-forget (#​2915)

🧰 Maintenance

  • docs: README update to highlight how to disable sending client identification (#​2913)

Contributors

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

@​ofekshenawa

v9.5.0: 9.5.0

Compare Source

Changes

Note: This release implements SETINFO by default, and currently breaks with Redis versions prior to 7.2 due to the way the change was implemented. It should have failed silently, but did not. 9.5.1 will fix this. To disable this behaviour, with this release, please DisableIdentity: true in your RedisOptions struct.

🚀 New Features

  • Add object fraq command (#​2844)
  • Speed up connections by sending SetInfo via a pipeline (#​2880)
  • Add helpers to set libinfo without panic (#​2724)

🧰 Maintenance

  • Remove unnecessary Node project definition file (#​2863)
  • Add support for specifying bitcount unit as byte or bit, byte default (#​2887)
  • fix ConnPool race in newConn (#​2885)

📚 Documentation & Testing

  • Docs: update features (#​2846)
  • Docs: add bytes in scan struct example (#​2836)
  • Tests: add ut for util_test (#​2840)

⚙️ Dependencies & Infrastructure

  • chore: update OpenTelemetry and Uptrace to the latest version (#​2864)
  • chore(deps): bump release-drafter/release-drafter from 5 to 6 (#​2883)
  • chore(deps): bump rojopolis/spellcheck-github-actions from 0.35.0 to 0.36.0 (#​2889)
  • chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#​2890)
  • Change RE image to 7.2.4-108 (#​2884)
  • Add CredentialsProvider to ClusterOptions (#​2791)

Contributors

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

@​OlegStotsky, @​abusizhishen, @​dependabot, @​dependabot[bot], @​johnduhart, @​limotley, @​ofekshenawa, @​peczenyj, @​rfyiamcool, and @​vmihailenco

v9.4.0: 9.4.0

Compare Source

Changes

Breaking Changes

🚀 New Features

  • Add Suffix support to default client set info (#​2852)

🧰 Maintenance

  • return raw value instead of function calling in Result() (#​2831)
  • Add Redis Enterprise tests (#​2847)

Contributors

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

@​lowang-bh and @​ofekshenawa

v9.3.1: 9.3.1

Compare Source

Updates and Enhancements

  • Documentation and examples have been updated (#​2806).
  • Redis values can now be scanned into pointer fields (#​2787).
  • The URL format error in the Documentation has been corrected (#​2789).
  • Cmder annotation has been added (#​2816).
  • The Z member type has been changed to string (#​2818).

🚀 New Features

  • BITFIELD_RO Command has been introduced (#​2820).
  • Monitor Command is now supported (#​2830).

🐛 Bug Fixes

  • "COMMAND" command is now executed only when readonly (#​2815).

🧰 Maintenance and Dependency Updates

  • The usage of TSMadd ktvSlices has been clarified in the docstring (#​2827).
  • Dependencies have been updated:
    • rojopolis/spellcheck-github-actions from 0.34.0 to 0.35.0 (#​2807)
    • actions/stale from 8 to 9 (#​2828)
    • actions/setup-go from 4 to 5 (#​2829)

Contributors

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

@​RyoMiyashita, @​dependabot, @​dependabot[bot], @​lzakharov, @​ofekshenawa, @​rfyiamcool, @​rouzier, @​splundid and @​x1nchen

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

v9.2.1: 9.2.1

Compare Source

🧰 Maintenance

  • chore(deps): bump actions/stale from 3 to 8 (#​2732)
  • Add stream interface back to Cmdable (#​2725)
  • Remove redundant nil check in gears (#​2728)

Contributors

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

@​Juneezee, @​dependabot, @​dependabot[bot], @​gabrielgio and @​ofekshenawa

v9.2.0: 9.2.0

Compare Source

What's new?
Time series support

We are happy to announce support for Time Series. This enhancement allows developers to leverage the time series data structure directly within Go-Redis, enabling efficient ingestion, querying, and storage of time-sequential data. Whether you're tracking metrics, logs, or other time-sensitive information, this feature offers a robust solution to manage time series data seamlessly. We encourage developers to explore this new capability and provide feedback for further improvements.
Learn more about Redis Time Series

Better support for Redis 7.2

Go-Redis now supports WAITAOF and CLIENT SETINFO commands introduced in Redis 7.2.

Other notable improvements
  • Add the ability to set a connection growth limit with MaxActiveConns configuration setting (#​2646)
  • Add support for multiple values in the bitfield cmd (#​2648)
Breaking Changes
  • Changing the suffix for probablistic commands acceptings arguments to WithArgs from Args (#​2701)
🧰 Maintenance
  • Making command structs digestible (#​2716)
  • change interfaces probabilistic and redis gears from private to public (#​2695)
  • Adding CONTRIBUTING guidelines (#​2718)
  • Adding Go 1.21.x for CI coverage (#​2697)
  • chore(deps): bump actions/checkout from 3 to 4 (#​2702)
  • chore(deps): bump github.com/bsm/ginkgo/v2 from 2.9.5 to 2.12.0 (#​2690)
  • chore(deps): bump github.com/bsm/gomega from 1.26.0 to 1.27.10 (#​2689)
  • Adding stale issues workflow (#​2700)
  • Updating redis binary for makefile to 7.2.1 (#​2693)
  • Skip flaky tests (#​2699)
  • Format code and fix go vet (#​2696)
  • Use time duration calculation (#​2651)
Contributors

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

@​NikanV, @​SoulPancake, @​chayim, @​dependabot, @​dependabot[bot], @​nvorobev, @​ofekshenawa, @​peczenyj, @​taytzehao and @​wzlove

v9.1.0: 9.1.0

Compare Source

What's new?

Triggers and Functions support

Triggers and Functions allow you to execute server-side functions triggered when key values are modified or created in Redis, a stream entry arrival, or explicitly calling them. Simply put, you can replace Lua scripts with easy-to-develop JavaScript or TypeScript code. Move your business logic closer to the data to ensure a lower latency, and forget about updating dependent key values manually in your code.
Try it for yourself with Quick start

Support for All Probabilistic data structures

Probabilistic data structures, like Bloom filters, offer unique advantages when dealing with large datasets, such as memory efficiency, faster operations, and scalability. Go-Redis now supports all probabilistic data structures.

🐛 Bug Fixes

🧰 Maintenance

  • Bump github.com/bsm/ginkgo/v2 from 2.7.0 to 2.9.5 (#​2613)
  • Adds testable examples to be automatically pulled in redis.io docs (#​2601)
  • Integrating spellcheck into CI (#​2666)
  • Bumping redis versions (#​2662)
  • Updating the README with connection options (#​2661)
  • chore: fix staticcheck (#​2631)

Contributors

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

@​chayim, @​dependabot, @​dependabot[bot], @​elena-kolevska, @​kamyab98, @​ofekshenawa, @​testwill and @​vmihailenco

v9.0.5: 9.0.5

Compare Source

Changes

  • chore: release v9.0.5 (release.sh) (#​2614)
  • chore: update otel example to the latest versions (#​2606)
  • fix the reading of the "entries-read" field in XInfoStreamFull (#​2595)
  • chore(deps): Update otel/metric to stable API (#​2607)
  • feat: add field protocol to setupClusterQueryParams (#​2600)
  • feat: add protocol option (#​2598)

🚀 New Features

Contributors

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

@​SoulPancake, @​ash2k, @​ljun20160606, @​monkey92t and @​vmihailenco

v9.0.4: 9.0.4

Compare Source

Changes

  • chore: release v9.0.4 (release.sh) (#​2572)
  • chore(deps): Updating otel/metric and fixing breaking changes (#​2569)
  • docs: update doc of redis option (#​2567)
  • chore: fix typo in the result.go (#​2558)
  • feat: add client info command (#​2483)
  • Add ZRANK, ZREVRANK WITHSCORE (#​2531)
  • Maintenance : Deprecate FCallRo & add FCallRO (#​2550)
  • Add support for CLUSTER MYSHARDID command (#​2530)
  • feat: no longer verify HELLO error messages (#​2515)
  • test: redis-version to 7.2-rc1 (#​2532)
  • doc: pass ctx in BLpop example for infinite wait time (#​2540)
  • actions: build on go1.20.x (#​2541)
  • fix: reader float parser (#​2513)

🚀 New Features

  • Add support for MODULE LOADEX command (#​2490)
  • feat: read the structure to increase the judgment of the omitempty op… (#​2529)

Contributors

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

@​SoulPancake, @​ViBiOh, @​iliyanm, @​ktsivkov, @​monkey92t, @​mstmdev, @​pranitbauva1997, @​rfyiamcool and @​vmihailenco

v9.0.3: 9.0.3

Compare Source

Changes

🚀 New Features

  • feat(scan): scan time.Time sets the default decoding (#​2413)
  • Add support for BZMPOP (#​2456)
  • Adding support for ZMPOP command (#​2408)
  • Add support for BLMPOP (#​2442)
  • Add support for LMPOP (#​2440)
  • feat: remove pool unused fields (#​2438)
  • feat: check pipeline.Do to prevent confusion with Exec (#​2517)
  • Function stats, function kill, fcall and fcall_ro (#​2486)
  • feat: Add support for CLUSTER SHARDS command (#​2507)
  • Add support for CLUSTER LINKS command (#​2504)
  • Add support for acl dryrun command (#​2502)
  • Add support for COMMAND GETKEYS & COMMAND GETKEYSANDFLAGS (#​2500)
  • Add support for LCS Command (#​2480)
  • feat(cmd): support for adding byte,bit parameters to the bitpos command (#​2498)
  • Add: Support for COMMAND LIST command (#​2491)
  • Implement FUNCTION group of commands (#​2475)
  • feat(zadd): add ZAddLT and ZAddGT (#​2429)
  • Expiretime and PExpireTime (#​2426)

🐛 Bug Fixes

  • fix: eval api cmd.SetFirstKeyPos (#​2501)
  • fix: limit the number of connections created (#​2441)
  • fix: group lag can be null (#​2448)
  • fix(appendArg): appendArg case special type (#​2489)
  • Fix for internal/hscan/structmap.go:89:23: undefined: reflect.Pointer (#​2458)
  • fixed #​2462 v9 continue support dragonfly, it's Hello command return "NOAUTH Authentication required" error (#​2479)

🧰 Maintenance

  • Updating to the latest version of redis (#​2508)
  • Allowing for running tests on a port other than the fixed 6380 (#​2466)
  • redis 7.0.8 in tests (#​2450)
  • docs: Update redisotel example for v9 (#​2425)
  • chore(deps): bump github.com/bsm/gomega from 1.20.0 to 1.26.0 (#​2421)
  • chore(deps): bump github.com/bsm/ginkgo/v2 from 2.5.0 to 2.7.0 (#​2420)
  • chore(deps): bump actions/setup-go from 3 to 4 (#​2495)
  • chore: update go mod, Upgrade golang.org/x/net version to 0.7.0 (#​2476)
  • test: remove testify (#​2463)
  • docs: add reading lag field comment (#​2451)
  • test: update go mod before testing(go mod tidy) (#​2423)
  • chore: bump Go to 1.18 (#​2428)
  • refactor: change ListElementCmd to KeyValuesCmd. (#​2443)
  • chore: add Chinese translation (#​2436)
  • docs: add instructions for the HSet api (#​2503)
  • docs: fix comment typo (#​2505)

Contributors

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

@​KasonBraley, @​LCaparelli, @​Multiply, @​SoulPancake, @​aksh-02, @​chayim, @​dependabot, @​dependabot[bot], @​eepurichandra, @​elena-kolevska, @​holykol, @​monkey92t, @​septemhill, @​vmihailenco, @​xinzhanguo and @​yikuaibro

v9.0.2

Compare Source

Changes

  • feat: upgrade OpenTelemetry, use the new metrics API. (#​2410)

🧰 Maintenance

  • chore: release v9.0.2 (release.sh) (#​2412)
  • test: remove deep search (#​2411)
  • Adding the release drafter, for release note generation (#​2368)

Contributors

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

@​chayim, @​longit644, @​monkey92t and @​vmihailenco

v9.0.1

Compare Source

Please refer to CHANGELOG.md for details

v9.0.0

Compare Source

Please refer to CHANGELOG.md for details


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 added the 🤖 Dependencies Pull requests that update a dependency file label Sep 18, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Sep 18, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: url-shortener-api/api/go.sum
Command failed: go get -d -t ./...
go: github.com/go-redis/redis/v9@v9.5.1: parsing go.mod:
	module declares its path as: github.com/redis/go-redis/v9
	        but was required as: github.com/go-redis/redis/v9

@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch 14 times, most recently from 6523035 to feb9370 Compare September 25, 2023 07:23
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch 4 times, most recently from 1398293 to a8ab5cd Compare September 29, 2023 17:46
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch 8 times, most recently from 47b685d to 05e2a79 Compare October 12, 2023 00:42
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch 2 times, most recently from 31ae9e1 to 4a129c5 Compare October 17, 2023 01:56
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch 4 times, most recently from 4cf1fc0 to 909b0b6 Compare January 11, 2024 19:27
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch 2 times, most recently from 2494f0b to 6acdade Compare February 4, 2024 17:14
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch 11 times, most recently from 4c94090 to 0d2a1ba Compare February 23, 2024 22:03
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch 2 times, most recently from 9347bea to c4515c4 Compare February 26, 2024 07:39
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch from c4515c4 to 8f72a6d Compare March 12, 2024 14:19
Copy link

coderabbitai bot commented Mar 12, 2024

Important

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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.

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 a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

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

CodeRabbit Configration 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.

@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch 3 times, most recently from a70c98c to 682afb0 Compare March 19, 2024 07:31
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch from 682afb0 to 79624cd Compare April 2, 2024 12:04
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch 2 times, most recently from 2cec0ca to 33fe988 Compare May 1, 2024 14:46
| datasource | package                      | from    | to     |
| ---------- | ---------------------------- | ------- | ------ |
| go         | github.com/go-redis/redis/v8 | v8.11.5 | v9.5.1 |
@renovate renovate bot force-pushed the renovate/github.com-go-redis-redis-v8-9.x branch from 33fe988 to d1dedc8 Compare May 1, 2024 14:49
Copy link
Contributor Author

renovate bot commented May 9, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: url-shortener-api/api/go.sum
Command failed: go get -d -t ./...
go: github.com/go-redis/redis/v9@v9.5.1: parsing go.mod:
	module declares its path as: github.com/redis/go-redis/v9
	        but was required as: github.com/go-redis/redis/v9

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.

None yet

0 participants