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

1.0.0-rc2

Pre-release
Pre-release
Compare
Choose a tag to compare
@danroth27 danroth27 released this 16 May 17:19

Features

  • Consider adding SignInResult/SignOutResult and SignIn/SignOut (#4258)
  • HttpOptionsAttribute (#4152)
  • Add Controller helper methods for StatusCode(int)/StatusCode(int,object) (#4149)
  • DefaultHtmlGenerator should attempt to properly format values for <input type="date"> and <input type="time"> (#4102)
  • StatusCode Metadata (#4101)
  • Don't expose ServiceProvider on ControllerBase (#4097)
  • RequireHttpsAttribute needs some devmode love (#4093)
  • System.Buffers + Json.NET everywhere (#4092)
  • MVC Assets from DI + Multiproject MVC Design Notes (#4089)
  • No equivalent of AddControllersAsServices() for VC's and TagHelpers (#4087)
  • Controller helper inconsistency: HttpNotFound(), Ok() (#4085)
  • Rename ICanHasViewContext to IViewContextAware (#4073)
  • SelectTagHelpers: asp-items shouldn't require/depend on asp-for. (#4047)
  • Add overload to AddControllerAsServices that uses the default controller discovery logic (#4014)
  • Add caching for Validators (#3972)
  • CacheTagHelper should not depend on IMemoryCache (#3867)
  • Add support for [Consumes] to ApiDescription (#3818)
  • Make RazorViewEngineOptions.FileProvider a list instead of a single item (#3806)
  • Make IViewComponentActivator abstraction responsible for creation of view components (#3752)
  • Allow IValidatableObject implementors and ValidationAttribute derivatives to access the IServiceProvider (#3746)
  • Revisit Controller discovery conventions (#3732)
  • Remove the IControllerFactory.ReleaseController (#3727)
  • Render placeholder tag with Display data annotation (#3723)
  • ViewLocalizer should look for resource name with the application name prefix when LocalizationOptions.ResourcesPath is not set (#3718)
  • Improve usability of HtmlLocalizer (#3716)
  • Html Helper missing RenderPartial (#3705)
  • ASP.NET MVC returns Content-Type text/plain even if application/xml was requested in case of return type is string (#3692)
  • Add extension methods for easily mapping area routes (#3636)
  • Compilation big rocks moving to dotnet CLI (#3633)
  • Limit [FromServices] to apply only to parameters (#3507)
  • Consider NoContent action result method on Controller (#3334)
  • Support relative Layout values and view paths (#3307)
  • Allow to define section or/and body without the need to render it (#3293)
  • Make ActionDescriptor accessible in IModelBinder.BindModelAsync (#3257)
  • Add a new ForbiddenResult (#3242)
  • Add more diagnostic logging in MVC (#3193)
  • Consider making IExcludeTypeValidationFilter a ModelMetadata setting (#3168)
  • Improve controller authoring experience for AddMvcCore (#3094)
  • Need support for specifying custom error message for client validation (#2969)
  • [Localization]: Fix ViewLocalizer so it works for layouts too (#2767)
  • Consider flowing IServiceProvider through the ValidationContext created in DataAnnotationsModelValidatorProvider (#1682)
  • Loosen ViewComponent invoke restrictions (#612)

Bugs Fixed

  • Filter caching is too aggressive (#4616)
  • RequireHttps should be redirect 302 (not 301) (#4578)
  • Logging ArgumentOutOfRangeException (#4575)
  • Stop registering disposable objects in our controller helper methods (#4509)
  • Model Binding goes into an infinite loop when the view model has a Func<> (#4505)
  • MVC not honoring attribute route default values for URL matching (#4447)
  • DefaultAssemblyProvider.IsCandidateLibrary should not look at types in Mvc assemblies (#4363)
  • @Html.Raw(null) stops rendering the view (#4350)
  • Redundant DependencyContext instance (#4335)
  • Fix Microsoft.AspNetCore.Mvc.Dnx to avoid referencing System.IO/Reflection/Runtime (#4334)
  • Modify RoslynCompilationService to generate portable pdbs (#4330)
  • IFormFile model binder suppressing validation for any non-null result. (#4329)
  • CandidateAssemblies should always include the entry assembly? (#4318)
  • UrlResolutionTagHelper doesn't work with TagHelpers that run before and supress output. (#4317)
  • Move AuthorizeFilter and CORS filters into a user friendly namespace (#4310)
  • Remove properties from ResourceExecutingContext (#4290)
  • JsonInputFormatter fails to use custom SerializerSettings (#4270)
  • Attribute route wildcard does not work (#4256)
  • CacheKey equatable object in CacheTagHelper (#4246)
  • Include Assembly-Qualified Type Name in ActionDescriptor.DisplayName (#4237)
  • Remove AuthorizationFilterAttribute (#4233)
  • Move IUrlHelper to an abstractions assembly (#4214)
  • RazorCompilationService should throw a meaningful error when a user produces an application without preserveCompilationContext (#4202)
  • Stop burying activation errors in CollectionModelBinder (#4193)
  • Consider storing a Task<> in cache tag (#4147)
  • DependencyContextAssemblyProvider assumes the entry assembly has a .deps.json file (#4136)
  • Changes to property ModelMetadata provided by a ModelMetadataDetailsProvider are lost for Nullable in Display/Edit templates when DataType is used to change the template (#4116)
  • RequireHttpsAttribute doesn't change the port (#4112)
  • AddControllersAsServices should add controller types to the existing ControllerTypeProvider instead of replacing (#4086)
  • <link> and <script> tag helpers do not encode correctly (#4083)
  • Should we throw in our formatters if the list of SupportedMediaTypes is empty? (#4050)
  • Figure out ControllerModel.AttributeRoutes (#4043)
  • Remove Html.JavaScriptEncoder property (#4033)
  • Add a TagHelper for areas in links (#4013)
  • Controllers do not pass arguments to ViewViewComponentResults. (#4004)
  • Remove JsonViewComponentResult (#3992)
  • AuthorizationContext conflicts with type in Microsoft.AspNet.Authorization (#3979)
  • ModelExpression equivalent of m => m: Better support asp-for="@Model" (#3978)
  • Consider InputFormatter behavior when we can't read the charset (#3961)
  • ViewComponentDescriptor.Type should be a TypeInfo instance instead of a Type instance (#3952)
  • Add dependency on System.Runtime.Serialization.Primitives to make up for JSON.NET not including it (#3946)
  • Suggestion: error message indicates layout instead of current view. (#3930)
  • Improve MVC error when MVC services aren't registered (#3907)
  • Null passed as arguments to controller method parameters when no InputFormatter matches (#3874)
  • BeginForm and FormTagHelper should only include an antiforgery token for GET (#3868)
  • Add doc comments for filter attributes (e.g. RequireHttpsAttribute) (#3851)
  • Logged action execution time is wrong (#3849)
  • Func<object,object> as Model not working anymore (#3825)
  • DataAnnotation validation ignored (#3774)
  • FormatFilter overrides content type set explicitly by the developer (#3762)
  • Add logging for view compilation (#3755)
  • Make extending IUrlHelper easier by exposing context info (#3749)
  • Layout set from base RazorPage is overwritten (#3745)
  • RC1: Model validation reports invalid models as valid when an a controller action contains a CancellationToken parameter (#3743)
  • AddMvc's setupAction is called twice (#3679)
  • Model binding sometimes gives NREs (#3676)
  • Make TemplateRoute fields protected (#3669)
  • Remove TextWriter.ToString from RazorPage (#3668)
  • HtmlLocalizer and ViewLocalizer mishandle arguments; pass IHtmlContent values to HTML encoder (#3659)
  • Simplify RouteValueProvider/RouteValueProviderFactory (#3629)
  • ModelMetadata.ConvertEmptyStringToNull meaning in codebase (#3593)
  • TryValidateModel throws exception when unit tested (#3586)
  • CacheTagHelper needs to buffer before storing a value in the cache (#3575)
  • JsonInputFormatter doesn't log errors (#3557)
  • HttpMethod case sensitivity (#3551)
  • RangeAttribute should be localized with 3 parameters (#3537)
  • Localization of CompareAttribute should be localized (#3527)
  • TempData negative long values do not round trip correctly (#3524)
  • Consider adding AddDataAnnotationsLocalization() overload to IMvcCoreBuilder (#3517)
  • RC2 Linking to invalid controller/action stops request (#3512)
  • Removing formatters on a given type only works on collections in MVC options (#3503)
  • ViewResultExecutor logs partial view messages for regular views (#3502)
  • Expose ViewResult.Model (#3495)
  • FormFileModelBinder should support IFormFileCollection (#3482)
  • Razor page's are not thread safely cached. (#3469)
  • LinkTagHelper's fallback meta tag isn't W3C compliant (#3449)
  • DataAnnotationsClientModelValidator should localize the ErrorMessage, not the DisplayName (#3434)
  • Invalid media type 'text/plain; charset=utf-8' (#3433)
  • Remove RouteKeyHandling.CatchAll (#3430)
  • Make ModelBinderAttribute.BindingSource setter protected (#3428)
  • RegularExpressionAttribute generates wrong data-val-regex message (#3414)
  • Select tag helper with static options (#3386)
  • Model binding order (#3361)
  • MVC Controller Response - Wrong ContentType (#3245)
  • Extend from PR #3209 to cover other framework-provided messages (#3215)
  • Clean up logic for encoding in ViewResult and friends (#3177)
  • IViewComponentHelper should return IHtmlContent not HtmlString (#3152)
  • Content negotiation fails in subsequent requests accepting same media type (#3140)
  • Remove HtmlString special cases (#3123)
  • UrlHelper gets confused when multiple actions have the same name (#3077)