Repository navigation
Bump FastEndpoints and FastEndpoints.Swagger - #17
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps FastEndpoints from 8.3.0 to 9.0.0 Bumps FastEndpoints.Swagger from 8.3.0 to 9.0.0 --- updated-dependencies: - dependency-name: FastEndpoints dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: FastEndpoints.Swagger dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
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.
Updated FastEndpoints from 8.3.0 to 9.0.0.
Release notes
Sourced from FastEndpoints's releases.
9.0
Please join the discussion here and help out if you can.
Breaking Changes⚠️
Target .NET 10 or .NET 11 when upgrading to FastEndpoints v9
FastEndpoints now targets only
net10.0andnet11.0. Retarget .NET 8/9 apps before upgrading, or keep your current FastEndpoints version.The serializer-context-generator CLI requires .NET 10+. The Roslyn generator requires Roslyn 5.0, the .NET 10+ SDK, and Visual Studio 2026 18.0+ when using VS. Its
netstandard2.0assets (and attributes) support compiler hosts, not older app runtimes. Upgrade SDKs/IDEs first.The ASP.NET API Versioning integration is limited to .NET 10
FastEndpoints.AspVersioningremains .NET 10-only:Asp.Versioning.OpenApirequires Microsoft.OpenApi 2.x, which is incompatible with the .NET 11 stack. On .NET 11, use built-in route-based versioning or defer upgrading to FE v9 until the integration supports it.OpenAPI 3.1 schema examples now use
examplesarraysFastEndpoints.OpenApiwrites XML and generated polymorphic schema examples asexamples: [value]in OpenAPI 3.1. Reference-local lists retain all values, including JSON nulls. OpenAPI 3.0 uses the first entry as singularexample. Media-type, parameter, and header examples are unchanged.Use
schema.Examples = [exampleNode]in custom transformers and readexamplesin consumers. Deduplication and.httpexport also useExamples(export selects the first). Regenerate documents/clients and update snapshots/tooling expecting singular schema examples. HTTP payloads are unchanged.OpenAPI request examples no longer create endpoint-specific schemas
FastEndpoints.OpenApikeepsEndpointSummary.ExampleRequestandRequestExamplesonly on request-body media types. Models/enums differing only in endpoint examples now share schemas; intentional XML/custom schema examples and real schema differences remain. HTTP payloads are unchanged.Regenerate documents/clients and update references to removed duplicate types or changed method signatures. Read endpoint examples from the operation's request-body media-type
example/examples, not schemas/properties. Use XML or transformers for shared schema examples; copying endpoint examples onto shared schemas can restore duplication or leak examples between endpoints.OpenAPI security requirements use explicitly configured scopes
FastEndpoints.OpenApinow omits role names fromRoles()and[Authorize(Roles = "...")]in operation security requirements. Previously, these names were merged with configured scopes, which could cause OAuth2/OpenID Connect clients to request invalid scopes. Runtime role enforcement is unchanged.Applications that relied on role names being emitted as scopes must configure those scopes explicitly with the
globalScopeNamesargument ofDocumentOptions.AddAuth(). LegacyFastEndpoints.Swaggerbehavior is unchanged.... (truncated)
Commits viewable in compare view.
Updated FastEndpoints.Swagger from 8.3.0 to 9.0.0.
Release notes
Sourced from FastEndpoints.Swagger's releases.
9.0
Please join the discussion here and help out if you can.
Breaking Changes⚠️
Target .NET 10 or .NET 11 when upgrading to FastEndpoints v9
FastEndpoints now targets only
net10.0andnet11.0. Retarget .NET 8/9 apps before upgrading, or keep your current FastEndpoints version.The serializer-context-generator CLI requires .NET 10+. The Roslyn generator requires Roslyn 5.0, the .NET 10+ SDK, and Visual Studio 2026 18.0+ when using VS. Its
netstandard2.0assets (and attributes) support compiler hosts, not older app runtimes. Upgrade SDKs/IDEs first.The ASP.NET API Versioning integration is limited to .NET 10
FastEndpoints.AspVersioningremains .NET 10-only:Asp.Versioning.OpenApirequires Microsoft.OpenApi 2.x, which is incompatible with the .NET 11 stack. On .NET 11, use built-in route-based versioning or defer upgrading to FE v9 until the integration supports it.OpenAPI 3.1 schema examples now use
examplesarraysFastEndpoints.OpenApiwrites XML and generated polymorphic schema examples asexamples: [value]in OpenAPI 3.1. Reference-local lists retain all values, including JSON nulls. OpenAPI 3.0 uses the first entry as singularexample. Media-type, parameter, and header examples are unchanged.Use
schema.Examples = [exampleNode]in custom transformers and readexamplesin consumers. Deduplication and.httpexport also useExamples(export selects the first). Regenerate documents/clients and update snapshots/tooling expecting singular schema examples. HTTP payloads are unchanged.OpenAPI request examples no longer create endpoint-specific schemas
FastEndpoints.OpenApikeepsEndpointSummary.ExampleRequestandRequestExamplesonly on request-body media types. Models/enums differing only in endpoint examples now share schemas; intentional XML/custom schema examples and real schema differences remain. HTTP payloads are unchanged.Regenerate documents/clients and update references to removed duplicate types or changed method signatures. Read endpoint examples from the operation's request-body media-type
example/examples, not schemas/properties. Use XML or transformers for shared schema examples; copying endpoint examples onto shared schemas can restore duplication or leak examples between endpoints.OpenAPI security requirements use explicitly configured scopes
FastEndpoints.OpenApinow omits role names fromRoles()and[Authorize(Roles = "...")]in operation security requirements. Previously, these names were merged with configured scopes, which could cause OAuth2/OpenID Connect clients to request invalid scopes. Runtime role enforcement is unchanged.Applications that relied on role names being emitted as scopes must configure those scopes explicitly with the
globalScopeNamesargument ofDocumentOptions.AddAuth(). LegacyFastEndpoints.Swaggerbehavior is unchanged.... (truncated)
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)