Skip to content

Releases: sqlalchemy/mako

1.0.12

02 Sep 18:48
Compare
Choose a tag to compare

1.0.12

Released: Wed Jun 5 2019

  • [bug] [py3k] Fixed regression where import refactors in Mako 1.0.11 caused broken
    imports on Python 3.8.

    References: #296

1.0.11

02 Sep 18:48
Compare
Choose a tag to compare

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

02 Sep 18:48
Compare
Choose a tag to compare

1.0.10

Released: Fri May 10 2019

  • [bug] [py3k] Added a default encoding of "utf-8" when the RichTraceback
    object retrieves Python source lines from a Python traceback; as these
    are bytes in Python 3 they need to be decoded so that they can be
    formatted in the template.

    References: #293

1.0.9

02 Sep 18:48
Compare
Choose a tag to compare

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's ast module for some
    reason, which fails if ast hasn't been imported; the correct
    attribute Constant.value is now used. Also note the issue
    was mis-numbered in the previous changelog note.

    References: #287

1.0.8

02 Sep 18:48
Compare
Choose a tag to compare

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

02 Sep 18:48
Compare
Choose a tag to compare

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

02 Sep 18:48
Compare
Choose a tag to compare

1.0.6

Released: Wed Nov 9 2016

  • [feature] Added new parameter Template.include_error_handler .
    This works like Template.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

02 Sep 18:48
Compare
Choose a tag to compare

1.0.5

Released: Wed Nov 2 2016

  • [bug] Updated the Sphinx documentation builder to work with recent
    versions of Sphinx.

1.0.4

02 Sep 18:48
Compare
Choose a tag to compare

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.

1.0.3

02 Sep 18:48
Compare
Choose a tag to compare

1.0.3

Released: Tue Oct 27 2015

  • [babel] [bug] Fixed an issue where the Babel plugin would not handle a translation
    symbol that contained non-ascii characters. Pull request courtesy
    Roman Imankulov.