Skip to content

Releases: I-RzR-I/EndpointHostBinder

v3.0.0.733

Choose a tag to compare

@I-RzR-I I-RzR-I released this 06 Jun 23:13
6165b2f

What's Changed


  • Renames the assembly, root namespace, and NuGet package from EndpointHostBinder to RzR.Infrastructure.EndpointHosting, expands the target matrix, and adds a large feature set on top of the existing controller-less endpoint middleware.
  • Add EndpointHostOptions: configurable PathComparison (default OrdinalIgnoreCase) and PassThroughOnNoExecutor (default true), wired via RegisterEndpointHostBuilder(Action).
  • Route parameters: templated paths (e.g. /users/{id}) with deterministic specificity (literal > highest LiteralCount > registration order); captured values exposed through HttpContextRouteValuesExtensions.
  • Self-contained OpenAPI 3.0.1 document generation via UseEndpointHostOpenApi(path, title, version) - no third-party generator.
  • Built-in result types via the EndpointResults factory (Ok, Ok, Json, Text, NoContent, NotFound, StatusCode, Problem).
  • Configurable handler service lifetime on AddHostEndpoint and AddHostEndpointsFromAssembly (endpoint metadata stays singleton).

Full Changelog: v2.0.0.7486...v3.0.0.733

v2.0.0.7486

Choose a tag to compare

@I-RzR-I I-RzR-I released this 24 Mar 19:09
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

v1.0.2.8175

Choose a tag to compare

@I-RzR-I I-RzR-I released this 18 Oct 19:46
73400b9
Merge pull request #1 from I-RzR-I/feacture/UpdateLibVersion

Update package version

v1.0.1.5799

Choose a tag to compare

@I-RzR-I I-RzR-I released this 22 Apr 13:20
Init commit