summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-01-09 18:40:34 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2014-01-09 18:40:34 -0500
commitc650f81e44f74bf5c4f7fe15ae1e08c99c46eae4 (patch)
tree2548b5bf8dc4660d90ccb2ea2f7611cfc6c8073a
parent9e1d236edf261935590c9bd60ab93595bc5d6d7a (diff)
downloadmako-c650f81e44f74bf5c4f7fe15ae1e08c99c46eae4.tar.gz
- 0.9.2
- changelog for pullreq #2
-rw-r--r--CHANGES10
-rw-r--r--mako/__init__.py2
2 files changed, 11 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 4d54804..6538fe6 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,13 @@
+0.9.2
+- [bug] A rework of the mako-render script allows the script to run
+ correctly when given a file pathname that is outside of the current
+ directory, e.g. ``mako-render ../some_template.mako``. In this case,
+ the "template root" defaults to the directory in which the template
+ is located, instead of ".". The script also accepts a new argument
+ ``--template-dir`` which can be specified multiple times to establish
+ template lookup directories. Standard input for templates also works
+ now too. Pull request #2 courtesy Derek Harland.
+
0.9.1
- [bug] Fixed bug in Babel plugin where translator comments
would be lost if intervening text nodes were encountered.
diff --git a/mako/__init__.py b/mako/__init__.py
index cb59f3a..76c1045 100644
--- a/mako/__init__.py
+++ b/mako/__init__.py
@@ -5,5 +5,5 @@
# the MIT License: http://www.opensource.org/licenses/mit-license.php
-__version__ = '0.9.1'
+__version__ = '0.9.2'