Skip to content

v6.0.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 20:55
067db3d

6.0.0 (2026-10-07)

⚠ BREAKING CHANGES

  • openapi: CSharpEssentials.AspNetCore.Swashbuckle needs Swashbuckle.AspNetCore [10.2.3,11) and Microsoft.OpenApi [2.7.5,3) on every target. AddSwagger(securityScheme, assembly) is now AddSwagger(securitySchemeName, securityScheme, assembly); pass SecuritySchemes.JwtBearerSchemeName ("Bearer") for the previous behavior. SecuritySchemes.JwtBearerTokenSecurity no longer sets Reference. Custom Swashbuckle filters and MapType factories must move to the Microsoft.OpenApi 2.x API (using Microsoft.OpenApi; IOpenApiSchema; JsonSchemaType; JsonNode).
  • efcore: offset pagination returns at most 100 rows per page unless a larger cap is given. Pass maxPageSize: 500 (or int.MaxValue for the 5.x behavior) to PaginateAsync/Paginate, or call Normalize(int.MaxValue). The sync Paginate overloads gained a parameter, so assemblies compiled against 5.x must be recompiled. Custom IPaginationRequest types that override Normalize() must also override Normalize(int). See docs/migration/v5-to-v6.md.

Added

  • efcore: cap offset page size at 100 by default (74badad)
  • openapi: require Swashbuckle 10 and Microsoft.OpenApi 2 on all targets (ca352cf), closes #69

Fixed

  • openapi: keep enum type summaries off enum properties (efb7d53)