Repository navigation
Releases: I-RzR-I/EndpointHostBinder
Release list
v3.0.0.733
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
What's Changed
-
[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
AllowedMethodsproperty toEndpointmodel; routing now respects HTTP method constraints. -
[DEV] (RzR) -> Added new
AddHostEndpoint<T>overloads: withallowedMethods, withisActive + allowedMethods, and with a pre-configuredEndpointinstance. -
[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.RequestProcessAsyncnow requires aCancellationToken cancellationToken = defaultparameter. Existing implementations must be updated. -
[BREAKING] (RzR) ->
IEndpointHostResult.ExecuteAsyncnow requires aCancellationToken cancellationToken = defaultparameter. Existing implementations must be updated.
Full Changelog: v1.0.2.8175...v2.0.0.7486
v1.0.2.8175
Merge pull request #1 from I-RzR-I/feacture/UpdateLibVersion Update package version