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

Commit

Permalink
bump version 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
paularmstrong committed Aug 4, 2014
1 parent 77090d2 commit 08109dc
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 8 deletions.
11 changes: 11 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
[1.4.2](https://github.com/paularmstrong/swig/tree/v1.4.2) / 2014-08-04
-----------------------------------------------------------------------

* **Added** Report JS parse errors with template filenames. gh-492
* **Fixed** Ensure block-level tags (`set`, etc) are parsed in correct order. gh-495
* **Fixed** Ensure import tag uses current Swig instance's loader. gh-421, gh-503
* **Fixed** Allow disabling cache on compile/render functions directly. gh-423
* **Fixed** Ensure compilation does not leak global variables. gh-496
* **Fixed** Fix for-loops to run on strings. gh-478, gh-479
* **Fixed** Allow macro output to be assigned using `set` tag. gh-499, gh-502

[1.4.1](https://github.com/paularmstrong/swig/tree/v1.4.1) / 2014-07-03
-----------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion browser/comments.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/*! Swig v1.4.1 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
/*! Swig v1.4.2 | 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 */
2 changes: 1 addition & 1 deletion docs/docs.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v1.4.1"
"version": "v1.4.2"
}
2 changes: 1 addition & 1 deletion docs/index.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v1.4.1"
"version": "v1.4.2"
}
4 changes: 2 additions & 2 deletions lib/swig.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ var utils = require('./utils'),
/**
* Swig version number as a string.
* @example
* if (swig.version === "1.4.1") { ... }
* if (swig.version === "1.4.2") { ... }
*
* @type {String}
*/
exports.version = "1.4.1";
exports.version = "1.4.2";

/**
* 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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swig",
"version": "1.4.1",
"version": "1.4.2",
"description": "A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.",
"keywords": [
"template",
Expand Down
4 changes: 2 additions & 2 deletions tests/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ function resetOptions() {
}

describe('version', function () {
it('is 1.4.1', function () {
expect(swig.version).to.equal('1.4.1');
it('is 1.4.2', function () {
expect(swig.version).to.equal('1.4.2');
});
});

Expand Down

0 comments on commit 08109dc

Please sign in to comment.