Skip to content

Changelog

Andrew Bullock edited this page Jan 22, 2019 · 6 revisions

0.11

  • Updated core libs to netstandard2.0
  • split out Less, Sass and YUI into separate assemblies, you'll need to register your ICssPreprocessor and IJavascriptCompressor of choice into your container yourself

0.10

  • Removed HtmlHelper and UrlHelper, extension methods should move from these to RazorViewPage, so Html.Lol() and Url.Lol() become this.Lol().

Useful things that were on Html/UrlHelper were/are, and have moved to:

this.Html.ContextItems -> this.PipelineContext.Items
this.Url.RequestUrl -> this.PipelineContext.Request.Url
this.Html.RequestUrl -> this.PipelineContext.Request.Url  
this.Html.ViewData -> this.ViewData
this.Html.ViewResult -> this.ViewResult
this.Html.Raw -> this.Raw
this.Html.HtmlEncode -> this.HtmlEncoder.Encode
this.Url.Encode -> System.Net.WebUtility.UrlEncode

0.9

  • Updated to .NET 4.7.2
  • Updated from System.Web.Razor to Microsoft.AspNetCore.Razor
  • Updated to Serilog 2.x
  • Updated to Newtonsoft.Json 11.x
  • IRequest.ContentType changed from a string to a parsed ContentType type
  • ViewRenderingException now contains the Razor source and the generated CSharp for easier debugging
  • Compiled views now have a better/more accurate namespace and type name

Potential breaking changes to be aware of

  • IHtmlString replaced with IHtmlContent
  • Html encoding - especially inside HTML attributes

0.4.44

  • Added AreaStaticAssetHandler

0.2.0

  • Fixed #1
  • Fixed #4
  • Fixed #6
  • Renamed IPreHandlerExecutionPipelineOperator to IPreResultPipelineOperator
  • Renamed IPostHandlerExecutionPipelineOperator to IPostResultPipelineOperator

0.1.x

  • Initial import from UNiDAYS codebase

TODO

Clone this wiki locally