1 2For a complete changelog, see: 3 4* https://github.com/yaml/pyyaml/commits/ 5* https://bitbucket.org/xi/pyyaml/commits/ 6 75.4.1 (2021-01-20) 8 9* https://github.com/yaml/pyyaml/pull/480 -- Fix stub compat with older pyyaml versions that may unwittingly load it 10 115.4 (2021-01-19) 12 13* https://github.com/yaml/pyyaml/pull/407 -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA 14* https://github.com/yaml/pyyaml/pull/472 -- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader 15* https://github.com/yaml/pyyaml/pull/441 -- Fix memory leak in implicit resolver setup 16* https://github.com/yaml/pyyaml/pull/392 -- Fix py2 copy support for timezone objects 17* https://github.com/yaml/pyyaml/pull/378 -- Fix compatibility with Jython 18 195.3.1 (2020-03-18) 20 21* https://github.com/yaml/pyyaml/pull/386 -- Prevents arbitrary code execution during python/object/new constructor 22 235.3 (2020-01-06) 24 25* https://github.com/yaml/pyyaml/pull/290 -- Use `is` instead of equality for comparing with `None` 26* https://github.com/yaml/pyyaml/pull/270 -- Fix typos and stylistic nit 27* https://github.com/yaml/pyyaml/pull/309 -- Fix up small typo 28* https://github.com/yaml/pyyaml/pull/161 -- Fix handling of __slots__ 29* https://github.com/yaml/pyyaml/pull/358 -- Allow calling add_multi_constructor with None 30* https://github.com/yaml/pyyaml/pull/285 -- Add use of safe_load() function in README 31* https://github.com/yaml/pyyaml/pull/351 -- Fix reader for Unicode code points over 0xFFFF 32* https://github.com/yaml/pyyaml/pull/360 -- Enable certain unicode tests when maxunicode not > 0xffff 33* https://github.com/yaml/pyyaml/pull/359 -- Use full_load in yaml-highlight example 34* https://github.com/yaml/pyyaml/pull/244 -- Document that PyYAML is implemented with Cython 35* https://github.com/yaml/pyyaml/pull/329 -- Fix for Python 3.10 36* https://github.com/yaml/pyyaml/pull/310 -- Increase size of index, line, and column fields 37* https://github.com/yaml/pyyaml/pull/260 -- Remove some unused imports 38* https://github.com/yaml/pyyaml/pull/163 -- Create timezone-aware datetimes when parsed as such 39* https://github.com/yaml/pyyaml/pull/363 -- Add tests for timezone 40 415.2 (2019-12-02) 42------------------ 43 44* Repair incompatibilities introduced with 5.1. The default Loader was changed, 45 but several methods like add_constructor still used the old default 46 https://github.com/yaml/pyyaml/pull/279 -- A more flexible fix for custom tag constructors 47 https://github.com/yaml/pyyaml/pull/287 -- Change default loader for yaml.add_constructor 48 https://github.com/yaml/pyyaml/pull/305 -- Change default loader for add_implicit_resolver, add_path_resolver 49* Make FullLoader safer by removing python/object/apply from the default FullLoader 50 https://github.com/yaml/pyyaml/pull/347 -- Move constructor for object/apply to UnsafeConstructor 51* Fix bug introduced in 5.1 where quoting went wrong on systems with sys.maxunicode <= 0xffff 52 https://github.com/yaml/pyyaml/pull/276 -- Fix logic for quoting special characters 53* Other PRs: 54 https://github.com/yaml/pyyaml/pull/280 -- Update CHANGES for 5.1 55 565.1.2 (2019-07-30) 57------------------ 58 59* Re-release of 5.1 with regenerated Cython sources to build properly for Python 3.8b2+ 60 615.1.1 (2019-06-05) 62------------------ 63 64* Re-release of 5.1 with regenerated Cython sources to build properly for Python 3.8b1 65 665.1 (2019-03-13) 67---------------- 68 69* https://github.com/yaml/pyyaml/pull/35 -- Some modernization of the test running 70* https://github.com/yaml/pyyaml/pull/42 -- Install tox in a virtualenv 71* https://github.com/yaml/pyyaml/pull/45 -- Allow colon in a plain scalar in a flow context 72* https://github.com/yaml/pyyaml/pull/48 -- Fix typos 73* https://github.com/yaml/pyyaml/pull/55 -- Improve RepresenterError creation 74* https://github.com/yaml/pyyaml/pull/59 -- Resolves #57, update readme issues link 75* https://github.com/yaml/pyyaml/pull/60 -- Document and test Python 3.6 support 76* https://github.com/yaml/pyyaml/pull/61 -- Use Travis CI built in pip cache support 77* https://github.com/yaml/pyyaml/pull/62 -- Remove tox workaround for Travis CI 78* https://github.com/yaml/pyyaml/pull/63 -- Adding support to Unicode characters over codepoint 0xffff 79* https://github.com/yaml/pyyaml/pull/75 -- add 3.12 changelog 80* https://github.com/yaml/pyyaml/pull/76 -- Fallback to Pure Python if Compilation fails 81* https://github.com/yaml/pyyaml/pull/84 -- Drop unsupported Python 3.3 82* https://github.com/yaml/pyyaml/pull/102 -- Include license file in the generated wheel package 83* https://github.com/yaml/pyyaml/pull/105 -- Removed Python 2.6 & 3.3 support 84* https://github.com/yaml/pyyaml/pull/111 -- Remove commented out Psyco code 85* https://github.com/yaml/pyyaml/pull/129 -- Remove call to `ord` in lib3 emitter code 86* https://github.com/yaml/pyyaml/pull/149 -- Test on Python 3.7-dev 87* https://github.com/yaml/pyyaml/pull/158 -- Support escaped slash in double quotes "\/" 88* https://github.com/yaml/pyyaml/pull/175 -- Updated link to pypi in release announcement 89* https://github.com/yaml/pyyaml/pull/181 -- Import Hashable from collections.abc 90* https://github.com/yaml/pyyaml/pull/194 -- Reverting https://github.com/yaml/pyyaml/pull/74 91* https://github.com/yaml/pyyaml/pull/195 -- Build libyaml on travis 92* https://github.com/yaml/pyyaml/pull/196 -- Force cython when building sdist 93* https://github.com/yaml/pyyaml/pull/254 -- Allow to turn off sorting keys in Dumper (2) 94* https://github.com/yaml/pyyaml/pull/256 -- Make default_flow_style=False 95* https://github.com/yaml/pyyaml/pull/257 -- Deprecate yaml.load and add FullLoader and UnsafeLoader classes 96* https://github.com/yaml/pyyaml/pull/261 -- Skip certain unicode tests when maxunicode not > 0xffff 97* https://github.com/yaml/pyyaml/pull/263 -- Windows Appveyor build 98 993.13 (2018-07-05) 100----------------- 101 102* Resolved issues around PyYAML working in Python 3.7. 103 1043.12 (2016-08-28) 105----------------- 106 107* Wheel packages for Windows binaries. 108* Adding an implicit resolver to a derived loader should not affect the base loader. 109* Uniform representation for OrderedDict? across different versions of Python. 110* Fixed comparison to None warning. 111 1123.11 (2014-03-26) 113----------------- 114 115* Source and binary distributions are rebuilt against the latest 116 versions of Cython and LibYAML. 117 1183.10 (2011-05-30) 119----------------- 120 121* Do not try to build LibYAML bindings on platforms other than CPython 122 (Thank to olt(at)bogosoft(dot)com). 123* Clear cyclic references in the parser and the emitter 124 (Thank to kristjan(at)ccpgames(dot)com). 125* Dropped support for Python 2.3 and 2.4. 126 1273.09 (2009-08-31) 128----------------- 129 130* Fixed an obscure scanner error not reported when there is 131 no line break at the end of the stream (Thank to Ingy). 132* Fixed use of uninitialized memory when emitting anchors with 133 LibYAML bindings (Thank to cegner(at)yahoo-inc(dot)com). 134* Fixed emitting incorrect BOM characters for UTF-16 (Thank to 135 Valentin Nechayev) 136* Fixed the emitter for folded scalars not respecting the preferred 137 line width (Thank to Ingy). 138* Fixed a subtle ordering issue with emitting '%TAG' directives 139 (Thank to Andrey Somov). 140* Fixed performance regression with LibYAML bindings. 141 142 1433.08 (2008-12-31) 144----------------- 145 146* Python 3 support (Thank to Erick Tryzelaar). 147* Use Cython instead of Pyrex to build LibYAML bindings. 148* Refactored support for unicode and byte input/output streams. 149 150 1513.07 (2008-12-29) 152----------------- 153 154* The emitter learned to use an optional indentation indicator 155 for block scalar; thus scalars with leading whitespaces 156 could now be represented in a literal or folded style. 157* The test suite is now included in the source distribution. 158 To run the tests, type 'python setup.py test'. 159* Refactored the test suite: dropped unittest in favor of 160 a custom test appliance. 161* Fixed the path resolver in CDumper. 162* Forced an explicit document end indicator when there is 163 a possibility of parsing ambiguity. 164* More setup.py improvements: the package should be usable 165 when any combination of setuptools, Pyrex and LibYAML 166 is installed. 167* Windows binary packages are built against LibYAML-0.1.2. 168* Minor typos and corrections (Thank to Ingy dot Net 169 and Andrey Somov). 170 171 1723.06 (2008-10-03) 173----------------- 174 175* setup.py checks whether LibYAML is installed and if so, builds 176 and installs LibYAML bindings. To force or disable installation 177 of LibYAML bindings, use '--with-libyaml' or '--without-libyaml' 178 respectively. 179* The source distribution includes compiled Pyrex sources so 180 building LibYAML bindings no longer requires Pyrex installed. 181* 'yaml.load()' raises an exception if the input stream contains 182 more than one YAML document. 183* Fixed exceptions produced by LibYAML bindings. 184* Fixed a dot '.' character being recognized as !!float. 185* Fixed Python 2.3 compatibility issue in constructing !!timestamp values. 186* Windows binary packages are built against the LibYAML stable branch. 187* Added attributes 'yaml.__version__' and 'yaml.__with_libyaml__'. 188 189 1903.05 (2007-05-13) 191----------------- 192 193* Windows binary packages were built with LibYAML trunk. 194* Fixed a bug that prevent processing a live stream of YAML documents in 195 timely manner (Thanks edward(at)sweetbytes(dot)net). 196* Fixed a bug when the path in add_path_resolver contains boolean values 197 (Thanks jstroud(at)mbi(dot)ucla(dot)edu). 198* Fixed loss of microsecond precision in timestamps 199 (Thanks edemaine(at)mit(dot)edu). 200* Fixed loading an empty YAML stream. 201* Allowed immutable subclasses of YAMLObject. 202* Made the encoding of the unicode->str conversion explicit so that 203 the conversion does not depend on the default Python encoding. 204* Forced emitting float values in a YAML compatible form. 205 206 2073.04 (2006-08-20) 208----------------- 209 210* Include experimental LibYAML bindings. 211* Fully support recursive structures. 212* Sort dictionary keys. Mapping node values are now represented 213 as lists of pairs instead of dictionaries. No longer check 214 for duplicate mapping keys as it didn't work correctly anyway. 215* Fix invalid output of single-quoted scalars in cases when a single 216 quote is not escaped when preceded by whitespaces or line breaks. 217* To make porting easier, rewrite Parser not using generators. 218* Fix handling of unexpected block mapping values. 219* Fix a bug in Representer.represent_object: copy_reg.dispatch_table 220 was not correctly handled. 221* Fix a bug when a block scalar is incorrectly emitted in the simple 222 key context. 223* Hold references to the objects being represented. 224* Make Representer not try to guess !!pairs when a list is represented. 225* Fix timestamp constructing and representing. 226* Fix the 'N' plain scalar being incorrectly recognized as !!bool. 227 228 2293.03 (2006-06-19) 230----------------- 231 232* Fix Python 2.5 compatibility issues. 233* Fix numerous bugs in the float handling. 234* Fix scanning some ill-formed documents. 235* Other minor fixes. 236 237 2383.02 (2006-05-15) 239----------------- 240 241* Fix win32 installer. Apparently bdist_wininst does not work well 242 under Linux. 243* Fix a bug in add_path_resolver. 244* Add the yaml-highlight example. Try to run on a color terminal: 245 `python yaml_hl.py <any_document.yaml`. 246 247 2483.01 (2006-05-07) 249----------------- 250 251* Initial release. The version number reflects the codename 252 of the project (PyYAML 3000) and differentiates it from 253 the abandoned PyYaml module. 254 255