CHANGES 4.7 KB

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