Repository navigation
v0.41.0-rc1000
Pre-release
Pre-release
·
62 commits
to main
since this release
Breaking changes
Hardened.Validation.SourceGeneratoris removed. Replace<PackageReference Include="Hardened.Validation.SourceGenerator" />with<PackageReference Include="ValidationModules.SourceGenerator" Version="1.2.0" />. A nested type's validator is renamed fromInnerValidatortoOuter_InnerValidator. HRDV002, HRDV003 and HRDV004 are gone. A project with two[HardenedModule]classes now reports VM6001 (#432).- ValidationModules 1.2.0 changes
[StringLength].[StringLength(min, max)]no longer compiles, and[StringLength(n)]is now a maximum ofnwhere it was a minimum. A value that times out a pattern answers 400 instead of 500 (#431). - Every entity tag
[ConditionalGet]computes changes, because tags are now SHA-1. A client holding an old tag gets a 200 with the new tag on its first conditional request after the upgrade, and 304s after that. A response cache store an application wrote that outlives the deploy replays each entry's old tag until the entry expires (#435). IOFilterProviderandAsyncEnumerableIoFiltereach gained an optionalIMemoryStreamPoolconstructor parameter. Source that calls them compiles unchanged. A binary compiled against 0.40.0 that calls either constructor must be rebuilt (#434).
What's Changed
- Move repeated project settings into props files, pack the solution, and prune redundant references by @ipjohnson in #430
- Take ValidationModules 1.2.0 by @ipjohnson in #431
- Replace Hardened.Validation.SourceGenerator with ValidationModules' generator by @ipjohnson in #432
- Write each streamed item to the transport as one write by @ipjohnson in #434
- Tag conditional responses with SHA-1 and hold the body in a pooled MemoryStream by @ipjohnson in #435
- Release 0.41.0-rc1000 by @ipjohnson in #436
Full Changelog: v0.40.0-rc1000...v0.41.0-rc1000