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

Releases: aspnet/Razor

4.0.0-beta8

15 Oct 17:27
Compare
Choose a tag to compare
4.0.0-beta8 Pre-release
Pre-release

Features

  • Change [RestrictChildren] to work for non-TagHelper children. (#543)
  • Add extension methods on HtmlContentBuilder for String.Format style formatting (#526)
  • Tag Helpers not available within script tag (#502)
  • Add copy constructor for IReadonlyTagHelperAttribute => TagHelperAttribute (#492)
  • Different TagHelpers with the same element name, depending on scope (#474)
  • Razor/TagHelper errors are inconsistent (#386)
  • Support symbol data bound attributes in HTML (#137)

Bugs Fixed

  • Partial tag inside of tag helper with restricted children crashes VS. (#534)
  • @tagHelperPrefix does not work with RestrictChildren(...)
  • Potential small bug in Tokenizer.Lookahead when using TakeAll(...) (#527)
  • ITypeInfo.FullName should return the same value as TypeInfo.FullName (#523)
  • Rename RestrictChildrenAttribute properties/params to be ChildTag etc. (#517)
  • Rename TargetElement to HtmlTargetElement (#516)
  • TagHelpers won't work in @... code blocks (#494)
  • Strange error message when excess @ symbols in source code. (#491)
  • Remove unnecessary whitespace that is rendered for non markup content (#485)
  • Attributes don't work in Tag Helper if newline precedes first attribute (#484)
  • Add temporary parse error for @Helper directive to avoid confusion. (#472)
  • Simplify '@addTagHelper' syntax for globbing types (#426)
  • Add timeout values to all regex expressions (#369)
  • Razor does not correctly parse HTML attributes that have spaces surrounding the equals (#123)

4.0.0-beta7

02 Sep 17:18
Compare
Choose a tag to compare
4.0.0-beta7 Pre-release
Pre-release

Features

  • Allow calls to TagHelperContext.GetChildContentAsync to reevaluate on each call (#459)
  • Add ability for a TagHelper to be written with just a start tag by stating it doesn't expect content. (#450)
  • Razor Comments Introduce Carriage Returns (#428)
  • Remove ~/ handling from core Razor. (#427)
  • Allow Tag Helpers to restrict child elements (#255)
  • Auto Attribute removal in TagHelpers (#247)

Bugs Fixed

  • OutputElementHint is not recognized at design time. (#457)
  • Setting EditorBrowsableState.Never for a single bound attribute affects all attributes (#454)

4.0.0-beta6

28 Jul 19:50
Compare
Choose a tag to compare
4.0.0-beta6 Pre-release
Pre-release

Features

  • Consume EditorBrowsableAttribute on TagHelpers. (#447)
  • Add OutputElementHintAttribute to control inherited TagHelper IntelliSense. (#382)
  • Consume docs on TagHelper classes to provide IntelliSense at design time. (#352)
  • Enable support for instrumentation (Page Inspector) for TagHelpers (#172)
  • Rename CodeGenerators to ChunkGenerators. (#140)

Bugs Fixed

  • Duplicate bound attributes should flow through as unbound attributes. (#418)
  • Error is occurred if there is a link in the render section (#412)
  • Exception filters cause Razor errors (#402)
  • Incorrect classification (and therefore IntelliSense) for expressions containing transition characters (ex @) (#387)
  • Don't special case '*' retrieval in TagHelperDescriptorProvider (#324)
  • Attribute order from source is not preserved upon rendering (#225)

4.0.0-beta5

30 Jun 21:07
Compare
Choose a tag to compare
4.0.0-beta5 Pre-release
Pre-release

Features

  • Support * wild card in TargetElement Attribute. (#361)
  • Add support to allow Tag Helpers to generate content before and after source element (#341)
  • TagHelperOutput doesn't allow multiple non-bound TagHelper attributes with identical names. (#279)
  • Add [HtmlAttributeNotBound] property to indicate that a property should not come from HTML (#182)
  • Support adding attributes to IDictionary<string, TValue> properties (#89)

Bugs Fixed

  • Whitespace at the end of a tag should not be written to output. (#379)
  • Equals() and GetHashCode() implementations are inconsistent (#362)
  • TagHelper attributes with data- have surprising behavior (#342)
  • RazorError should specify the file path of the chunk that originates the error (#334)
  • Tooling: Directives don't format correctly when entering newline. (#332)
  • Move ParserErrorSink, RazorError and SourceLocation to a better namespace (#320)
  • Bound attribute keys don't maintain HTML provided case in TagHelperContext.AllAttributes (#266)
  • TagHelper attributes with no value cannot be used in TagHelpers (#220)
  • Directive errors don't apply error squiggly to full directive. (#217)
  • Attribute Parser Error (#183)
  • Await TagHelper generated runtime objects. (#169)
  • Razor code generator produces unnecessary writeliteral with whitespaces (#50)
  • Need to evaluate whether any C# 6 features will require changes to the Razor parser (#44)

4.0.0-beta4

29 Apr 18:06
Compare
Choose a tag to compare
4.0.0-beta4 Pre-release
Pre-release

Bugs Fixed

  • HTML attributes on elements that a tag helper targets are double-encoded (#335)
  • Attributes with no value don't invoke IntelliSense. (#271)

Features

  • Make RazorError deserializable (#330)
  • Multiple [TargetElement] attributes on a single TagHelper should de-dup if multiple match. (#326)
  • Consider moving TagHelperOutput.Generate*() functionality to RazorPage.Write in Mvc. (#318)
  • Allow tag helpers to target elements by attribute (#311)
  • Modify '?' in @addtaghelper and @removetaghelper to mean 1 character and not "optionally 1 character" (#297)
  • Change TagHelperOutput Content, PreContent and PostContent to all be TextWriters to avoid large string allocations. (#296)
  • Create parser error for empty TagHelper bound attribute values. (#289)
  • @addtaghelper and @removetaghelper should allow wild cards. (#285)
  • Remove the @Helper directive from Razor (#281)
  • Camel-case tag helper directives (#264)
  • Add TagHelperContext.Items bag to enable passing values between related tag helpers (#238)
  • Support disabling tag helper processing at the element level (#187)
  • Implement Order (#94)

4.0.0-beta3

23 Feb 17:30
Compare
Choose a tag to compare
4.0.0-beta3 Pre-release
Pre-release

Features

  • Tag Helpers: Add an UniqueID to TagHelperContext (#241)
  • Tag Helpers: Map PascalCase type & property names to HTML element & attribute dashed equivalents (#240)
  • Tag Helpers: Redesign of Tag Helpers content mode (#221)
  • Tag Helpers: Ignore '@' symbols in Tag Helper attributes if not string or character. (#129)
  • Tag Helpers: Support tag recovery (#104)

Bugs Fixed

  • TagHelperOutput.SupressOutput is misspelled (#270)
  • Tag Helper code generation produces unused variables (#260)

4.0.0-beta2

16 Jan 15:09
Compare
Choose a tag to compare
4.0.0-beta2 Pre-release
Pre-release

Features

  • Tag Helpers: Generate DesignTime code. (#208)
  • Tag Helpers: Add design time projections for attributes (#207)
  • Remove @sessionstate directive. (#192)
  • Add aspnet50 build configuration. (#167)
  • Tag Helpers: Add @removetaghelper directive and link to registration system (#112)

Bugs Fixed

  • Razor removes invalidly named HTML elements from output. (#212)
  • Tag Helpers: Change TagHelperOutput attribute lookups to be case insensitive. (#186)

4.0.0-beta1

12 Nov 15:34
Compare
Choose a tag to compare
4.0.0-beta1 Pre-release
Pre-release

Features

  • Tag Helpers: Replace customer facing Debug.Assert's with parse errors. (#174)
  • Tag Helpers: Create string => Type[] resolver to indicate what Types are TagHelpers based on a lookup string.. (#158)
  • Tag Helpers: Create a TagHelperScopeManager (#155)
  • Tag Helpers: Create TagHelper runner. (#154)
  • Create Razor.Runtime project. (#136)
  • Tag Helpers: Add ability to specify ContentBehavior (#122)
  • Tag Helpers: Add ability to specify one or more tag name targets via Attribute (#120)
  • Tag Helpers: Make Attribute Code Generation pluggable. (#119)
  • Tag Helpers: Add @addtaghelper directive and link to registration system (#111)
  • Tag Helpers: Create TagHelperDescriptor resolver system (#99)
  • Add ClassDeclaration extensibility to CSharpCodeBuilder (#76)
  • Tag Helpers: Modify parser to create begin/end html tag elements that are ungrouped. (#75)
  • Tag Helpers: Create code generators and code visitors that understand tags (#72)
  • TagHelpers: Create parse visitors that understand "special" html (#71)
  • Razor: Add instrumentation support (for page inspector, browser link) (#42)

Bugs Fixed

  • Insert pragma checksum at top of generated Razor file to enable debugging. (#160)
  • Debugging does not work for implicit expressions. i.e. @DateTime.Now (#151)
  • No C# intellisense inside of attributes (#80)

4.0.0-alpha4

06 Oct 15:56
Compare
Choose a tag to compare
4.0.0-alpha4 Pre-release
Pre-release

Bugs Fixed

  • Transition to C# code buffer doesnt happen after @Inject inside cshtml file (#139)

4.0.0-alpha3

17 Aug 02:36
Compare
Choose a tag to compare
4.0.0-alpha3 Pre-release
Pre-release

Bugs Fixed

  • Sections within partial views shouldn't fail silently (#79)