Skip to content

5.0

Compare
Choose a tag to compare
@i4004 i4004 released this 05 Jun 11:39
· 25 commits to master since this release
c7883f6

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
  • UseSimplifyWebWithoutRegistrations and UseSimplifyWebNonTerminalWithoutRegistrations IApplicationBuilder methods
  • ISimplifyWebSettings override via RegisterSimplifyWebSettings
  • IConfiguration override via OverrideConfiguration or RegisterConfiguration
  • 400 special controller attribute

Changed

  • UseSimplifyWeb and UseSimplifyWebNoNTerminal now require passing true to automatically register it's own bootstrapper registrations
  • RegisterSimplifyWeb now extension method ofIDIRegistrator instead of IDIContainerProvider, custom internal IDIContainerProvider can be passed via method parameter, if required
  • Internal IConfiguration registration override via RegisterSimplifyWeb
  • Static files disabled by default (when disabled, static files IOC container registrations will be skipped)
  • Environment split to Environment and DynamicEnvironment
  • V1 controllers RouteParameters defaulted to empty ExpandoObject to avoid NRE
  • SimplifyWebSettings loading thru binder
  • Controllers search on execution optimized
  • XML comments revisited/updated

Fixed

  • Multiple one route controllers handling
  • Multiple middlewares having same IsTerminal status

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