diff --git a/HISTORY.md b/HISTORY.md index 59519dca..5f89ceb9 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,18 @@ +[1.3.0](https://github.com/paularmstrong/swig/tree/v1.3.0) / 2014-01-20 +----------------------------------------------------------------------- + +* **Changed** Removed official node v0.8.x support +* **Added** Custom template loader support. gh-377, gh-384, gh-382 +* **Added** Ability to set root path using template loaders. gh-382, gh-293 +* **Added** CLI now accepts custom filter and tag arguments. gh-391 +* **Added** Allow `set` tag to set keys on objects with bracket and dot-notation. gh-388 +* **Added** `groupBy` filter from swig-extras. gh-383 +* **Fixed** `swig.run` `filepath` arg is always optional. gh-402 +* **Fixed** Filters on non-empty functions apply correctly. gh-397 +* **Fixed** Filters applied to functions w/ & w/o dotkeys. gh-365 +* **Fixed** `date` filter `N` option returns correct number. gh-375 +* **Fixed** Ensure getting parent template checks cache if on. gh-378 + [1.2.2](https://github.com/paularmstrong/swig/tree/v1.2.2) / 2013-12-02 ----------------------------------------------------------------------- diff --git a/browser/comments.js b/browser/comments.js index b9f470e0..904c884b 100644 --- a/browser/comments.js +++ b/browser/comments.js @@ -1,2 +1,2 @@ -/*! Swig v1.2.2 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */ +/*! Swig v1.3.0 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */ /*! DateZ (c) 2011 Tomo Universalis | @license https://github.com/TomoUniversalis/DateZ/blob/master/LISENCE */ diff --git a/docs/docs.json b/docs/docs.json index 736a14cc..b501bd7c 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -1,3 +1,3 @@ { - "version": "v1.2.2" + "version": "v1.3.0" } diff --git a/docs/index.json b/docs/index.json index 736a14cc..b501bd7c 100644 --- a/docs/index.json +++ b/docs/index.json @@ -1,3 +1,3 @@ { - "version": "v1.2.2" + "version": "v1.3.0" } diff --git a/lib/swig.js b/lib/swig.js index 57f299dc..4c78ee4b 100644 --- a/lib/swig.js +++ b/lib/swig.js @@ -8,11 +8,11 @@ var utils = require('./utils'), /** * Swig version number as a string. * @example - * if (swig.version === "1.2.2") { ... } + * if (swig.version === "1.3.0") { ... } * * @type {String} */ -exports.version = "1.2.2"; +exports.version = "1.3.0"; /** * Swig Options Object. This object can be passed to many of the API-level Swig methods to control various aspects of the engine. All keys are optional. diff --git a/package.json b/package.json index 75a93de8..e469ada9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "swig", - "version": "1.2.2", + "version": "1.3.0", "description": "A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.", "keywords": [ "template", diff --git a/tests/basic.test.js b/tests/basic.test.js index cd1e2d3f..1d05b0f2 100644 --- a/tests/basic.test.js +++ b/tests/basic.test.js @@ -13,8 +13,8 @@ function resetOptions() { } describe('version', function () { - it('is 1.2.2', function () { - expect(swig.version).to.equal('1.2.2'); + it('is 1.3.0', function () { + expect(swig.version).to.equal('1.3.0'); }); });