|
1 | | -Lettuce 6.6.0 BETA4 NOTES |
| 1 | +Lettuce 7.0.0.BETA2 RELEASE NOTES |
2 | 2 | ============================== |
3 | 3 |
|
4 | | -The Redis team is delighted to announce the BETA4 pre-release of Lettuce 6.6.0 |
| 4 | +The Lettuce team is pleased to announce the second beta release of Lettuce 7.0! |
5 | 5 |
|
6 | | -Lettuce 6 supports Redis 2.6+ up to Redis 7.x. In terms of Java runtime, Lettuce requires |
7 | | -at least Java 8 and works with Java 21. |
| 6 | +The release focuses on introducing **Maintenance events support** functionality, API improvements, and cleanup of deprecated features. |
8 | 7 |
|
9 | | -Thanks to all contributors who made Lettuce 6.7.0 possible. |
| 8 | +### Key changes |
| 9 | +- **Maintenance events support** for graceful maintenance handling |
| 10 | +- **Enhanced JSON API** with `String`-based access to avoid unnecessary conversions |
| 11 | +- **Removal of deprecated APIs** and options as part of the major version upgrade |
| 12 | +As part of the 7.0 line, this beta also removes several deprecated APIs and options. |
| 13 | + |
| 14 | +Lettuce 7.0.0.BETA2 supports Redis 2.6+ up to Redis 8.x and requires Java 8 or newer. The driver is tested against Redis 8.2, 8.0, 7.4, and 7.2. |
| 15 | + |
| 16 | +Thanks to all contributors who made Lettuce 7.0.0.BETA2 possible! |
10 | 17 |
|
11 | 18 | If you need any support, meet Lettuce at |
12 | 19 |
|
13 | 20 | * GitHub Discussions: https://github.com/lettuce-io/lettuce-core/discussions |
14 | 21 | * Stack Overflow (Questions): https://stackoverflow.com/questions/tagged/lettuce |
15 | 22 | * Join the chat at https://discord.gg/redis and look for the "Help:Tools Lettuce" channel |
16 | 23 | * GitHub Issues (Bug reports, feature requests): https://github.com/lettuce-io/lettuce-core/issues |
17 | | -* Documentation: https://lettuce.io/core/6.6.0.BETA4/reference/ |
18 | | -* Javadoc: https://lettuce.io/core/6.6.0.BETA4/api/ |
19 | | - |
20 | | -Commands |
21 | | --------- |
22 | | -* Hash Field Expiration (part II) (#3195) by @ggivo in https://github.com/redis/lettuce/pull/3204 |
23 | | - |
24 | | -Enhancements |
25 | | ------------- |
26 | | -* Introduce command replay filter to avoid command replaying after reconnect #1310 by @tishun in https://github.com/redis/lettuce/pull/3118 |
27 | | -* Deprecate the STRALGO command and implement the LCS in its place by @Dltmd202 in https://github.com/redis/lettuce/pull/3037 |
28 | | -* fix: prevent blocking event loop thread by replacing ArrayDeque with HashIndexedQueue by @okg-cxf in https://github.com/redis/lettuce/pull/2953 |
29 | | -* Token based authentication integration with core extension by @ggivo in https://github.com/redis/lettuce/pull/3063 |
30 | | -* Support for DefaultAzureCredential by @ggivo in https://github.com/redis/lettuce/pull/3230 |
31 | | -* replace hardcoded GT and LT with CommandKeyword enum by @minwoo1999 in https://github.com/redis/lettuce/pull/3079 |
32 | | -* Add support up to max unsigned integer in Bitfield offset (#2964) by @psw0946 in https://github.com/redis/lettuce/pull/3099 |
33 | | -* Improve code by adding some null checks by @tishun in https://github.com/redis/lettuce/pull/3115 |
34 | | -* Introduce test matrix based on Redis server versions by @ggivo in https://github.com/redis/lettuce/pull/3145 |
35 | | -* Add modules ACL support by @sazzad16 in https://github.com/redis/lettuce/pull/3102 |
36 | | -* Test modules CONFIG support by @sazzad16 in https://github.com/redis/lettuce/pull/3103 |
37 | | -* report block error when use with reactor mode #3168 by @tishun in https://github.com/redis/lettuce/pull/3169 |
38 | | -* Include command type in the timeout message by @arturaz in https://github.com/redis/lettuce/pull/3167 |
39 | | - |
40 | | -Fixes |
41 | | ------ |
42 | | -* WATCH during MULTI shouldn't fail transaction #3009 by @tishun in https://github.com/redis/lettuce/pull/3027 |
43 | | -* Fix: make sure FIFO order between write and notify channel active by @okg-cxf in https://github.com/redis/lettuce/pull/2597 |
44 | | -* UnsupportedOperationException from ListSubscriber during hrandfieldWithvalues #3122 by @tishun in https://github.com/redis/lettuce/pull/3123 |
45 | | -* Update CommonsPool2ConfigConverterUnitTests.java by @Rian-Ismael in https://github.com/redis/lettuce/pull/3147 |
46 | | -* Fix typo & add withSsl() in connecting to Entra ID enabled Redis doc by @ggivo in https://github.com/redis/lettuce/pull/3191 |
47 | | -* Fix SimpleBatcher apparent deadlock #2196 by @ggivo in https://github.com/redis/lettuce/pull/3148 |
48 | | -* jsonArrpop fails with null return value (#3196) by @tishun in https://github.com/redis/lettuce/pull/3206 |
49 | | -* json.arrpop forces index=-1 with root path (#3214) by @thachlp in https://github.com/redis/lettuce/pull/3217 |
50 | | -* Updates enableAdaptiveRefreshTrigger trigger assertion message by @ymiliaresis in https://github.com/redis/lettuce/pull/3216 |
51 | | - |
52 | | -Other |
53 | | ------ |
54 | | -* Add example configuration using SNI enabled TLS connection by @ggivo in https://github.com/redis/lettuce/pull/3045 |
55 | | -* Disable docker image being used to call compose when running tests by @tishun in https://github.com/redis/lettuce/pull/3046 |
56 | | -* Workflow for running benchmarks weekly by @tishun in https://github.com/redis/lettuce/pull/3052 |
57 | | -* Fixing benchmark flow by @tishun in https://github.com/redis/lettuce/pull/3056 |
58 | | -* Test failures not reported because step is skipped by @tishun in https://github.com/redis/lettuce/pull/3067 |
59 | | -* Stale issues action bump by @tishun in https://github.com/redis/lettuce/pull/3182 |
60 | | -* Migrate Lettuce test setup to use client-lib-test by @kiryazovi-redis in https://github.com/redis/lettuce/pull/3158 |
61 | | -* JSON integration tests now do not use the test-containers framework by @tishun in https://github.com/redis/lettuce/pull/3203 |
62 | | -* Test with 8.0-M05-pre by @ggivo in https://github.com/redis/lettuce/pull/3219 |
63 | | -* Add sample examples to test redis.io build by @uglide in https://github.com/redis/lettuce/pull/3051 |
64 | | -* DOC-4528 async hash examples by @andy-stark-redis in https://github.com/redis/lettuce/pull/3069 |
65 | | -* DOC-4531 set data type examples by @andy-stark-redis in https://github.com/redis/lettuce/pull/3076 |
66 | | -* DOC-4802 fix string example concurrency by @andy-stark-redis in https://github.com/redis/lettuce/pull/3156 |
67 | | -* Fix several typos on the advanced-usage page by @danicheg in https://github.com/redis/lettuce/pull/3174 |
68 | | -* docs: update Limitations section to reflect shaded JAR deprecation by @minwoo1999 in https://github.com/redis/lettuce/pull/3095 |
69 | | -* Remove extra spaces in words in docs by @enjoy-binbin in https://github.com/redis/lettuce/pull/3120 |
70 | | -* Bump to v4 of checkout by @tishun in https://github.com/redis/lettuce/pull/3152 |
71 | | -* Fix 'make test' test failures by @ggivo in https://github.com/redis/lettuce/pull/3157 |
72 | | -* Readme doc on how to connect to Azure Managed Redis with Entra ID authentication by @ggivo in https://github.com/redis/lettuce/pull/3166 |
73 | | -* refactor mget method improved readability and efficiency by @ori0o0p in https://github.com/redis/lettuce/pull/3061 |
74 | | -* Migrate JSON tests infra to use client-lilb-test by @ggivo in https://github.com/redis/lettuce/pull/3128 |
75 | | -* Update the base project URLs in pom.xml by @danicheg in https://github.com/redis/lettuce/pull/3151 |
76 | | -* Update publish docs action to use latest versions of actions by @tishun in https://github.com/redis/lettuce/pull/3154 |
77 | | -* Bump default client-libs-test container version by @ggivo in https://github.com/redis/lettuce/pull/3165 |
78 | | -* Bump org.slf4j:jcl-over-slf4j from 1.7.25 to 2.0.16 by @dependabot in https://github.com/redis/lettuce/pull/2959 |
79 | | -* Bump org.testcontainers:testcontainers from 1.20.1 to 1.20.4 by @dependabot in https://github.com/redis/lettuce/pull/3082 |
80 | | -* Bump io.micrometer:micrometer-bom from 1.12.4 to 1.14.2 by @dependabot in https://github.com/redis/lettuce/pull/3096 |
81 | | -* Bump io.netty.incubator:netty-incubator-transport-native-io_uring from 0.0.25.Final to 0.0.26.Final by @dependabot in https://github.com/redis/lettuce/pull/3106 |
82 | | -* Bump netty.version to 4.1.118.Final #3187 by @tishun in https://github.com/redis/lettuce/pull/3189 |
| 24 | +* Documentation: https://lettuce.io/core/7.0.0.BETA2/reference/ |
| 25 | +* Javadoc: https://lettuce.io/core/7.0.0.BETA2/api/ |
| 26 | + |
| 27 | +# Changes |
| 28 | + |
| 29 | +## 🔥 Breaking Changes |
| 30 | + |
| 31 | +- chore: remove usage of deprecated connection methods in command APIs in integration tests (#3328) (#3343) |
| 32 | +- Remove deprecated dnsResolver option (#3328) (#3333) |
| 33 | +- Remove deprecated `reset()` method from Lettuce API and internals (#3395) |
| 34 | +- Make Utility Class constructor private to enforce noninstantiability (#3266) |
| 35 | +- Enable adaptive refresh by default #3249 (#3316) |
| 36 | +- ISSUE#3328 - Remove deprecated code from ISSUE#1314 (#3351) |
| 37 | +- chore: deprecated withPassword(String) method (#3328) (#3350) |
| 38 | +- Remove deprecated Utf8StringCodec class (#3328) (#3389) |
| 39 | +- chore: remove deprecated default timeout from AbstractRedisClient (#3328) (#3344) |
| 40 | +- chore: remove deprecated ClientOptions#cancelCommandsOnReconnectFailure (#3328) (#3346) |
| 41 | + |
| 42 | +## 🚀 New Features |
| 43 | + |
| 44 | +- Add support for EPSILON and WITHATTRIBS arguments in VSIM command (#3449) |
| 45 | +- Add String-based JSON API to avoid unnecessary conversions (#3369) (#3394) |
| 46 | +- React to maintenance events #3345 (#3354) |
| 47 | + |
| 48 | +## 🐛 Bug Fixes |
| 49 | +- Rename maintenance notification configuration properties (#3450) |
| 50 | +- Timeouts seen during endpoint re-bind and migrate (#3426) |
| 51 | +- Fix a NullPointerException in DelegateJsonObject #3417 (#3418) |
| 52 | + |
| 53 | +## 💡 Other |
| 54 | + |
| 55 | +- Timeouts seen during endpoint re-bind and migrate (#3426) |
| 56 | +- Return name method to ProtocolKeyword public interface. (#3424) |
| 57 | +- Refactor JsonValue to Object mapping #3412 (#3413) |
| 58 | +- Using non-native transports with SocketOptions should cause an error (#3279) |
| 59 | + |
| 60 | +--- |
| 61 | + |
| 62 | +**Full Changelog**: [6.8.0.RELEASE...7.0.0.BETA2](https://github.com/redis/lettuce/compare/6.8.0.RELEASE...7.0.0.BETA2) |
0 commit comments