Skip to content

Commit ebacf39

Browse files
authored
Update default Redis version from 4.0.0 to 6.0.0 for Azure Redis (#2810)
* Update default Redis version from 4.0.0 to 6.0.0 for Azure Redis resources
1 parent c8a7265 commit ebacf39

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/ReleaseNotes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Current package versions:
88

99
## Unreleased
1010

11-
No pending unreleased changes.
11+
- Update default Redis version from 4.0.0 to 6.0.0 for Azure Redis resources ([#2810 by philon-msft](https://github.com/StackExchange/StackExchange.Redis/pull/2810))
1212

1313
## 2.8.16
1414

src/StackExchange.Redis/Configuration/AzureOptionsProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public class AzureOptionsProvider : DefaultOptionsProvider
1616
public override bool AbortOnConnectFail => false;
1717

1818
/// <summary>
19-
/// The minimum version of Redis in Azure is 4, so use the widest set of available commands when connecting.
19+
/// The minimum version of Redis in Azure is 6, so use the widest set of available commands when connecting.
2020
/// </summary>
21-
public override Version DefaultVersion => RedisFeatures.v4_0_0;
21+
public override Version DefaultVersion => RedisFeatures.v6_0_0;
2222

2323
/// <summary>
2424
/// List of domains known to be Azure Redis, so we can light up some helpful functionality

tests/StackExchange.Redis.Tests/ConfigTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class ConfigTests : TestBase
2525
public ConfigTests(ITestOutputHelper output, SharedConnectionFixture fixture) : base(output, fixture) { }
2626

2727
public Version DefaultVersion = new(3, 0, 0);
28-
public Version DefaultAzureVersion = new(4, 0, 0);
28+
public Version DefaultAzureVersion = new(6, 0, 0);
2929

3030
[Fact]
3131
public void ExpectedFields()

0 commit comments

Comments
 (0)