Changelog History
Page 1
-
v6.0.1 Changes
November 06, 2020The 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 -
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 -
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, 2020With 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: https://github.com/CloudyKit/jet/blob/master/docs/changes.md#v5. -
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.