Releases: sqlalchemy/mako
1.0.13
1.0.13
Released: Mon Jul 1 2019
- [bug] [exceptions] Improved the line-number tracking for source lines inside of Python
<% ... %>
blocks, such that text- and HTML-formatted exception traces such
as that ofhtml_error_template()
now report the correct source line
inside the block, rather than the first line of the block itself.
Exceptions in<%! ... %>
blocks which get raised while loading the
module are still not reported correctly, as these are handled before the
Mako code is generated. Pull request courtesy Martin von Gagern.
1.0.12
1.0.11
1.0.11
Released: Fri May 31 2019
- [changed] Updated for additional project metadata in setup.py. Additionally,
the code has been reformatted using Black and zimports.
1.0.10
1.0.9
1.0.9
Released: Mon Apr 15 2019
-
[bug] Further corrected the previous fix for #287 as it relied upon
an attribute that is monkeypatched by Python'sast
module for some
reason, which fails ifast
hasn't been imported; the correct
attributeConstant.value
is now used. Also note the issue
was mis-numbered in the previous changelog note.References: #287
1.0.8
1.0.8
Released: Wed Mar 20 2019
-
[bug] Fixed an element in the AST Python generator which changed
for Python 3.8, causing expression generation to fail.References: #287
-
[feature] Added
--output-encoding
flag to the mako-render script.
Pull request courtesy lacsaP.References: #271
-
[bug] Removed unnecessary "usage" prefix from mako-render script.
Pull request courtesy Hugo.
1.0.7
1.0.7
Released: Thu Jul 13 2017
- [bug] Changed the "print" in the mako-render command to
sys.stdout.write(), avoiding the extra newline at the end
of the template output. Pull request courtesy
Yves Chevallier.
1.0.6
1.0.6
Released: Wed Nov 9 2016
- [feature] Added new parameter
Template.include_error_handler
.
This works likeTemplate.error_handler
but indicates the
handler should take place when this template is included within another
template via the<%include>
tag. Pull request courtesy
Huayi Zhang.
1.0.5
1.0.5
Released: Wed Nov 2 2016
- [bug] Updated the Sphinx documentation builder to work with recent
versions of Sphinx.
1.0.4
1.0.4
Released: Thu Mar 10 2016
-
[feature] [test] The default test runner is now py.test. Running "python setup.py test"
will make use of py.test instead of nose. nose still works as a test
runner as well, however. -
[bug] [lexer] Major improvements to lexing of intricate Python sections which may
contain complex backslash sequences, as well as support for the bitwise
operator (e.g. pipe symbol) inside of expression sections distinct
from the Mako "filter" operator, provided the operator is enclosed
within parentheses or brackets. Pull request courtesy Daniel Martin.References: pull request github:19
-
[feature] Added new method
Template.list_defs()
. Pull request courtesy
Jonathan Vanasco.