Skip to content

Bump to 3.5 and ship the 3.5.0 API surface - #3389

Merged
mgravell merged 1 commit into
mainfrom
marc/release-3.5
Dec 2, 2026
Merged

mgravell merged 1 commit into
mainfrom
marc/release-3.5

Conversation

@mgravell

@mgravell mgravell commented Dec 2, 2026

Copy link
Copy Markdown
Member

Release prep for 3.5.0, following the 3.4.0 pattern (e7c43a26).

  • version.json: version and versionHeightOffsetAppliesTo are now 3.5, keeping versionHeightOffset: -1, so the commit that introduces it computes as 3.5.0. I checked locally with GetBuildVersion: BuildVersion 3.5.0.x, package version 3.5.0 plus the non-public-branch -g suffix, which main drops. The squash commit on main is the one that changes version.json, so it computes the same.

  • API promotion: I ran eng/public-api.py --promote, which moves every PublicAPI.Unshipped.txt entry into its sibling Shipped.txt and sorts. Only the StackExchange.Redis root file had entries (71):

    The net6.0/net8.0 and RESPite unshipped files were already empty.

eng/public-api.py --check passes, and the library builds with 0 warnings across all TFMs.

For the release notes

#3366 is a source break for C# 12 and earlier. HashSlot("key") (a string or byte[] argument) relies on [OverloadResolutionPriority] to keep binding to HashSlot(RedisKey), and older language versions ignore that attribute. That includes net8.0's default of C# 12, and C# 7.3 for .NET Framework and netstandard. Under those, the call is ambiguous (CS0121). The workaround is an explicit cast, HashSlot((RedisKey)"key"), or LangVersion 13 or later. It's also a new IConnectionMultiplexer member, which affects any external implementations of that interface.

Sets version 3.5 in version.json, keeping versionHeightOffset -1 (scoped to 3.5 via
versionHeightOffsetAppliesTo) so this commit computes as 3.5.0.

Promotes every PublicAPI.Unshipped.txt entry to its sibling Shipped.txt via
eng/public-api.py --promote, ahead of the 3.5.0 cut. Only the StackExchange.Redis root
file had unshipped entries (71): the Redis 8.12 bindings behind SER011 (bit positions,
set-member expiration, BLESS, ZMOVE, CommandTrace.CpuTime) and their RedisFeatures and
KeyNotificationType additions, ReauthenticateAsync with ReauthenticateOptions and
ConnectionFailureType.Reauthentication, and HashSlot(RedisChannel). The net6.0/net8.0
and RESPite files were already empty.
@mgravell
mgravell merged commit cf3ba80 into main Dec 2, 2026
5 of 7 checks passed
@mgravell
mgravell deleted the marc/release-3.5 branch December 2, 2026 17:14
mgravell added a commit that referenced this pull request Dec 3, 2026
…3415)

Moves the 71 entries main promoted for 3.5.0 from PublicAPI.Unshipped.txt to
PublicAPI.Shipped.txt. v4's own unshipped surface stays where it is, and main's
version.json bump does not apply to v4.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants