Repository navigation
v0.41.0
·
2 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
New: Engine.Reads reports which variables a template can read, and which keys of each, so a caller that stores data granularly (one snippet or attribute per row) can load only those before rendering. A nil key list means the template reads the whole value: bare use, a computed first index such as customer[customer.attr], size, a range bound or a counter. all is true when a custom tag is used, and an error is Check's; load everything in either case. Names are over-reported (assigns and loop variables), never under-reported.
Upgrading: no breaking API changes; rendering is unchanged. SPEC is v0.41.x.
Changelog
Features
- e6851c4: feat: Engine.Reads reports which variables and keys a template reads, for loading only those (#164) (@hownowstephen)