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

Releases: aspnet/Razor

2.0.1

15 Nov 06:23
Compare
Choose a tag to compare

Bugs Fixed

  • Port to 2.0.1: TagHelper error: A local or parameter named '__model' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter (#1618)

1.0.4

15 Nov 05:03
Compare
Choose a tag to compare
Prepare 1.0.4 and update latest patch dependencies

2.0.0

14 Aug 13:04
Compare
Choose a tag to compare

Features

  • Razor.Extensions API polish (#1521)
  • Razor.Language API polish (#1510)
  • Imported @page directive should log a diagnostic. (#1503)
  • RequiredAttributeDescriptor should implement : IEquatable (#1495)
  • Make child tag a descriptor instead of a string (#1493)
  • @page should look at malformed directives and attempt to classify a document as a page. (#1448)
  • Add error representation to IR (#1412)
  • Enable inline extensible directives (#1378)
  • Enable multiple occurring extensible directives (#1377)
  • Enable file scoped extensible directives (#1376)
  • Add error checking for target extensions (#1355)
  • Change inherits, section and functions to be addable components. (#1203)

Bugs Fixed

  • Implement error recovery for directive tokens (#1173)
  • Preallocated attributes breaks the null-check on indexers (#1057)
  • Add errors for multiple tagHelperPrefix directives in the same file (#942)
  • ValueStyle of tag helper bound attributes with literal values is not set correctly (#900)
  • Attributes with statements (@if, @Do etc.) do not accurately represent source. (#897)

2.0.0-preview2

28 Jun 06:29
Compare
Choose a tag to compare
2.0.0-preview2 Pre-release
Pre-release

Features

  • Make ViewComponentTagHelper bound attributes have nicer tooltips (#1389)
  • Update to latest Roslyn to support C# 7.1 (#1385)
  • Rename TagHelperBoundAttributeDescriptorBuilder to BoundAttributeDescriptorBuilder (#1369)
  • Remove unneeded VSIX dlls (#1349)
  • Add a base class for IRazorEngineFeature (#1311)
  • Remove constants from tag helper descriptor builders and hide behind extension methods (#1307)
  • Make TagHelperDescriptorProvider non-legacy. (#1289)
  • ViewComponentTagHelper tooltips are ugly. (#1251)
  • Consider not providing catch-all IntelliSense to existing completions. (#1230)
  • Figure out a cleaner way to deal with redirect writers (#1184)
  • Implement TagHelperCompletionService (#1120)
  • TagHelperBinderSyntaxTreePass should be a phase, not a pass (#1118)
  • TagHelperBinding needs to include more information (#1092)
  • Add annotations to DocumentIRNode (#990)
  • Provide a non @addtaghelper way to add TagHelper descriptors (#162)

Bugs Fixed

  • Can't debug into @functions code (#1387)
  • @page "{routevalue}" doesn't color properly in the editor (#1269)
  • Design Time CodeGen for DirectiveTokenKind.Type doesn't handle value types (#1176)
  • Add code generation tests tests for @inherits directive in Razor.Extensions (#1142)
  • how can i use taghelper IntelliSense for a aspnet core library project? (#1136)
  • Tag Helpers: enum attribute of nested enum type (#1058)
  • DirectiveDescriptorBuild should throw for directives that wouldn't be parsed correctly (#981)
  • Razor does not respect html comments inside a razor block (#302)
  • Instrumentation lengths generated for ExpressionBlockChunks are not always accurate (#153)

2.0.0-preview1

10 May 04:10
Compare
Choose a tag to compare
2.0.0-preview1 Pre-release
Pre-release

Features

  • Rename ITagHelperDescriptorBuilder => TagHelperDescriptorBuilder (#1210)
  • Add the ability to parse just until the end of the first directive (#1195)
  • Add TagHelper completions API to TagHelperFactService. (#1181)
  • Add support for @namespace to configure the namespace the generated class is in (#1159)
  • Add DisplayName to RequiredAttributeDescriptor (#1119)
  • FileSystemRazorProject should be internal (#1117)
  • CodeGeneration should not generate line pragmas from unknown file paths (#1110)
  • Add GetImportItems to RazorTemplateEngine (#1109)
  • Add RazorSourceDocument.Create(string template) (#1063)
  • Update to use the latest Roslyn version and add support for C# 7 (#1046)
  • Remove RazorIRVisitor (#1021)
  • Add logging to Language Service (#1015)
  • Add Errors to Language Services (#1014)
  • DirectiveDescriptiveBuilder needs to have way to specify optional tokens (#968)
  • Core: Implement API sets multitargeting for CSharp (#846)

Bugs Fixed

  • Razor editor crash when typing @namespace directive line (#1268)
  • Querying imports for non-existent Razor file throws (#1267)
  • Html.RenderPartialAsync("") shows an error in editor (#1254)
  • Trying to write page with quotes sometimes crashes Visual Studio (#1247)
  • Trying to write addTagHelper with quotes crashes Visual Studio (#1242)
  • TagHelperElementCompletionService does not filter schema HTML elements based on TagOutputHint (#1225)
  • TagHelperElementCompletionService does not return TagHelper completions with a prefix. (#1224)
  • TModel placeholder at design time causes errors when @model isn't fully qualified (#1222)
  • TagHelperElementCompletionService does not apply CatchAlls to existing completions (#1219)
  • GetTagHelpersGivenParent does not work when inspecting the root (#1188)
  • DefaultTagHelperFactService does not handle opt-out TagHelpers correctly. (#1186)
  • Identical @using statements from imports or defaults override those from main document (#1174)
  • Rename Razor.Evolution (#1169)
  • @using directives don't generate line mappings. (#1162)
  • Create LineMappings for 0 length spans to ensure IntelliSense is provided when typing @ (#1155)
  • Resolving TagHelpers from an assembly that only has runtime TagHelpers creates an error at design time. (#1145)
  • Imported directives have their tokens rendered for IntelliSense (#1138)
  • Using TModel in ViewImports causes compile errors at design time (#1137)
  • Extensible directives should output typenames with global:: (#1128)
  • Fix FileSystemRazorProject to accurately handle absolute paths. (#1106)
  • Spans created by RazorSyntaxTree.Parse(RazorSourceDocument) do not have FilePath specified on the source. (#1069)
  • If/def our non-shipping code in the Razor Extension (#1016)
  • String token directives should require quoted values. (#980)
  • Using statements with SourceSpan set should generate line pragma (#959)
  • RazorSourceDocument throws when stream is empty (#947)
  • Remove reference assemblies that are added to the vsix (#940)
  • Small mistake in 'CSharpLanguageCharacteristics' (#924)
  • Razor debug information uses relative paths (#803)

1.1.0

16 Nov 16:26
Compare
Choose a tag to compare
rel/1.1.0

Pinning missed tools and dependencies

1.1.0-preview1

25 Oct 15:51
Compare
Choose a tag to compare
1.1.0-preview1 Pre-release
Pre-release

Bugs Fixed

  • Capture parse setup exceptions to prevent Visual Studio crashes (#808)
  • Crash in VS when editing @(@ (#804)
  • String typed TagHelper attributes don't provide instant IntelliSense for trailing periods (#792)
  • Mark EditorHints as obsolete, it's no longer used by tooling. (#780)

1.0.0

27 Jun 14:54
Compare
Choose a tag to compare

Features

  • Track TagHelperAttribute quotes (#705)

Bugs Fixed

  • NotImplementedException on rendering attributes with non-latin letters added from IClientModelValidator (#760)
  • TagHelper directives don't work with optional quotes in non-import files (#744)
  • Newline at the end of text tag should not be rendered when it is followed csharp (#739)

1.0.0-rc2

16 May 17:19
Compare
Choose a tag to compare
1.0.0-rc2 Pre-release
Pre-release

Features

  • Add CSS value selectors to TagHelper attributes (#684)
  • Consider not requiring quotes around @tagHelperPrefix values (#561)
  • Tag Helpers: Add enum attribute support. (#196)

Bugs Fixed

  • Stop cross compiling Razor.Runtime for dnx451 (#734)
  • Cannot resolve TagHelperDesignTimeDescriptors in CoreCLR (#709)
  • Unquoted TagHelper attribute values with = in their value cause Debug.Assert failure. (#698)
  • Change TagHelperScopeManager.Begin to no longer take Start/End taghelper writing scope methods (#696)
  • Generates wrong place quotation mark of attribute in template (#691)
  • if block inside foreach block doesn't parse ending brackets correctly (#679)
  • Templated Razor Delegates within a @section = '__razor_template_writer': a parameter or local variable cannot have the same name as a method type parameter (#672)
  • ArgumentOutOfRangeException when using lambdas and line breaks (#671)
  • Option to bypass GetContent HTML encoding in TagHelper (#643)
  • Make @addTagHelper, @removeTagHelper and @tagHelperPrefix optionally accept quotes around their values (#636)
  • Rename TagHelperContent.Append(IHtmlContent) overload to be TagHelperContent.AppendHtml(IHtmlContent) (#634)
  • @section mySection { creates an invisible error in the editor. (#625)
  • Too much string.Concat in generated code with large blocks of HTML (#614)
  • An inline if-statement in an attribute value crashes razor (#594)
  • Razor runtime generates potentially conflicting using statements for TagHelper infrastructure. (#580)
  • Make Razor codegen use invariant culture (#557)
  • Escape shortcut fails when first text character is a : (#346)
  • CSharpCodeWriter's write string literal can fail with Mono and Roslyn. (#56)

4.0.0-rc1

18 Nov 15:28
Compare
Choose a tag to compare
4.0.0-rc1 Pre-release
Pre-release

Features

  • API namespace cleanup for tag helpers (#578)
  • Refactor WriteAttribute API surface. (#177)

Bugs Fixed

  • Multiple TagHelpers targeting same element cannot effectively communicate to children. (#571)
  • Compilation error within tag attribute shows generated code instead of markup (#569)
  • Specifying RestrictChildren and empty HtmlTargetElement results in an error (#562)
  • TreeStructureChanged marked as true when whitespace is added to a page with TagHelpers (#553)
  • Expose FilePath on MappingLocation to let Razor editor know mapping origination. (#552)