Update dependency Asp.Versioning.Mvc.ApiExplorer to v10 - #136
Open
renovate[bot] wants to merge 1 commit into
Open
Update dependency Asp.Versioning.Mvc.ApiExplorer to v10#136renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/asp.versioning.mvc.apiexplorer-10.x
branch
from
May 18, 2026 09:46
333d3dd to
a9e24e1
Compare
renovate
Bot
force-pushed
the
renovate/asp.versioning.mvc.apiexplorer-10.x
branch
from
July 12, 2026 17:47
a9e24e1 to
f5be012
Compare
renovate
Bot
force-pushed
the
renovate/asp.versioning.mvc.apiexplorer-10.x
branch
2 times, most recently
from
August 9, 2026 05:27
52df7bd to
ef300fe
Compare
renovate
Bot
force-pushed
the
renovate/asp.versioning.mvc.apiexplorer-10.x
branch
from
August 9, 2026 21:56
ef300fe to
6c6b8e3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.1.1→10.2.1Release Notes
dotnet/aspnet-api-versioning (Asp.Versioning.Mvc.ApiExplorer)
v10.2.0: 10.2.0This release includes some big new features but is fully backward compatible with
10.0.0. The new features include versioned model member filtering, Roslyn analyzers, gRPC preview support, and a number of servicing patches since the previous release.Fixes
All Platforms
'.'no longer succeeds silently'-'ASP.NET Core
IProblemDetailsWriteris preserved byAddApiVersioning()(#1191)ASP.NET Core OpenAPI
Features
All Platforms
ApiVersionRangetype for matching a set of API versions using the same interval notation as a package version1.0→x ≥ 1.0[1.0]→x == 1.0(1.0,)→x > 1.0(,1.0]→x ≤ 1.0[1.0,2.0)→1.0 ≤ x < 2.0ApiVersionRange.AnyandApiVersionRange.Emptyare provided forthe degenerate cases
VisibleInApiVersionAttributeindicates the range of API versions a data member is visible in; for example,[VisibleInApiVersion("2.0")]IAnnotation<TKey, TValue>abstraction for associating out-of-band metadata with a member[StringSyntax]is now applied to API version inputs so the IDE and analyzers understand them; the recognizedsyntaxes are
ApiVersion,ApiVersionRange, andApiVersionFormatAnalyzers
API Versioning now ships Roslyn analyzers. There is no new package to install — the core rules are packed into Asp.Versioning.Abstractions and the API rules are packed into Asp.Versioning.Http, so any application that already references API Versioning picks them up transitively.
There is an initial set of 31 rules. You can find all of the rule information in the new diagnostics wiki topic.
Notes:
helpLinkUrithat resolves to its documentation page.editorconfigas usualExcludeAssets="analyzers"on aPackageReferencewill not work because the package is also reached throughthe dependencies of other packages and NuGet combines the assets from every path
ASP.NET Core
Data members can now be versioned independently of the endpoint that returns them. Annotate a property with
[VisibleInApiVersion]and the member is omitted from responses for API versions outside the range:AddApiVersioning()now registersIHttpContextAccessorso the requested API version is available duringserialization
[VisibleInApiVersion]is part of the core abstractions and can be used in your model libraries without anydependency on ASP.NET
ASP.NET Core API Explorer
VersionedModelMetadata,VersionedModelMetadataProvider, andDelegatingModelMetadatatypesASP.NET Core OpenAPI
actually returns for that version
<remarks>now takes precedence over<description><b>and<i>are converted to and retained as Markdown<a href="..."/>is converted to and retained as a hyperlink<paramref name="..."/>is rendered as inline code<list>,<item>,<term>,<description>,<value>, and<example>are supported<inheritdoc/>is resolved for summaries<code>blocks are properly closedASP.NET Core with gRPC (Preview)
Two new packages add API Versioning to gRPC services: Asp.Versioning.Grpc and Asp.Versioning.Grpc.ApiExplorer. This is a new set of features that will run in preview to give gRPC service authors a chance to try things out and report any issues or gaps.
The following is a basic example showing all of the parts coming together.
API versions, or implementations can be split across versions
asp/api/annotations.proto:repeated, so a field split across disjoint ranges repeats the optionclient on
1.0can neither see nor post a field that was introduced in3.0version route segment and well-known protobuf types mapped to their correct schemas
The gRPC OpenAPI Example demonstrates an end-to-end working solution.
Breaking Changes
All Platforms
Asp.Versioning.AbstractionsandAsp.Versioning.Http, whichmeans upgrading turns them on for every project that references API versioning — directly or transitively. AV0012,
AV0018, and AV0019 default to error severity, so an existing application that trips one of them will fail to build
until the underlying problem is fixed, the rule is downgraded in
.editorconfig, or<EnableApiVersioningAnalyzers>false</EnableApiVersioningAnalyzers>is set. Before these rules existed, anapplication should have either encountered runtime exceptions or not functioned as expected. These rules are catching
mistakes early rather than imposing specific dogma about how your application must be defined.
ASP.NET Core
AddApiVersioning()now callsAddHttpContextAccessor(). This is additive and should be transparent, but it does meanIHttpContextAccessoris registered in applications that previously did not have itDocumentation
The wiki has served the community well for many years, but it had gotten tired and it was due for some much needed love and updates. I've reworked the wiki into a new GitHub Pages site using mdBook.
Why change?
It certainly possible that some links or content are incorrect after the migration. Please report any errors or submit a pull request
and they will be fixed promptly.
Release Notes
PackageReleaseNotesproperty instead of being appended to thepackage README (#1211)
rc; both were promoted to stable during servicing and ship as10.2.010.2.0-preview.1alongside everything elseMicrosoft.OpenApiwas updated to2.7.5due to a vulnerability and pinned to below3.0.0after a major versionincompatibility
Feedback
Thanks to everyone who contributed to this release, whether through code, issues, or test driving the changes.
v10.0.0: 10.0.0The official release for
10.0is here! In addition to the changes in the preview releases, there are a few additional changes.Features
All Platforms
ApiVersionAttribute,MapToVersionAttribute, andAdvertiseApiVersionsAttributeall now have a constructor which can support the date format without being a string; for example,[ApiVersion(2026, 04, 01)]ASP.NET Core OpenAPI
XmlCommentsTransformeris now resolved via DI, which allows it to be re-registered with a user-defined file pathvirtualfor developer extensibilityFixes
ASP.NET Core OpenAPI
IKeyedServiceProviderwhen injectingApiVersion(#1178)Breaking Changes
ASP.NET Core OpenAPI
"enum": ["1.0"]instead of"default": "1.0"Release Notes
rc.1because Microsoft.AspNetCore.OData is only atpreview.2rc.1pending the outcome of dotnet/aspnetcore#66408Feedback
Thanks to the contributors on this release whether it was code contributions or test driving the previews. Special thanks to @sander1095 for being a strong advocate and helping to bring even more visibility to the project.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.