brave / go-sync

Brave sync server v2
Mozilla Public License 2.0
185 stars 44 forks source link

Update module github.com/redis/go-redis/v9 to v9.6.1 #273

Open renovate[bot] opened 3 months ago

renovate[bot] commented 3 months ago

This PR contains the following updates:

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

Release Notes

redis/go-redis (github.com/redis/go-redis/v9) ### [`v9.6.1`](https://togithub.com/redis/go-redis/releases/tag/v9.6.1): 9.6.1 [Compare Source](https://togithub.com/redis/go-redis/compare/v9.6.0...v9.6.1) ### Changes #### 9.6 This release contains all new features from version 9.6. ##### 🚀 New Features - Support Hash-field expiration commands ([#​2991](https://togithub.com/redis/go-redis/issues/2991)) - Support Hash-field expiration commands in Pipeline & Fix HExpire HExpireWithArgs expiration ([#​3038](https://togithub.com/redis/go-redis/issues/3038)) - Support NOVALUES parameter for HSCAN ([#​2925](https://togithub.com/redis/go-redis/issues/2925)) - Added test case for CLIENT KILL with MAXAGE option ([#​2971](https://togithub.com/redis/go-redis/issues/2971)) - Add support for XREAD last entry ([#​3005](https://togithub.com/redis/go-redis/issues/3005)) - Reduce the type assertion of CheckConn ([#​3066](https://togithub.com/redis/go-redis/issues/3066)) #### 9.6.1 In addition minor changes were performed to retract version 9.5.3 and 9.5.4 that were released accidentally. ##### 🧰 Maintenance - Change CI to 7.4.0-RC2 ([#​3070](https://togithub.com/redis/go-redis/issues/3070)) ##### 🎁 Package Distribution - Retract versions 9.5.3 and 9.5.4 ([#​3069](https://togithub.com/redis/go-redis/issues/3069)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​LINKIWI](https://togithub.com/LINKIWI), [@​b1ron](https://togithub.com/b1ron), [@​gerzse](https://togithub.com/gerzse), [@​haines](https://togithub.com/haines), [@​immersedin](https://togithub.com/immersedin), [@​naiqianz](https://togithub.com/naiqianz), [@​ofekshenawa](https://togithub.com/ofekshenawa), [@​srikar-jilugu](https://togithub.com/srikar-jilugu), [@​tzongw](https://togithub.com/tzongw), [@​vladvildanov](https://togithub.com/vladvildanov), [@​vmihailenco](https://togithub.com/vmihailenco) and [@​monkey92t](https://togithub.com/monkey92t) ### [`v9.6.0`](https://togithub.com/redis/go-redis/releases/tag/v9.6.0): 9.6.0 [Compare Source](https://togithub.com/redis/go-redis/compare/v9.5.4...v9.6.0) ### Changes #### 🚀 New Features - Support Hash-field expiration commands ([#​2991](https://togithub.com/redis/go-redis/issues/2991)) - Support Hash-field expiration commands in Pipeline & Fix HExpire HExpireWithArgs expiration ([#​3038](https://togithub.com/redis/go-redis/issues/3038)) - Support NOVALUES parameter for HSCAN ([#​2925](https://togithub.com/redis/go-redis/issues/2925)) - Added test case for CLIENT KILL with MAXAGE option ([#​2971](https://togithub.com/redis/go-redis/issues/2971)) - Add support for XREAD last entry ([#​3005](https://togithub.com/redis/go-redis/issues/3005)) - Reduce the type assertion of CheckConn ([#​3066](https://togithub.com/redis/go-redis/issues/3066)) #### 🛠️ Improvements This release includes support for Redis Community Edition (CE) 7.4.0, ensuring compatibility with the latest features and improvements introduced in Redis CE 7.4.0. #### 🧰 Maintenance - chore(deps): bump golangci/golangci-lint-action from 4 to 6 ([#​2993](https://togithub.com/redis/go-redis/issues/2993)) - Avoid unnecessary retry delay in cluster client following MOVED and ASK redirection ([#​3048](https://togithub.com/redis/go-redis/issues/3048)) - add test for tls connCheck [#​3025](https://togithub.com/redis/go-redis/issues/3025) ([#​3047](https://togithub.com/redis/go-redis/issues/3047)) - fix node routing in slotClosestNode ([#​3043](https://togithub.com/redis/go-redis/issues/3043)) - Update pubsub.go ([#​3042](https://togithub.com/redis/go-redis/issues/3042)) - Change monitor test to run manually ([#​3041](https://togithub.com/redis/go-redis/issues/3041)) - chore(deps): bump rojopolis/spellcheck-github-actions from 0.36.0 to 0.38.0 ([#​3028](https://togithub.com/redis/go-redis/issues/3028)) - Add `(*StatusCmd).Bytes()` method ([#​3030](https://togithub.com/redis/go-redis/issues/3030)) - chore(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /example/otel ([#​3000](https://togithub.com/redis/go-redis/issues/3000)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​LINKIWI](https://togithub.com/LINKIWI), [@​b1ron](https://togithub.com/b1ron), [@​dependabot](https://togithub.com/dependabot), [@​dependabot](https://togithub.com/dependabot)\[bot], [@​gerzse](https://togithub.com/gerzse), [@​haines](https://togithub.com/haines), [@​immersedin](https://togithub.com/immersedin), [@​naiqianz](https://togithub.com/naiqianz), [@​ofekshenawa](https://togithub.com/ofekshenawa), [@​srikar-jilugu](https://togithub.com/srikar-jilugu), [@​tzongw](https://togithub.com/tzongw), [@​vladvildanov](https://togithub.com/vladvildanov) and [@​vmihailenco](https://togithub.com/vmihailenco) [@​monkey92t](https://togithub.com/monkey92t) ### [`v9.5.4`](https://togithub.com/redis/go-redis/compare/v9.5.3...v9.5.4) [Compare Source](https://togithub.com/redis/go-redis/compare/v9.5.3...v9.5.4) ### [`v9.5.3`](https://togithub.com/redis/go-redis/compare/v9.5.2...v9.5.3) [Compare Source](https://togithub.com/redis/go-redis/compare/v9.5.2...v9.5.3) ### [`v9.5.2`](https://togithub.com/redis/go-redis/releases/tag/v9.5.2): 9.5.2 [Compare Source](https://togithub.com/redis/go-redis/compare/v9.5.1...v9.5.2) ### Changes - fix: fix [#​2681](https://togithub.com/redis/go-redis/issues/2681) ([#​2998](https://togithub.com/redis/go-redis/issues/2998)) - Remove skipping span creation by checking parent spans ([#​2980](https://togithub.com/redis/go-redis/issues/2980)) - Handle IPv6 in isMovedError ([#​2981](https://togithub.com/redis/go-redis/issues/2981)) - Fix XGroup first pos key ([#​2983](https://togithub.com/redis/go-redis/issues/2983)) - Adding BitfieldRo in BitMapCmdable interface ([#​2962](https://togithub.com/redis/go-redis/issues/2962)) - Optimize docs useless imports and typo ([#​2970](https://togithub.com/redis/go-redis/issues/2970)) - chore: fix some comments ([#​2967](https://togithub.com/redis/go-redis/issues/2967)) - Fix for issues [#​2959](https://togithub.com/redis/go-redis/issues/2959) and [#​2960](https://togithub.com/redis/go-redis/issues/2960) ([#​2961](https://togithub.com/redis/go-redis/issues/2961)) - fix: [#​2956](https://togithub.com/redis/go-redis/issues/2956) ([#​2957](https://togithub.com/redis/go-redis/issues/2957)) - fix misuses of a vs an ([#​2936](https://togithub.com/redis/go-redis/issues/2936)) - add server address and port span attributes to redis otel trace instrumentation ([#​2826](https://togithub.com/redis/go-redis/issues/2826)) - chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /example/otel ([#​2944](https://togithub.com/redis/go-redis/issues/2944)) - Remove secrets from Redis Enterprise CI ([#​2938](https://togithub.com/redis/go-redis/issues/2938)) - Fix monitor on go 1.19 ([#​2908](https://togithub.com/redis/go-redis/issues/2908)) - chore(deps): bump google.golang.org/protobuf from 1.28.1 to 1.33.0 in /extra/redisprometheus ([#​2942](https://togithub.com/redis/go-redis/issues/2942)) - Change RE image to public RE image ([#​2935](https://togithub.com/redis/go-redis/issues/2935)) #### Contributors We'd like to thank all the contributors who worked on this release! [@​XSAM](https://togithub.com/XSAM), [@​akash14darshan](https://togithub.com/akash14darshan), [@​daviddzxy](https://togithub.com/daviddzxy), [@​dependabot](https://togithub.com/dependabot), [@​dependabot](https://togithub.com/dependabot)\[bot], [@​esara](https://togithub.com/esara), [@​hakusai22](https://togithub.com/hakusai22), [@​hishope](https://togithub.com/hishope), [@​kindknow](https://togithub.com/kindknow), [@​monkey92t](https://togithub.com/monkey92t), [@​ofekshenawa](https://togithub.com/ofekshenawa), [@​singular-seal](https://togithub.com/singular-seal) and deferdeter

Configuration

📅 Schedule: Branch creation - " 0-4 * 3" (UTC), 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.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 2 months ago

[puLL-Merge] - redis/go-redis@v9.5.1..v9.5.3

Description

This pull request updates the go-redis library, incorporating various improvements, bug fixes, and compatibility updates. The changes span across multiple files and include updates to dependencies, code refactoring, and new feature additions.

Changes ### Changes 1. `.github/workflows/build.yml`: - Added Go version 1.19.x to the build matrix. 2. `.github/workflows/test-redis-enterprise.yml`: - Updated Redis Enterprise version to 7.4.2-54. - Replaced sensitive information with placeholder values. 3. `CHANGELOG.md`: - Added an entry for an unreleased version, mentioning changes to span creation behavior. 4. `Makefile`: - Modified the test command to skip certain tests for Go version 1.19 in example directories. 5. `README.md`: - Minor changes to the import statements in the example code. 6. `bitmap_commands.go`: - Added a new `BitFieldRO` command. - Optimized the `BitCount` command implementation. 7. `command.go`: - Improved the `readMonitor` function to reduce lock contention. 8. `error.go`: - Added a call to `internal.GetAddr` for better address handling. 9. Various `go.mod` and `go.sum` files: - Updated dependencies, including upgrading go-redis version to v9.5.3. 10. `internal/util.go` and `internal/util_test.go`: - Added a new `GetAddr` function and corresponding tests. 11. `monitor_test.go`: - Added a new test function `TestMonitorCommand`. 12. `options.go`: - Added a new `CredentialsProviderContext` field to `Options` struct. 13. `osscluster.go`: - Added `CredentialsProviderContext` to `ClusterOptions`. - Improved error handling in pipeline operations. 14. `pubsub.go`: - Fixed a typo in a comment. 15. `redis.go`: - Implemented support for `CredentialsProviderContext`. 16. `stream_commands.go`: - Added `SetFirstKeyPos` calls to various XGroup commands. 17. `version.go`: - Updated version to 9.5.3.

Possible Issues

Security Hotspots

github-actions[bot] commented 1 month ago

[puLL-Merge] - redis/go-redis@v9.5.1..v9.5.2

Description

This PR introduces several changes to the go-redis library, including updates to dependencies, improvements to tracing and monitoring functionality, and various bug fixes and enhancements.

Changes ### Changes 1. `.github/workflows/build.yml`: - Added Go version 1.19.x to the test matrix. 2. `.github/workflows/test-redis-enterprise.yml`: - Updated Redis Enterprise version to 7.4.2-54. - Simplified credentials and configuration setup. 3. `CHANGELOG.md`: - Added entry for unreleased changes regarding span creation behavior. 4. `Makefile`: - Added logic to skip tests in example directories for Go version 1.19. 5. `README.md`: - Minor cleanup in code example. 6. `bitmap_commands.go`: - Added `BitFieldRO` command. - Optimized `BitCount` command implementation. 7. `command.go`: - Improved concurrency handling in `MonitorCmd`. 8. `error.go`: - Added support for IPv6 addresses in moved error parsing. 9. `example/otel/go.mod`: - Updated OpenTelemetry dependencies. 10. `extra/rediscensus/go.mod`, `extra/rediscmd/go.mod`, `extra/redisotel/go.mod`, `extra/redisprometheus/go.mod`: - Updated Go version and dependencies. 11. `extra/redisotel/config.go`, `extra/redisotel/tracing.go`: - Updated OpenTelemetry semantic conventions. - Added server address and port attributes to tracing. 12. `internal/util.go`, `internal/util_test.go`: - Added `GetAddr` function to handle different address formats. 13. `monitor_test.go`: - Added new test for monitor command. 14. `options.go`: - Added `CredentialsProviderContext` for enhanced credential handling. 15. `osscluster.go`: - Added `CredentialsProviderContext` to `ClusterOptions`. - Improved error handling in pipeline processing. 16. `pubsub.go`: - Fixed typo in comment. 17. `redis.go`: - Implemented `CredentialsProviderContext` in connection initialization. 18. `stream_commands.go`: - Added `SetFirstKeyPos` to stream-related commands for better key tracking.

Possible Issues

Security Hotspots

No significant security issues were identified in this PR. However, the changes to credential handling (introduction of CredentialsProviderContext) should be carefully reviewed to ensure they don't introduce any security vulnerabilities.

github-actions[bot] commented 1 month ago

[puLL-Merge] - redis/go-redis@v9.5.1..v9.6.0

Description

This PR introduces several significant changes and improvements to the go-redis library. The changes include new features, bug fixes, optimizations, and updates to dependencies. Some key changes involve enhancing connection handling, improving cluster operations, adding new Redis commands support, and updating OpenTelemetry integration.

Possible Issues

  1. The changes to connection handling and cluster operations might introduce subtle behavioral changes that could affect existing applications.
  2. Updates to dependencies, especially OpenTelemetry, may require adjustments in applications using these features.

Security Hotspots

No significant security vulnerabilities are apparent in this change set. However, changes to connection handling and authentication should be carefully reviewed to ensure they don't introduce any security weaknesses.

Changes ### Changes 1. `.github/workflows/build.yml`: - Updated branch targets and Go versions for CI/CD. 2. `.github/workflows/golangci-lint.yml` and `.github/workflows/spellcheck.yml`: - Updated versions of linting and spellchecking tools. 3. `.github/workflows/test-redis-enterprise.yml`: - Updated Redis Enterprise version and simplified test configuration. 4. `CHANGELOG.md`: - Added entry for changes in OpenTelemetry span creation behavior. 5. `Makefile`: - Updated Redis version and added conditional test skipping for older Go versions. 6. `README.md`: - Minor code example update. 7. `bitmap_commands.go`: - Optimized `BitCount` command implementation. 8. `command.go`: - Added new fields and methods to various command structures. - Enhanced `MonitorCmd` to improve concurrency safety. 9. `commands_test.go`: - Added new tests for various Redis commands, including hash expiration commands. 10. `error.go`: - Improved error handling for moved errors in cluster operations. 11. `extra/redisotel/`: - Updated OpenTelemetry integration with latest conventions and improved tracing. 12. `hash_commands.go`: - Added new hash commands for expiration and TTL operations. 13. `internal/pool/conn.go` and `internal/pool/pool.go`: - Improved connection health checking and management. 14. `options.go`: - Added `CredentialsProviderContext` for enhanced credential management. 15. `osscluster.go`: - Improved cluster node selection logic and error handling. 16. `pubsub.go`: - Minor improvements to context handling in PubSub operations. 17. `redis.go`: - Enhanced connection initialization with new credential provider support. 18. `stream_commands.go`: - Added support for the "ID" field in XReadArgs. 19. Various test files: - Added and updated tests to cover new features and edge cases. 20. `version.go`: - Updated version to 9.6.0. These changes collectively represent a significant update to the go-redis library, improving its functionality, performance, and compatibility with the latest Redis features.
github-actions[bot] commented 2 weeks ago

[puLL-Merge] - redis/go-redis@v9.5.1..v9.6.1

Description

This PR introduces several improvements and new features to the go-redis library. It includes updates to dependencies, enhancements to existing functionalities, and the addition of new Redis commands support. The changes span across multiple files and involve modifications to core functionalities, test cases, and documentation.

Changes ### Changes 1. `bitmap_commands.go`: - Optimized `BitCount` implementation. - Added `BitFieldRO` command support. 2. `command.go`: - Enhanced `ClientInfo` struct with new fields. - Improved `MonitorCmd` implementation. 3. `commands_test.go`: - Added new test cases for various Redis commands. - Updated existing tests to accommodate new functionalities. 4. `error.go`: - Improved error handling for moved errors. 5. `hash_commands.go`: - Added new hash commands support (HExpire, HPExpire, HExpireAt, HPExpireAt, HPersist, HExpireTime, HPExpireTime, HTTL, HPTTL). 6. `internal/pool/conn.go` and `internal/pool/pool.go`: - Enhanced connection handling and health checks. 7. `osscluster.go`: - Improved cluster node selection logic. - Enhanced error handling and retries for cluster operations. 8. `options.go`: - Added `CredentialsProviderContext` for enhanced credential management. 9. `pubsub.go`: - Minor improvements in PubSub implementation. 10. `redis.go`: - Enhanced connection initialization process. 11. `stream_commands.go`: - Added support for new stream-related commands. 12. Various test files: - Updated and added new test cases to cover new functionalities. 13. `version.go`: - Updated version to 9.6.1.

Possible Issues

Security Hotspots

No significant security issues were identified in this change. However, as always, careful review of credential handling changes is recommended.