Skip to content

Tags: jvivs/swig

Tags

v0.11.2

Toggle v0.11.2's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
* **Fixed** Update support for underscore@1.3.3 [gh-70] [gh-71]

v0.11.1

Toggle v0.11.1's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
* **Fixed** Duplicate (string) tokens were being removed when extendi…

…ng a base template. [gh-67]

v0.11.0

Toggle v0.11.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
* **Added** Support for Windows style paths [paularmstronggh-57]

* **Added** `ignore missing` tokens to include tag
* **Changed** include tag `with context` to only work if `context` is an object
* **Changed** `autoescape` tag controls no longer 'yes' or 'no'. Use `true` and `false`
* **Changed** parser is now passed into tags as an argument
* **Changed** don't require passing context object when rendering template
* **Fixed** dateformats `N` and `w` [paularmstronggh-59]
* **Fixed** number changing to string after add filter or set from variable [gh-53] [paularmstronggh-58]
* **Fixed** speed decrease caused by loop.cycle fixed
* **Fixed** Ensure set tag bubbles through extends and blocks

v0.10.0

Toggle v0.10.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
* **Added** loop.index0, loop.revindex, loop.revindex0, and loop.cycl…

…e [gh-48]

* **Added** init config `extensions` for 3rd party extension access in custom tags [gh-44]
* **Added** Whitespace Control [gh-46]
* **Changed** The `empty` tag in `for` loops is now `else` [gh-49]
* **Changed** `forloop` vars to `loop` closes [gh-47]
* **Fixed** `include` tag's `with` and `only` args documentation [gh-50]

v0.9.4

Toggle v0.9.4's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
* **Fixed** `parent` tag would not render when called within tags [gh…

…-41]

* **Fixed** Documentation for forloop.index & forloop.key [gh-42]
* **Fixed** Errors when using `include` inside base template `block` tags [gh-43]
* **Fixed** Allow `set` tag to set values to numbers [gh-45]
* **Fixed** `set` tag for booleans using too many checks

v0.9.3

Toggle v0.9.3's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
* **Fixed** Allow object and array values to be accessed via context …

…variables [gh-40]

v0.9.2

Toggle v0.9.2's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
* **Fixed** Correctly reset autoescape after closing an autoescape ta…

…g. [paularmstronggh-39]

v0.9.1

Toggle v0.9.1's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
* **Fixed** Allow multi-line tags and comments. [gh-30]

v0.9.0

Toggle v0.9.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
* **Added** DateZ license to browser header, use link to underscore l…

…icense.

* **Added** Timezone support in `date` filter [gh-27].
* **Added** New `raw` tag.
* **Changed** Swig is no longer node 0.4 compatible.
* **Fixed** Filter `date('f')` for 10am times.
* **Fixed** Filter `date('r')` returns in UTC date format. This is more correct tospec RFC2822, per [php.net/date](http://php.net/date).
* **Fixed** Filter `add` when adding numbers/numbers+strings together.
* **Fixed** Tests for error messages that changed in node >0.6.0.

v0.8.0

Toggle v0.8.0's commit message

Unverified

This tag is not signed, but one or more authors requires that any tag attributed to them is signed.
* **Added** date filter formats `z`, `W`, `t`, `L`, `o`, `B`, and `c`.

* **Added** New `filter` tag.
* **Added** Node.js compatible 0.4.1 - 0.6.X
* **Added** Allow setting cache globally or per-template.
* **Changed** Removed `swig.render` and `swig.fromString`.
* **Changed** `swig.fromFile` is now `swig.compileFile`.
* **Changed** `swig.init()` will clear template cache.
* **Changed** `swig.init()` is now optional for browser mode with no custom settings.
* **Changed** Development dependencies are be more lenient.
* **Fixed** Parser will properly preserver '\' escaping. [gh-24]
* **Fixed** Rewrote tag argument parsing for proper space handling.
* **Fixed** Rewrote filter argument parsing. [gh-23]
* **Fixed** Allow pipe `|` characters in filter arguments. [gh-22]