Skip to content
This repository was archived by the owner on Apr 11, 2018. It is now read-only.

Commit 2ca01a4

Browse files
committed
version bum v1.3.0
1 parent 28864a6 commit 2ca01a4

File tree

7 files changed

+23
-8
lines changed

7 files changed

+23
-8
lines changed

HISTORY.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
[1.3.0](https://github.com/paularmstrong/swig/tree/v1.3.0) / 2014-01-20
2+
-----------------------------------------------------------------------
3+
4+
* **Changed** Removed official node v0.8.x support
5+
* **Added** Custom template loader support. gh-377, gh-384, gh-382
6+
* **Added** Ability to set root path using template loaders. gh-382, gh-293
7+
* **Added** CLI now accepts custom filter and tag arguments. gh-391
8+
* **Added** Allow `set` tag to set keys on objects with bracket and dot-notation. gh-388
9+
* **Added** `groupBy` filter from swig-extras. gh-383
10+
* **Fixed** `swig.run` `filepath` arg is always optional. gh-402
11+
* **Fixed** Filters on non-empty functions apply correctly. gh-397
12+
* **Fixed** Filters applied to functions w/ & w/o dotkeys. gh-365
13+
* **Fixed** `date` filter `N` option returns correct number. gh-375
14+
* **Fixed** Ensure getting parent template checks cache if on. gh-378
15+
116
[1.2.2](https://github.com/paularmstrong/swig/tree/v1.2.2) / 2013-12-02
217
-----------------------------------------------------------------------
318

browser/comments.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/*! Swig v1.2.2 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
1+
/*! Swig v1.3.0 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
22
/*! DateZ (c) 2011 Tomo Universalis | @license https://github.com/TomoUniversalis/DateZ/blob/master/LISENCE */

docs/docs.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "v1.2.2"
2+
"version": "v1.3.0"
33
}

docs/index.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "v1.2.2"
2+
"version": "v1.3.0"
33
}

lib/swig.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ var utils = require('./utils'),
88
/**
99
* Swig version number as a string.
1010
* @example
11-
* if (swig.version === "1.2.2") { ... }
11+
* if (swig.version === "1.3.0") { ... }
1212
*
1313
* @type {String}
1414
*/
15-
exports.version = "1.2.2";
15+
exports.version = "1.3.0";
1616

1717
/**
1818
* 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.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "swig",
3-
"version": "1.2.2",
3+
"version": "1.3.0",
44
"description": "A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.",
55
"keywords": [
66
"template",

tests/basic.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ function resetOptions() {
1313
}
1414

1515
describe('version', function () {
16-
it('is 1.2.2', function () {
17-
expect(swig.version).to.equal('1.2.2');
16+
it('is 1.3.0', function () {
17+
expect(swig.version).to.equal('1.3.0');
1818
});
1919
});
2020

0 commit comments

Comments
 (0)