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 /CHANGES | |
parent | a4e09a2ba0d2adb1b2e63b6bf8fa39c055b9c99b (diff) | |
download | ruamel.yaml-a7e27772f48e9e7f1040344739f680081da50a41.tar.gz |
fix issue: 453, 4470.17.24
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +[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/>`__) |