v7.6.0-dev.10
Pre-release
Pre-release
·
1913 commits
to master
since this release
-
Core
- Implemented OperationResult.Exceptions/Messages.Clear().
- Breaking change: Renamed TypeDisplayAttribute to DisplayInfoAttribute and targeted all member infos.
- Added ElementInfoHelper.GetDisplayInfo(elementInfo) to extract annotation based display information.
- Added IElementInfo.GetDisplayInfo() to let the implementation decide where from the display information is retrieved. Defaults to ElementInfoHelper.GetDisplayInfo(this).
- Refactored Kephas.Reflection.Localization to take advantage of the GetDisplayInfo new methods.
- Breaking change: Renamed ambientServices.WithCompositionContainer to ambientServices.BuildCompositionContainer to provide a more clear semantics about what the methods do (they build and set the container to the ambient services).
-
Extensions.Hosting
- Added classes for host configuration support before app configuration.
- Added HostBuilderExtensions (renamed from HostBuilderFactory) to configure the host builder.
-
Application
- Added ambientServices.RegisterAppArgs(args) extension method.
-
Workflow
- Added IActivityContext.Timeout and considered this in the WorkflowProcessor.
- Added IActivityContext.Timeout(timeout) extension method.
- DefaultWorkflowProcessor.GetExecutionArgumentsAsync returns now always a non-null value.
- Implemented a better strategy for DefaultWorkflowProcessor.ExecuteActivityAsync.
-
Scheduling
- Added TriggerBase.ToString(). Also, OnFire() does not fire the event if the trigger is disabled.
- Added IScheduler.GetScheduledJobs/GetRunningJobs methods.
- Added Kephas.Scheduling.Endpoints project.
-
Messaging
- Made MessageExtensions.ToMessage and ToEvent public.
-
Commands
- New: Extracted the commands infrastructure from Kephas.Application.Console to Kephas.Commands and Kephas.Commands.Messaging. They could be used, for example, in other kinds of applications, like ASP.NET Core.
-
Serialization.NewtonsoftJson
- Added IJsonSerializerSettingsProvider.ConfigureJsonSerializerSettings(settings) to support ASP.NET core scenarios.
-
Application.AspNetCore
- Fixed AspNetCore project description.
- Added WebHostBuilderExtensions
- webHostBuilder.UseAmbientServices() uses the registered information to configure the web host builder, like the application name.
-
All
- Added more nullability constraints.