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

Commit 08109dc

Browse files
committed
bump version 1.4.2
1 parent 77090d2 commit 08109dc

File tree

7 files changed

+19
-8
lines changed

7 files changed

+19
-8
lines changed

HISTORY.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
[1.4.2](https://github.com/paularmstrong/swig/tree/v1.4.2) / 2014-08-04
2+
-----------------------------------------------------------------------
3+
4+
* **Added** Report JS parse errors with template filenames. gh-492
5+
* **Fixed** Ensure block-level tags (`set`, etc) are parsed in correct order. gh-495
6+
* **Fixed** Ensure import tag uses current Swig instance's loader. gh-421, gh-503
7+
* **Fixed** Allow disabling cache on compile/render functions directly. gh-423
8+
* **Fixed** Ensure compilation does not leak global variables. gh-496
9+
* **Fixed** Fix for-loops to run on strings. gh-478, gh-479
10+
* **Fixed** Allow macro output to be assigned using `set` tag. gh-499, gh-502
11+
112
[1.4.1](https://github.com/paularmstrong/swig/tree/v1.4.1) / 2014-07-03
213
-----------------------------------------------------------------------
314

browser/comments.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/*! Swig v1.4.1 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
1+
/*! Swig v1.4.2 | 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.4.1"
2+
"version": "v1.4.2"
33
}

docs/index.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "v1.4.1"
2+
"version": "v1.4.2"
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.4.1") { ... }
11+
* if (swig.version === "1.4.2") { ... }
1212
*
1313
* @type {String}
1414
*/
15-
exports.version = "1.4.1";
15+
exports.version = "1.4.2";
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.4.1",
3+
"version": "1.4.2",
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.4.1', function () {
17-
expect(swig.version).to.equal('1.4.1');
16+
it('is 1.4.2', function () {
17+
expect(swig.version).to.equal('1.4.2');
1818
});
1919
});
2020

0 commit comments

Comments
 (0)