Skip to content

v2.0.0.7486

Choose a tag to compare

@I-RzR-I I-RzR-I released this 24 Mar 19:09
· 6 commits to main since this release
047e4ef

What's Changed

  • Refactor and improvements by @I-RzR-I in #2

  • [DEV] (RzR) -> Added [EndpointHost] attribute for declarative, attribute-driven endpoint registration.

  • [DEV] (RzR) -> Added AddHostEndpointsFromAssembly(Assembly) extension method for automatic discovery and registration of all [EndpointHost] - decorated handlers in a given assembly.

  • [DEV] (RzR) -> Added duplicate registration 'guard' in AddHostEndpointsFromAssembly - handlers already registered manually are skipped automatically.

  • [DEV] (RzR) -> Added AllowedMethods property to Endpoint model; routing now respects HTTP method constraints.

  • [DEV] (RzR) -> Added new AddHostEndpoint<T> overloads: with allowedMethods, with isActive + allowedMethods, and with a pre-configured Endpoint instance.

  • [DEV] (RzR) -> Added pre-compiled LINQ expression tree executor (CompiledEndpointExecutor/CompiledEndpointExecutorFactory) replacing per-request reflection for zero-overhead dispatch.

  • [DEV] (RzR) -> Improved XML documentation across all public types and members.

  • [BREAKING] (RzR) -> IEndpointHostRequestHandler.RequestProcessAsync now requires a CancellationToken cancellationToken = default parameter. Existing implementations must be updated.

  • [BREAKING] (RzR) -> IEndpointHostResult.ExecuteAsync now requires a CancellationToken cancellationToken = default parameter. Existing implementations must be updated.

Full Changelog: v1.0.2.8175...v2.0.0.7486