diff options
author | Anthon van der Neut <anthon@mnt.org> | 2023-05-06 12:29:03 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2023-05-06 12:29:03 +0200 |
commit | a7e27772f48e9e7f1040344739f680081da50a41 (patch) | |
tree | 0887b210272f81e1a01e6404e1e1aac25e4558f3 /README.rst | |
parent | a4e09a2ba0d2adb1b2e63b6bf8fa39c055b9c99b (diff) | |
download | ruamel.yaml-a7e27772f48e9e7f1040344739f680081da50a41.tar.gz |
fix issue: 453, 4470.17.24
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -4,8 +4,8 @@ ruamel.yaml ``ruamel.yaml`` is a YAML 1.2 loader/dumper package for Python. -:version: 0.17.23 -:updated: 2023-05-05 +:version: 0.17.24 +:updated: 2023-05-06 :documentation: http://yaml.readthedocs.io :repository: https://sourceforge.net/projects/ruamel-yaml/ :pypi: https://pypi.org/project/ruamel.yaml/ @@ -61,6 +61,21 @@ ChangeLog .. should insert NEXT: at the beginning of line for next key (with empty line) +0.17.24 (2023-05-06): + - rewrite of ``CommentedMap.insert()``. If you have a merge key in + the YAML document for the mapping you insert to, the position value should + be the one as you look at the YAML input. + This fixes issue 453 where other + keys of a merged in mapping would show up after an insert (reported by + `Alex Miller <https://sourceforge.net/u/millerdevel/profile/>`__). It + also fixes a call to `.insert()` resulting into the merge key to move + to be the first key if it wasn't already and it is also now possible + to insert a key before a merge key (even if the fist key in the mapping). + - fix (in the pure Python implementation including default) for issue 447. + (reported by `Jack Cherng <https://sourceforge.net/u/jfcherng/profile/>`__, + also brought up by brent on + `StackOverflow <https://stackoverflow.com/q/40072485/1307905>`__) + 0.17.23 (2023-05-05): - fix 458, error on plain scalars starting with word longer than width. (reported by `Kyle Larose <https://sourceforge.net/u/klarose/profile/>`__) |