Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

version bump 0.8.0

  • Loading branch information...
commit acd2268155098ce9caa87f4075ad8e8ab5f56506 1 parent f72bc87
@paularmstrong authored
Showing with 56 additions and 20 deletions.
  1. +53 −17 History.md
  2. +3 −3 package.json
View
70 History.md
@@ -1,17 +1,39 @@
-## [0.7.0](https://github.com/paularmstrong/swig/tree/v0.7.0) / 2011-10-05
+[0.8.0](https://github.com/paularmstrong/swig/tree/v0.8.0) / 2011-10-05
+-----------------------------------------------------------------------
+
+* **Added** date filter formats `z`, `W`, `t`, `L`, `o`, `B`, and `c`.
+* **Added** New `filter` tag.
+* **Added** Node.js compatible 0.4.1 - 0.6.X
+* **Added** Allow setting cache globally or per-template.
+* **Changed** Removed `swig.render` and `swig.fromString`.
+* **Changed** `swig.fromFile` is now `swig.compileFile`.
+* **Changed** `swig.init()` will clear template cache.
+* **Changed** `swig.init()` is now optional for browser mode with no custom settings.
+* **Changed** Development dependencies are be more lenient.
+* **Fixed** Parser will properly preserver '\' escaping. [gh-24]
+* **Fixed** Rewrote tag argument parsing for proper space handling.
+* **Fixed** Rewrote filter argument parsing. [gh-23]
+* **Fixed** Allow pipe `|` characters in filter arguments. [gh-22]
+
+[Documentation](https://github.com/paularmstrong/swig/tree/v0.8.0/docs)
+
+[0.7.0](https://github.com/paularmstrong/swig/tree/v0.7.0) / 2011-10-05
+-----------------------------------------------------------------------
* **Added** `make browser` will build Swig for use in major browsers. [gh-3]
* **Changed** Allow overriding `escape` filters. [gh-19]
[Documentation](https://github.com/paularmstrong/swig/tree/v0.7.0/docs)
-## [0.6.1](https://github.com/paularmstrong/swig/tree/v0.6.1) / 2011-10-02
+[0.6.1](https://github.com/paularmstrong/swig/tree/v0.6.1) / 2011-10-02
+-----------------------------------------------------------------------
* **Fixed** chaining filters when the first takes a variable as an argument will not crash parsing.
[Documentation](https://github.com/paularmstrong/swig/tree/v0.6.1/docs)
-## [0.6.0](https://github.com/paularmstrong/swig/tree/v0.6.0) / 2011-10-02
+[0.6.0](https://github.com/paularmstrong/swig/tree/v0.6.0) / 2011-10-02
+-----------------------------------------------------------------------
* **Added** `{% import foo as bar %}` tag for importing macros.
* **Added** Allow escaping for js in escape filter and autoescape tag.
@@ -23,7 +45,8 @@
[Documentation](https://github.com/paularmstrong/swig/tree/v0.6.0/docs)
-## [0.5.0](https://github.com/paularmstrong/swig/tree/v0.5.0) / 2011-09-27
+[0.5.0](https://github.com/paularmstrong/swig/tree/v0.5.0) / 2011-09-27
+-----------------------------------------------------------------------
* **Added** More error messaging in some edge cases.
* **Added** Better error messaging including context and line numbers.
@@ -34,7 +57,8 @@
[Documentation](https://github.com/paularmstrong/swig/tree/v0.5.0/docs)
-## [0.4.0](https://github.com/paularmstrong/swig/tree/v0.4.0) / 2011-09-24
+[0.4.0](https://github.com/paularmstrong/swig/tree/v0.4.0) / 2011-09-24
+-----------------------------------------------------------------------
* **Added** Macro support [docs](docs/tags.md)
* **Changed** Removed requirement to manually specify `locals` for express support.
@@ -45,13 +69,15 @@
[Documentation](https://github.com/paularmstrong/swig/tree/v0.4.0/docs)
-## [0.3.0](https://github.com/paularmstrong/swig/tree/v0.3.0) / 2011-09-17
+[0.3.0](https://github.com/paularmstrong/swig/tree/v0.3.0) / 2011-09-17
+-----------------------------------------------------------------------
* **Added** Support for `{% set ... %}` tag.
[Documentation](https://github.com/paularmstrong/swig/tree/v0.3.0/docs)
-## [0.2.3](https://github.com/paularmstrong/swig/tree/v0.2.3) / 2011-09-16
+[0.2.3](https://github.com/paularmstrong/swig/tree/v0.2.3) / 2011-09-16
+-----------------------------------------------------------------------
* **Fixed** Critical fix for negations in `if` blocks.
* **Added** Support for `forloop.first` in `for` blocks.
@@ -61,53 +87,61 @@
[Documentation](https://github.com/paularmstrong/swig/tree/v0.2.3/docs)
-## [0.2.2](https://github.com/paularmstrong/swig/tree/v0.2.2) / 2011-09-16
+[0.2.2](https://github.com/paularmstrong/swig/tree/v0.2.2) / 2011-09-16
+-----------------------------------------------------------------------
* **Added** Support for `else if ...` within `if` blocks.
[Documentation](https://github.com/paularmstrong/swig/tree/v0.2.2/docs)
-## [0.2.1](https://github.com/paularmstrong/swig/tree/v0.2.1) / 2011-09-13
+[0.2.1](https://github.com/paularmstrong/swig/tree/v0.2.1) / 2011-09-13
+-----------------------------------------------------------------------
* **Added** Support for `else` within `if` blocks.
[Documentation](https://github.com/paularmstrong/swig/tree/v0.2.1/docs)
-## [0.2.0](https://github.com/paularmstrong/swig/tree/v0.2.0) / 2011-09-11
+[0.2.0](https://github.com/paularmstrong/swig/tree/v0.2.0) / 2011-09-11
+-----------------------------------------------------------------------
* **Fixed** `if` statements allow filters applied to operands.
* **Fixed** `for` loops allow filters applied to the object that will be iterated over.
[Documentation](https://github.com/paularmstrong/swig/tree/v0.2.0/docs)
-## [0.1.9](https://github.com/paularmstrong/swig/tree/v0.1.9) / 2011-09-11
+[0.1.9](https://github.com/paularmstrong/swig/tree/v0.1.9) / 2011-09-11
+-----------------------------------------------------------------------
* **Added** `allowErrors` flag will allow errors to be thrown and bubbled up. Default to catch errors.
* **Changed** Internal speed improvements.
[Documentation](https://github.com/paularmstrong/swig/tree/v0.1.9/docs)
-## [0.1.8](https://github.com/paularmstrong/swig/tree/v0.1.8) / 2011-09-10
+[0.1.8](https://github.com/paularmstrong/swig/tree/v0.1.8) / 2011-09-10
+-----------------------------------------------------------------------
* **Added** `add`, `addslashes`, and `replace` filters.
* **Changed** All tags that 'end' must use named ends like `endblock`, `endif`, `endfor`, etc...
[Documentation](https://github.com/paularmstrong/swig/tree/v0.1.8/docs)
-## [0.1.7](https://github.com/paularmstrong/swig/tree/v0.1.7) / 2011-09-05
+[0.1.7](https://github.com/paularmstrong/swig/tree/v0.1.7) / 2011-09-05
+-----------------------------------------------------------------------
* **Added** this History document
* **Fixed** date filter to zero-pad correctly during september when using 'm' format
[Documentation](https://github.com/paularmstrong/swig/tree/v0.1.7/docs)
-## [0.1.6](https://github.com/paularmstrong/swig/tree/v0.1.6) / 2011-09-04
+[0.1.6](https://github.com/paularmstrong/swig/tree/v0.1.6) / 2011-09-04
+-----------------------------------------------------------------------
* **Fixed** Template inheritance blocks messing up.
[Documentation](https://github.com/paularmstrong/swig/tree/v0.1.6/docs)
-## [0.1.5](https://github.com/paularmstrong/swig/tree/v0.1.5) / 2011-09-04
+[0.1.5](https://github.com/paularmstrong/swig/tree/v0.1.5) / 2011-09-04
+-----------------------------------------------------------------------
* **Added** `first`, `last`, and `uniq` filters
* **Added** ability to specify custom filters
@@ -118,13 +152,15 @@
[Documentation](https://github.com/paularmstrong/swig/tree/v0.1.5/docs)
-## [0.1.3](https://github.com/paularmstrong/swig/tree/v0.1.3) / 2011-09-01
+[0.1.3](https://github.com/paularmstrong/swig/tree/v0.1.3) / 2011-09-01
+-----------------------------------------------------------------------
* **Fixed** filter parser to work correctly with single-quoted params in filters.
[Documentation](https://github.com/paularmstrong/swig/tree/v0.1.3/docs)
-## [0.1.2](https://github.com/paularmstrong/swig/tree/v0.1.2) / 2011-09-01
+[0.1.2](https://github.com/paularmstrong/swig/tree/v0.1.2) / 2011-09-01
+-----------------------------------------------------------------------
* Initial **swig** publish after forking from [node-t](https://github.com/skid/node-t)
View
6 package.json
@@ -1,8 +1,8 @@
{
"name": "swig",
- "version": "0.7.0",
- "description": "A fast django-like templating engine for node.js.",
- "keywords": ["template", "html", "django", "sandbox"],
+ "version": "0.8.0",
+ "description": "A fast django-like templating engine for node.js and browsers.",
+ "keywords": ["template", "templating", "html", "django", "express", "block"],
"repository": {
"type": "git",
"url": "http://github.com/paularmstrong/swig.git"
Please sign in to comment.
Something went wrong with that request. Please try again.