Skip to content

Tags: modabas/ModEndpoints

Tags

1.3.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Dev (#36)

* - cleanup code
- clear component registry after mapping components

* - update deps to latest

* - bump version

1.3.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Dev (#35)

* - make component registry behaviour consistent with how services are added to service collection (TryAdd vs. Add)

* - make component registry async local

* - fix component registration when add DI method is called multiple times

* - code cleanup

* - make testserver project include additional modules

* - bump version

1.3.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Dev (#34)

* - prune unused preperties
- update docs

* - configuration of endpoints and route groups no longer resolves components from service provider, instead uses RuntimeHelpers.GetUninitializedObject and DOES NOT resolve any of the componenets in ctor dependency injection.
- remove unnecessary dependency

* - add info to docs on dependencies resolved from constructor not being available during configuration.

* - bump version

1.3.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Dev (#31)

* - if an endpoint or route group is mapped multiple times in its configuration method, configuration steps continue to run for each of them instead of the last one
- code cleanup

* - code cleanup

* - add summary to di methods.

* - add a discriminator value to configuration context for endpoints and routes mapped multiple times. A configuration step of any component cannot run twice with same self discriminator.

* - add ComponentDiscriminator as scoped so it will be disposed after Map scope completes

* - bugfix: prevent adding default request validation service to DI multiple times.

* - add options to throw or not during service endpoint DI registration

* - service endpoints are now registered to DI as keyed service with request type as key, removing the need for serviceendpointregistry and related checks/options

* - code cleanup

* - update deps

* - added back check to ThrowOnDuplicateServiceEndpointRequest during DI registration

* - bugfix: DI registration of service endpoints with streaming response

* - refactor endpoint DI registration code for clarity

* - code cleanup

* - update test server configuration

* - rename some options
- update docs

* - bump version

1.3.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Dev (#30)

* - seperate lifetime configuration setting for endpoints and route group configurators

* - **breaking change** major overhaul of configuration and registration

* - continue configuration overhaul

* - add set accessor to ConfigurationPropertyBag

* - refactor service provider name in configuration context

* - code cleanup

* - rename various classes because naming things is hard

* - move configuration override func parameters out of settings

* - configurator interfaces no longer implement corresponding configuration setting interfaces
- remove configuratoion setting interfaces and replace with configuration parameter classes

* - prune unused code

* - prune unused code

* - replace abstract override configuration properties with methods in both endpoint and route group configurators

* - update docs

* - update docs

* - rename OverrideConfiguration methods to PostConfigure

* - bump version

1.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Dev (#28)

* - abstract fluentresult validation dependency in base endpoints into a IRequestValidation abstraction and provide default implementation using fluent validation.

* - add options to di service registration methods
- add option to disable default request validation via options
- rename classes for clarity

* - code cleanup

* - add new benchamrk results

* - update deps to latest

* - fix doc error
- bump version

1.1.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Dev (#26)

* - Removed try block to catch and wrap exception in a Result object in DefaultServiceChannel SendAsync methods. Leave it to caller to handle exceptions.

* - simplify empty interface definitions

* - add Open API documentation information to docs

* - change path of OpenApiDocumentation.md

* - add WebResultEndpoint Response Mapping doc

* - update individual readme.md asset files for each package

* - seperate documentation for service endpoint clients

* - bump version

1.1.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Service endpoint with streaming response (#25)

* - add implementation for ServiceEndpointWithStreamingResponse
- add client side implementation for ServiceEndpointWithStreamingResponse
- update ServiceEndpoints ListStores sample and sample client app

* - get rid of new interfaces and classes for streamed response serializer and channel, instead add to existing interfaces and implementations. ** this is a breaking change

* - change the response structure for service endpoints with streaming response to StreamingResponseItem

* - code cleanup

* - new conversions and implicit operators for StreamingResponseItem

* Refactor remote service handling and response types

- Renamed deserialization methods in `IServiceChannelSerializer` for consistency.
- **breaking change** Removed `ServiceEndpointDefinitions.cs` and migrated its content to `RemoteServiceDefinitions.cs`.
- Enhanced `StreamingResponseItem` records for better default handling. Added/removed some implicit operators
- Introduced `RemoteServiceDefinitions` and `StreamingResponseItemDefinitions` for improved structure.

* - `StreamingResponseItem` from using a primary constructor to regular ctor. ResponseType property getter is customized to return default value if left null during construction.

* - rollback changes to StreamingResponseItem

* - add docs for ServiceEndpointWithStreamingResponse

* - bump version

1.0.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Async enumerable minimal endpoint (#22)

* - add MinimalEndpointWithStreamingResponse base class to handle IAsyncEnumerable<T> response types
- add documentation
- simplify and cleanup code
- add more examples: for streaming response and file download

* - add tests for MinimalEndpointWithStreamingResponse

* - code cleanup

* - update deps

* - add WeatherForecastWebApi project info under Samples section in docs

* - bump version

1.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
- release version 1.0.0 (#19)