chore(deps): update module github.com/redis/go-redis/v9 to v9.5.1 - autoclosed #137

Closed
renovate wants to merge 1 commits from renovate/github.com-redis-go-redis-v9-9.x into master
Collaborator

This PR contains the following updates:

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

Release Notes

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

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


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 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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) | require | minor | `v9.2.1` -> `v9.5.1` | --- ### Release Notes <details> <summary>redis/go-redis (github.com/redis/go-redis/v9)</summary> ### [`v9.5.1`](https://github.com/redis/go-redis/releases/tag/v9.5.1): 9.5.1 [Compare Source](https://github.com/redis/go-redis/compare/v9.5.0...v9.5.1) ### 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 ([#&#8203;2915](https://github.com/redis/go-redis/issues/2915)) #### 🧰 Maintenance - docs: README update to highlight how to disable sending client identification ([#&#8203;2913](https://github.com/redis/go-redis/issues/2913)) #### Contributors We'd like to thank all the contributors who worked on this release! [@&#8203;ofekshenawa](https://github.com/ofekshenawa) ### [`v9.5.0`](https://github.com/redis/go-redis/releases/tag/v9.5.0): 9.5.0 [Compare Source](https://github.com/redis/go-redis/compare/v9.4.0...v9.5.0) ### 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 ([#&#8203;2844](https://github.com/redis/go-redis/issues/2844)) - Speed up connections by sending SetInfo via a pipeline ([#&#8203;2880](https://github.com/redis/go-redis/issues/2880)) - Add helpers to set libinfo without panic ([#&#8203;2724](https://github.com/redis/go-redis/issues/2724)) #### 🧰 Maintenance - Remove unnecessary Node project definition file ([#&#8203;2863](https://github.com/redis/go-redis/issues/2863)) - Add support for specifying bitcount unit as byte or bit, byte default ([#&#8203;2887](https://github.com/redis/go-redis/issues/2887)) - fix ConnPool race in newConn ([#&#8203;2885](https://github.com/redis/go-redis/issues/2885)) #### 📚 Documentation & Testing - Docs: update features ([#&#8203;2846](https://github.com/redis/go-redis/issues/2846)) - Docs: add bytes in scan struct example ([#&#8203;2836](https://github.com/redis/go-redis/issues/2836)) - Tests: add ut for util_test ([#&#8203;2840](https://github.com/redis/go-redis/issues/2840)) #### ⚙️ Dependencies & Infrastructure - chore: update OpenTelemetry and Uptrace to the latest version ([#&#8203;2864](https://github.com/redis/go-redis/issues/2864)) - chore(deps): bump release-drafter/release-drafter from 5 to 6 ([#&#8203;2883](https://github.com/redis/go-redis/issues/2883)) - chore(deps): bump rojopolis/spellcheck-github-actions from 0.35.0 to 0.36.0 ([#&#8203;2889](https://github.com/redis/go-redis/issues/2889)) - chore(deps): bump golangci/golangci-lint-action from 3 to 4 ([#&#8203;2890](https://github.com/redis/go-redis/issues/2890)) - Change RE image to 7.2.4-108 ([#&#8203;2884](https://github.com/redis/go-redis/issues/2884)) - Add CredentialsProvider to ClusterOptions ([#&#8203;2791](https://github.com/redis/go-redis/issues/2791)) #### Contributors We'd like to thank all the contributors who worked on this release! [@&#8203;OlegStotsky](https://github.com/OlegStotsky), [@&#8203;abusizhishen](https://github.com/abusizhishen), [@&#8203;dependabot](https://github.com/dependabot), [@&#8203;dependabot](https://github.com/dependabot)\[bot], [@&#8203;johnduhart](https://github.com/johnduhart), [@&#8203;limotley](https://github.com/limotley), [@&#8203;ofekshenawa](https://github.com/ofekshenawa), [@&#8203;peczenyj](https://github.com/peczenyj), [@&#8203;rfyiamcool](https://github.com/rfyiamcool), and [@&#8203;vmihailenco](https://github.com/vmihailenco) ### [`v9.4.0`](https://github.com/redis/go-redis/releases/tag/v9.4.0): 9.4.0 [Compare Source](https://github.com/redis/go-redis/compare/v9.3.1...v9.4.0) ### Changes #### Breaking Changes - Revert [#&#8203;2818](https://github.com/redis/go-redis/issues/2818) due to it be a breaking change ([#&#8203;2861](https://github.com/redis/go-redis/issues/2861)) #### 🚀 New Features - Add Suffix support to default client set info ([#&#8203;2852](https://github.com/redis/go-redis/issues/2852)) #### 🧰 Maintenance - return raw value instead of function calling in Result() ([#&#8203;2831](https://github.com/redis/go-redis/issues/2831)) - Add Redis Enterprise tests ([#&#8203;2847](https://github.com/redis/go-redis/issues/2847)) #### Contributors We'd like to thank all the contributors who worked on this release! [@&#8203;lowang-bh](https://github.com/lowang-bh) and [@&#8203;ofekshenawa](https://github.com/ofekshenawa) ### [`v9.3.1`](https://github.com/redis/go-redis/releases/tag/v9.3.1): 9.3.1 [Compare Source](https://github.com/redis/go-redis/compare/v9.3.0...v9.3.1) #### Updates and Enhancements - Documentation and examples have been updated ([#&#8203;2806](https://github.com/redis/go-redis/issues/2806)). - Redis values can now be scanned into pointer fields ([#&#8203;2787](https://github.com/redis/go-redis/issues/2787)). - The URL format error in the Documentation has been corrected ([#&#8203;2789](https://github.com/redis/go-redis/issues/2789)). - Cmder annotation has been added ([#&#8203;2816](https://github.com/redis/go-redis/issues/2816)). - The Z member type has been changed to string ([#&#8203;2818](https://github.com/redis/go-redis/issues/2818)). #### 🚀 New Features - BITFIELD_RO Command has been introduced ([#&#8203;2820](https://github.com/redis/go-redis/issues/2820)). - Monitor Command is now supported ([#&#8203;2830](https://github.com/redis/go-redis/issues/2830)). #### 🐛 Bug Fixes - "COMMAND" command is now executed only when readonly ([#&#8203;2815](https://github.com/redis/go-redis/issues/2815)). #### 🧰 Maintenance and Dependency Updates - The usage of TSMadd ktvSlices has been clarified in the docstring ([#&#8203;2827](https://github.com/redis/go-redis/issues/2827)). - Dependencies have been updated: - rojopolis/spellcheck-github-actions from 0.34.0 to 0.35.0 ([#&#8203;2807](https://github.com/redis/go-redis/issues/2807)) - actions/stale from 8 to 9 ([#&#8203;2828](https://github.com/redis/go-redis/issues/2828)) - actions/setup-go from 4 to 5 ([#&#8203;2829](https://github.com/redis/go-redis/issues/2829)) #### Contributors We'd like to thank all the contributors who worked on this release! [@&#8203;RyoMiyashita](https://github.com/RyoMiyashita), [@&#8203;dependabot](https://github.com/dependabot), [@&#8203;dependabot](https://github.com/dependabot)\[bot], [@&#8203;lzakharov](https://github.com/lzakharov), [@&#8203;ofekshenawa](https://github.com/ofekshenawa), [@&#8203;rfyiamcool](https://github.com/rfyiamcool), [@&#8203;rouzier](https://github.com/rouzier), [@&#8203;splundid](https://github.com/splundid) and [@&#8203;x1nchen](https://github.com/x1nchen) ### [`v9.3.0`](https://github.com/redis/go-redis/releases/tag/v9.3.0): 9.3.0 [Compare Source](https://github.com/redis/go-redis/compare/v9.2.1...v9.3.0) #### What's new? ##### JSON support We are continuing to add support for more [Redis data types](https://redis.io/docs/data-types/) in Go-Redis. Today, we are happy to announce support for JSON. [JSON is a Redis data structure](https://redis.io/docs/data-types/json/) 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: ```go 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](https://redis.io/docs/data-types/json/) ##### Other notable improvements - Allow using pointers of simple data types as command values ([#&#8203;2745](https://github.com/redis/go-redis/issues/2745)) ([#&#8203;2753](https://github.com/redis/go-redis/issues/2753)) - Add InfoMap command ([#&#8203;2665](https://github.com/redis/go-redis/issues/2665)) #### 🐛 Bug Fixes - Handle wrapped errors in scripter.Run ([#&#8203;2674](https://github.com/redis/go-redis/issues/2674)) - BUG: BFReserveArgs - error_rate & capacity ([#&#8203;2763](https://github.com/redis/go-redis/issues/2763)) - fix: free turn of connection pool when leave with error ([#&#8203;2658](https://github.com/redis/go-redis/issues/2658)) - Add BitMapCmdable to Cmdable. ([#&#8203;2737](https://github.com/redis/go-redis/issues/2737)) #### 🧰 Maintenance - Option types must propagage missing fields ([#&#8203;2726](https://github.com/redis/go-redis/issues/2726)) - fix missing fields in different Options ([#&#8203;2757](https://github.com/redis/go-redis/issues/2757)) - update PubSub.Channel documentation ([#&#8203;2761](https://github.com/redis/go-redis/issues/2761)) - Linking to Redis learning resources ([#&#8203;2759](https://github.com/redis/go-redis/issues/2759)) - Creating CODEOWNERS for documentation ([#&#8203;2749](https://github.com/redis/go-redis/issues/2749)) - chore(deps): bump rojopolis/spellcheck-github-actions from 0.33.1 to 0.34.0 ([#&#8203;2740](https://github.com/redis/go-redis/issues/2740)) - chore(deps): bump google.golang.org/grpc from 1.55.0 to 1.56.3 in /example/otel ([#&#8203;2775](https://github.com/redis/go-redis/issues/2775)) - chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /example/otel ([#&#8203;2776](https://github.com/redis/go-redis/issues/2776)) - Fix OpenTelemetry link in README ([#&#8203;2755](https://github.com/redis/go-redis/issues/2755)) #### Contributors We'd like to thank all the contributors who worked on this release! [@&#8203;Sovietaced](https://github.com/Sovietaced), [@&#8203;chayim](https://github.com/chayim), [@&#8203;chenjie199234](https://github.com/chenjie199234), [@&#8203;cyningsun](https://github.com/cyningsun), [@&#8203;dependabot](https://github.com/dependabot), [@&#8203;dependabot](https://github.com/dependabot)\[bot], [@&#8203;fred84](https://github.com/fred84), [@&#8203;nic-gibson](https://github.com/nic-gibson), [@&#8203;ofekshenawa](https://github.com/ofekshenawa), [@&#8203;peczenyj](https://github.com/peczenyj), [@&#8203;sethrylan](https://github.com/sethrylan), [@&#8203;snaffi](https://github.com/snaffi), [@&#8203;tzq0301](https://github.com/tzq0301) and [@&#8203;vmihailenco](https://github.com/vmihailenco) </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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMy4xIiwidXBkYXRlZEluVmVyIjoiMzcuMTMwLjAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
renovate added the
dependencies
label 2023-10-31 19:31:17 +00:00
renovate added 1 commit 2023-10-31 19:31:17 +00:00
renovate/artifacts Artifact file update failure
ci/woodpecker/pr/test Pipeline failed Details
23336de436
chore(deps): update module github.com/redis/go-redis/v9 to v9.3.0
Author
Collaborator

⚠ 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: go.sum
Command failed: go get -d -t ./...
go: downloading github.com/redis/go-redis/v9 v9.5.1
go: gitea.dwysokinski.me/twhelp/dcbot/internal/service tested by
	gitea.dwysokinski.me/twhelp/dcbot/internal/service.test imports
	gitea.dwysokinski.me/twhelp/dcbot/internal/service/internal/mock: cannot find module providing package gitea.dwysokinski.me/twhelp/dcbot/internal/service/internal/mock

### ⚠ 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: go.sum ``` Command failed: go get -d -t ./... go: downloading github.com/redis/go-redis/v9 v9.5.1 go: gitea.dwysokinski.me/twhelp/dcbot/internal/service tested by gitea.dwysokinski.me/twhelp/dcbot/internal/service.test imports gitea.dwysokinski.me/twhelp/dcbot/internal/service/internal/mock: cannot find module providing package gitea.dwysokinski.me/twhelp/dcbot/internal/service/internal/mock ```
renovate force-pushed renovate/github.com-redis-go-redis-v9-9.x from 23336de436 to 1d72e1bbf8 2023-12-03 06:01:14 +00:00 Compare
renovate force-pushed renovate/github.com-redis-go-redis-v9-9.x from 1d72e1bbf8 to 19b7f2060a 2023-12-09 08:58:20 +00:00 Compare
renovate force-pushed renovate/github.com-redis-go-redis-v9-9.x from 19b7f2060a to 82617a69c4 2023-12-19 19:31:04 +00:00 Compare
renovate changed title from chore(deps): update module github.com/redis/go-redis/v9 to v9.3.0 to chore(deps): update module github.com/redis/go-redis/v9 to v9.3.1 2023-12-19 19:31:04 +00:00
renovate changed title from chore(deps): update module github.com/redis/go-redis/v9 to v9.3.1 to chore(deps): update module github.com/redis/go-redis/v9 to v9.4.0 2024-01-07 19:31:07 +00:00
renovate force-pushed renovate/github.com-redis-go-redis-v9-9.x from 82617a69c4 to fc43023b08 2024-01-07 19:31:07 +00:00 Compare
renovate force-pushed renovate/github.com-redis-go-redis-v9-9.x from fc43023b08 to c2441a5b03 2024-02-18 19:31:16 +00:00 Compare
renovate changed title from chore(deps): update module github.com/redis/go-redis/v9 to v9.4.0 to chore(deps): update module github.com/redis/go-redis/v9 to v9.5.0 2024-02-18 19:31:17 +00:00
renovate force-pushed renovate/github.com-redis-go-redis-v9-9.x from c2441a5b03 to d4bff12f65 2024-02-20 19:31:12 +00:00 Compare
renovate changed title from chore(deps): update module github.com/redis/go-redis/v9 to v9.5.0 to chore(deps): update module github.com/redis/go-redis/v9 to v9.5.1 2024-02-20 19:31:12 +00:00
renovate changed title from chore(deps): update module github.com/redis/go-redis/v9 to v9.5.1 to chore(deps): update module github.com/redis/go-redis/v9 to v9.5.1 - autoclosed 2024-04-30 08:37:03 +00:00
renovate closed this pull request 2024-04-30 08:37:03 +00:00
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/pr/test Pipeline failed

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: twhelp/dcbot#137
No description provided.