5.0-pre01
Pre-release
Pre-release
Breaking
- Internal framework restructure and rewrite (http request and response handling related functionality and metadata rewritten from scratch). Can affect any customizations to related functionality
Added
- Version 2 controllers
- Built-in Json response using System.Text.Json
- Built-in JSON model binder (enabled by default)
- Switchable measurements (StopwatchProvider), disabled by default
Removed
- .NET Framework 4.8 explicit support
UseSimplifyWebWithoutRegistrationsandUseSimplifyWebNonTerminalWithoutRegistrationsIApplicationBuildermethodsISimplifyWebSettingsoverride viaRegisterSimplifyWebSettingsIConfigurationoverride viaOverrideConfigurationorRegisterConfiguration- 400 special controller attribute
Changed
UseSimplifyWebandUseSimplifyWebNoNTerminalnow require passingtrueto automatically register it's own bootstrapper registrationsRegisterSimplifyWebnow extension method ofIDIRegistratorinstead ofIDIContainerProvider, custom internalIDIContainerProvidercan be passed via method parameter, if required- Internal
IConfigurationregistration override viaRegisterSimplifyWeb - Static files disabled by default (when disabled, static files IOC container registrations will be skipped)
Environmentsplit toEnvironmentandDynamicEnvironment- V1 controllers RouteParameters defaulted to empty ExpandoObject to avoid NRE
SimplifyWebSettingsloading thru binder- Controllers search on execution optimized
- XML comments revisited/updated
Fixed
- Multiple one route controllers handling
- Multiple middlewares having same
IsTerminalstatus
Dependencies
- Switched to explicit Simplify.System 1.6.2 instead of internal Simplify.System.Sources
- Microsoft.Extensions.Configuration.Json bump to 8.0.0
- Microsoft.Extensions.Configuration.Binder 8.0.1 added
- Simplify.Templates bump to 2.0.2
- Internal Simplify.Xml.Sources bump to 1.4