Skip to content

Releases: rudderlabs/pongo2

v6.1.0

08 Oct 08:29
0915c9b
Compare
Choose a tag to compare

6.1.0 (2024-10-08)

Features

  • rename module to github.com/rudderlabs/pongo2/v6 (43492c8)

Miscellaneous

  • add gha checks and fix linting and formatting issues (#24) (3978634)

Support for identifier attribute dereferencing with dot syntax Latest

14 Aug 06:44
37992c3
Compare
Choose a tag to compare

In addition to {{.Var("")}} and {{.Var("")}}, we can now also use {{.}} and {{.}}

Support for identifier attributes with arguments

12 Aug 10:43
e969203
Compare
Choose a tag to compare

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

14 Nov 08:09
0b3a897
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v6.0.13...v6.0.15

handle missing values

10 May 06:09
d786423
Compare
Choose a tag to compare
  1. Added allowmissingval tag
  2. Now pongo will throw error when variable which is getting used is not found
  3. By default adding "nil" as nil value into the context

added allowing missing values tag

17 Apr 09:22
cdd1b7a
Compare
Choose a tag to compare
v6.0.12

feat: added allowmissingval tag and tests

addded support for provided nil values

14 Apr 05:57
a32eaf0
Compare
Choose a tag to compare
v6.0.11

Merge branch 'fix.handling-variable-not-found-error' of github.com:ru…

added handling missing variable in template

13 Apr 04:54
1ca71e1
Compare
Choose a tag to compare
v6.0.9

Merge pull request #14 from rudderlabs/revert-13-feat.added-handlenot…

handling error in exec tag

14 Feb 17:27
Compare
Choose a tag to compare

We are now returning error in exec tag

Unwrap function to support Errors.As and Errors.Is

10 Jan 13:16
9770fae
Compare
Choose a tag to compare
Merge pull request #8 from rudderlabs/feat.unwrapInError

feat: unwrap function to support errors.as