Imported Upstream version 3.10
[platform/upstream/python-PyYAML.git] / CHANGES
1
2 For a complete Subversion changelog, see 'http://pyyaml.org/log/pyyaml'.
3
4 3.10 (2011-05-30)
5 -----------------
6
7 * Do not try to build LibYAML bindings on platforms other than CPython
8   (Thank to olt(at)bogosoft(dot)com).
9 * Clear cyclic references in the parser and the emitter
10   (Thank to kristjan(at)ccpgames(dot)com).
11 * Dropped support for Python 2.3 and 2.4.
12
13 3.09 (2009-08-31)
14 -----------------
15
16 * Fixed an obscure scanner error not reported when there is
17   no line break at the end of the stream (Thank to Ingy).
18 * Fixed use of uninitialized memory when emitting anchors with
19   LibYAML bindings (Thank to cegner(at)yahoo-inc(dot)com).
20 * Fixed emitting incorrect BOM characters for UTF-16 (Thank to
21   Valentin Nechayev)
22 * Fixed the emitter for folded scalars not respecting the preferred
23   line width (Thank to Ingy).
24 * Fixed a subtle ordering issue with emitting '%TAG' directives
25   (Thank to Andrey Somov).
26 * Fixed performance regression with LibYAML bindings.
27
28
29 3.08 (2008-12-31)
30 -----------------
31
32 * Python 3 support (Thank to Erick Tryzelaar).
33 * Use Cython instead of Pyrex to build LibYAML bindings.
34 * Refactored support for unicode and byte input/output streams.
35
36
37 3.07 (2008-12-29)
38 -----------------
39
40 * The emitter learned to use an optional indentation indicator
41   for block scalar; thus scalars with leading whitespaces
42   could now be represented in a literal or folded style.
43 * The test suite is now included in the source distribution.
44   To run the tests, type 'python setup.py test'.
45 * Refactored the test suite: dropped unittest in favor of
46   a custom test appliance.
47 * Fixed the path resolver in CDumper.
48 * Forced an explicit document end indicator when there is
49   a possibility of parsing ambiguity.
50 * More setup.py improvements: the package should be usable
51   when any combination of setuptools, Pyrex and LibYAML
52   is installed.
53 * Windows binary packages are built against LibYAML-0.1.2.
54 * Minor typos and corrections (Thank to Ingy dot Net
55   and Andrey Somov).
56
57
58 3.06 (2008-10-03)
59 -----------------
60
61 * setup.py checks whether LibYAML is installed and if so, builds
62   and installs LibYAML bindings.  To force or disable installation
63   of LibYAML bindings, use '--with-libyaml' or '--without-libyaml'
64   respectively.
65 * The source distribution includes compiled Pyrex sources so
66   building LibYAML bindings no longer requires Pyrex installed.
67 * 'yaml.load()' raises an exception if the input stream contains
68   more than one YAML document.
69 * Fixed exceptions produced by LibYAML bindings.
70 * Fixed a dot '.' character being recognized as !!float.
71 * Fixed Python 2.3 compatibility issue in constructing !!timestamp values.
72 * Windows binary packages are built against the LibYAML stable branch.
73 * Added attributes 'yaml.__version__' and  'yaml.__with_libyaml__'.
74
75
76 3.05 (2007-05-13)
77 -----------------
78
79 * Windows binary packages were built with LibYAML trunk.
80 * Fixed a bug that prevent processing a live stream of YAML documents in
81   timely manner (Thanks edward(at)sweetbytes(dot)net).
82 * Fixed a bug when the path in add_path_resolver contains boolean values
83   (Thanks jstroud(at)mbi(dot)ucla(dot)edu).
84 * Fixed loss of microsecond precision in timestamps
85   (Thanks edemaine(at)mit(dot)edu).
86 * Fixed loading an empty YAML stream.
87 * Allowed immutable subclasses of YAMLObject.
88 * Made the encoding of the unicode->str conversion explicit so that
89   the conversion does not depend on the default Python encoding.
90 * Forced emitting float values in a YAML compatible form.
91
92
93 3.04 (2006-08-20)
94 -----------------
95
96 * Include experimental LibYAML bindings.
97 * Fully support recursive structures.
98 * Sort dictionary keys.  Mapping node values are now represented
99   as lists of pairs instead of dictionaries.  No longer check
100   for duplicate mapping keys as it didn't work correctly anyway.
101 * Fix invalid output of single-quoted scalars in cases when a single
102   quote is not escaped when preceeded by whitespaces or line breaks.
103 * To make porting easier, rewrite Parser not using generators.
104 * Fix handling of unexpected block mapping values.
105 * Fix a bug in Representer.represent_object: copy_reg.dispatch_table
106   was not correctly handled.
107 * Fix a bug when a block scalar is incorrectly emitted in the simple
108   key context.
109 * Hold references to the objects being represented.
110 * Make Representer not try to guess !!pairs when a list is represented.
111 * Fix timestamp constructing and representing.
112 * Fix the 'N' plain scalar being incorrectly recognized as !!bool.
113
114
115 3.03 (2006-06-19)
116 -----------------
117
118 * Fix Python 2.5 compatibility issues.
119 * Fix numerous bugs in the float handling.
120 * Fix scanning some ill-formed documents.
121 * Other minor fixes.
122
123
124 3.02 (2006-05-15)
125 -----------------
126
127 * Fix win32 installer.  Apparently bdist_wininst does not work well
128   under Linux.
129 * Fix a bug in add_path_resolver.
130 * Add the yaml-highlight example.  Try to run on a color terminal:
131   `python yaml_hl.py <any_document.yaml`.
132
133
134 3.01 (2006-05-07)
135 -----------------
136
137 * Initial release.  The version number reflects the codename
138   of the project (PyYAML 3000) and differenciates it from
139   the abandoned PyYaml module. 
140