This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
Releases: aspnet/Mvc
Releases · aspnet/Mvc
6.0.0-beta4
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 forDateTimeOffset[]
(#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
andMaxAllowedErrors
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 handlemultiple=""
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'sSelectListItem
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; eliminateCachedModelMetadata<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)
6.0.0-beta3
Features
- CacheTagHelper should flow EntryLink to inner content (#1867)
- [ControllerUnitTest] Make the controller class not to throw an exception for simple unit tests (#1771)
- Incremental compilation of razor in precompilation (#1725)
- Add support for
@removeTagHelpers
inheritance from _ViewStart files (#1657) - Logging: Assembly Discovery (#1562)
- Tag Helpers: Create a 'cache' Tag Helper (#1552)
- DefaultControllerActivator.Activate needs to be virtual (#1526)
- Add ModelBinderAttribute (#1394)
- Add some WebAPI-like action results/helpers to Controller (#1378)
- Add HttpError or similar type to Core (#1377)
- Tag Helpers: add support for
@
in a tag helper attribute value (#1253) - Ability to stash extra metadata on the ActionDescriptor (#1095)
- Extract an interface for
RouteConstraintAttribute
(#998) - Add a new filter stage for modifying input formatter collection. (#991)
- Revive BadRequest() (#888)
- API Explorer: Expose Parameter Binding info (#886)
- Enable FromBody, FromForm, FromQuery, FromHeader, FromServices and FromRouteData attributes for model properties . (#801)
- Consider allowing RouteDataActionConstraintAttribute on methods (#676)
- Action results pattern (#657)
- File upload (#582)
- Support output caching (#536)
- Augment binding action parameters: Introduce FromHeader and FromServices at action parameter level. (#38)
Bugs Fixed
- Adding semicolon after @Inject statement results in IIS crashing and failed codegen. (#1857)
- Possible FileUpload bug (#1840)
- ElementalValueProvider performs incorrect prefix check in ContainsPrefix (#1814)
- Properties marked with
[FromHeader]
attribute do not use default values when a header is not present (#1722) - Tag Helpers: Change
ValidationSummaryTagHelper
's property toValidationSummary
type (enum
not astring
) (#1685) @Html.CheckBoxFor()
falls back to values inViewDataDictionary
(#1483)- ContentResult ignores ContentEncoding (#1428)
- Tag Helpers: Generation for
ModelExpression
is incorrect when indexing (#1345) - RoslynCompilationService needs to consume compilation settings from host (#871)
6.0.0-beta2
Features
- Add [FromHeader] for model binding (#1671)
- Move authorization filters to be the first set of filters to run (#1652)
- Tag Helpers: Add "asp-" prefix to all custom attributes on Tag Helpers that target traditional HTML elements (#1618)
- Make Flush work without requiring curly braces (#1547)
- Tag Helpers: Change default tag helpers and extensions to utilize new case insensitive attributes on TagHelperOutput. (#1449)
- Tag Helpers:
<option/>
tag helper (#1423) - ViewComponents should support fully qualified names (#1052)
- RazorPage compilation needs to be affected by changes to _ViewStart (#974)
- BindAttribute to provide a property filter predicate (#785)
- Remaining form helpers --
BeginRouteForm()
(#437) - Flags enum does not bind (#220)
Bugs Fixed
- FlushAsync does not work in RenderSection \ RenderSectionAsync (#1509)
- Correct and clean up
ViewDataDictionary
semantics (#1466) - Should ViewComponents be limited to public top-level classes? (#1448)
- Content negotiation does a case-sensitive matching of media type's parameter values (#1429)
- CompositeValueProvider.GetKeysFromPrefixFromProvider returns null value instead of Task with null result (#1419)
- Consider changing JsonResult's behavior when you provide a formatter (#1370)
- ViewComponent View() fails on CoreCLR with IEnumerable<> passed in (#1354)
- TagBuilder attributes are case sensitive. HTML5 spec says attributes are now case insensitive. Change TagBuilder & infrastructure. (#1328)
- Dispose implementations should not be treated as action methods (#1294)
- Error when using RouteAttribute and HttpPost together on same action (#1194)
6.0.0-beta1
Features
- Tag Helpers: Modify TagHelper creation to activate ViewContext properties instead of inheriting from an interface. (#1258)
- Handle virtual paths in FilePathResult (#1201)
- Support customizing reflected model through attributes (#1192)
- Pre compile razor view - For fast startup (#1179)
- Rename ReflectedXxx to ControllerXxx (#1176)
- Tag Helpers: Enable TagHelpers in MvcRazorHost (#1165)
- Remove XmlSerializerOutputFormatter from the default output formatter collection (#1126)
- WebAPI compat package (#1124)
- Provide a sync version of @Html.Partial (#1107)
- Tag Helpers: Create a mechanism to create/activate TagHelpers. (#1104)
- Tag Helpers: Expose way to provide and use a writer on a RazorPage (#1102)
- Implement Browserlink Support (#1083)
- Allow a way to modify locations in which views are looked for without having to modify ViewEngine (#1039)
- It would be useful to have a
IsPartial
property exposed toIRazorPage
(#1002) - RazorViewEngineOptions shouldn't be a property of MvcOptions (#986)
- Support [Bind] attribute for compatibility with MVC5 (#982)
- No
@Html.Editor()
template for multiline text (#965) - Razor view engine is hard to customize (#948)
[DataType]
and[DisplayFormat]
ignored when choosing@Html.Display()
and@Html.Editor()
templates (#933)- Setting Json Serializer Settings (#932)
- API Explorer: Link Generation (#885)
- Determine naming and documentation for ModelMetadata.ModelName \ prefix parameter in TryUpdateControllerAsync is appropriate (#865)
- Add attributes for [FromFormData] [FromQuery] [FromUrl] (#860)
- Bring back PartialViewResult (and related factory on Controller) (#824)
- Multiple [Http*] verbs should create multiple actions (#809)
- Controller should have Request and Response (and other) convenience properties (#803)
- Make UrlHelper methods virtual (#750)
- Consider renaming ReflectionActionDescriptor* to ControllerActionDescriptor* (#748)
- ViewComponents need to be activated with a pattern similar to controllers and views (#701)
- Tag Helpers: Build HtmlHelper equivalent tag helper defaults. (#687)
- Better DI For controllers - Property Injection (#604)
- Tag helpers (#581)
- Input XML Serialization & Binding (#511)
- Populate well-known properties in Controller if available (#466)
- Implement action results for returning files (#429)
- @ViewComponent.Invoke() should be able to invoke views (#285)
Bugs Fixed
- Update to JSON.NET 6.0.6 (#1473)
- Update the pdb writer availability check (#1440)
- Provide correct
ViewDataDictionary<TModel>.ModelMetadata
whenModel
isnull
(#1426) - Rename OutputFormatter's WriteResponseContentHeaders to WriteResponseHeaders (#1221)
- Cannot pass a int parameter to the views from ViewComponent (#1214)
- During validation in DefaultBodyModelValidator if the modelAccessor of a model throws, it is not handled. (#1206)
- Dispose not being called on controller (#1202)
- EmptyResult should not set status code (or do anything for that matter) (#1156)
- Insert pragma checksum at top of generated Razor file to enable debugging. (#1152)
- Fix quality factor handling (NRE in MediaTypeWithQualityHeaderValueComparer) (#1141)
- TypeConverterModelBinder cannot bind "byte" and "short" (#1123)
- [perf] DefaultActionSelector.HasValidAction allocate significant memory, which can be fixed. (#1114)
- Perf: Improve performance of writing attributes in Razor (#1082)
- Remove MvcRazorHostOptions once we finish #946 (#1003)
- ViewEngine shouldn't throw when it doesn't know about the extension (#984)
- protocol & host name ignored when creating action link (#926)
- Fix XmlDictionaryReaderQuotas in XmlReader to directly call the constructor (#758)
@Html.Id()
implementation does not usefully sanitize return value, breaking JavaScript / CSS selectors (#704)
6.0.0-alpha4
Features
- Add support for flush points in Razor pages (#1042)
- Support @Inject, @model, @using declaration in viewstart (#881)
- RazorView.IUrlHelper makes it difficult to inject Url helper in views (#816)
- Attribute Routing: Multiple routes per-action (#739)
- Attribute Routing: Implement Name (#734)
- Attribute Routing: Implement Order (#733)
- Attribute Routing: Add ability to specify route info to Http*Attributes (#730)
- Support extensibility for action invoker (#1007)
- Support configuring global filters (#349)
- Output XML Formatters (#887)
- Revive ByteArrayModelBinder (#728)
- Limit max number of errors in model binding (#490)
- Incoming content negotiation based on content-type (#107)
- Improve
IHtmlHelper
,HtmlHelper
, et cetera public API; correct inconsistencies (#874) - Support
[DisplayFormat(DataFormatString="{format})]
(#844) - Add
HideSurroundingHtml
property toModelMetadata
(#843) - [Perf] ViewDataDictionary is copied and resized many times (#878)
- [Perf] Attribute Routing: Optimize URL Generation (#741)
- [Perf] Improve the performance of Action Selection (#641)
- MVC should write content length by default (on IIS) (#972)
- RoslynCompilationService to flow generated code when compilation is successful (#895)
- ModelValidationProviders might need to be moved to MvcOptions (#879)
- Throw a better exception when the user didn't add the MVC services (#347)
- Move CreateSerializer out of the base class of XmlSerializer (#1075)
Bugs Fixed
- ViewComponents should render partial views (#960)
- RoslynCompilationService does not include path information when compiling cshtml files (#869)
- Razor throws CompilationFailedException on X64 version of KRE (#846)
- XML DataContract Formatter can fail to write when instance type != declaredType (#1081)
- XML DataContract Formatter fails to write when the return type is object (#1073)
- Action method with return type string returns in JSON format (#906)
- Content Negotiation need to return 400 Bad Request \ 415 unsupported media type (#458)
- Content negotiation should fallback to the first formatter that can write the type (#1033)
- RouteGroupConstraint should only be added once for non attribute routed actions (#1035)
- Use [Route(...)] on action methods to specify an attribute route that allows all verbs (#900)
- TemplateRenderer should use ThrowIfFaulted when waiting for faulted task (#782)
6.0.0-alpha3
Bugs Fixed
- Html.AntiForgeryToken helper throws exception on Mono (#847)
- Remove legacy / non-unobtrusive client side validation (#620)
- ReflectedActionDescriptorProvider does not ignore private types (#610)
- Return string from HtmlHelper properties - Id, Name, DisplayName and Value (#566)
Features
- IUrlHelper and IViewComponentHelper need to be activated like IHtmlHelper (#789)
- ViewEngine requires more context, specifically the actual controller that handled the request. (#787)
- Moving IViewEngine to MvcOptions (#770)
- Move setting up options to MvcOptionsSetup (#760)
- Attribute Routing: Design a scheme for token replacement in templates (#738)
- Attribute Routing: Implement
~/
for overriding a prefix (#732) - Attribute Routing: Url Generation (#729)
- Log action selection data for route debugging (#718)
- Design and implement logging features that support begin/end tracing (#715)
- HtmlHelpers needs to use @Inject for activation (#700)
- Use ActivateAttribute to consume services & activate items in Views (#678)
- Decouple HtmlHelper.GetValidationAttributes from UnobtrusiveValidationAttributesGenerator.GetValidationAttributes (#659)
- Enable creating a ViewResult without requiring a view engine (#617)
- Attribute routing: URL matching (#515)
- [Razor Config]Web.config/ViewStart replacement - IUsingsProvider, Layout discovery (#479)
- Bring back Controller.TryUpdateModel (#415)
- Fill
ModelMetadata
gaps needed for HTML helpers (#323)
6.0.0-alpha2
Features
- Added ReflectedApplicationModel (#682)