All Versions
Latest Version
Avg Release Cycle
96 days
Latest Release
1057 days ago

Changelog History
Page 1

  • v6.0.1 Changes

    November 06, 2020

    The in-memory template loader introduced in v6.0.0 is now safe for concurrent use. (3f2f52a)

  • v6.0.0 Changes

    November 05, 2020

    ๐Ÿ”– Version 6 brings Go API improvements, mainly from #182 and #183. Take a look at the breaking changes documentation for a detailed overview. There are no changes to the template language.

  • v5.1.1

    October 21, 2020
  • v5.1.0 Changes

    October 13, 2020

    ๐Ÿ“„ With version 5.1.0, Jet gains whitespace control syntax! The PR is here, and it's explained in the docs here.

  • v5.0.3 Changes

    September 22, 2020

    ๐Ÿ›  Bugfix release: Concurrent use of a Set of templates could cause data races via a shared array for the argument values of function calls using the reflect package. 0e59615 is the only commit since v5.0.2.

  • v5.0.2 Changes

    August 15, 2020

    ๐Ÿ›  Bugfix release: When calling variadic functions, the list of argument expressions was not correctly mapped to the variadic argument slice needed to call the function using reflection. See #171 for more information. Thanks, @alresvor!

  • v5.0.1 Changes

    August 12, 2020

    ๐Ÿ›  Bugfix release: When using discard syntax in a simple "let" assignment, i.e. one where the right side does not return an optional second value like a map lookup for example, the right side wasn't evaluated. For example, these all worked as expected and the right side was evaluated:

    _ := myMap["foo"]
    _ = myMap["foo"]
    _, ok := myMap["foo"]
    _, ok = myMap["foo"]
    _ = foo()

    But this did not actually execute foo():

    _ := foo()

    ๐Ÿ›  f67efbc fixes this case and is the only commit in v5.0.1 that isn't in v5.0.0.

  • v5.0.0 Changes

    July 29, 2020

    With version 5, Jet gets Go-like discard syntax (_ := stillRuns(), #168) and allows you to specify the argument slot of the piped value when pipelining (2 | repeat("foo", _), #169).

    ๐Ÿ“„ This means that _ is now a reserved symbol, as noted in v5's breaking changes:

  • v4.1.0 Changes

    July 20, 2020

    ๐Ÿ‘ Allows concatenating string and []byte.

    This is useful for using the return value of the built-in json() function, for example:

    {{ "{foo:"+json("asd")+"}" }}

    This would previously render as {foo:[34 97 115 100 34]} but will now render as {foo:"asd"}).

  • v4.0.2 Changes

    July 14, 2020

    ๐Ÿ›  Fixes absolute path detection on Windows.