Skip to content

3.0.0

Latest

Choose a tag to compare

@adrianiftode adrianiftode released this 09 Oct 12:16
· 0 commits to 0667da578e40014981c2b9c37a65817000ea5c00 since this release

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, SystemTextJsonSerializerConfig and the Newtonsoft types now live in the Assertions.Web namespace.
  • FluentAssertions.Web, FluentAssertions.Web.v8 and AwesomeAssertions.Web go to 3.0.0; no compatibility shims.

FluentAssertions.Web 3.0.0

  • Uses the shared AssertionsWebConfig and the unified Assertions.Web contract assembly.
  • Breaking: FluentAssertionsWebConfig → AssertionsWebConfig; Newtonsoft serializer package renamed; config/serializer types moved to Assertions.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(); with NewtonsoftJsonSerializerConfig.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]).
  • ShouldSatisfy overloads report every failing assertion.
  • Stays 1.0.0-preview.x until 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