Skip to content

Releases: noxum/CompiledHandlebars

v0.4.3.1

03 Jun 11:30
Compare
Choose a tag to compare

support for Visual Studio 2022

v0.4.3

09 Jun 13:55
Compare
Choose a tag to compare
compilation input converts \r\n to \n

v0.4.2

30 Apr 10:11
Compare
Choose a tag to compare

Implementations of Handlebar helper methods may now accept a StringBuilder as last parameter. If so the method is supplied a StringBuilder in which they can append their output.

v0.4.1

19 Mar 12:52
Compare
Choose a tag to compare
  • better handling of ambiguous partial references

v0.4.0

21 Jan 17:05
Compare
Choose a tag to compare
  • Generated templates are now using the async/await pattern
  • Instead of the Render methods returning a string, the new RenderAsync methods return nothing, but require a StringBuilder as parameter which itself is handed down to partials and helper functions.
  • If helper functions end on "Async" they are awaited now. e.g {{MyLittleHelperFunctionAsync ... will now cause the call to MyLittleHelperFunctionAsync to be awaited in the generated C# code.
  • to accomodate the new async/await templates the ViewEngines had to be adjusted. While for the integration of CompiledHandlebars.ViewEngine no action on your part should be neccessary, when you integrate a CompiledHandlebars.ViewEngine.Core, you now must provide a scoped StringFilterStream in your Startup routine. An example is provided in /Examples/AspDotNetCore/Startup.cs in the method ConfigureServices.

v.0.3.5

23 Apr 13:49
Compare
Choose a tag to compare

Enable VSIX to support Visual Studio 2019. The nuget packages remain unchanged.

v.0.3.6

04 Nov 13:39
Compare
Choose a tag to compare

The character ' is now a valid delimiter for literal strings.
For example:
before you had to write {{> _somePartial "literal string"}}, now you can also write {{> _somePartial 'literal string'}}
this change is meant to improve compatibility with hbs files written in a javascript environment.

v.0.3.4

31 Jul 07:31
Compare
Choose a tag to compare

Fixed a bug where HelperMethods in asp.net core projects would not be detected correctly

v.0.3.2

21 Jul 14:55
Compare
Choose a tag to compare

Fixed bug where errors where not emitted when partials are missing!

v.0.3.1

13 Jul 18:15
Compare
Choose a tag to compare

Adds better diagnostic output messages and allows watching a project for changes for rapid prototyping of Handlebars-Templates.