redis/go-redis (github.com/redis/go-redis/v9)
### [`v9.7.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.7.0): 9.7.0
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.6.2...v9.7.0)
### Changes
#### π New Features
- Support Redis search and query capabilities ([#2801](https://redirect.github.com/redis/go-redis/issues/2801), [#3098](https://redirect.github.com/redis/go-redis/issues/3098))
- Support indexing and querying empty values ([#3053](https://redirect.github.com/redis/go-redis/issues/3053))
- Support for Redis JSON with RESP2 protocol ([#3146](https://redirect.github.com/redis/go-redis/issues/3146))
#### π οΈ Improvements
We're glad to announce that we added a search and query support in the current release.
#### π§° Maintenance
- Documentation examples ([#3102](https://redirect.github.com/redis/go-redis/issues/3102), [#3106](https://redirect.github.com/redis/go-redis/issues/3106), [#3110](https://redirect.github.com/redis/go-redis/issues/3110), [#3111](https://redirect.github.com/redis/go-redis/issues/3111), [#3113](https://redirect.github.com/redis/go-redis/issues/3113), [#3114](https://redirect.github.com/redis/go-redis/issues/3114), [#3115](https://redirect.github.com/redis/go-redis/issues/3115), [#3123](https://redirect.github.com/redis/go-redis/issues/3123), [#3124](https://redirect.github.com/redis/go-redis/issues/3124))
- retract v9.5.3 of redisotel and other extra packages ([#3108](https://redirect.github.com/redis/go-redis/issues/3108))
- Add test coverage reporting and Codecov badge ([#3055](https://redirect.github.com/redis/go-redis/issues/3055))
- Updated module version that points to retracted package version ([#3074](https://redirect.github.com/redis/go-redis/issues/3074))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@andy-stark-redis](https://redirect.github.com/andy-stark-redis), [@ipechorin](https://redirect.github.com/ipechorin), [@ofekshenawa](https://redirect.github.com/ofekshenawa) and [@vladvildanov](https://redirect.github.com/vladvildanov)
### [`v9.6.2`](https://redirect.github.com/redis/go-redis/releases/tag/v9.6.2): 9.6.2
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.6.1...v9.6.2)
### Changes
#### π Bug Fixes
- Fixed bug with broken TLS sessions ([#3145](https://redirect.github.com/redis/go-redis/issues/3145))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@ofekshenawa](https://redirect.github.com/ofekshenawa) [@vladvildanov](https://redirect.github.com/vladvildanov) [@rentziass](https://redirect.github.com/rentziass)
### [`v9.6.1`](https://redirect.github.com/redis/go-redis/releases/tag/v9.6.1): 9.6.1
[Compare Source](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/2991))
- Support Hash-field expiration commands in Pipeline & Fix HExpire HExpireWithArgs expiration ([#3038](https://redirect.github.com/redis/go-redis/issues/3038))
- Support NOVALUES parameter for HSCAN ([#2925](https://redirect.github.com/redis/go-redis/issues/2925))
- Added test case for CLIENT KILL with MAXAGE option ([#2971](https://redirect.github.com/redis/go-redis/issues/2971))
- Add support for XREAD last entry ([#3005](https://redirect.github.com/redis/go-redis/issues/3005))
- Reduce the type assertion of CheckConn ([#3066](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/3070))
##### π Package Distribution
- Retract versions 9.5.3 and 9.5.4 ([#3069](https://redirect.github.com/redis/go-redis/issues/3069))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@LINKIWI](https://redirect.github.com/LINKIWI), [@b1ron](https://redirect.github.com/b1ron), [@gerzse](https://redirect.github.com/gerzse), [@haines](https://redirect.github.com/haines), [@immersedin](https://redirect.github.com/immersedin), [@naiqianz](https://redirect.github.com/naiqianz), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@srikar-jilugu](https://redirect.github.com/srikar-jilugu), [@tzongw](https://redirect.github.com/tzongw), [@vladvildanov](https://redirect.github.com/vladvildanov), [@vmihailenco](https://redirect.github.com/vmihailenco) and [@monkey92t](https://redirect.github.com/monkey92t)
### [`v9.6.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.6.0): 9.6.0
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.5.4...v9.6.0)
### Changes
#### π New Features
- Support Hash-field expiration commands ([#2991](https://redirect.github.com/redis/go-redis/issues/2991))
- Support Hash-field expiration commands in Pipeline & Fix HExpire HExpireWithArgs expiration ([#3038](https://redirect.github.com/redis/go-redis/issues/3038))
- Support NOVALUES parameter for HSCAN ([#2925](https://redirect.github.com/redis/go-redis/issues/2925))
- Added test case for CLIENT KILL with MAXAGE option ([#2971](https://redirect.github.com/redis/go-redis/issues/2971))
- Add support for XREAD last entry ([#3005](https://redirect.github.com/redis/go-redis/issues/3005))
- Reduce the type assertion of CheckConn ([#3066](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/2993))
- Avoid unnecessary retry delay in cluster client following MOVED and ASK redirection ([#3048](https://redirect.github.com/redis/go-redis/issues/3048))
- add test for tls connCheck [#3025](https://redirect.github.com/redis/go-redis/issues/3025) ([#3047](https://redirect.github.com/redis/go-redis/issues/3047))
- fix node routing in slotClosestNode ([#3043](https://redirect.github.com/redis/go-redis/issues/3043))
- Update pubsub.go ([#3042](https://redirect.github.com/redis/go-redis/issues/3042))
- Change monitor test to run manually ([#3041](https://redirect.github.com/redis/go-redis/issues/3041))
- chore(deps): bump rojopolis/spellcheck-github-actions from 0.36.0 to 0.38.0 ([#3028](https://redirect.github.com/redis/go-redis/issues/3028))
- Add `(*StatusCmd).Bytes()` method ([#3030](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/3000))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@LINKIWI](https://redirect.github.com/LINKIWI), [@b1ron](https://redirect.github.com/b1ron), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@gerzse](https://redirect.github.com/gerzse), [@haines](https://redirect.github.com/haines), [@immersedin](https://redirect.github.com/immersedin), [@naiqianz](https://redirect.github.com/naiqianz), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@srikar-jilugu](https://redirect.github.com/srikar-jilugu), [@tzongw](https://redirect.github.com/tzongw), [@vladvildanov](https://redirect.github.com/vladvildanov) and [@vmihailenco](https://redirect.github.com/vmihailenco) [@monkey92t](https://redirect.github.com/monkey92t)
### [`v9.5.4`](https://redirect.github.com/redis/go-redis/compare/v9.5.3...v9.5.4)
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.5.3...v9.5.4)
### [`v9.5.3`](https://redirect.github.com/redis/go-redis/compare/v9.5.2...v9.5.3)
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.5.2...v9.5.3)
### [`v9.5.2`](https://redirect.github.com/redis/go-redis/releases/tag/v9.5.2): 9.5.2
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.5.1...v9.5.2)
### Changes
- fix: fix [#2681](https://redirect.github.com/redis/go-redis/issues/2681) ([#2998](https://redirect.github.com/redis/go-redis/issues/2998))
- Remove skipping span creation by checking parent spans ([#2980](https://redirect.github.com/redis/go-redis/issues/2980))
- Handle IPv6 in isMovedError ([#2981](https://redirect.github.com/redis/go-redis/issues/2981))
- Fix XGroup first pos key ([#2983](https://redirect.github.com/redis/go-redis/issues/2983))
- Adding BitfieldRo in BitMapCmdable interface ([#2962](https://redirect.github.com/redis/go-redis/issues/2962))
- Optimize docs useless imports and typo ([#2970](https://redirect.github.com/redis/go-redis/issues/2970))
- chore: fix some comments ([#2967](https://redirect.github.com/redis/go-redis/issues/2967))
- Fix for issues [#2959](https://redirect.github.com/redis/go-redis/issues/2959) and [#2960](https://redirect.github.com/redis/go-redis/issues/2960) ([#2961](https://redirect.github.com/redis/go-redis/issues/2961))
- fix: [#2956](https://redirect.github.com/redis/go-redis/issues/2956) ([#2957](https://redirect.github.com/redis/go-redis/issues/2957))
- fix misuses of a vs an ([#2936](https://redirect.github.com/redis/go-redis/issues/2936))
- add server address and port span attributes to redis otel trace instrumentation ([#2826](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/2944))
- Remove secrets from Redis Enterprise CI ([#2938](https://redirect.github.com/redis/go-redis/issues/2938))
- Fix monitor on go 1.19 ([#2908](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/2942))
- Change RE image to public RE image ([#2935](https://redirect.github.com/redis/go-redis/issues/2935))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@XSAM](https://redirect.github.com/XSAM), [@akash14darshan](https://redirect.github.com/akash14darshan), [@daviddzxy](https://redirect.github.com/daviddzxy), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@esara](https://redirect.github.com/esara), [@hakusai22](https://redirect.github.com/hakusai22), [@hishope](https://redirect.github.com/hishope), [@kindknow](https://redirect.github.com/kindknow), [@monkey92t](https://redirect.github.com/monkey92t), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@singular-seal](https://redirect.github.com/singular-seal) and deferdeter
### [`v9.5.1`](https://redirect.github.com/redis/go-redis/releases/tag/v9.5.1): 9.5.1
[Compare Source](https://redirect.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 ([#2915](https://redirect.github.com/redis/go-redis/issues/2915))
#### π§° Maintenance
- docs: README update to highlight how to disable sending client identification ([#2913](https://redirect.github.com/redis/go-redis/issues/2913))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@ofekshenawa](https://redirect.github.com/ofekshenawa)
### [`v9.5.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.5.0): 9.5.0
[Compare Source](https://redirect.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 ([#2844](https://redirect.github.com/redis/go-redis/issues/2844))
- Speed up connections by sending SetInfo via a pipeline ([#2880](https://redirect.github.com/redis/go-redis/issues/2880))
- Add helpers to set libinfo without panic ([#2724](https://redirect.github.com/redis/go-redis/issues/2724))
#### π§° Maintenance
- Remove unnecessary Node project definition file ([#2863](https://redirect.github.com/redis/go-redis/issues/2863))
- Add support for specifying bitcount unit as byte or bit, byte default ([#2887](https://redirect.github.com/redis/go-redis/issues/2887))
- fix ConnPool race in newConn ([#2885](https://redirect.github.com/redis/go-redis/issues/2885))
#### π Documentation & Testing
- Docs: update features ([#2846](https://redirect.github.com/redis/go-redis/issues/2846))
- Docs: add bytes in scan struct example ([#2836](https://redirect.github.com/redis/go-redis/issues/2836))
- Tests: add ut for util_test ([#2840](https://redirect.github.com/redis/go-redis/issues/2840))
#### βοΈ Dependencies & Infrastructure
- chore: update OpenTelemetry and Uptrace to the latest version ([#2864](https://redirect.github.com/redis/go-redis/issues/2864))
- chore(deps): bump release-drafter/release-drafter from 5 to 6 ([#2883](https://redirect.github.com/redis/go-redis/issues/2883))
- chore(deps): bump rojopolis/spellcheck-github-actions from 0.35.0 to 0.36.0 ([#2889](https://redirect.github.com/redis/go-redis/issues/2889))
- chore(deps): bump golangci/golangci-lint-action from 3 to 4 ([#2890](https://redirect.github.com/redis/go-redis/issues/2890))
- Change RE image to 7.2.4-108 ([#2884](https://redirect.github.com/redis/go-redis/issues/2884))
- Add CredentialsProvider to ClusterOptions ([#2791](https://redirect.github.com/redis/go-redis/issues/2791))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@OlegStotsky](https://redirect.github.com/OlegStotsky), [@abusizhishen](https://redirect.github.com/abusizhishen), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@johnduhart](https://redirect.github.com/johnduhart), [@limotley](https://redirect.github.com/limotley), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@peczenyj](https://redirect.github.com/peczenyj), [@rfyiamcool](https://redirect.github.com/rfyiamcool), and [@vmihailenco](https://redirect.github.com/vmihailenco)
### [`v9.4.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.4.0): 9.4.0
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.3.1...v9.4.0)
### Changes
#### Breaking Changes
- Revert [#2818](https://redirect.github.com/redis/go-redis/issues/2818) due to it be a breaking change ([#2861](https://redirect.github.com/redis/go-redis/issues/2861))
#### π New Features
- Add Suffix support to default client set info ([#2852](https://redirect.github.com/redis/go-redis/issues/2852))
#### π§° Maintenance
- return raw value instead of function calling in Result() ([#2831](https://redirect.github.com/redis/go-redis/issues/2831))
- Add Redis Enterprise tests ([#2847](https://redirect.github.com/redis/go-redis/issues/2847))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@lowang-bh](https://redirect.github.com/lowang-bh) and [@ofekshenawa](https://redirect.github.com/ofekshenawa)
### [`v9.3.1`](https://redirect.github.com/redis/go-redis/releases/tag/v9.3.1): 9.3.1
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.3.0...v9.3.1)
#### Updates and Enhancements
- Documentation and examples have been updated ([#2806](https://redirect.github.com/redis/go-redis/issues/2806)).
- Redis values can now be scanned into pointer fields ([#2787](https://redirect.github.com/redis/go-redis/issues/2787)).
- The URL format error in the Documentation has been corrected ([#2789](https://redirect.github.com/redis/go-redis/issues/2789)).
- Cmder annotation has been added ([#2816](https://redirect.github.com/redis/go-redis/issues/2816)).
- The Z member type has been changed to string ([#2818](https://redirect.github.com/redis/go-redis/issues/2818)).
#### π New Features
- BITFIELD_RO Command has been introduced ([#2820](https://redirect.github.com/redis/go-redis/issues/2820)).
- Monitor Command is now supported ([#2830](https://redirect.github.com/redis/go-redis/issues/2830)).
#### π Bug Fixes
- "COMMAND" command is now executed only when readonly ([#2815](https://redirect.github.com/redis/go-redis/issues/2815)).
#### π§° Maintenance and Dependency Updates
- The usage of TSMadd ktvSlices has been clarified in the docstring ([#2827](https://redirect.github.com/redis/go-redis/issues/2827)).
- Dependencies have been updated:
- rojopolis/spellcheck-github-actions from 0.34.0 to 0.35.0 ([#2807](https://redirect.github.com/redis/go-redis/issues/2807))
- actions/stale from 8 to 9 ([#2828](https://redirect.github.com/redis/go-redis/issues/2828))
- actions/setup-go from 4 to 5 ([#2829](https://redirect.github.com/redis/go-redis/issues/2829))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@RyoMiyashita](https://redirect.github.com/RyoMiyashita), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@lzakharov](https://redirect.github.com/lzakharov), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@rfyiamcool](https://redirect.github.com/rfyiamcool), [@rouzier](https://redirect.github.com/rouzier), [@splundid](https://redirect.github.com/splundid) and [@x1nchen](https://redirect.github.com/x1nchen)
### [`v9.3.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.3.0): 9.3.0
[Compare Source](https://redirect.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 ([#2745](https://redirect.github.com/redis/go-redis/issues/2745)) ([#2753](https://redirect.github.com/redis/go-redis/issues/2753))
- Add InfoMap command ([#2665](https://redirect.github.com/redis/go-redis/issues/2665))
#### π Bug Fixes
- Handle wrapped errors in scripter.Run ([#2674](https://redirect.github.com/redis/go-redis/issues/2674))
- BUG: BFReserveArgs - error_rate & capacity ([#2763](https://redirect.github.com/redis/go-redis/issues/2763))
- fix: free turn of connection pool when leave with error ([#2658](https://redirect.github.com/redis/go-redis/issues/2658))
- Add BitMapCmdable to Cmdable. ([#2737](https://redirect.github.com/redis/go-redis/issues/2737))
#### π§° Maintenance
- Option types must propagage missing fields ([#2726](https://redirect.github.com/redis/go-redis/issues/2726))
- fix missing fields in different Options ([#2757](https://redirect.github.com/redis/go-redis/issues/2757))
- update PubSub.Channel documentation ([#2761](https://redirect.github.com/redis/go-redis/issues/2761))
- Linking to Redis learning resources ([#2759](https://redirect.github.com/redis/go-redis/issues/2759))
- Creating CODEOWNERS for documentation ([#2749](https://redirect.github.com/redis/go-redis/issues/2749))
- chore(deps): bump rojopolis/spellcheck-github-actions from 0.33.1 to 0.34.0 ([#2740](https://redirect.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 ([#2775](https://redirect.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 ([#2776](https://redirect.github.com/redis/go-redis/issues/2776))
- Fix OpenTelemetry link in README ([#2755](https://redirect.github.com/redis/go-redis/issues/2755))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@Sovietaced](https://redirect.github.com/Sovietaced), [@chayim](https://redirect.github.com/chayim), [@chenjie199234](https://redirect.github.com/chenjie199234), [@cyningsun](https://redirect.github.com/cyningsun), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@fred84](https://redirect.github.com/fred84), [@nic-gibson](https://redirect.github.com/nic-gibson), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@peczenyj](https://redirect.github.com/peczenyj), [@sethrylan](https://redirect.github.com/sethrylan), [@snaffi](https://redirect.github.com/snaffi), [@tzq0301](https://redirect.github.com/tzq0301) and [@vmihailenco](https://redirect.github.com/vmihailenco)
### [`v9.2.1`](https://redirect.github.com/redis/go-redis/releases/tag/v9.2.1): 9.2.1
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.2.0...v9.2.1)
#### π§° Maintenance
- chore(deps): bump actions/stale from 3 to 8 ([#2732](https://redirect.github.com/redis/go-redis/issues/2732))
- Add stream interface back to `Cmdable` ([#2725](https://redirect.github.com/redis/go-redis/issues/2725))
- Remove redundant nil check in gears ([#2728](https://redirect.github.com/redis/go-redis/issues/2728))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@Juneezee](https://redirect.github.com/Juneezee), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@gabrielgio](https://redirect.github.com/gabrielgio) and [@ofekshenawa](https://redirect.github.com/ofekshenawa)
### [`v9.2.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.2.0): 9.2.0
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.1.0...v9.2.0)
#### What's new?
##### Time series support
We are happy to announce support for [Time Series](https://redis.io/docs/data-types/timeseries/). 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](https://redis.io/docs/data-types/timeseries/)
##### Better support for Redis 7.2
Go-Redis now supports [WAITAOF](https://redis.io/commands/waitaof/) and `CLIENT SETINFO` commands introduced in [Redis 7.2](https://redis.com/blog/introducing-redis-7-2/).
##### Other notable improvements
- Add the ability to set a connection growth limit with MaxActiveConns configuration setting ([#2646](https://redirect.github.com/redis/go-redis/issues/2646))
- Add support for multiple values in the bitfield cmd ([#2648](https://redirect.github.com/redis/go-redis/issues/2648))
#### Breaking Changes
- Changing the suffix for probablistic commands acceptings arguments to WithArgs from Args ([#2701](https://redirect.github.com/redis/go-redis/issues/2701))
#### π§° Maintenance
- Making command structs digestible ([#2716](https://redirect.github.com/redis/go-redis/issues/2716))
- change interfaces probabilistic and redis gears from private to public ([#2695](https://redirect.github.com/redis/go-redis/issues/2695))
- Adding CONTRIBUTING guidelines ([#2718](https://redirect.github.com/redis/go-redis/issues/2718))
- Adding Go 1.21.x for CI coverage ([#2697](https://redirect.github.com/redis/go-redis/issues/2697))
- chore(deps): bump actions/checkout from 3 to 4 ([#2702](https://redirect.github.com/redis/go-redis/issues/2702))
- chore(deps): bump github.com/bsm/ginkgo/v2 from 2.9.5 to 2.12.0 ([#2690](https://redirect.github.com/redis/go-redis/issues/2690))
- chore(deps): bump github.com/bsm/gomega from 1.26.0 to 1.27.10 ([#2689](https://redirect.github.com/redis/go-redis/issues/2689))
- Adding stale issues workflow ([#2700](https://redirect.github.com/redis/go-redis/issues/2700))
- Updating redis binary for makefile to 7.2.1 ([#2693](https://redirect.github.com/redis/go-redis/issues/2693))
- Skip flaky tests ([#2699](https://redirect.github.com/redis/go-redis/issues/2699))
- Format code and fix go vet ([#2696](https://redirect.github.com/redis/go-redis/issues/2696))
- Use time duration calculation ([#2651](https://redirect.github.com/redis/go-redis/issues/2651))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@NikanV](https://redirect.github.com/NikanV), [@SoulPancake](https://redirect.github.com/SoulPancake), [@chayim](https://redirect.github.com/chayim), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@nvorobev](https://redirect.github.com/nvorobev), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@peczenyj](https://redirect.github.com/peczenyj), [@taytzehao](https://redirect.github.com/taytzehao) and [@wzlove](https://redirect.github.com/wzlove)
### [`v9.1.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.1.0): 9.1.0
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.0.5...v9.1.0)
#### 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](https://redis.io/docs/interact/programmability/triggers-and-functions/quick_start/)
##### Support for All Probabilistic data structures
Probabilistic data structures, like [Bloom filters](https://redis.io/docs/data-types/probabilistic/bloom-filter/), offer unique advantages when dealing with large datasets, such as memory efficiency, faster operations, and scalability. Go-Redis now supports all [probabilistic data structures](https://redis.io/docs/data-types/probabilistic/).
#### π Bug Fixes
- Fix bool ToBool bug ([#2626](https://redirect.github.com/redis/go-redis/issues/2626))
#### π§° Maintenance
- Bump github.com/bsm/ginkgo/v2 from 2.7.0 to 2.9.5 ([#2613](https://redirect.github.com/redis/go-redis/issues/2613))
- Adds testable examples to be automatically pulled in redis.io docs ([#2601](https://redirect.github.com/redis/go-redis/issues/2601))
- Integrating spellcheck into CI ([#2666](https://redirect.github.com/redis/go-redis/issues/2666))
- Bumping redis versions ([#2662](https://redirect.github.com/redis/go-redis/issues/2662))
- Updating the README with connection options ([#2661](https://redirect.github.com/redis/go-redis/issues/2661))
- chore: fix staticcheck ([#2631](https://redirect.github.com/redis/go-redis/issues/2631))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@chayim](https://redirect.github.com/chayim), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@elena-kolevska](https://redirect.github.com/elena-kolevska), [@kamyab98](https://redirect.github.com/kamyab98), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@testwill](https://redirect.github.com/testwill) and [@vmihailenco](https://redirect.github.com/vmihailenco)
### [`v9.0.5`](https://redirect.github.com/redis/go-redis/releases/tag/v9.0.5): 9.0.5
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.0.4...v9.0.5)
### Changes
- chore: release v9.0.5 (release.sh) ([#2614](https://redirect.github.com/redis/go-redis/issues/2614))
- chore: update otel example to the latest versions ([#2606](https://redirect.github.com/redis/go-redis/issues/2606))
- fix the reading of the "entries-read" field in XInfoStreamFull ([#2595](https://redirect.github.com/redis/go-redis/issues/2595))
- chore(deps): Update otel/metric to stable API ([#2607](https://redirect.github.com/redis/go-redis/issues/2607))
- feat: add field protocol to setupClusterQueryParams ([#2600](https://redirect.github.com/redis/go-redis/issues/2600))
- feat: add protocol option ([#2598](https://redirect.github.com/redis/go-redis/issues/2598))
#### π New Features
- feat: Add ACL LOG ([#2536](https://redirect.github.com/redis/go-redis/issues/2536))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@SoulPancake](https://redirect.github.com/SoulPancake), [@ash2k](https://redirect.github.com/ash2k), [@ljun20160606](https://redirect.github.com/ljun20160606), [@monkey92t](https://redirect.github.com/monkey92t) and [@vmihailenco](https://redirect.github.com/vmihailenco)
### [`v9.0.4`](https://redirect.github.com/redis/go-redis/releases/tag/v9.0.4): 9.0.4
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.0.3...v9.0.4)
### Changes
- chore: release v9.0.4 (release.sh) ([#2572](https://redirect.github.com/redis/go-redis/issues/2572))
- chore(deps): Updating otel/metric and fixing breaking changes ([#2569](https://redirect.github.com/redis/go-redis/issues/2569))
- docs: update doc of redis option ([#2567](https://redirect.github.com/redis/go-redis/issues/2567))
- chore: fix typo in the result.go ([#2558](https://redirect.github.com/redis/go-redis/issues/2558))
- feat: add client info command ([#2483](https://redirect.github.com/redis/go-redis/issues/2483))
- Add ZRANK, ZREVRANK WITHSCORE ([#2531](https://redirect.github.com/redis/go-redis/issues/2531))
- Maintenance : Deprecate FCallRo & add FCallRO ([#2550](https://redirect.github.com/redis/go-redis/issues/2550))
- Add support for CLUSTER MYSHARDID command ([#2530](https://redirect.github.com/redis/go-redis/issues/2530))
- feat: no longer verify HELLO error messages ([#2515](https://redirect.github.com/redis/go-redis/issues/2515))
- test: redis-version to 7.2-rc1 ([#2532](https://redirect.github.com/redis/go-redis/issues/2532))
- doc: pass ctx in BLpop example for infinite wait time ([#2540](https://redirect.github.com/redis/go-redis/issues/2540))
- actions: build on go1.20.x ([#2541](https://redirect.github.com/redis/go-redis/issues/2541))
- fix: reader float parser ([#2513](https://redirect.github.com/redis/go-redis/issues/2513))
#### π New Features
- Add support for MODULE LOADEX command ([#2490](https://redirect.github.com/redis/go-redis/issues/2490))
- feat: read the structure to increase the judgment of the omitempty op⦠([#2529](https://redirect.github.com/redis/go-redis/issues/2529))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@SoulPancake](https://redirect.github.com/SoulPancake), [@ViBiOh](https://redirect.github.com/ViBiOh), [@iliyanm](https://redirect.github.com/iliyanm), [@ktsivkov](https://redirect.github.com/ktsivkov), [@monkey92t](https://redirect.github.com/monkey92t), [@mstmdev](https://redirect.github.com/mstmdev), [@pranitbauva1997](https://redirect.github.com/pranitbauva1997), [@rfyiamcool](https://redirect.github.com/rfyiamcool) and [@vmihailenco](https://redirect.github.com/vmihailenco)
### [`v9.0.3`](https://redirect.github.com/redis/go-redis/releases/tag/v9.0.3): 9.0.3
[Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.0.2...v9.0.3)
### Changes
#### π New Features
- feat(scan): scan time.Time sets the default decoding ([#2413](https://redirect.github.com/redis/go-redis/issues/2413))
- Add support for BZMPOP ([#2456](https://redirect.github.com/redis/go-redis/issues/2456))
- Adding support for ZMPOP command ([#2408](https://redirect.github.com/redis/go-redis/issues/2408))
- Add support for BLMPOP ([#2442](https://redirect.github.com/redis/go-redis/issues/2442))
- Add support for LMPOP ([#2440](https://redirect.github.com/redis/go-redis/issues/2440))
- feat: remove pool unused fields ([#2438](https://redirect.github.com/redis/go-redis/issues/2438))
- feat: check pipeline.Do to prevent confusion with Exec ([#2517](https://redirect.github.com/redis/go-redis/issues/2517))
- Function stats, function kill, fcall and fcall_ro ([#2486](https://redirect.github.com/redis/go-redis/issues/2486))
- feat: Add support for CLUSTER SHARDS command ([#2507](https://redirect.github.com/redis/go-redis/issues/2507))
- Add support for CLUSTER LINKS command ([#2504](https://redirect.github.com/redis/go-redis/issues/2504))
- Add support for acl dryrun command ([#2502](https://redirect.github.com/redis/go-redis/issues/2502))
- Add support for COMMAND GETKEYS & COMMAND GETKEYSANDFLAGS ([#2500](https://redirect.github.com/redis/go-redis/issues/2500))
- Add support for LCS Command ([#2480](https://redirect.github.com/redis/go-redis/issues/2480))
- feat(cmd): support for adding byte,bit parameters to the bitpos command ([#2498](https://redirect.github.com/redis/go-redis/issues/2498))
- Add: Support for COMMAND LIST command ([#2491](https://redirect.github.com/redis/go-redis/issues/2491))
- Implement `FUNCTION` group of commands ([#2475](https://redirect.github.com/redis/go-redis/issues/2475))
- feat(zadd): add ZAddLT and ZAddGT ([#2429](https://redirect.github.com/redis/go-redis/issues/2429))
- Expiretime and PExpireTime ([#2426](https://redirect.github.com/redis/go-redis/issues/2426))
#### π Bug Fixes
- fix: eval api cmd.SetFirstKeyPos ([#2501](https://redirect.github.com/redis/go-redis/issues/2501))
- fix: limit the number of connections created ([#2441](https://redirect.github.com/redis/go-redis/issues/2441))
- fix: group lag can be null ([#2448](https://redirect.github.com/redis/go-redis/issues/2448))
- fix(appendArg): appendArg case special type ([#2489](https://redirect.github.com/redis/go-redis/issues/2489))
- Fix for internal/hscan/structmap.go:89:23: undefined: reflect.Pointer ([#2458](https://redirect.github.com/redis/go-redis/issues/2458))
- fixed [#2462](https://redirect.github.com/redis/go-redis/issues/2462) v9 continue support dragonfly, it's Hello command return "NOAUTH Authentication required" error ([#2479](https://redirect.github.com/redis/go-redis/issues/2479))
#### π§° Maintenance
- Updating to the latest version of redis ([#2508](https://redirect.github.com/redis/go-redis/issues/2508))
- Allowing for running tests on a port other than the fixed 6380 ([#2466](https://redirect.github.com/redis/go-redis/issues/2466))
- redis 7.0.8 in tests ([#2450](https://redirect.github.com/redis/go-redis/issues/2450))
- docs: Update redisotel example for v9 ([#2425](https://redirect.github.com/redis/go-redis/issues/2425))
- chore(deps): bump github.com/bsm/gomega from 1.20.0 to 1.26.0 ([#2421](https://redirect.github.com/redis/go-redis/issues/2421))
- chore(deps): bump github.com/bsm/ginkgo/v2 from 2.5.0 to 2.7.0 ([#2420](https://redirect.github.com/redis/go-redis/issues/2420))
- chore(deps): bump actions/setup-go from 3 to 4 ([#2495](https://redirect.github.com/redis/go-redis/issues/2495))
- chore: update go mod, Upgrade golang.org/x/net version to 0.7.0 ([#2476](https://redirect.github.com/redis/go-redis/issues/2476))
- test: remove testify ([#2463](https://redirect.github.com/redis/go-redis/issues/2463))
- docs: add reading lag field comment ([#2451](https://redirect.github.com/redis/go-redis/issues/2451))
- test: update go mod before testing(go mod tidy) ([#2423](https://redirect.github.com/redis/go-redis/issues/2423))
- chore: bump Go to 1.18 ([#2428](https://redirect.github.com/redis/go-redis/issues/2428))
- refactor: change ListElementCmd to KeyValuesCmd. ([#2443](https://redirect.github.com/redis/go-redis/issues/2443))
- chore: add Chinese translation ([#2436](https://redirect.github.com/redis/go-redis/issues/2436))
- docs: add instructions for the HSet api ([#2503](https://redirect.github.com/redis/go-redis/issues/2503))
- docs: fix comment typo ([#2505](https://redirect.github.com/redis/go-redis/issues/2505))
#### Contributors
We'd like to thank all the contributors who worked on this release!
[@KasonBraley](https://redirect.github.com/KasonBraley), [@LCaparelli](https://redirect.github.com/LCaparelli), [@Multiply](https://redirect.github.com/Multiply), [@SoulPancake](https://redirect.github.com/SoulPancake), [@aksh-02](https://redirect.github.com/aksh-02), [@chayim](https://redirect.github.com/chayim), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@eepurichandra](https://redirect.github.com/eepurichandra), [@elena-kolevska](https://redirect.github.com/elena-kolevska), [@holykol](https://redirect.github.com/holykol), [@monkey92t](https://redirect.github.com/monkey92t), [@septemhill](https://redirect.github.com/septemhill), [@vmihailenco](https://redirect.github.com/vmihailenco), [@xinzhanguo](https://redirect.github.com/xinzhanguo) and [@yikuaibro](https://redirect.github.com/yikuaibro)
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 contains the following updates:
v9.0.2
->v9.7.0
Release Notes
redis/go-redis (github.com/redis/go-redis/v9)
### [`v9.7.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.7.0): 9.7.0 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.6.2...v9.7.0) ### Changes #### π New Features - Support Redis search and query capabilities ([#2801](https://redirect.github.com/redis/go-redis/issues/2801), [#3098](https://redirect.github.com/redis/go-redis/issues/3098)) - Support indexing and querying empty values ([#3053](https://redirect.github.com/redis/go-redis/issues/3053)) - Support for Redis JSON with RESP2 protocol ([#3146](https://redirect.github.com/redis/go-redis/issues/3146)) #### π οΈ Improvements We're glad to announce that we added a search and query support in the current release. #### π§° Maintenance - Documentation examples ([#3102](https://redirect.github.com/redis/go-redis/issues/3102), [#3106](https://redirect.github.com/redis/go-redis/issues/3106), [#3110](https://redirect.github.com/redis/go-redis/issues/3110), [#3111](https://redirect.github.com/redis/go-redis/issues/3111), [#3113](https://redirect.github.com/redis/go-redis/issues/3113), [#3114](https://redirect.github.com/redis/go-redis/issues/3114), [#3115](https://redirect.github.com/redis/go-redis/issues/3115), [#3123](https://redirect.github.com/redis/go-redis/issues/3123), [#3124](https://redirect.github.com/redis/go-redis/issues/3124)) - retract v9.5.3 of redisotel and other extra packages ([#3108](https://redirect.github.com/redis/go-redis/issues/3108)) - Add test coverage reporting and Codecov badge ([#3055](https://redirect.github.com/redis/go-redis/issues/3055)) - Updated module version that points to retracted package version ([#3074](https://redirect.github.com/redis/go-redis/issues/3074)) #### Contributors We'd like to thank all the contributors who worked on this release! [@andy-stark-redis](https://redirect.github.com/andy-stark-redis), [@ipechorin](https://redirect.github.com/ipechorin), [@ofekshenawa](https://redirect.github.com/ofekshenawa) and [@vladvildanov](https://redirect.github.com/vladvildanov) ### [`v9.6.2`](https://redirect.github.com/redis/go-redis/releases/tag/v9.6.2): 9.6.2 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.6.1...v9.6.2) ### Changes #### π Bug Fixes - Fixed bug with broken TLS sessions ([#3145](https://redirect.github.com/redis/go-redis/issues/3145)) #### Contributors We'd like to thank all the contributors who worked on this release! [@ofekshenawa](https://redirect.github.com/ofekshenawa) [@vladvildanov](https://redirect.github.com/vladvildanov) [@rentziass](https://redirect.github.com/rentziass) ### [`v9.6.1`](https://redirect.github.com/redis/go-redis/releases/tag/v9.6.1): 9.6.1 [Compare Source](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/2991)) - Support Hash-field expiration commands in Pipeline & Fix HExpire HExpireWithArgs expiration ([#3038](https://redirect.github.com/redis/go-redis/issues/3038)) - Support NOVALUES parameter for HSCAN ([#2925](https://redirect.github.com/redis/go-redis/issues/2925)) - Added test case for CLIENT KILL with MAXAGE option ([#2971](https://redirect.github.com/redis/go-redis/issues/2971)) - Add support for XREAD last entry ([#3005](https://redirect.github.com/redis/go-redis/issues/3005)) - Reduce the type assertion of CheckConn ([#3066](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/3070)) ##### π Package Distribution - Retract versions 9.5.3 and 9.5.4 ([#3069](https://redirect.github.com/redis/go-redis/issues/3069)) #### Contributors We'd like to thank all the contributors who worked on this release! [@LINKIWI](https://redirect.github.com/LINKIWI), [@b1ron](https://redirect.github.com/b1ron), [@gerzse](https://redirect.github.com/gerzse), [@haines](https://redirect.github.com/haines), [@immersedin](https://redirect.github.com/immersedin), [@naiqianz](https://redirect.github.com/naiqianz), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@srikar-jilugu](https://redirect.github.com/srikar-jilugu), [@tzongw](https://redirect.github.com/tzongw), [@vladvildanov](https://redirect.github.com/vladvildanov), [@vmihailenco](https://redirect.github.com/vmihailenco) and [@monkey92t](https://redirect.github.com/monkey92t) ### [`v9.6.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.6.0): 9.6.0 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.5.4...v9.6.0) ### Changes #### π New Features - Support Hash-field expiration commands ([#2991](https://redirect.github.com/redis/go-redis/issues/2991)) - Support Hash-field expiration commands in Pipeline & Fix HExpire HExpireWithArgs expiration ([#3038](https://redirect.github.com/redis/go-redis/issues/3038)) - Support NOVALUES parameter for HSCAN ([#2925](https://redirect.github.com/redis/go-redis/issues/2925)) - Added test case for CLIENT KILL with MAXAGE option ([#2971](https://redirect.github.com/redis/go-redis/issues/2971)) - Add support for XREAD last entry ([#3005](https://redirect.github.com/redis/go-redis/issues/3005)) - Reduce the type assertion of CheckConn ([#3066](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/2993)) - Avoid unnecessary retry delay in cluster client following MOVED and ASK redirection ([#3048](https://redirect.github.com/redis/go-redis/issues/3048)) - add test for tls connCheck [#3025](https://redirect.github.com/redis/go-redis/issues/3025) ([#3047](https://redirect.github.com/redis/go-redis/issues/3047)) - fix node routing in slotClosestNode ([#3043](https://redirect.github.com/redis/go-redis/issues/3043)) - Update pubsub.go ([#3042](https://redirect.github.com/redis/go-redis/issues/3042)) - Change monitor test to run manually ([#3041](https://redirect.github.com/redis/go-redis/issues/3041)) - chore(deps): bump rojopolis/spellcheck-github-actions from 0.36.0 to 0.38.0 ([#3028](https://redirect.github.com/redis/go-redis/issues/3028)) - Add `(*StatusCmd).Bytes()` method ([#3030](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/3000)) #### Contributors We'd like to thank all the contributors who worked on this release! [@LINKIWI](https://redirect.github.com/LINKIWI), [@b1ron](https://redirect.github.com/b1ron), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@gerzse](https://redirect.github.com/gerzse), [@haines](https://redirect.github.com/haines), [@immersedin](https://redirect.github.com/immersedin), [@naiqianz](https://redirect.github.com/naiqianz), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@srikar-jilugu](https://redirect.github.com/srikar-jilugu), [@tzongw](https://redirect.github.com/tzongw), [@vladvildanov](https://redirect.github.com/vladvildanov) and [@vmihailenco](https://redirect.github.com/vmihailenco) [@monkey92t](https://redirect.github.com/monkey92t) ### [`v9.5.4`](https://redirect.github.com/redis/go-redis/compare/v9.5.3...v9.5.4) [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.5.3...v9.5.4) ### [`v9.5.3`](https://redirect.github.com/redis/go-redis/compare/v9.5.2...v9.5.3) [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.5.2...v9.5.3) ### [`v9.5.2`](https://redirect.github.com/redis/go-redis/releases/tag/v9.5.2): 9.5.2 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.5.1...v9.5.2) ### Changes - fix: fix [#2681](https://redirect.github.com/redis/go-redis/issues/2681) ([#2998](https://redirect.github.com/redis/go-redis/issues/2998)) - Remove skipping span creation by checking parent spans ([#2980](https://redirect.github.com/redis/go-redis/issues/2980)) - Handle IPv6 in isMovedError ([#2981](https://redirect.github.com/redis/go-redis/issues/2981)) - Fix XGroup first pos key ([#2983](https://redirect.github.com/redis/go-redis/issues/2983)) - Adding BitfieldRo in BitMapCmdable interface ([#2962](https://redirect.github.com/redis/go-redis/issues/2962)) - Optimize docs useless imports and typo ([#2970](https://redirect.github.com/redis/go-redis/issues/2970)) - chore: fix some comments ([#2967](https://redirect.github.com/redis/go-redis/issues/2967)) - Fix for issues [#2959](https://redirect.github.com/redis/go-redis/issues/2959) and [#2960](https://redirect.github.com/redis/go-redis/issues/2960) ([#2961](https://redirect.github.com/redis/go-redis/issues/2961)) - fix: [#2956](https://redirect.github.com/redis/go-redis/issues/2956) ([#2957](https://redirect.github.com/redis/go-redis/issues/2957)) - fix misuses of a vs an ([#2936](https://redirect.github.com/redis/go-redis/issues/2936)) - add server address and port span attributes to redis otel trace instrumentation ([#2826](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/2944)) - Remove secrets from Redis Enterprise CI ([#2938](https://redirect.github.com/redis/go-redis/issues/2938)) - Fix monitor on go 1.19 ([#2908](https://redirect.github.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://redirect.github.com/redis/go-redis/issues/2942)) - Change RE image to public RE image ([#2935](https://redirect.github.com/redis/go-redis/issues/2935)) #### Contributors We'd like to thank all the contributors who worked on this release! [@XSAM](https://redirect.github.com/XSAM), [@akash14darshan](https://redirect.github.com/akash14darshan), [@daviddzxy](https://redirect.github.com/daviddzxy), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@esara](https://redirect.github.com/esara), [@hakusai22](https://redirect.github.com/hakusai22), [@hishope](https://redirect.github.com/hishope), [@kindknow](https://redirect.github.com/kindknow), [@monkey92t](https://redirect.github.com/monkey92t), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@singular-seal](https://redirect.github.com/singular-seal) and deferdeter ### [`v9.5.1`](https://redirect.github.com/redis/go-redis/releases/tag/v9.5.1): 9.5.1 [Compare Source](https://redirect.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 ([#2915](https://redirect.github.com/redis/go-redis/issues/2915)) #### π§° Maintenance - docs: README update to highlight how to disable sending client identification ([#2913](https://redirect.github.com/redis/go-redis/issues/2913)) #### Contributors We'd like to thank all the contributors who worked on this release! [@ofekshenawa](https://redirect.github.com/ofekshenawa) ### [`v9.5.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.5.0): 9.5.0 [Compare Source](https://redirect.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 ([#2844](https://redirect.github.com/redis/go-redis/issues/2844)) - Speed up connections by sending SetInfo via a pipeline ([#2880](https://redirect.github.com/redis/go-redis/issues/2880)) - Add helpers to set libinfo without panic ([#2724](https://redirect.github.com/redis/go-redis/issues/2724)) #### π§° Maintenance - Remove unnecessary Node project definition file ([#2863](https://redirect.github.com/redis/go-redis/issues/2863)) - Add support for specifying bitcount unit as byte or bit, byte default ([#2887](https://redirect.github.com/redis/go-redis/issues/2887)) - fix ConnPool race in newConn ([#2885](https://redirect.github.com/redis/go-redis/issues/2885)) #### π Documentation & Testing - Docs: update features ([#2846](https://redirect.github.com/redis/go-redis/issues/2846)) - Docs: add bytes in scan struct example ([#2836](https://redirect.github.com/redis/go-redis/issues/2836)) - Tests: add ut for util_test ([#2840](https://redirect.github.com/redis/go-redis/issues/2840)) #### βοΈ Dependencies & Infrastructure - chore: update OpenTelemetry and Uptrace to the latest version ([#2864](https://redirect.github.com/redis/go-redis/issues/2864)) - chore(deps): bump release-drafter/release-drafter from 5 to 6 ([#2883](https://redirect.github.com/redis/go-redis/issues/2883)) - chore(deps): bump rojopolis/spellcheck-github-actions from 0.35.0 to 0.36.0 ([#2889](https://redirect.github.com/redis/go-redis/issues/2889)) - chore(deps): bump golangci/golangci-lint-action from 3 to 4 ([#2890](https://redirect.github.com/redis/go-redis/issues/2890)) - Change RE image to 7.2.4-108 ([#2884](https://redirect.github.com/redis/go-redis/issues/2884)) - Add CredentialsProvider to ClusterOptions ([#2791](https://redirect.github.com/redis/go-redis/issues/2791)) #### Contributors We'd like to thank all the contributors who worked on this release! [@OlegStotsky](https://redirect.github.com/OlegStotsky), [@abusizhishen](https://redirect.github.com/abusizhishen), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@johnduhart](https://redirect.github.com/johnduhart), [@limotley](https://redirect.github.com/limotley), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@peczenyj](https://redirect.github.com/peczenyj), [@rfyiamcool](https://redirect.github.com/rfyiamcool), and [@vmihailenco](https://redirect.github.com/vmihailenco) ### [`v9.4.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.4.0): 9.4.0 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.3.1...v9.4.0) ### Changes #### Breaking Changes - Revert [#2818](https://redirect.github.com/redis/go-redis/issues/2818) due to it be a breaking change ([#2861](https://redirect.github.com/redis/go-redis/issues/2861)) #### π New Features - Add Suffix support to default client set info ([#2852](https://redirect.github.com/redis/go-redis/issues/2852)) #### π§° Maintenance - return raw value instead of function calling in Result() ([#2831](https://redirect.github.com/redis/go-redis/issues/2831)) - Add Redis Enterprise tests ([#2847](https://redirect.github.com/redis/go-redis/issues/2847)) #### Contributors We'd like to thank all the contributors who worked on this release! [@lowang-bh](https://redirect.github.com/lowang-bh) and [@ofekshenawa](https://redirect.github.com/ofekshenawa) ### [`v9.3.1`](https://redirect.github.com/redis/go-redis/releases/tag/v9.3.1): 9.3.1 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.3.0...v9.3.1) #### Updates and Enhancements - Documentation and examples have been updated ([#2806](https://redirect.github.com/redis/go-redis/issues/2806)). - Redis values can now be scanned into pointer fields ([#2787](https://redirect.github.com/redis/go-redis/issues/2787)). - The URL format error in the Documentation has been corrected ([#2789](https://redirect.github.com/redis/go-redis/issues/2789)). - Cmder annotation has been added ([#2816](https://redirect.github.com/redis/go-redis/issues/2816)). - The Z member type has been changed to string ([#2818](https://redirect.github.com/redis/go-redis/issues/2818)). #### π New Features - BITFIELD_RO Command has been introduced ([#2820](https://redirect.github.com/redis/go-redis/issues/2820)). - Monitor Command is now supported ([#2830](https://redirect.github.com/redis/go-redis/issues/2830)). #### π Bug Fixes - "COMMAND" command is now executed only when readonly ([#2815](https://redirect.github.com/redis/go-redis/issues/2815)). #### π§° Maintenance and Dependency Updates - The usage of TSMadd ktvSlices has been clarified in the docstring ([#2827](https://redirect.github.com/redis/go-redis/issues/2827)). - Dependencies have been updated: - rojopolis/spellcheck-github-actions from 0.34.0 to 0.35.0 ([#2807](https://redirect.github.com/redis/go-redis/issues/2807)) - actions/stale from 8 to 9 ([#2828](https://redirect.github.com/redis/go-redis/issues/2828)) - actions/setup-go from 4 to 5 ([#2829](https://redirect.github.com/redis/go-redis/issues/2829)) #### Contributors We'd like to thank all the contributors who worked on this release! [@RyoMiyashita](https://redirect.github.com/RyoMiyashita), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@lzakharov](https://redirect.github.com/lzakharov), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@rfyiamcool](https://redirect.github.com/rfyiamcool), [@rouzier](https://redirect.github.com/rouzier), [@splundid](https://redirect.github.com/splundid) and [@x1nchen](https://redirect.github.com/x1nchen) ### [`v9.3.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.3.0): 9.3.0 [Compare Source](https://redirect.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 ([#2745](https://redirect.github.com/redis/go-redis/issues/2745)) ([#2753](https://redirect.github.com/redis/go-redis/issues/2753)) - Add InfoMap command ([#2665](https://redirect.github.com/redis/go-redis/issues/2665)) #### π Bug Fixes - Handle wrapped errors in scripter.Run ([#2674](https://redirect.github.com/redis/go-redis/issues/2674)) - BUG: BFReserveArgs - error_rate & capacity ([#2763](https://redirect.github.com/redis/go-redis/issues/2763)) - fix: free turn of connection pool when leave with error ([#2658](https://redirect.github.com/redis/go-redis/issues/2658)) - Add BitMapCmdable to Cmdable. ([#2737](https://redirect.github.com/redis/go-redis/issues/2737)) #### π§° Maintenance - Option types must propagage missing fields ([#2726](https://redirect.github.com/redis/go-redis/issues/2726)) - fix missing fields in different Options ([#2757](https://redirect.github.com/redis/go-redis/issues/2757)) - update PubSub.Channel documentation ([#2761](https://redirect.github.com/redis/go-redis/issues/2761)) - Linking to Redis learning resources ([#2759](https://redirect.github.com/redis/go-redis/issues/2759)) - Creating CODEOWNERS for documentation ([#2749](https://redirect.github.com/redis/go-redis/issues/2749)) - chore(deps): bump rojopolis/spellcheck-github-actions from 0.33.1 to 0.34.0 ([#2740](https://redirect.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 ([#2775](https://redirect.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 ([#2776](https://redirect.github.com/redis/go-redis/issues/2776)) - Fix OpenTelemetry link in README ([#2755](https://redirect.github.com/redis/go-redis/issues/2755)) #### Contributors We'd like to thank all the contributors who worked on this release! [@Sovietaced](https://redirect.github.com/Sovietaced), [@chayim](https://redirect.github.com/chayim), [@chenjie199234](https://redirect.github.com/chenjie199234), [@cyningsun](https://redirect.github.com/cyningsun), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@fred84](https://redirect.github.com/fred84), [@nic-gibson](https://redirect.github.com/nic-gibson), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@peczenyj](https://redirect.github.com/peczenyj), [@sethrylan](https://redirect.github.com/sethrylan), [@snaffi](https://redirect.github.com/snaffi), [@tzq0301](https://redirect.github.com/tzq0301) and [@vmihailenco](https://redirect.github.com/vmihailenco) ### [`v9.2.1`](https://redirect.github.com/redis/go-redis/releases/tag/v9.2.1): 9.2.1 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.2.0...v9.2.1) #### π§° Maintenance - chore(deps): bump actions/stale from 3 to 8 ([#2732](https://redirect.github.com/redis/go-redis/issues/2732)) - Add stream interface back to `Cmdable` ([#2725](https://redirect.github.com/redis/go-redis/issues/2725)) - Remove redundant nil check in gears ([#2728](https://redirect.github.com/redis/go-redis/issues/2728)) #### Contributors We'd like to thank all the contributors who worked on this release! [@Juneezee](https://redirect.github.com/Juneezee), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@gabrielgio](https://redirect.github.com/gabrielgio) and [@ofekshenawa](https://redirect.github.com/ofekshenawa) ### [`v9.2.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.2.0): 9.2.0 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.1.0...v9.2.0) #### What's new? ##### Time series support We are happy to announce support for [Time Series](https://redis.io/docs/data-types/timeseries/). 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](https://redis.io/docs/data-types/timeseries/) ##### Better support for Redis 7.2 Go-Redis now supports [WAITAOF](https://redis.io/commands/waitaof/) and `CLIENT SETINFO` commands introduced in [Redis 7.2](https://redis.com/blog/introducing-redis-7-2/). ##### Other notable improvements - Add the ability to set a connection growth limit with MaxActiveConns configuration setting ([#2646](https://redirect.github.com/redis/go-redis/issues/2646)) - Add support for multiple values in the bitfield cmd ([#2648](https://redirect.github.com/redis/go-redis/issues/2648)) #### Breaking Changes - Changing the suffix for probablistic commands acceptings arguments to WithArgs from Args ([#2701](https://redirect.github.com/redis/go-redis/issues/2701)) #### π§° Maintenance - Making command structs digestible ([#2716](https://redirect.github.com/redis/go-redis/issues/2716)) - change interfaces probabilistic and redis gears from private to public ([#2695](https://redirect.github.com/redis/go-redis/issues/2695)) - Adding CONTRIBUTING guidelines ([#2718](https://redirect.github.com/redis/go-redis/issues/2718)) - Adding Go 1.21.x for CI coverage ([#2697](https://redirect.github.com/redis/go-redis/issues/2697)) - chore(deps): bump actions/checkout from 3 to 4 ([#2702](https://redirect.github.com/redis/go-redis/issues/2702)) - chore(deps): bump github.com/bsm/ginkgo/v2 from 2.9.5 to 2.12.0 ([#2690](https://redirect.github.com/redis/go-redis/issues/2690)) - chore(deps): bump github.com/bsm/gomega from 1.26.0 to 1.27.10 ([#2689](https://redirect.github.com/redis/go-redis/issues/2689)) - Adding stale issues workflow ([#2700](https://redirect.github.com/redis/go-redis/issues/2700)) - Updating redis binary for makefile to 7.2.1 ([#2693](https://redirect.github.com/redis/go-redis/issues/2693)) - Skip flaky tests ([#2699](https://redirect.github.com/redis/go-redis/issues/2699)) - Format code and fix go vet ([#2696](https://redirect.github.com/redis/go-redis/issues/2696)) - Use time duration calculation ([#2651](https://redirect.github.com/redis/go-redis/issues/2651)) #### Contributors We'd like to thank all the contributors who worked on this release! [@NikanV](https://redirect.github.com/NikanV), [@SoulPancake](https://redirect.github.com/SoulPancake), [@chayim](https://redirect.github.com/chayim), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@nvorobev](https://redirect.github.com/nvorobev), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@peczenyj](https://redirect.github.com/peczenyj), [@taytzehao](https://redirect.github.com/taytzehao) and [@wzlove](https://redirect.github.com/wzlove) ### [`v9.1.0`](https://redirect.github.com/redis/go-redis/releases/tag/v9.1.0): 9.1.0 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.0.5...v9.1.0) #### 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](https://redis.io/docs/interact/programmability/triggers-and-functions/quick_start/) ##### Support for All Probabilistic data structures Probabilistic data structures, like [Bloom filters](https://redis.io/docs/data-types/probabilistic/bloom-filter/), offer unique advantages when dealing with large datasets, such as memory efficiency, faster operations, and scalability. Go-Redis now supports all [probabilistic data structures](https://redis.io/docs/data-types/probabilistic/). #### π Bug Fixes - Fix bool ToBool bug ([#2626](https://redirect.github.com/redis/go-redis/issues/2626)) #### π§° Maintenance - Bump github.com/bsm/ginkgo/v2 from 2.7.0 to 2.9.5 ([#2613](https://redirect.github.com/redis/go-redis/issues/2613)) - Adds testable examples to be automatically pulled in redis.io docs ([#2601](https://redirect.github.com/redis/go-redis/issues/2601)) - Integrating spellcheck into CI ([#2666](https://redirect.github.com/redis/go-redis/issues/2666)) - Bumping redis versions ([#2662](https://redirect.github.com/redis/go-redis/issues/2662)) - Updating the README with connection options ([#2661](https://redirect.github.com/redis/go-redis/issues/2661)) - chore: fix staticcheck ([#2631](https://redirect.github.com/redis/go-redis/issues/2631)) #### Contributors We'd like to thank all the contributors who worked on this release! [@chayim](https://redirect.github.com/chayim), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@elena-kolevska](https://redirect.github.com/elena-kolevska), [@kamyab98](https://redirect.github.com/kamyab98), [@ofekshenawa](https://redirect.github.com/ofekshenawa), [@testwill](https://redirect.github.com/testwill) and [@vmihailenco](https://redirect.github.com/vmihailenco) ### [`v9.0.5`](https://redirect.github.com/redis/go-redis/releases/tag/v9.0.5): 9.0.5 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.0.4...v9.0.5) ### Changes - chore: release v9.0.5 (release.sh) ([#2614](https://redirect.github.com/redis/go-redis/issues/2614)) - chore: update otel example to the latest versions ([#2606](https://redirect.github.com/redis/go-redis/issues/2606)) - fix the reading of the "entries-read" field in XInfoStreamFull ([#2595](https://redirect.github.com/redis/go-redis/issues/2595)) - chore(deps): Update otel/metric to stable API ([#2607](https://redirect.github.com/redis/go-redis/issues/2607)) - feat: add field protocol to setupClusterQueryParams ([#2600](https://redirect.github.com/redis/go-redis/issues/2600)) - feat: add protocol option ([#2598](https://redirect.github.com/redis/go-redis/issues/2598)) #### π New Features - feat: Add ACL LOG ([#2536](https://redirect.github.com/redis/go-redis/issues/2536)) #### Contributors We'd like to thank all the contributors who worked on this release! [@SoulPancake](https://redirect.github.com/SoulPancake), [@ash2k](https://redirect.github.com/ash2k), [@ljun20160606](https://redirect.github.com/ljun20160606), [@monkey92t](https://redirect.github.com/monkey92t) and [@vmihailenco](https://redirect.github.com/vmihailenco) ### [`v9.0.4`](https://redirect.github.com/redis/go-redis/releases/tag/v9.0.4): 9.0.4 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.0.3...v9.0.4) ### Changes - chore: release v9.0.4 (release.sh) ([#2572](https://redirect.github.com/redis/go-redis/issues/2572)) - chore(deps): Updating otel/metric and fixing breaking changes ([#2569](https://redirect.github.com/redis/go-redis/issues/2569)) - docs: update doc of redis option ([#2567](https://redirect.github.com/redis/go-redis/issues/2567)) - chore: fix typo in the result.go ([#2558](https://redirect.github.com/redis/go-redis/issues/2558)) - feat: add client info command ([#2483](https://redirect.github.com/redis/go-redis/issues/2483)) - Add ZRANK, ZREVRANK WITHSCORE ([#2531](https://redirect.github.com/redis/go-redis/issues/2531)) - Maintenance : Deprecate FCallRo & add FCallRO ([#2550](https://redirect.github.com/redis/go-redis/issues/2550)) - Add support for CLUSTER MYSHARDID command ([#2530](https://redirect.github.com/redis/go-redis/issues/2530)) - feat: no longer verify HELLO error messages ([#2515](https://redirect.github.com/redis/go-redis/issues/2515)) - test: redis-version to 7.2-rc1 ([#2532](https://redirect.github.com/redis/go-redis/issues/2532)) - doc: pass ctx in BLpop example for infinite wait time ([#2540](https://redirect.github.com/redis/go-redis/issues/2540)) - actions: build on go1.20.x ([#2541](https://redirect.github.com/redis/go-redis/issues/2541)) - fix: reader float parser ([#2513](https://redirect.github.com/redis/go-redis/issues/2513)) #### π New Features - Add support for MODULE LOADEX command ([#2490](https://redirect.github.com/redis/go-redis/issues/2490)) - feat: read the structure to increase the judgment of the omitempty opβ¦ ([#2529](https://redirect.github.com/redis/go-redis/issues/2529)) #### Contributors We'd like to thank all the contributors who worked on this release! [@SoulPancake](https://redirect.github.com/SoulPancake), [@ViBiOh](https://redirect.github.com/ViBiOh), [@iliyanm](https://redirect.github.com/iliyanm), [@ktsivkov](https://redirect.github.com/ktsivkov), [@monkey92t](https://redirect.github.com/monkey92t), [@mstmdev](https://redirect.github.com/mstmdev), [@pranitbauva1997](https://redirect.github.com/pranitbauva1997), [@rfyiamcool](https://redirect.github.com/rfyiamcool) and [@vmihailenco](https://redirect.github.com/vmihailenco) ### [`v9.0.3`](https://redirect.github.com/redis/go-redis/releases/tag/v9.0.3): 9.0.3 [Compare Source](https://redirect.github.com/redis/go-redis/compare/v9.0.2...v9.0.3) ### Changes #### π New Features - feat(scan): scan time.Time sets the default decoding ([#2413](https://redirect.github.com/redis/go-redis/issues/2413)) - Add support for BZMPOP ([#2456](https://redirect.github.com/redis/go-redis/issues/2456)) - Adding support for ZMPOP command ([#2408](https://redirect.github.com/redis/go-redis/issues/2408)) - Add support for BLMPOP ([#2442](https://redirect.github.com/redis/go-redis/issues/2442)) - Add support for LMPOP ([#2440](https://redirect.github.com/redis/go-redis/issues/2440)) - feat: remove pool unused fields ([#2438](https://redirect.github.com/redis/go-redis/issues/2438)) - feat: check pipeline.Do to prevent confusion with Exec ([#2517](https://redirect.github.com/redis/go-redis/issues/2517)) - Function stats, function kill, fcall and fcall_ro ([#2486](https://redirect.github.com/redis/go-redis/issues/2486)) - feat: Add support for CLUSTER SHARDS command ([#2507](https://redirect.github.com/redis/go-redis/issues/2507)) - Add support for CLUSTER LINKS command ([#2504](https://redirect.github.com/redis/go-redis/issues/2504)) - Add support for acl dryrun command ([#2502](https://redirect.github.com/redis/go-redis/issues/2502)) - Add support for COMMAND GETKEYS & COMMAND GETKEYSANDFLAGS ([#2500](https://redirect.github.com/redis/go-redis/issues/2500)) - Add support for LCS Command ([#2480](https://redirect.github.com/redis/go-redis/issues/2480)) - feat(cmd): support for adding byte,bit parameters to the bitpos command ([#2498](https://redirect.github.com/redis/go-redis/issues/2498)) - Add: Support for COMMAND LIST command ([#2491](https://redirect.github.com/redis/go-redis/issues/2491)) - Implement `FUNCTION` group of commands ([#2475](https://redirect.github.com/redis/go-redis/issues/2475)) - feat(zadd): add ZAddLT and ZAddGT ([#2429](https://redirect.github.com/redis/go-redis/issues/2429)) - Expiretime and PExpireTime ([#2426](https://redirect.github.com/redis/go-redis/issues/2426)) #### π Bug Fixes - fix: eval api cmd.SetFirstKeyPos ([#2501](https://redirect.github.com/redis/go-redis/issues/2501)) - fix: limit the number of connections created ([#2441](https://redirect.github.com/redis/go-redis/issues/2441)) - fix: group lag can be null ([#2448](https://redirect.github.com/redis/go-redis/issues/2448)) - fix(appendArg): appendArg case special type ([#2489](https://redirect.github.com/redis/go-redis/issues/2489)) - Fix for internal/hscan/structmap.go:89:23: undefined: reflect.Pointer ([#2458](https://redirect.github.com/redis/go-redis/issues/2458)) - fixed [#2462](https://redirect.github.com/redis/go-redis/issues/2462) v9 continue support dragonfly, it's Hello command return "NOAUTH Authentication required" error ([#2479](https://redirect.github.com/redis/go-redis/issues/2479)) #### π§° Maintenance - Updating to the latest version of redis ([#2508](https://redirect.github.com/redis/go-redis/issues/2508)) - Allowing for running tests on a port other than the fixed 6380 ([#2466](https://redirect.github.com/redis/go-redis/issues/2466)) - redis 7.0.8 in tests ([#2450](https://redirect.github.com/redis/go-redis/issues/2450)) - docs: Update redisotel example for v9 ([#2425](https://redirect.github.com/redis/go-redis/issues/2425)) - chore(deps): bump github.com/bsm/gomega from 1.20.0 to 1.26.0 ([#2421](https://redirect.github.com/redis/go-redis/issues/2421)) - chore(deps): bump github.com/bsm/ginkgo/v2 from 2.5.0 to 2.7.0 ([#2420](https://redirect.github.com/redis/go-redis/issues/2420)) - chore(deps): bump actions/setup-go from 3 to 4 ([#2495](https://redirect.github.com/redis/go-redis/issues/2495)) - chore: update go mod, Upgrade golang.org/x/net version to 0.7.0 ([#2476](https://redirect.github.com/redis/go-redis/issues/2476)) - test: remove testify ([#2463](https://redirect.github.com/redis/go-redis/issues/2463)) - docs: add reading lag field comment ([#2451](https://redirect.github.com/redis/go-redis/issues/2451)) - test: update go mod before testing(go mod tidy) ([#2423](https://redirect.github.com/redis/go-redis/issues/2423)) - chore: bump Go to 1.18 ([#2428](https://redirect.github.com/redis/go-redis/issues/2428)) - refactor: change ListElementCmd to KeyValuesCmd. ([#2443](https://redirect.github.com/redis/go-redis/issues/2443)) - chore: add Chinese translation ([#2436](https://redirect.github.com/redis/go-redis/issues/2436)) - docs: add instructions for the HSet api ([#2503](https://redirect.github.com/redis/go-redis/issues/2503)) - docs: fix comment typo ([#2505](https://redirect.github.com/redis/go-redis/issues/2505)) #### Contributors We'd like to thank all the contributors who worked on this release! [@KasonBraley](https://redirect.github.com/KasonBraley), [@LCaparelli](https://redirect.github.com/LCaparelli), [@Multiply](https://redirect.github.com/Multiply), [@SoulPancake](https://redirect.github.com/SoulPancake), [@aksh-02](https://redirect.github.com/aksh-02), [@chayim](https://redirect.github.com/chayim), [@dependabot](https://redirect.github.com/dependabot), [@dependabot](https://redirect.github.com/dependabot)\[bot], [@eepurichandra](https://redirect.github.com/eepurichandra), [@elena-kolevska](https://redirect.github.com/elena-kolevska), [@holykol](https://redirect.github.com/holykol), [@monkey92t](https://redirect.github.com/monkey92t), [@septemhill](https://redirect.github.com/septemhill), [@vmihailenco](https://redirect.github.com/vmihailenco), [@xinzhanguo](https://redirect.github.com/xinzhanguo) and [@yikuaibro](https://redirect.github.com/yikuaibro)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.
This PR was generated by Mend Renovate. View the repository job log.