Edgewall Software

source: tags/0.3.3/ChangeLog

Last change on this file was 376, checked in by cmlenz, 17 years ago

Updated change log on 0.3.3 tag.

  • Property svn:eol-style set to native
File size: 6.1 KB
RevLine 
[357]1Version 0.3.3
2http://svn.edgewall.org/repos/genshi/tags/0.3.3/
[376]3(Oct 16 2006, from branches/stable/0.3.x)
[357]4
5 * Fixed bug introduced in 0.3.2 that broke the parsing of templates which
6   declare the same namespace more than once in a nested fashion.
[363]7 * Fixed the parsing of HTML entity references inside attribute values, both
8   in the `XMLParser` and the `HTMLParser` classes.
[376]9 * Some changes to usage of absolute vs. relative template paths to ensure that
10   the filenamed-keyed cache employed by the TemplateLoader doesn't mix up
11   templates with the same name, but from different subdirectories.
[357]12
13
[352]14Version 0.3.2
15http://svn.edgewall.org/repos/genshi/tags/0.3.2/
16(Oct 12 2006, from branches/stable/0.3.x)
17
18 * Exceptions from templates now contain the absolute path to the template file
19   when a search path is used. This enables tracebacks to display the line in
20   question.
21 * The template engine plugin now provides three different types: "genshi" and
22   "genshi-markup" map to markup templates, while "genshi-text" maps to text
23   templates.
24 * Fixed the namespace context used by XPath patterns in py:match templates.
25   The were erroneously using the namespace context of the elements being
26   matched, where they should rather use the context in which they were
27   defined.
28 * The contents of `<script>` and `<style>` elements are no longer escaped when
29   serializing to HTML but declaring the XHTML namespace in the template.
30 * Improved error message raised when using the `py:for` directive on an object
31   that is not iterable (ticket #60).
32 * Fixed the XPath function `starts-with()` which was always returning true
33   (ticket #61).
34
35
[324]36Version 0.3.1
37http://svn.edgewall.org/repos/genshi/tags/0.3.1/
[326]38(Sep 22 2006, from branches/stable/0.3.x)
[324]39
40 * Includes and user-defined filters were not getting the correct context data
41   when used inside a match template (ticket #56).
42 * XPath patterns using the union operator (`|`) were returning only partial
43   results in some cases.
44
45
[242]46Version 0.3
[287]47http://svn.edgewall.org/repos/genshi/tags/0.3.0/
[312]48(Sep 17 2006, from branches/stable/0.3.x)
[242]49
[293]50 * The project name was changed from "Markup" to "Genshi". See UPGRADE.txt
51   for upgrade instructions.
[242]52 * Expression evaluation now differentiates between undefined variables and
53   variables that are defined but set to `None`. This also means that local
54   variables can override built-ins even if the local variable are set to
55   `None` (ticket #36).
[249]56 * The plugin implementation now makes more functions available for use inside
57   templates: XML(), HTML(), defined(), and value-of(). These are mostly for
58   migration from Kid.
[242]59 * The parsing of `py:with` directives has been improved: you can now assign
60   to multiple names, and semicolons inside string literals are treated as
61   expected.
[249]62 * Generator expressions can now be used in template expressions (ticket #16).
[250]63 * Added serialization to plain text (ticket #41).
[274]64 * Calling functions from template expressions with *args and/or **kwargs
65   now works correctly (ticket #42).
66 * The `TemplateLoader` class and the `Template` instances that it manages are
67   now thread-safe, as they no longer keep any state related to the current
68   processing context.
69 * Stream filters and serializers can now be applied using the "pipe" (bitwise
70   or) operator "|".
71 * The execution of named template functions (`py:def`) no longer silently
72   swallows TypeError exceptions (ticket #44).
73 * The XML Parser now correctly handles unicode input (ticket #43).
74 * HTML entities can now be used in templates without having to declare an HTML
75   document type.
76 * Error reporting on undefined entities has been fixed.
77 * Fix traversal of substreams by XPath expressions. For example, the path
78   '*/*' no longer matches non-immediate child elements, and '@*' no longer
79   matches the attributes of descendants.
80 * Fixes for `py:match` which would get confused when it should be applied
81   to multiple elements (ticket #49).
[281]82 * Using namespace prefixes in XPath expressions is now supported.
[284]83 * Expressions now correctly handle slices (ticket #51).
[293]84 * A simple text-based template language is now included for generating
85   plain text output (ticket #47).
[242]86
87
[190]88Version 0.2
[287]89http://svn.edgewall.org/repos/genshi/tags/0.2.0/
[231]90(Aug 22 2006, from branches/stable/0.2.x)
[190]91
[195]92 * XPath syntax errors now contain position info (ticket #20).
[190]93 * Errors in expression evaluation now contain the correct line number in the
[195]94   template (ticket #22).
[190]95 * <script> and <style> element contents are no longer escaped when using HTML
[195]96   serialization (ticket #24).
97 * In some cases expressions in templates did not get interpolated (ticket
98   #26).
[190]99 * CDATA sections are now passed through the pipeline and serialized correctly.
100   That allows using <script> or <style> elements in XHTML output that is still
101   compatible with HTML user agents.
[201]102 * The XHTML serializer now correctly handles elements in foreign namespaces
103   (such as SVG or MathML).
[195]104 * Fixed relative includes in templates on Windows (ticket #27).
[202]105 * Output can be encoded using legacy codecs such as ISO-8859-1. Any character
[190]106   not representable in the chosen encoding gets replaced by the corresponding
107   XML character reference.
[198]108 * String literals in XPath expressions that contain spaces are now parsed
109   as expected.
110 * Added support for the XPath functions boolean(), ceiling(), concat(),
[204]111   contains(), false(), floor(), normalize-space(), number(), round(),
112   starts-with(), string-length(), substring(), substring-after(),
113   substring-before(), translate(), and true().
[212]114 * Non-ASCII characters in expressions should now be handled correctly (ticket
115   #29).
116 * Default values for arguments of template functions now also work with
117   constants and complex expressions (they only worked for string or number
118   literals before).
[226]119 * XPath expressions in now support XPath variables ($var) in predicates
120   (ticket #31).
[231]121 * Expressions in templates can now span multiple lines if they are enclosed
122   in curly braces.
[232]123 * py:def macros can now be invoked from within expressions inside attribute
124   values (ticket #34).
[190]125
[213]126
[190]127Version 0.1
[287]128http://svn.edgewall.org/repos/genshi/tags/0.1.0/
[190]129(Aug 3 2006, from branches/stable/0.1.x)
130
131 * First public release
Note: See TracBrowser for help on using the repository browser.