Releases: rudderlabs/pongo2
Releases · rudderlabs/pongo2
v6.1.0
Support for identifier attribute dereferencing with dot syntax Latest
In addition to {{.Var("")}} and {{.Var("")}}, we can now also use {{.}} and {{.}}
Support for identifier attributes with arguments
If an identifier has GetAttr method, we now allow use iden.@attrname and ident.@attrname(args...) syntax.
See this for context.
Add Keyword Args Support to function calls
What's Changed
- feat: add kwarg support by @shubhammehra4 in #16
- fix: kwarg pongo value by @shubhammehra4 in #17
New Contributors
- @shubhammehra4 made their first contribution in #16
Full Changelog: v6.0.13...v6.0.15
handle missing values
- Added allowmissingval tag
- Now pongo will throw error when variable which is getting used is not found
- By default adding "nil" as nil value into the context
added allowing missing values tag
v6.0.12 feat: added allowmissingval tag and tests
addded support for provided nil values
v6.0.11 Merge branch 'fix.handling-variable-not-found-error' of github.com:ru…
added handling missing variable in template
v6.0.9 Merge pull request #14 from rudderlabs/revert-13-feat.added-handlenot…
handling error in exec tag
We are now returning error in exec tag
Unwrap function to support Errors.As and Errors.Is
Merge pull request #8 from rudderlabs/feat.unwrapInError feat: unwrap function to support errors.as