Skip to content

Commit 1dd624e

Browse files
Merge pull request #1 from cloudstone-sabegeek-tech/source-main
Source main
2 parents d5eb193 + 887001c commit 1dd624e

File tree

295 files changed

+146994
-2604
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+146994
-2604
lines changed

.github/release-drafter-config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ categories:
2323
- title: '🚀 New Features'
2424
labels:
2525
- 'type: enhancement'
26+
- 'type: feature'
2627
- title: '🐛 Bug Fixes'
2728
labels:
2829
- 'type: bug'
30+
- title: '💡 Other'
31+
labels:
32+
- 'type: improvement'
2933
- title: '🧰 Maintenance'
3034
labels:
3135
- 'type: documentation'

.github/wordlist.txt

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ http
4949
LettuceDriver
5050
Codecs
5151
JSON
52+
JsonValue
5253
UTF
5354
CDI
5455
Pipelining
@@ -321,4 +322,33 @@ jcl
321322
slf
322323
testcontainers
323324
Readme
324-
DefaultAzureCredential
325+
DefaultAzureCredential
326+
geospatial
327+
Geospatial
328+
RediSearch
329+
embeddings
330+
Dimensionality
331+
HNSW
332+
VectorSet
333+
BITOP
334+
atakavci
335+
NoClassDefFoundError
336+
hubertchylik
337+
VMANA
338+
SocketOptions
339+
SVS
340+
Hitless
341+
hitless
342+
noninstantiability
343+
Changelog
344+
WITHATTRIBS
345+
vsimWithScoreWithAttribs
346+
withPassword
347+
StringCodec
348+
Utf
349+
AbstractRedisClient
350+
cancelCommandsOnReconnectFailure
351+
VSIM
352+
DelegateJsonObject
353+
ProtocolKeyword
354+
kotlin

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
tool: 'jmh'
7575
auto-push: true
7676
gh-repository: 'github.com/redis/lettuce'
77-
gh-pages-branch: 'benchmarks'
78-
benchmark-data-dir-path: './'
77+
gh-pages-branch: 'main'
78+
benchmark-data-dir-path: './docs/static/benchmarks'
7979
output-file-path: benchmarks.json
8080
fail-on-alert: false
8181
alert-threshold: '200%'

.github/workflows/docs.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: actions/setup-python@v4
18+
- uses: actions/setup-python@v5
1919
with:
20-
python-version: 3.9
20+
python-version: '3.13'
21+
cache: 'pip'
22+
cache-dependency-path: requirements.txt
2123
- name: Install dependencies
2224
run: |
2325
python -m pip install --upgrade pip
2426
pip install mkdocs mkdocs-material pymdown-extensions mkdocs-macros-plugin
27+
pip install -r requirements.txt
2528
- name: Build docs
2629
run: |
2730
mkdocs build -d docsbuild
@@ -33,4 +36,4 @@ jobs:
3336
path: 'docsbuild'
3437
- name: Deploy to GitHub Pages
3538
id: deployment
36-
uses: actions/deploy-pages@v4
39+
uses: actions/deploy-pages@v4

.github/workflows/integration.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ on:
88
branches:
99
- main
1010
- '[0-9].*'
11+
- 'feature/*'
1112
pull_request:
1213
branches:
1314
- main
1415
- '[0-9].*'
16+
- 'feature/*'
1517
schedule:
1618
- cron: '0 1 * * *' # nightly build
1719
workflow_dispatch:

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ dependency-reduced-pom.xml
1616
.idea
1717
.flattened-pom.xml
1818
*.java-version
19-
*.DS_Store
19+
*.DS_Store
20+
.vscode*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ This version of Lettuce has been tested against the latest Redis source-build.
2828
* [Redis Cluster](https://redis.github.io/lettuce/ha-sharding/#redis-cluster)
2929
* [SSL](https://redis.github.io/lettuce/advanced-usage/#ssl-connections) and [Unix Domain Socket](https://redis.github.io/lettuce/advanced-usage/#unix-domain-sockets) connections
3030
* [Streaming API](https://redis.github.io/lettuce/advanced-usage/#streaming-api)
31-
* [CDI](https://redis.github.io/lettuce/integration-extension/#cdi-support)
3231
* [Codecs](https://redis.github.io/lettuce/integration-extension/#codecss) (for UTF8/bit/JSON etc. representation of your data)
3332
* multiple [Command Interfaces](https://github.com/redis/lettuce/wiki/Command-Interfaces-%284.0%29)
3433
* Support for [Native Transports](https://redis.github.io/lettuce/advanced-usage/#native-transports)
34+
* Support [RediSearch](https://redis.github.io/lettuce/user-guide/redis-search/), [RedisJSON](https://redis.github.io/lettuce/user-guide/redis-json/) and [Redis Vector Sets](https://redis.github.io/lettuce/user-guide/vector-sets/)
3535
* Compatible with Java 8++ (implicit automatic module w/o descriptors)
3636

3737
See the [reference documentation](https://redis.github.io/lettuce/) and [API Reference](https://www.javadoc.io/doc/io.lettuce/lettuce-core/latest/index.html) for more details.

RELEASE-NOTES.md

Lines changed: 51 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,62 @@
1-
Lettuce 6.6.0 BETA4 NOTES
1+
Lettuce 7.0.0.BETA2 RELEASE NOTES
22
==============================
33

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!
55

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.
87

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!
1017

1118
If you need any support, meet Lettuce at
1219

1320
* GitHub Discussions: https://github.com/lettuce-io/lettuce-core/discussions
1421
* Stack Overflow (Questions): https://stackoverflow.com/questions/tagged/lettuce
1522
* Join the chat at https://discord.gg/redis and look for the "Help:Tools Lettuce" channel
1623
* 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

Comments
 (0)