Skip to content

Releases: ltrzesniewski/RazorBlade

v0.4.2

07 Jan 13:14

Choose a tag to compare

  • Fixed a build failure for targets below net5.0 (#5)

v0.4.1

06 Dec 20:35

Choose a tag to compare

  • Fix incompatibility between embedded library mode and RazorBlade-specific features (#4)

v0.4.0

29 Nov 20:08

Choose a tag to compare

  • Add the ability to embed the runtime library in the target project (#3)
  • Add a helper Raw method in HtmlTemplate as a shorthand for Html.Raw

v0.3.1

09 Nov 16:08

Choose a tag to compare

  • Better support in ReSharper/Rider 2022.3
  • Added <inheritdoc> on constructors

v0.3.0

06 Nov 19:30

Choose a tag to compare

  • Add built-in CancellationToken support (#2)
  • Hide Render methods with obsolete ones when the generated template is asynchronous
  • Add a better error message when the @model directive is used

v0.2.0

06 Oct 22:22

Choose a tag to compare

Add support for ASP.NET conditional attributes:

  • A foo="@bar" attribute will be omitted if bar evaluates to false or null
  • A foo="@bar" attribute will be rendered as foo="foo" if bar evaluates to true, unless foo is a data-* attribute

v0.1.2

05 Oct 15:37

Choose a tag to compare

  • Add basic support for attributes

v0.1.1

03 Oct 18:59

Choose a tag to compare

  • Add support for ref/in/out/params parameters and default values in forwarded constructors

v0.1.0

24 Sep 20:06

Choose a tag to compare

  • Added a HtmlTemplate<TModel> base class and support for constructors
  • Refactored IHtmlString into IEncodedContent

v0.0.2

18 Sep 17:08

Choose a tag to compare

  • Add missing &quot; escape
  • Support @namespace directive
  • Support template composition by writing @(new Footer()) for instance
  • Make some members protected
  • Add Render(TextWriter) overload