Commit ada8ffb0 by Chris Jerdonek

Cleaned up the history file prior to merging to master.

parent 9aca794c
History History
======= =======
0.5.0 (TBD) 0.5.0 (2012-04-03)
----------- ------------------
This version represents a major rewrite and refactoring of the code base This version represents a major rewrite and refactoring of the code base
that also adds features and fixes many bugs. All functionality and nearly that also adds features and fixes many bugs. All functionality and nearly
all unit tests have been preserved. However, some backwards incompatible all unit tests have been preserved. However, some backwards incompatible
changes to the API have been made. changes to the API have been made.
Below is a selection of some of the changes (not exhaustive).
Highlights: Highlights:
* Pystache now passes all tests in version 1.0.3 of the `Mustache spec`_. [pvande] * Pystache now passes all tests in version 1.0.3 of the `Mustache spec`_. [pvande]
...@@ -21,43 +23,30 @@ Highlights: ...@@ -21,43 +23,30 @@ Highlights:
* Introduced separation of concerns and removed circular dependencies (e.g. * Introduced separation of concerns and removed circular dependencies (e.g.
between Template and View classes, cf. `issue #13`_). between Template and View classes, cf. `issue #13`_).
* Unicode now used consistently throughout the rendering process. * Unicode now used consistently throughout the rendering process.
* Expanded test coverage: nosetests now includes doctests and ~105 test cases * Expanded test coverage: nosetests now runs doctests and ~105 test cases
from the Mustache spec (for a total of ~315 unit tests up from 56). from the Mustache spec (increasing test count from 56 to ~315).
* Added rudimentary benchmarking script. * Added a rudimentary benchmarking script to gauge performance while refactoring.
* Extensive documentation added (e.g. docstrings).
TODO: complete the list of key changes.
Features:
* Views and Renderers accept a custom template loader. Also, this loader Other changes:
can be a dictionary of partials. [cjerdonek]
* Added a command-line interface. [vrde, cjerdonek]
* Custom escape function can now be passed to Template constructor. [cjerdonek]
* Template class can now handle non-ascii characters in non-unicode strings.
Added default_encoding and decode_errors to Template constructor arguments.
[cjerdonek]
* Loader supports a decode_errors argument. [cjerdonek]
API changes: * Added a command-line interface. [vrde]
* Renderer now accepts a custom partial loader (e.g. a dictionary) and custom
* Removed output_encoding options. [cjerdonek] escape function.
* Removed automatic use of markupsafe, if available. [cjerdonek] * Rendering now supports non-ascii characters in str strings.
* Added string encoding, file encoding, and errors options for decoding to unicode.
* Removed the output encoding option.
* Removed the use of markupsafe.
Bug fixes: Bug fixes:
* Context values no longer processed as template strings. [jakearchibald] * Context values no longer processed as template strings. [jakearchibald]
* Passing ``**kwargs`` to ``Template()`` modified the context. [cjerdonek] * Whitespace surrounding sections is no longer altered, per the spec. [heliodor]
* Passing ``**kwargs`` to ``Template()`` with no context raised an exception. [cjerdonek] * Zeroes now render correctly when using PyPy. [alex]
* Whitespace surrounding sections is no longer altered, in accordance with
the mustache spec. [heliodor]
* Fixed an issue that affected the rendering of zeroes when using certain
implementations of Python (i.e. PyPy). [alex]
* Extensionless template files could not be loaded. [cjerdonek]
* Multline comments now permitted. [fczuardi] * Multline comments now permitted. [fczuardi]
* Extensionless template files are now supported.
Misc: * Passing ``**kwargs`` to ``Template()`` no longer modifies the context.
* Passing ``**kwargs`` to ``Template()`` with no context no longer raises an exception.
* Added some docstrings. [kennethreitz]
0.4.1 (2012-03-25) 0.4.1 (2012-03-25)
------------------ ------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment