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

Commit

Permalink
version bum v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paularmstrong committed Jan 20, 2014
1 parent 28864a6 commit 2ca01a4
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 8 deletions.
15 changes: 15 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -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
-----------------------------------------------------------------------

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.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 */
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.2.2"
"version": "v1.3.0"
}
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.2.2"
"version": "v1.3.0"
}
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.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.
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.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",
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.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');
});
});

Expand Down

0 comments on commit 2ca01a4

Please sign in to comment.