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

2.0.0-preview1

Pre-release
Pre-release
Compare
Choose a tag to compare
@danroth27 danroth27 released this 10 May 04:10

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)