Skip to content

Releases: modabas/ModEndpoints

2.0.6

26 Mar 13:00
86018c8

Choose a tag to compare

What's Changed

  • Update dependencies.
  • Utilize new .AsResult() extension method for ModResults.

Full Changelog: 2.0.5...2.0.6

2.0.5

23 Mar 11:07
c40da55

Choose a tag to compare

What's Changed

  • Update dependencies,
  • Add implicit converters to convert FailureResult to WebResult and WebResult<TValue>,
  • Update samples and documentation

Full Changelog: 2.0.4...2.0.5

2.0.4

02 Mar 09:03
89899a8

Choose a tag to compare

What's Changed

  • Mark IPreferredSuccessStatusCodeCache as internal, after moving to WebResult response structure in WebResultEndpoints, this interface is used only internally.
  • Update dependencies to latest, including ModResults 1.3.0 which has reduced field initialization for basic Result objects (Result with no error or statement messages)

Full Changelog: 2.0.3...2.0.4

2.0.3

04 Feb 10:40
20e773f

Choose a tag to compare

  • Use Configureawait(false) for async calls,
  • Use WithCancellation() and ConfigureAwait(false) for await foreach clauses

What's Changed

Full Changelog: 2.0.2...2.0.3

2.0.2

28 Jan 16:11
1b9508f

Choose a tag to compare

  • Two new WebResult types has been added for WebResultEndpoints:
    i. ServerSentEventsWebResult: Add server sent events support to web result endpoints for .net 10 and greater,
    ii. WebResultWithStreamingResponse: Similar to a Minimal API with IAsyncEnumerable<> response.
  • Remove default implicit conversion between WebResult and WebResult
  • Remove ToWebResult() extension method from WebResult
  • Don't inject HttpContextAccessor as part of ModEndpoints DI methods, not needed

What's Changed

Full Changelog: 2.0.1...2.0.2

2.0.1

30 Dec 09:39
280c9d5

Choose a tag to compare

  • Per endpoint request validation customization
  • Add endpoint configuration metadata as early as possible and add only one instance
  • Update request validation documentation
  • Some performance optimizations
  • Internal refactoring

What's Changed

Full Changelog: 2.0.0...2.0.1

2.0.0

26 Dec 09:23
fe5e3c8

Choose a tag to compare

There are a lot of breaking changes in this version. Like:

  • Endpoints and route groups Configure method signatured have changed
  • WebResultEndpoint response structure have been overhauled. Their Handler methods now return WebResult instead of Result
  • Request validation has been restructured, option names have changed.
  • Lots of classes and interfaces have been marked as internal, sealed, removed, renamed, converted to record etc.

Hopefully these changes will provide a solid foundation for future. Please refer to updated documentation.

What's Changed

Full Changelog: 1.4.0...2.0.0

1.4.0

16 Oct 08:35
73a031e

Choose a tag to compare

What's Changed

Full Changelog: 1.3.5...1.4.0

1.3.5

21 Jul 07:29
69d26c9

Choose a tag to compare

What's Changed

Full Changelog: 1.3.4...1.3.5

1.3.4

13 Jun 08:19
2dfda46

Choose a tag to compare

What's Changed

Full Changelog: 1.3.3...1.3.4