Edgewall Software

source: tags/0.3.0/ChangeLog

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

Prepare 0.3 release.

  • Property svn:eol-style set to native
File size: 4.1 KB
Line 
1Version 0.3
2http://svn.edgewall.org/repos/genshi/tags/0.3.0/
3(Sep 17 2006, from branches/stable/0.3.x)
4
5 * The project name was changed from "Markup" to "Genshi". See UPGRADE.txt
6   for upgrade instructions.
7 * Expression evaluation now differentiates between undefined variables and
8   variables that are defined but set to `None`. This also means that local
9   variables can override built-ins even if the local variable are set to
10   `None` (ticket #36).
11 * The plugin implementation now makes more functions available for use inside
12   templates: XML(), HTML(), defined(), and value-of(). These are mostly for
13   migration from Kid.
14 * The parsing of `py:with` directives has been improved: you can now assign
15   to multiple names, and semicolons inside string literals are treated as
16   expected.
17 * Generator expressions can now be used in template expressions (ticket #16).
18 * Added serialization to plain text (ticket #41).
19 * Calling functions from template expressions with *args and/or **kwargs
20   now works correctly (ticket #42).
21 * The `TemplateLoader` class and the `Template` instances that it manages are
22   now thread-safe, as they no longer keep any state related to the current
23   processing context.
24 * Stream filters and serializers can now be applied using the "pipe" (bitwise
25   or) operator "|".
26 * The execution of named template functions (`py:def`) no longer silently
27   swallows TypeError exceptions (ticket #44).
28 * The XML Parser now correctly handles unicode input (ticket #43).
29 * HTML entities can now be used in templates without having to declare an HTML
30   document type.
31 * Error reporting on undefined entities has been fixed.
32 * Fix traversal of substreams by XPath expressions. For example, the path
33   '*/*' no longer matches non-immediate child elements, and '@*' no longer
34   matches the attributes of descendants.
35 * Fixes for `py:match` which would get confused when it should be applied
36   to multiple elements (ticket #49).
37 * Using namespace prefixes in XPath expressions is now supported.
38 * Expressions now correctly handle slices (ticket #51).
39 * A simple text-based template language is now included for generating
40   plain text output (ticket #47).
41
42
43Version 0.2
44http://svn.edgewall.org/repos/genshi/tags/0.2.0/
45(Aug 22 2006, from branches/stable/0.2.x)
46
47 * XPath syntax errors now contain position info (ticket #20).
48 * Errors in expression evaluation now contain the correct line number in the
49   template (ticket #22).
50 * <script> and <style> element contents are no longer escaped when using HTML
51   serialization (ticket #24).
52 * In some cases expressions in templates did not get interpolated (ticket
53   #26).
54 * CDATA sections are now passed through the pipeline and serialized correctly.
55   That allows using <script> or <style> elements in XHTML output that is still
56   compatible with HTML user agents.
57 * The XHTML serializer now correctly handles elements in foreign namespaces
58   (such as SVG or MathML).
59 * Fixed relative includes in templates on Windows (ticket #27).
60 * Output can be encoded using legacy codecs such as ISO-8859-1. Any character
61   not representable in the chosen encoding gets replaced by the corresponding
62   XML character reference.
63 * String literals in XPath expressions that contain spaces are now parsed
64   as expected.
65 * Added support for the XPath functions boolean(), ceiling(), concat(),
66   contains(), false(), floor(), normalize-space(), number(), round(),
67   starts-with(), string-length(), substring(), substring-after(),
68   substring-before(), translate(), and true().
69 * Non-ASCII characters in expressions should now be handled correctly (ticket
70   #29).
71 * Default values for arguments of template functions now also work with
72   constants and complex expressions (they only worked for string or number
73   literals before).
74 * XPath expressions in now support XPath variables ($var) in predicates
75   (ticket #31).
76 * Expressions in templates can now span multiple lines if they are enclosed
77   in curly braces.
78 * py:def macros can now be invoked from within expressions inside attribute
79   values (ticket #34).
80
81
82Version 0.1
83http://svn.edgewall.org/repos/genshi/tags/0.1.0/
84(Aug 3 2006, from branches/stable/0.1.x)
85
86 * First public release
Note: See TracBrowser for help on using the repository browser.