Repository navigation
Releases: adrianiftode/Assertions.Web
Releases · adrianiftode/Assertions.Web
Release list
3.0.0
Assertions.Web 3.0.0
3.0 consolidates the shared configuration and the Newtonsoft.Json serializer into
flavour-agnostic packages and adds a first-class Shouldly flavour. The assertion
APIs and failure output are unchanged — the breaking changes are package/type renames.
Breaking changes (3.0)
- Config holder:
FluentAssertionsWebConfig/AwesomeAssertionsWebConfig→AssertionsWebConfig. - Serializer package:
FluentAssertions.Web.Serializers.NewtonsoftJson/AwesomeAssertions.Web.Serializers.NewtonsoftJson→Assertions.Web.Serializers.NewtonsoftJson. AssertionsWebConfig,ISerializer,DeserializationException,SystemTextJsonSerializerConfigand the Newtonsoft types now live in theAssertions.Webnamespace.FluentAssertions.Web,FluentAssertions.Web.v8andAwesomeAssertions.Webgo to 3.0.0; no compatibility shims.
FluentAssertions.Web 3.0.0
- Uses the shared
AssertionsWebConfigand the unifiedAssertions.Webcontract assembly. - Breaking:
FluentAssertionsWebConfig→AssertionsWebConfig; Newtonsoft serializer package renamed; config/serializer types moved toAssertions.Web. - Assertions (
Should(),Be200Ok,BeAs,Satisfy,Match, headers, deserializers) are unchanged.
FluentAssertions.Web.v8 3.0.0
- FluentAssertions v8 line, same consolidation as above.
- Breaking: same config-holder, serializer-package and namespace renames.
AwesomeAssertions.Web 3.0.0
- Same consolidation as FluentAssertions.Web.
- Breaking:
AwesomeAssertionsWebConfig→AssertionsWebConfig; serializer package rename; namespace moves.
Assertions.Web.Serializers.NewtonsoftJson 3.0.0
- New single Newtonsoft.Json serializer for the whole family.
- Usage unchanged in shape:
AssertionsWebConfig.Serializer = new NewtonsoftJsonSerializer();withNewtonsoftJsonSerializerConfig.Options. - Breaking: replaces the two flavour-specific serializer packages; types moved to
Assertions.Web.
Shouldly.Web 1.0.0-preview.2 (prerelease)
- New Shouldly v5 flavour: status-code, content, satisfy, headers, location and bad-request assertions in native Shouldly style (
customMessage+[CallerArgumentExpression]). ShouldSatisfyoverloads report every failing assertion.- Stays
1.0.0-preview.xuntil Shouldly 5.0.0 is stable.
HttpMessageFormatter 2.0.6
- Patch, no public API change: readme refreshed (it is the shared renderer behind every flavour) and an internal link updated after the repository rename.
Full changelog: 2.0.5...3.0.0
2.0.5
What's Changed
- Independent versions by @adrianiftode in #165
- Add configurable MaximumReadableBytes via HttpResponseFormatterOptions by @adrianiftode in #166
Full Changelog: 2.0.4...2.0.5
2.0.4
What's Changed
- Fail loudly instead of silently defaulting when deserializing JSON objects into tuples by @adrianiftode in #163
- Add Be418ImATeapot assertion for HTTP status 418 by @adrianiftode in #162
Full Changelog: 2.0.3...2.0.4
2.0.3
What's Changed
- Fix HttpMessageFormatterPackage nuget upload by @adrianiftode in #158
- Add explicit dependency on HttpMessageFormatter, even if transitive already by @adrianiftode in #159
Full Changelog: 2.0.2...2.0.3
2.0.2
What's Changed
- Replace legacy WebApi.Client multipart parsing with modern WebUtilities by @adrianiftode in #156
Full Changelog: 2.0.1...2.0.2
2.0.1
What's Changed
- Remove confusion from Bad Request failure message by @adrianiftode in #152
- Add HaveLocation, NotHaveLocation and Be308PermanentRedirect assertions by @adrianiftode in #153
- Fix some grammar by @adrianiftode in #154
- Hide WebApi.Client compile assets from package consumers by @jetersen in #155
New Contributors
Full Changelog: 2.0.0...2.0.1
2.0.0
What's Changed
- Extract the Http Message Formatter into its own package by @adrianiftode in #151
Full Changelog: 1.9.9...2.0.0
1.9.9
What's Changed
- Fix OnlyHave error issue with root like properties by @adrianiftode in #149; note only FluentAssertions based packages were published, AwesomeAssertions ones left for a later date
- Refactor appveyor by @adrianiftode in #150
Full Changelog: 1.9.6...1.9.9
1.9.6
1.8.0
What's Changed
- Add NET9.0 Sample by @adrianiftode in #131
- Add support for Fluent Assertions v8 by @adrianiftode in #132
Full Changelog: 1.7.0...1.8.0