Edgewall Software

source: tags/0.3.6/ChangeLog

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

0.3.x branch: ported [461] and [469].

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