Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
436 commits
Select commit Hold shift + click to select a range
624aeb9
Add release notes for 2.6.70
NickCraver Oct 16, 2022
430de79
Update release note docs
NickCraver Oct 16, 2022
d90b21c
Timeouts: better SLOWLOG link
NickCraver Oct 18, 2022
35beeeb
Timeouts: add "last-in" for the last payload's length to exception me…
NickCraver Oct 21, 2022
4871458
Configuration/Connections: Allow HTTP tunneling (#2274)
mgravell Oct 21, 2022
6b20bba
Correction on documented behavior of 'httpRuntime targetFramework="4.…
Oct 24, 2022
e6bd161
custom tunnel should not break ConfigurationOptions.ToString()
mgravell Oct 24, 2022
c76e9ae
Tests: align naming for easier finding, etc. (#2280)
NickCraver Oct 24, 2022
ae28ae6
Internals Rename: *Wrapper -> "KeyPrefixed" (#2282)
NickCraver Oct 26, 2022
5263608
Dependencies: remove System.Diagnostics.PerformanceCounter (#2285)
NickCraver Oct 26, 2022
e2e4c19
Update README to reflect heartbeatInterval which applies only to asyn…
rkarthick Oct 26, 2022
f8303a6
2.6.80 Release notes
NickCraver Nov 2, 2022
9af4b75
Cluster: Proactively reconfigure when we hit a MOVED response (#2286)
NickCraver Nov 15, 2022
f3ac74a
Fix #2249: Handle fail on cluster node responses appropriately (#2288)
NickCraver Nov 17, 2022
8476651
Add IConnectionMultiplexer.ServerMaintenanceEvent (#2306)
NickCraver Nov 18, 2022
02c29ef
Counters: add sync-ops, async-ops, and how long a server has been con…
NickCraver Nov 22, 2022
e596322
2.6.86 Release Notes
NickCraver Dec 13, 2022
c4e5453
ServerSnapshot: Improve API and allow filtering with custom struct en…
mgravell Jan 4, 2023
b04761e
PhysicalBridge: Fix orphaning cases of PhysicalConnection where it ne…
NickCraver Jan 4, 2023
b1fddf3
EVAL_RO & EVALSHA_RO commands (#2168)
shacharPash Jan 4, 2023
806929d
Add 2.6.90 release notes
NickCraver Jan 10, 2023
757169b
Project: Release notes tidy & ProjectURL pointing to GH Pages (#2343)
NickCraver Jan 12, 2023
d8aa7f8
LuaScript: use invariant regex on parameter parsing (fixes #2350) (#2…
NickCraver Jan 24, 2023
b94a8cf
Fix #2362: Set FailureType to AuthenticationFailure for auth exceptio…
NickCraver Feb 8, 2023
51a7d90
Implement RedisValue.Length for all underlying storage kinds (#2370)
mgravell Feb 9, 2023
ab757f7
fix #2376 - avoid deadlock scenario when completing dead connections …
mgravell Feb 20, 2023
6fa6a79
2.6.96 Release Notes
NickCraver Feb 21, 2023
867b04d
AppVeyor: move to VS 2022 image (#2387)
NickCraver Feb 28, 2023
9698aaa
expose IAsyncEnumerable on ChannelMessageQueue (#2402)
mgravell Mar 15, 2023
3f8fd08
Reference the correct default retry policy (#2410)
SonnyRR Mar 28, 2023
1364ef8
Add support for CLIENT SETINFO (#2414)
mgravell Mar 28, 2023
ef388bd
Fix #2392: Dequeue all timed out messages from the backlog when not c…
kornelpal Mar 29, 2023
f690d16
Clarify meaning of RedisValue.IsInteger (#2420)
mgravell Mar 30, 2023
129d59f
Timeouts: Improve Backlog handling and errors for users + GC rooting …
NickCraver Mar 30, 2023
8872553
2.6.104 Release notes
NickCraver Mar 30, 2023
571d832
Fix #2426 - don't restrict multi-slot operations on envoy proxy (#2428)
mgravell Apr 3, 2023
7ad0add
DefaultOptionsProvider: allow providing User/Password (#2445)
NickCraver Apr 27, 2023
3ba8d2a
Fix first round of trim warnings (#2451)
eerhardt May 1, 2023
9f3f76d
Fix HTTP tunnel (#2448)
flobernd May 1, 2023
9fda7c5
Backlog timeout: include the time in message (#2452)
NickCraver May 2, 2023
0dfa58f
DefaultOptionsProvider: allow overriding LibName (#2453)
NickCraver May 2, 2023
19ce408
2.6.111 Release notes
NickCraver May 3, 2023
89b2029
Update Pipelines.Sockets.Unofficial to v2.2.8 (#2456)
eerhardt May 4, 2023
ae6419a
Update ReleaseNotes for #2456 (#2457)
eerhardt May 4, 2023
8abe002
add RedisChannel UseImplicitAutoPattern and IsPatternBased (#2480)
mgravell Jun 13, 2023
309d276
naming only: IsPatternBased -> IsPattern (#2482)
mgravell Jun 13, 2023
a1ccdc2
fix version in release notes
mgravell Jun 13, 2023
f6171a1
Redis 7.2.0 RC1: Prep for upgrades (#2454)
NickCraver Jun 14, 2023
5e618dc
Fix nullability annotation of IConnectionMultiplexer.RegisterProfiler…
eerhardt Jun 28, 2023
c0c71c3
Enable net6.0 build (#2497)
eerhardt Jul 1, 2023
cd2dbb4
Exceptions: include Timer.ActiveCount in .NET Core stats (#2500)
NickCraver Jul 5, 2023
ce9506b
add LibraryName at ConfigurationOptions level (#2502)
mgravell Jul 7, 2023
40c2918
release notes for 2.6.122
mgravell Jul 7, 2023
df805be
fix #2507
mgravell Jul 12, 2023
8ce9e4d
release notes (#2508)
mgravell Jul 12, 2023
7e9b900
Test: Fix Issue2507 and add String.SetEmpty (#2514)
NickCraver Jul 28, 2023
2e6b2a8
[Tests] Remove Moq as a dependency (#2522)
NickCraver Aug 9, 2023
4cf2013
add StreamGroupInfo EntriesRead and Lag (#2510)
tvdias Aug 15, 2023
830d2c6
ILogger for ConnectionMultiplexer (#2051)
NickCraver Aug 19, 2023
d206ee3
Satisfy pointer arithmetic check (#2526)
mgravell Aug 22, 2023
2e9e8e9
CodeQL: Initial pass (#2503)
NickCraver Aug 22, 2023
20f41f6
update pre-release package badge link (#2539)
WeihanLi Sep 5, 2023
cfb110c
Protocol support: RESP3 (#2396)
mgravell Sep 7, 2023
5504ed9
Do not send tracers when running second iteration of cluster nodes di…
Matiszak Sep 10, 2023
4a13caf
Logging: fix race in disposal of a passed-in TextWriter (#2581)
NickCraver Oct 30, 2023
8f7e040
Documentation: Update Timeouts.md to include new Timers info in the l…
rifhanakram Oct 30, 2023
c05179f
Tests: Increase overall stability (#2548)
NickCraver Oct 31, 2023
34ba53c
Add release notes for 2.7.4
NickCraver Oct 31, 2023
3ff58cc
Fix HashDelete return value documentation (#2599)
adamjez Nov 19, 2023
79e8346
properly categorizing EXPIRETIME and PEXPIRETIME (#2593)
slorello89 Nov 21, 2023
510b5e2
Sentinel: Add HELLO support (#2601)
NickCraver Nov 23, 2023
76f5205
fix: RedisLiterals.PlusSymbol typo (#2612)
0o001 Dec 8, 2023
9a3003f
Connections: detect and handle the Linux dead socket case (#2610)
NickCraver Dec 8, 2023
f99e95f
Add 2.7.10 release notes
NickCraver Dec 12, 2023
1943d95
note shipped APIs (#2620)
mgravell Dec 20, 2023
d60d987
add type-forward on IsExternalInit (#2621)
mgravell Dec 21, 2023
0233585
Simplify InternalsVisibleTo (#2623)
WeihanLi Dec 21, 2023
e8b0006
Honor select disposition in transactions (#2322)
slorello89 Dec 21, 2023
ad2e69f
Add test for multiplexer GC rooting. (#2427)
kornelpal Dec 22, 2023
b2694b3
Fix #2576: PhysicalConnection: Better shutdown handling (#2629)
NickCraver Jan 11, 2024
7dff15d
Add release notes
NickCraver Jan 16, 2024
d9c9f7b
Fix release notes position for #2322
NickCraver Jan 16, 2024
39eac01
Support Alibaba pseudo-cluster configurations (#2646)
mgravell Feb 13, 2024
e4cdd90
Release notes for 2.7.20
NickCraver Feb 20, 2024
6392871
Sanitize client setinfo metadata (#2654)
mgravell Feb 24, 2024
54a633f
Feature: Add HeartbeatConsistencyChecks (#2656)
NickCraver Feb 26, 2024
2753c37
Add 2.7.23 release notes
NickCraver Feb 26, 2024
7bec9df
Update 2.7.23 release notes
NickCraver Feb 26, 2024
a517561
Support `HeartbeatConsistencyChecks` in `Clone()` (#2658)
mgravell Feb 27, 2024
18c057b
add new AddLibraryNameSuffix API for annotating connections with usag…
mgravell Feb 28, 2024
ae72fb7
release notes
mgravell Mar 1, 2024
9ab79e3
new tunnel-based RESP logging and validation (#2660)
mgravell Mar 1, 2024
441f89a
Normalize release notes
NickCraver Mar 3, 2024
91520e0
simplify property initialization (#2666)
testfirstcoder Mar 7, 2024
baf2b1e
CheckTrustedIssuer: Fixes for invalid chains (#2665)
NickCraver Mar 9, 2024
4da3d62
Fix #2664 Backlog: move to full synchronous behavior since we're on a…
NickCraver Mar 11, 2024
60e5d17
2.7.33 Release notes
NickCraver Mar 11, 2024
2f69707
TLS: Check EKU in X509 chain checks (#2670)
NickCraver Mar 12, 2024
cb8b20d
Correct link to RespLogging doc (#2696)
philon-msft Apr 12, 2024
61c13c2
Replace all occurrences of "nil" in `IDatabase(Async)` xmldoc with le…
bdach May 7, 2024
39b992f
support reading from last message from stream with xread (#2725)
atakavci Jun 8, 2024
1de8dac
Implement high integrity mode for commands (#2741)
mgravell Jun 24, 2024
1c6b59e
release notes; bump minor to 2.8
mgravell Jun 24, 2024
0d38f6f
test against version 7.4-rc1 issue #2738 (#2739)
atakavci Jul 2, 2024
a64ca14
support for CLIENT KILL MAXAGE (#2727)
atakavci Jul 9, 2024
dee9dba
use minimal API for kestrel toy project
mgravell Jul 25, 2024
d9158cd
Merge branch 'main' of https://github.com/StackExchange/StackExchange…
mgravell Jul 25, 2024
1e40509
fix typo (#2766)
wilvk Jul 28, 2024
4852cca
switch to docker compose (#2771)
atakavci Aug 3, 2024
8346a5c
Project: Enable StyleCop and fix existing rules to make PRs easier go…
NickCraver Aug 3, 2024
e208905
Feature: Support for hash field expiration (#2716)
atakavci Aug 17, 2024
3701b50
Build: Simplify Docker layout, fix Envoy, and upgrade tests (#2774)
NickCraver Aug 18, 2024
c0bb4eb
Add support for HSCAN NOVALUES (#2722)
atakavci Aug 18, 2024
fe40d17
Fix #2763: ConnectionMultiplexer.Subscription is not Thread-safe (#2769)
Chuck-EP Aug 18, 2024
e151cd5
docs: fix a PR link (#2776)
WeihanLi Aug 24, 2024
b2b4a88
Fix #2778: Run CheckInfoReplication even with HeartbeatConsistencyChe…
NickCraver Sep 3, 2024
c8d2c28
Adding 2.8.12 release notes
NickCraver Sep 3, 2024
4d94342
Update command map for Envoy (#2794)
dbarbosapn Sep 9, 2024
654859f
Release notes for 2.8.14
NickCraver Sep 9, 2024
322c704
Always perform "last read" check in heartbeat when HeartbeatConsisten…
NickCraver Sep 10, 2024
d7ca832
Add release notes for 2.8.16
NickCraver Sep 10, 2024
c8a7265
format ipv6 endpoints correctly (#2813)
mgravell Oct 31, 2024
ebacf39
Update default Redis version from 4.0.0 to 6.0.0 for Azure Redis (#2810)
philon-msft Nov 5, 2024
0071148
release notes for ipv6
mgravell Nov 5, 2024
11ef77d
Automatically detect and tune for Azure Managed Redis caches (#2818)
philon-msft Nov 25, 2024
33358b7
Packages: update to remove CVE dependencies (#2820)
NickCraver Nov 27, 2024
7170cb4
Update release notes for 2.8.22
NickCraver Nov 27, 2024
0cb7d58
update envoy defs to allow `UNWATCH` (#2824)
mgravell Dec 18, 2024
1a4c66d
Update release notes for 2.8.22
NickCraver Dec 18, 2024
fe04b9a
Improve readme - what even is this? (#2837)
mgravell Feb 18, 2025
3bd3e66
Track client-initiated shutdown for any pipe type. Fixes #2652 (#2814)
bgrainger Mar 4, 2025
437e1ff
Fix: Respect IReconnectRetryPolicy in disconnect loops (#2853)
NickCraver Mar 4, 2025
2a47eb5
Update release notes
NickCraver Mar 4, 2025
50f2218
Fix: Rexpect backoff in the disconnect -> resurrection case as well (…
NickCraver Mar 6, 2025
cd7a3b2
Physical bridge: handle the reconnect count case
NickCraver Mar 6, 2025
be5c8a6
Update release notes for 2.8.31
NickCraver Mar 7, 2025
e93de40
Log multiplexer reconfiguration (#2864)
st-dev-gh Apr 2, 2025
328b4b5
Make it easier to use user certificate files (#2873)
mgravell Apr 15, 2025
28fbe78
Connections: Move all AuthenticateAsClient to async (#2878)
NickCraver May 3, 2025
bb23b57
add package README.md to make NuGet happier (#2875)
mgravell May 3, 2025
e91c3eb
Use up-to-date releases of Redis for CI workflow (#2855)
atakavci May 4, 2025
cfb9105
Add release notes for 2.8.37
NickCraver May 6, 2025
9420b59
Add missing release notes for #2864
NickCraver May 6, 2025
cfbd474
Remove fuget link
mgravell May 15, 2025
ad5f656
Support sharded pubsub commands (#2887)
mgravell Jun 10, 2025
2cb97af
release notes 2.8.41
mgravell Jun 10, 2025
7351ad9
(code-rot) Update package dependencies (#2906)
mgravell Jul 9, 2025
be39ec9
new operations with BITOP command (#2900)
atakavci Jul 10, 2025
0488c42
release notes
Jul 10, 2025
e7b3767
Fix CLIENT ID error during handshake (#2909)
mgravell Jul 17, 2025
8a52783
docs: offer guidance on using framework methods for async timeouts / …
mgravell Jul 17, 2025
894b95e
release notes 2.8.47
mgravell Jul 19, 2025
5f58617
[Tests] Upgrade to xUnit v3 (#2907)
NickCraver Jul 21, 2025
afd66ef
test fix; skip CLIENT PAUSE tests unless long-running enabled (#2916)
mgravell Jul 21, 2025
c54c159
StreamGroupInfo.Lag can be null (#2902)
robhop Jul 21, 2025
6b02ba8
Add xtrim with minid and new 8.2 stream features (#2912)
mgravell Jul 21, 2025
b4aaced
Replaces inline logging with source-generated LoggerMessage (#2903)
Meir017 Jul 21, 2025
cf9f659
Implement internal cancellation for SCAN via WithCancellation (#2911)
mgravell Jul 21, 2025
7b1460a
move logger extensions to LoggerExtensions.cs (extends 2903) (#2917)
mgravell Jul 21, 2025
0b4fd45
fix-zrevrangebylex (#2636)
ArnoKoll Jul 21, 2025
dcae5dd
Fix #2679: connect/config: only access task.Result if we know it comp…
mgravell Jul 21, 2025
4c70460
update release notes
mgravell Jul 21, 2025
c364806
update version in release notes
mgravell Jul 21, 2025
265cc12
Make private & internal stuff sealed (#2915)
Henr1k80 Jul 22, 2025
c07aec9
workaround Mono test failures: (#2921)
mgravell Jul 23, 2025
bf972cc
chore: Replaces string interpolation with structured logging - Server…
Meir017 Jul 23, 2025
cf8b6fb
Support for new HGETDEL, HGETEX and HSETEX commands (#2863)
atakavci Jul 23, 2025
038f3de
Add `Condition.SortedSet[Not]ContainsStarting` condition for transact…
ArnoKoll Jul 24, 2025
2f52c95
Adds support for XPENDING IDLE parameter (#2822)
david-brink-talogy Jul 24, 2025
3c236a4
chore: Replaces string interpolation with structured logging - Result…
Meir017 Jul 24, 2025
b3aeb61
chore: Replaces string interpolation with structured logging - Physic…
Meir017 Jul 24, 2025
45f7af4
Replaces string interpolation with structured logging (#2930)
Meir017 Jul 25, 2025
b995ebc
Tests: Add benchmark suite for easily measuring improvements (#2931)
NickCraver Jul 25, 2025
0f4f469
Improve `double` formatting performance on net8+ and fix equality inc…
mgravell Jul 25, 2025
f6e8b64
intellisense clarification for StreamTrimResult.NotDeleted (#2933)
mgravell Jul 29, 2025
8fffdff
Tests: Improve stability for AbortOnConnectFailTests (#2934)
NickCraver Aug 2, 2025
b03e5f7
fix error in XADD arg-count calculation (#2941)
mgravell Aug 18, 2025
4d2da7a
Implement GetServer(RedisKey, ...) (#2936)
mgravell Aug 19, 2025
d48af3e
Update ReleaseNotes.md
mgravell Aug 20, 2025
a1e4853
Enable CA1852 and fix warnings for it (#2942)
Henr1k80 Sep 9, 2025
6fdbc88
fix: RedisValue/RedisResult: cast to double should respect special va…
mgravell Sep 10, 2025
d5b1d50
Add vector-set API (#2939)
mgravell Sep 10, 2025
91bbd3e
release notes: move vectorsets to unshipped
mgravell Sep 10, 2025
229e9c5
Flush & write concurrently in LoggingTunnel and avoid double lookups …
Henr1k80 Sep 10, 2025
fec2cae
2.9.17 release notes
mgravell Sep 10, 2025
c5f2696
Fix 2951 - Sentinel reconnect failure (#2956)
mgravell Sep 23, 2025
11a919a
Remove supported Envoyproxy commands from exclusions. (#2957)
sshumakov Sep 24, 2025
862a70e
Convert to Hex only on Encoding.UTF8.GetString possible exceptions (#…
jcaspes Sep 24, 2025
f4f66be
eng: prefer Volatile.Read over Thread.VolatileRead (#2960)
mgravell Sep 26, 2025
d4b05ca
Channel routing: revert non-S routing to random, with new API to opt …
mgravell Sep 26, 2025
307129e
release notes
mgravell Sep 26, 2025
0be1df7
eng: remove PublicSign windows-only restriction (#2963)
mgravell Sep 29, 2025
515c47a
release notes
mgravell Sep 29, 2025
a5e6e3d
Actions: support publishing to MyGet off main branch (#2964)
NickCraver Sep 30, 2025
895a2c7
Adjust YAML for main branch builds
NickCraver Sep 30, 2025
9abcef1
Adjust main branches
NickCraver Sep 30, 2025
9ee5f6f
Adjust path globs on file paths to include subdirectories
NickCraver Sep 30, 2025
8a6ad4a
Update README.md (#2967)
mgravell Oct 7, 2025
d5b445a
Fix sharded pub/sub handling over slot migrations (#2969)
mgravell Oct 13, 2025
9c6023f
release notes 2.9.32
mgravell Oct 13, 2025
e5120f7
docker image: use client-libs-test (#2976)
mgravell Nov 4, 2025
24ed30c
Support MSETEX (#2977)
mgravell Nov 5, 2025
416daff
propose support for XREADGROUP CLAIM (#2972)
mgravell Nov 5, 2025
94e0090
Support 8.4 CAS/CAD (IF*) operations (#2978)
mgravell Nov 5, 2025
2c3b3e0
Combine fixups from 8.4 changes (#2979)
mgravell Nov 6, 2025
fe4d5f6
rev 2.10
mgravell Nov 6, 2025
3167fde
2.10.1
mgravell Nov 6, 2025
24d8c1e
fix docs link
mgravell Nov 11, 2025
feb122c
Update Dockerfile to 8.4 GA pre 3 (#2981)
mgravell Nov 18, 2025
d80bcbf
fix incorrect debug assertion in HGETEX; no impact to release build (…
mgravell Jan 23, 2026
84b015e
Propagate PhysicalBridge backlog to ServerCounters (#2996)
nathan-miller23 Jan 27, 2026
c8e3152
handle backlog process startup failures (#3002)
nathan-miller23 Feb 3, 2026
f92f9f4
release notes
mgravell Feb 3, 2026
5695770
trigger CI
mgravell Feb 3, 2026
2da6975
Migrate to codeql 4 (#3004)
mgravell Feb 3, 2026
37a1a5d
Enable manual codeql run
mgravell Feb 3, 2026
f1b7fa7
Allow manual CI run
mgravell Feb 3, 2026
3ce6682
CI: manual run should pack/deploy
mgravell Feb 3, 2026
fb487d6
Release 2.10.14
mgravell Feb 4, 2026
686f118
fix codeql
mgravell Feb 4, 2026
df1db72
Update README to include Azure Managed Redis (#3005)
redis-phil Feb 4, 2026
c979c6b
keyspace notifications including cluster support (#2995)
mgravell Feb 6, 2026
809055e
update API 'shipped' files
mgravell Feb 6, 2026
e71373b
Options: Split out AMR to its own options provider (#2986)
NickCraver Feb 6, 2026
18fdcd7
Support 8.6 idempotent streams (#3006)
mgravell Feb 9, 2026
494b26c
release notes
mgravell Feb 9, 2026
0aa6005
Update CI to 8.6 (#3010)
mgravell Feb 11, 2026
a018b87
8.6 Support HOTKEYS (#3008)
mgravell Feb 11, 2026
8defa55
shipped-files
mgravell Feb 11, 2026
58d2f98
Add additional documentation about client authentication (#3009)
mgravell Feb 11, 2026
98eb6a2
fixup release version
mgravell Feb 11, 2026
a2ac956
Investigate #3007; defensive code in maintenance events, and resubscr…
mgravell Feb 13, 2026
c0c3843
Propose CAS/CAD docs (#3012)
mgravell Feb 13, 2026
2a846a5
Add VRANGE support (#3011)
mgravell Feb 14, 2026
11af75b
release notes
mgravell Feb 19, 2026
d4b2f39
Handle MOVED error pointing to same endpoint. (#3003)
barshaul Feb 24, 2026
aa25c4c
fix time conversion error in HOTKEYS (#3017)
mgravell Feb 24, 2026
05c80ce
doomed test, needs thought
mgravell Feb 25, 2026
248ff15
stabilize -MOVED test (#3020)
mgravell Feb 25, 2026
b8ebdf7
release notes and ship-files for 2.8.11
mgravell Feb 25, 2026
bcf41c2
add test infrastructure for rich in-proc dummy servers (#3021)
mgravell Feb 25, 2026
939cc85
auth/hello
mgravell Feb 26, 2026
ac7ab7f
More powerful virtual test server for unit tests (#3022)
mgravell Feb 27, 2026
a098426
Add Entra ID Auth to Authentication doc (#3023)
philon-msft Mar 3, 2026
bc086f3
Implement pub/sub in the toy server (#3027)
mgravell Mar 9, 2026
ed0e353
Track the number of live multiplexers (#3030)
mgravell Mar 11, 2026
6f1dab4
fix main CI; v2 in-proc server is catastrophically unstable: `Catastr…
mgravell Mar 11, 2026
583f393
duplicated
mgravell Mar 11, 2026
6eeb04d
V3 pre-merge; all the early bits, for V2 (#3028)
mgravell Mar 13, 2026
bf7f846
2.12.1 release notes
mgravell Mar 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .devcontainer/TestConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"SecureServer": "redis",
"FailoverMasterServer": "redis",
"FailoverReplicaServer": "redis",
"RediSearchServer": "redisearch",
"IPv4Server": "redis",
"RemoteServer": "redis",
"SentinelServer": "redis",
Expand Down
6 changes: 1 addition & 5 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,12 @@ services:
- ./TestConfig.json:/workspace/tests/StackExchange.Redis.Tests/TestConfig.json:ro
depends_on:
- redis
- redisearch
links:
- "redis:redis"
- "redisearch:redisearch"
command: /bin/sh -c "while sleep 1000; do :; done"
redis:
build:
context: ../tests/RedisConfigs
dockerfile: Dockerfile
sysctls :
net.core.somaxconn: '511'
redisearch:
image: redislabs/redisearch:latest
net.core.somaxconn: '511'
191 changes: 161 additions & 30 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,56 +27,187 @@ indent_size = 2
# Dotnet code style settings:
[*.{cs,vb}]
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true
dotnet_sort_system_directives_first = true:warning
# Avoid "this." and "Me." if not necessary
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_event = false:suggestion
dotnet_style_qualification_for_field = false:warning
dotnet_style_qualification_for_property = false:warning
dotnet_style_qualification_for_method = false:warning
dotnet_style_qualification_for_event = false:warning

# Modifiers
dotnet_style_require_accessibility_modifiers = for_non_interface_members:warning
dotnet_style_readonly_field = true:warning

# Use language keywords instead of framework type names for type references
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
dotnet_style_predefined_type_for_member_access = true:warning

# Suggest more modern language features when available
dotnet_style_object_initializer = true:suggestion
dotnet_style_collection_initializer = true:suggestion
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion
dotnet_style_explicit_tuple_names = true:suggestion
dotnet_style_object_initializer = true:warning
dotnet_style_collection_initializer = true:warning
dotnet_style_explicit_tuple_names = true:warning
dotnet_style_null_propagation = true:warning
dotnet_style_coalesce_expression = true:warning
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning
dotnet_style_prefer_auto_properties = true:suggestion

# Ignore silly if statements
dotnet_style_prefer_conditional_expression_over_return = false:none
dotnet_style_prefer_conditional_expression_over_assignment = true:suggestion
dotnet_style_prefer_conditional_expression_over_return = true:suggestion

# Don't warn on things that actually need suppressing
dotnet_remove_unnecessary_suppression_exclusions = CA1009,CA1063,CA1069,CA1416,CA1816,CA1822,CA2202,CS0618,IDE0060,IDE0062,RCS1047,RCS1085,RCS1090,RCS1194,RCS1231

# Style Definitions
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
# Use PascalCase for constant fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
dotnet_naming_symbols.constant_fields.applicable_kinds = field
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
dotnet_naming_symbols.constant_fields.required_modifiers = const

# CSharp code style settings:
[*.cs]
# Prefer method-like constructs to have a expression-body
csharp_style_expression_bodied_methods = true:none
csharp_style_expression_bodied_constructors = true:none
csharp_style_expression_bodied_operators = true:none
csharp_style_expression_bodied_constructors = true:silent
csharp_style_expression_bodied_methods = true:silent
csharp_style_expression_bodied_operators = true:warning

# Prefer property-like constructs to have an expression-body
csharp_style_expression_bodied_properties = true:none
csharp_style_expression_bodied_indexers = true:none
csharp_style_expression_bodied_accessors = true:none
csharp_style_expression_bodied_accessors = true:warning
csharp_style_expression_bodied_indexers = true:warning
csharp_style_expression_bodied_properties = true:warning
csharp_style_expression_bodied_lambdas = true:warning
csharp_style_expression_bodied_local_functions = true:silent

# Suggest more modern language features when available
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
csharp_style_inlined_variable_declaration = true:suggestion
csharp_style_throw_expression = true:suggestion
csharp_style_conditional_delegate_call = true:suggestion
# Pattern matching preferences
csharp_style_pattern_matching_over_is_with_cast_check = true:warning
csharp_style_pattern_matching_over_as_with_null_check = true:warning

# Null-checking preferences
csharp_style_throw_expression = true:warning
csharp_style_conditional_delegate_call = true:warning

# Modifier preferences
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,volatile,async:suggestion

# Expression-level preferences
csharp_prefer_braces = true:silent
csharp_style_deconstructed_variable_declaration = true:suggestion
csharp_prefer_simple_default_expression = true:silent
csharp_style_pattern_local_over_anonymous_function = true:suggestion
csharp_style_inlined_variable_declaration = true:warning
csharp_prefer_simple_using_statement = true:silent
csharp_style_prefer_not_pattern = true:warning
csharp_style_prefer_switch_expression = true:warning

# Newline settings
# Disable range operator suggestions
csharp_style_prefer_range_operator = false:none
csharp_style_prefer_index_operator = false:none

# New line preferences
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true

# Indentation preferences
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_labels = flush_left

# Space preferences
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true:warning
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false

# Wrapping preferences
csharp_preserve_single_line_statements = true
csharp_preserve_single_line_blocks = true

# Help Link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852
# Tags : Telemetry, EnabledRuleInAggressiveMode, CompilationEnd
dotnet_diagnostic.CA1852.severity = warning

# IDE preferences
dotnet_diagnostic.IDE0090.severity = silent # IDE0090: Use 'new(...)'

#Roslynator preferences
dotnet_diagnostic.RCS1037.severity = error # RCS1037: Remove trailing white-space.
dotnet_diagnostic.RCS1098.severity = none # RCS1098: Constant values should be placed on right side of comparisons.

dotnet_diagnostic.RCS1194.severity = none # RCS1194: Implement exception constructors.
dotnet_diagnostic.RCS1229.severity = none # RCS1229: Use async/await when necessary.
dotnet_diagnostic.RCS1233.severity = none # RCS1233: Use short-circuiting operator.
dotnet_diagnostic.RCS1234.severity = none # RCS1234: Duplicate enum value.

# StyleCop preferences
dotnet_diagnostic.SA0001.severity = none # SA0001: XML comment analysis is disabled

dotnet_diagnostic.SA1101.severity = none # SA1101: Prefix local calls with this
dotnet_diagnostic.SA1108.severity = none # SA1108: Block statements should not contain embedded comments
dotnet_diagnostic.SA1122.severity = none # SA1122: Use string.Empty for empty strings
dotnet_diagnostic.SA1127.severity = none # SA1127: Generic type constraints should be on their own line
dotnet_diagnostic.SA1128.severity = none # SA1128: Put constructor initializers on their own line
dotnet_diagnostic.SA1132.severity = none # SA1132: Do not combine fields
dotnet_diagnostic.SA1133.severity = none # SA1133: Do not combine attributes

dotnet_diagnostic.SA1200.severity = none # SA1200: Using directives should be placed correctly
dotnet_diagnostic.SA1201.severity = none # SA1201: Elements should appear in the correct order
dotnet_diagnostic.SA1202.severity = none # SA1202: Elements should be ordered by access
dotnet_diagnostic.SA1203.severity = none # SA1203: Constants should appear before fields

dotnet_diagnostic.SA1306.severity = none # SA1306: Field names should begin with lower-case letter
dotnet_diagnostic.SA1309.severity = none # SA1309: Field names should not begin with underscore
dotnet_diagnostic.SA1310.severity = silent # SA1310: Field names should not contain underscore
dotnet_diagnostic.SA1311.severity = none # SA1311: Static readonly fields should begin with upper-case letter
dotnet_diagnostic.SA1312.severity = none # SA1312: Variable names should begin with lower-case letter

dotnet_diagnostic.SA1401.severity = silent # SA1401: Fields should be private
dotnet_diagnostic.SA1402.severity = suggestion # SA1402: File may only contain a single type

dotnet_diagnostic.SA1503.severity = silent # SA1503: Braces should not be omitted
dotnet_diagnostic.SA1516.severity = silent # SA1516: Elements should be separated by blank line

dotnet_diagnostic.SA1600.severity = none # SA1600: Elements should be documented
dotnet_diagnostic.SA1601.severity = none # SA1601: Partial elements should be documented
dotnet_diagnostic.SA1602.severity = none # SA1602: Enumeration items should be documented
dotnet_diagnostic.SA1615.severity = none # SA1615: Element return value should be documented
dotnet_diagnostic.SA1623.severity = none # SA1623: Property summary documentation should match accessors
dotnet_diagnostic.SA1633.severity = none # SA1633: File should have header
dotnet_diagnostic.SA1642.severity = none # SA1642: Constructor summary documentation should begin with standard text
dotnet_diagnostic.SA1643.severity = none # SA1643: Destructor summary documentation should begin with standard text


# To Fix:
dotnet_diagnostic.SA1204.severity = none # SA1204: Static elements should appear before instance elements
dotnet_diagnostic.SA1214.severity = none # SA1214: Readonly fields should appear before non-readonly fields
dotnet_diagnostic.SA1304.severity = none # SA1304: Non-private readonly fields should begin with upper-case letter
dotnet_diagnostic.SA1307.severity = none # SA1307: Accessible fields should begin with upper-case letter
dotnet_diagnostic.SA1308.severity = suggestion # SA1308: Variable names should not be prefixed
dotnet_diagnostic.SA1131.severity = none # SA1131: Use readable conditions
dotnet_diagnostic.SA1405.severity = none # SA1405: Debug.Assert should provide message text
dotnet_diagnostic.SA1501.severity = none # SA1501: Statement should not be on a single line
dotnet_diagnostic.SA1502.severity = suggestion # SA1502: Element should not be on a single line
dotnet_diagnostic.SA1513.severity = none # SA1513: Closing brace should be followed by blank line
dotnet_diagnostic.SA1515.severity = none # SA1515: Single-line comment should be preceded by blank line
dotnet_diagnostic.SA1611.severity = suggestion # SA1611: Element parameters should be documented
dotnet_diagnostic.SA1649.severity = suggestion # SA1649: File name should match first type name




# Space settings
csharp_space_after_keywords_in_control_flow_statements = true:suggestion

# Language settings
csharp_prefer_simple_default_expression = false:none
4 changes: 2 additions & 2 deletions .github/.github.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.Build.NoTargets/1.0.94">
<Project Sdk="Microsoft.Build.NoTargets/3.3.0">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
</Project>
Loading