Skip to content

hull-demo-1.37.2

Latest

Choose a tag to compare

@gre9ory gre9ory released this 06 Dec 00:19
cc4a61c

Changelog

[1.37.2]

CHANGES:

  • added SOURCE_PATH to the arguments a _HT/ transformation passes to its include, next to PARENT_CONTEXT. It is the path of the transformed value as a list such as Values, hull, objects, <type>, <instance> and further keys, so an include can find out where it is called from, for example the container whose values it renders. A call that sets SOURCE_PATH itself keeps its value. See passing arguments to the include call.
  • the tests run against Helm 3.22.1, 4.3.1 and 4.3.2 as well. The pull request checks use the newest patch of each Helm minor, now 3.22.1 and 4.3.2.

FIXES:

  • fixed several _HT/ calls embedded on one line of a _HT! transformation being treated as one call from the first _HT/ to the last /TH_, which failed rendering with an error about a missing template. Each call now ends at its own /TH_.
  • fixed two examples in the transformations documentation that failed when used as written: an embedded _HT/ call with / instead of : before its arguments, and a call split over two lines.