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