Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default Redis version from 4.0.0 to 6.0.0 for Azure Redis #2810

Merged
merged 5 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Current package versions:

## Unreleased

No pending unreleased changes.
- 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))

## 2.8.16

Expand Down
4 changes: 2 additions & 2 deletions src/StackExchange.Redis/Configuration/AzureOptionsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ public class AzureOptionsProvider : DefaultOptionsProvider
public override bool AbortOnConnectFail => false;

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

/// <summary>
/// List of domains known to be Azure Redis, so we can light up some helpful functionality
Expand Down
2 changes: 1 addition & 1 deletion tests/StackExchange.Redis.Tests/ConfigTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class ConfigTests : TestBase
public ConfigTests(ITestOutputHelper output, SharedConnectionFixture fixture) : base(output, fixture) { }

public Version DefaultVersion = new(3, 0, 0);
public Version DefaultAzureVersion = new(4, 0, 0);
public Version DefaultAzureVersion = new(6, 0, 0);

[Fact]
public void ExpectedFields()
Expand Down
Loading