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

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 5, 2024

This PR contains the following updates:

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

Release Notes

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

v9.7.0: 9.7.0

Compare Source

Changes

🚀 New Features

  • Support Redis search and query capabilities (#​2801, #​3098)
  • Support indexing and querying empty values (#​3053)
  • Support for Redis JSON with RESP2 protocol (#​3146)

🛠️ Improvements

We're glad to announce that we added a search and query support in the current release.

🧰 Maintenance

Contributors

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

@​andy-stark-redis, @​ipechorin, @​ofekshenawa and @​vladvildanov

v9.6.2: 9.6.2

Compare Source

Changes

🐛 Bug Fixes

  • Fixed bug with broken TLS sessions (#​3145)

Contributors

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

@​ofekshenawa @​vladvildanov @​rentziass

v9.6.1: 9.6.1

Compare Source

Changes

9.6

This release contains all new features from version 9.6.

🚀 New Features
  • Support Hash-field expiration commands (#​2991)
  • Support Hash-field expiration commands in Pipeline & Fix HExpire HExpireWithArgs expiration (#​3038)
  • Support NOVALUES parameter for HSCAN (#​2925)
  • Added test case for CLIENT KILL with MAXAGE option (#​2971)
  • Add support for XREAD last entry (#​3005)
  • Reduce the type assertion of CheckConn (#​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
🎁 Package Distribution
  • Retract versions 9.5.3 and 9.5.4 (#​3069)

Contributors

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

@​LINKIWI, @​b1ron, @​gerzse, @​haines, @​immersedin, @​naiqianz, @​ofekshenawa, @​srikar-jilugu, @​tzongw, @​vladvildanov, @​vmihailenco and @​monkey92t

v9.6.0: 9.6.0

Compare Source

Changes

🚀 New Features

  • Support Hash-field expiration commands (#​2991)
  • Support Hash-field expiration commands in Pipeline & Fix HExpire HExpireWithArgs expiration (#​3038)
  • Support NOVALUES parameter for HSCAN (#​2925)
  • Added test case for CLIENT KILL with MAXAGE option (#​2971)
  • Add support for XREAD last entry (#​3005)
  • Reduce the type assertion of CheckConn (#​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)
  • Avoid unnecessary retry delay in cluster client following MOVED and ASK redirection (#​3048)
  • add test for tls connCheck #​3025 (#​3047)
  • fix node routing in slotClosestNode (#​3043)
  • Update pubsub.go (#​3042)
  • Change monitor test to run manually (#​3041)
  • chore(deps): bump rojopolis/spellcheck-github-actions from 0.36.0 to 0.38.0 (#​3028)
  • Add (*StatusCmd).Bytes() method (#​3030)
  • chore(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 in /example/otel (#​3000)

Contributors

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

@​LINKIWI, @​b1ron, @​dependabot, @​dependabot[bot], @​gerzse, @​haines, @​immersedin, @​naiqianz, @​ofekshenawa, @​srikar-jilugu, @​tzongw, @​vladvildanov and @​vmihailenco @​monkey92t

v9.5.4

Compare Source

v9.5.3

Compare Source

v9.5.2: 9.5.2

Compare Source

Changes

  • fix: fix #​2681 (#​2998)
  • Remove skipping span creation by checking parent spans (#​2980)
  • Handle IPv6 in isMovedError (#​2981)
  • Fix XGroup first pos key (#​2983)
  • Adding BitfieldRo in BitMapCmdable interface (#​2962)
  • Optimize docs useless imports and typo (#​2970)
  • chore: fix some comments (#​2967)
  • Fix for issues #​2959 and #​2960 (#​2961)
  • fix: #​2956 (#​2957)
  • fix misuses of a vs an (#​2936)
  • add server address and port span attributes to redis otel trace instrumentation (#​2826)
  • chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /example/otel (#​2944)
  • Remove secrets from Redis Enterprise CI (#​2938)
  • Fix monitor on go 1.19 (#​2908)
  • chore(deps): bump google.golang.org/protobuf from 1.28.1 to 1.33.0 in /extra/redisprometheus (#​2942)
  • Change RE image to public RE image (#​2935)

Contributors

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

@​XSAM, @​akash14darshan, @​daviddzxy, @​dependabot, @​dependabot[bot], @​esara, @​hakusai22, @​hishope, @​kindknow, @​monkey92t, @​ofekshenawa, @​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.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from a514325 to 940f5ae Compare June 11, 2024 15:32
@renovate renovate bot changed the title Update module github.com/redis/go-redis/v9 to v9.5.2 Update module github.com/redis/go-redis/v9 to v9.5.3 Jun 11, 2024
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch 2 times, most recently from cf33071 to 4d5fb94 Compare June 14, 2024 08:47
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from 4d5fb94 to 90b5f38 Compare July 3, 2024 11:32
Copy link

github-actions bot commented Jul 3, 2024

[puLL-Merge] - redis/[email protected]

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

  • The removal of Docker access token and other sensitive information from the Redis Enterprise test workflow might affect CI/CD processes if not properly configured elsewhere.

Security Hotspots

  • The replacement of sensitive information in .github/workflows/test-redis-enterprise.yml with placeholder values is a good security practice, but ensure that the actual sensitive data is properly managed and securely injected during the CI/CD process.

@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch 3 times, most recently from 21e59fc to 93a3411 Compare July 3, 2024 11:51
@renovate renovate bot changed the title Update module github.com/redis/go-redis/v9 to v9.5.3 Update module github.com/redis/go-redis/v9 to v9.5.2 Jul 15, 2024
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch 2 times, most recently from c6707fc to f8efa6d Compare July 17, 2024 07:57
Copy link

[puLL-Merge] - redis/[email protected]

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

  • The change in span creation behavior (CHANGELOG.md) might affect existing tracing setups and may require adjustments in applications using this library.

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.

@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch 3 times, most recently from 0fd8bd6 to a8edd9e Compare July 19, 2024 09:46
@renovate renovate bot changed the title Update module github.com/redis/go-redis/v9 to v9.5.2 Update module github.com/redis/go-redis/v9 to v9.5.4 Jul 19, 2024
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from a8edd9e to 1f83721 Compare July 23, 2024 09:06
@renovate renovate bot changed the title Update module github.com/redis/go-redis/v9 to v9.5.4 Update module github.com/redis/go-redis/v9 to v9.6.0 Jul 23, 2024
Copy link

[puLL-Merge] - redis/[email protected]

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.

@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from 1f83721 to 50a32f0 Compare July 29, 2024 09:44
@renovate renovate bot changed the title Update module github.com/redis/go-redis/v9 to v9.6.0 Update module github.com/redis/go-redis/v9 to v9.6.1 Jul 29, 2024
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from 50a32f0 to 671b5d9 Compare August 21, 2024 15:20
Copy link

[puLL-Merge] - redis/[email protected]

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

  • The changes to cluster node selection logic in osscluster.go might affect the behavior of node selection in edge cases. Thorough testing in various cluster configurations is recommended.

Security Hotspots

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

@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch 3 times, most recently from e2c4084 to 54f6978 Compare August 21, 2024 15:34
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from 54f6978 to 0610484 Compare October 5, 2024 11:59
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from 0610484 to 692089e Compare October 13, 2024 13:35
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from 692089e to 1f22b4d Compare October 18, 2024 12:42
@renovate renovate bot changed the title Update module github.com/redis/go-redis/v9 to v9.6.1 Update module github.com/redis/go-redis/v9 to v9.6.2 Oct 18, 2024
Copy link

[puLL-Merge] - redis/[email protected]

Description

This pull request introduces several changes and improvements to the go-redis library. The main changes include updates to various commands, enhancements to connection handling, improvements in cluster operations, and additions to hash commands for expiration management.

Changes

Changes

  1. .github/workflows/:

    • Updated Go versions and Redis image versions in CI workflows.
  2. CHANGELOG.md:

    • Added an unreleased section mentioning changes to span creation behavior.
  3. Makefile:

    • Updated Redis version and added Go version check for tests.
  4. bitmap_commands.go:

    • Optimized BitCount command implementation.
  5. command.go:

    • Added Watch field to ClientInfo struct.
    • Enhanced MonitorCmd implementation.
  6. commands_test.go:

    • Added tests for new hash expiration commands.
  7. error.go:

    • Improved handling of moved errors.
  8. extra/redisotel/:

    • Updated OpenTelemetry dependencies and implementation.
  9. hash_commands.go:

    • Added new commands for hash field expiration management (HExpire, HPExpire, HExpireAt, HPExpireAt, HPersist, HExpireTime, HPExpireTime, HTTL, HPTTL).
  10. internal/pool/conn.go:

    • Improved connection health checking.
  11. osscluster.go:

    • Enhanced cluster node selection logic.
    • Improved handling of MOVED and ASK redirections.
  12. options.go:

    • Added CredentialsProviderContext for enhanced credential management.
  13. pubsub.go:

    • Fixed context usage in writeCmd method.
  14. redis.go:

    • Implemented CredentialsProviderContext in connection initialization.
  15. stream_commands.go:

    • Added ID field to XReadArgs struct.
    • Set first key position for various XGroup commands.
  16. version.go:

    • Updated version to 9.6.2.

Possible Issues

  • The changes to span creation behavior in OpenTelemetry integration might affect existing tracing setups.
  • Updates to cluster node selection logic could potentially change the behavior of cluster operations in edge cases.

Security Hotspots

No significant security hotspots were identified in this change set.

@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from 1f22b4d to 42b6140 Compare October 20, 2024 10:54
@renovate renovate bot changed the title Update module github.com/redis/go-redis/v9 to v9.6.2 Update module github.com/redis/go-redis/v9 to v9.7.0 Oct 20, 2024
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from 42b6140 to f960315 Compare October 21, 2024 10:14
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from f960315 to 71ebca9 Compare October 30, 2024 12:14
@renovate renovate bot force-pushed the renovate/github.com-redis-go-redis-v9-9.x branch from 71ebca9 to f96a7a5 Compare October 30, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants