Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

6.0.0-beta4

Pre-release
Pre-release
Compare
Choose a tag to compare
@danroth27 danroth27 released this 29 Apr 18:06

Bugs Fixed

  • Adding @using in _GlobalImports shows squigglies in VS (#2271)
  • Selection regressions compared to MVC 5 (#2240)
  • Tooling: Directives are not inheriteted via _GlobalImport.cshtml (#2213)
  • ModelStateDictionary contains garbage entries for DateTimeOffset[] (#2192)
  • RazorPage.User should be ClaimsPrincipal (#2167)
  • Collections are not correctly model-bound (#2129)
  • Ensure JavaScript in LinkTagHelper is defensively using DOM APIs (#2088)
  • TryValidateModel and TryUpdateModel don't revalidate the model if model is already validated after model binding (#2071)
  • Script & Link tag helpers should do explicit ordering of globbed path results (#2062)
  • Implement CanReadType in InputFormatter (#1974)
  • Change LinkTagHelper to activate ILogger<> directly (#1948)
  • FromHeaderAttribute with Name doesn't work on class properties (#1929)
  • Remove AddMvc overload with default parameter (#1915)
  • ModelStateDictionary.CanAddErrors and MaxAllowedErrors do not match their descriptions (#1891)
  • A POCO parameter with an exact name match in a value provider fails to model bind (#1865)
  • ObjectResult with status code and null value does not produce the status code (#1809)
  • Case sensitive filesystems and Razor view searches (#1736)
  • ModelState Errors for FormatException are not converted into user friendly (invalid) messages. (#1728)
  • InputTagHelper renders a closing tag for type="submit" and type="button" (#1571)
  • List of assembly names in DefaultAssemblyProvider needs to be kept up to date (#1529)
  • SelectTagHelper does not handle multiple="" correctly (#1516)
  • Select helpers unable to resolve slightly-complex expressions (#1468)
  • [HiddenInput] and [UIHint] ignored when choosing @Html.Display() and @Html.Editor() templates (#963)
  • AntiForgery: CookieName should be based off from application name/path (#584)
  • [HTML helpers] Do not set Selected in user's SelectListItem instances (#524)

Features

  • Transition MVC TagHelpers to use TargetElementAttributes attribute targeting. (#2195)
  • Rename ConfigureMvcOptions to just ConfigureMvc (#2169)
  • Tag Helper initializers (#2162)
  • Script & Link tag helpers should support generating cache-busting file version hash in URL (#2141)
  • Consider bringing back HttpUnauthorizedResult (#2111)
  • Enable @tagHelperPrefix to be inherited by _GlobalImport.cshtml (#2110)
  • Make Unobtrusive Ajax available on Bower (#2021)
  • Remove IRazorFileProviderCache and rely on file expiration triggers to file change expiry (#1969)
  • Url.RouteUrl can be simpler for common patterns. (#1966)
  • Log the current view path in LinkTagHelper log messages (#1949)
  • Expose path of currently executing view (#1940)
  • Consider changing Attribute Route behavior with areas + ambient values (#1913)
  • Model binding to Controller Properties (#1902)
  • TryUpdateModel: Determine model type at runtime (#1837)
  • Use CRC32 instead of MD5 for hashing the file content. (#1800)
  • Add extension methods to IEnumerable<OptionsDescriptor> (#1787)
  • Add ModelMetadata.AdditionalValues property bag extensibility point (#1758)
  • Proposal: Simple API for configuring Json and Xml Formatters to Preserve References (#1744)
  • ViewDataDictionary does not get activated via Activate attribute in TagHelpers (#1732)
  • Use the file system watcher to expire the files in razor file cache (#1708)
  • ControllerActivator should be able to use controllers registered as services (#1707)
  • TagHelper and RazorPreCompileModule don't work in the same project and reference projects (#1693)
  • Consider ConfigureMvc/Routing extensions (#1669)
  • Stream Formatter (#1653)
  • LinkTagHelper support for file globbing patterns in href (#1581)
  • Create a Tag Helper with support for fallback sources (#1580)
  • ScriptTagHelper support for file globbing patterns in src (#1577)
  • Tag Helpers: Create an 'environment' Tag Helper (#1553)
  • Add a way to add data to ActionDescriptor.Properties from ApplicationModel (#1494)
  • Consider factoring of ModelMetadata (#1477)
  • Consider some cleanup on MvcOptions.ApplicationModelConventions (#1445)
  • Allow customizing what constitutes a controller for POCO controllers (#1274)
  • Provide a base type like InputFormatter for easy creation of input formatters (#1222)
  • [implementation] Simplify how ModelMetadata gets defaults and is extended; eliminate CachedModelMetadata<TPrototypeCache> (#1034)
  • Consider support for binding FormCollection as a parameter (#979)
  • [Display(Order={i})] ignored when sorting validation summary messages and properties in @Html.Display() / @Html.Editor() object templates (#964)
  • Consider redesigning CompilationResult so it does not throw when CompiledType is accessed (#955)
  • Make HTML helper parameter names consistent (#944)
  • Bring back HttpNotFound(string statusDescription) (#842)
  • Model binding - parameter name aliasing (#563)
  • CORS (#498)
  • TempData (#455)
  • Add Html.GetEnumSelectList() helpers (#438)
  • Support RemoteAttribute, including its client-side validation (#439)
  • Reconsider routing behavior where URL generation silently fails when route would point to invalid action (#302)