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