All Versions
6
Latest Version
Avg Release Cycle
463 days
Latest Release
136 days ago

Changelog History

  • v4.0.1

    November 27, 2020
  • v4.0.0 Changes

    September 13, 2020

    ๐Ÿš€ Changes in this long awaited release:

    Library

    • First semver version with Go modules compatibility
    • ๐Ÿ›  Several bug fixes
    • ๐Ÿ‘Œ Improved error handling
    • โ™ป๏ธ Several refactorings to speed up execution and reduce allocations, including support for io.Writerin Execute() functions and short-circuit evaluations in expressions
    • โž• Add TemplateSet.FromBytes
    • โž• Add RenderTemplateBytes
    • โž• Add Template.ExecuteWriterUnbuffered
    • โž• Add TemplateLoader interface and according functions for virtual filesystem support (incl. support for multiple loaders)
    • โž• Add pongo2.SetAutoescape for a global behavior change
    • โž• Add whitespace control for tags and blocks, supporting {%- and -%} for tags and pongo2.Options for blocks
    • โž• Add pongo2.CleanCache to remove files from the template cache
    • โž• Add support for template functions that return an error as the second return value
    • โž• Add Template.ExecuteBlocks to render supplied list of blocks only

    ๐Ÿ‘€ See v3.0...v4.0.0 for a full list of changes.
    Thanks to all contributors!

    Template Language

    • โž• Add support for single quotes in variables, functions and tags
    • โž• Add support for if_exists-flag in include-tag
    • โž• Add support for sorted-flag in for-tag with support for maps and arrays/slices
    • โž• Add block.Super support
    • โž• Add split filter
  • v3.0 Changes

    October 28, 2014

    ๐Ÿš€ See this blog post for more about the pongo2 v3 release:

    https://www.florian-schlachter.de/post/pongo2-v3/

  • v2.1 Changes

    October 28, 2014

    ๐Ÿ‘€ See more in this blog post:

    https://www.florian-schlachter.de/post/pongo2-v3/

  • v1.0 Changes

    August 08, 2014

    I'm happy to announce pongo2 v1.0 , the first stable release.

    ๐Ÿ“ฆ pongo2 aims to be compatible with Django 1.7 with regards to syntax, filters and tags. In combination with my official package pongo2-addons pongo2 offers even more filters/tags including humanization and markup features.

    ๐Ÿš€ All version 1.x releases will remain backwards compatible (only API improvements are possible, but no changes to any existing API functions/symbols). You can use the special import path

    gopkg.in/flosch/pongo2.v1

    ๐Ÿš€ to stick with version 1.x releases in your projects.

    List of TODOs which could effect users of version 1.0:

    • ๐Ÿท tag verbatim does not take a parameter yet
    • ๐Ÿ‘ block.super not supported yet
    • Value.Iterate() over strings is not utf-8 compatible yet (probably rarely used by users)

    Please also have a look on the caveats and on the development status hints when using pongo2.

    ๐Ÿ†“ pongo2 got a playground; feel free to play with it and to try pongo2 out.

    ๐Ÿš€ I'm always glad about any feedback. I hope you enjoy this release!

  • v1.0-rc1 Changes

    July 29, 2014

    ๐Ÿš€ I just finished the first release candidate for the first stable pongo2 version (1.0).