From 37faf32a4e4199786aa75a6d9703c5c25e9e9a26 Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Wed, 10 Aug 2022 08:37:29 +0800 Subject: [PATCH 1/3] chore: prepare for release 0.11.3 --- CHANGELOG.md | 7 ++++++- pyproject.toml | 2 +- tomlkit/__init__.py | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d52a565..82250a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log -## [Unreleased] +## [0.11.3] - 2022-08-10 + +### Fixed + +- Fix a regression issue that copying an array results in extra `None` items. ([#221](https://github.com/sdispater/tomlkit/issues/221)) +- Fix a regression of `array.add_line` that it incorrectly adds a comma to non-value lines. ([#223](https://github.com/sdispater/tomlkit/issues/223)) ## [0.11.2] - 2022-08-08 diff --git a/pyproject.toml b/pyproject.toml index 3efa017..71c20a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tomlkit" -version = "0.11.2" +version = "0.11.3" description = "Style preserving TOML library" authors = ["Sébastien Eustace "] license = "MIT" diff --git a/tomlkit/__init__.py b/tomlkit/__init__.py index 91e62be..981720f 100644 --- a/tomlkit/__init__.py +++ b/tomlkit/__init__.py @@ -25,7 +25,7 @@ from tomlkit.api import ws -__version__ = "0.11.2" +__version__ = "0.11.3" __all__ = [ "aot", "array", From 8ca214294748db4ca119870015e7923d3b11664b Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Wed, 10 Aug 2022 08:38:51 +0800 Subject: [PATCH 2/3] fix changelog --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82250a2..2527294 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## [Unreleased] + ## [0.11.3] - 2022-08-10 ### Fixed @@ -305,7 +307,8 @@ - Fixed handling of super tables with different sections. - Fixed raw strings escaping. -[unreleased]: https://github.com/sdispater/tomlkit/compare/0.11.2...master +[unreleased]: https://github.com/sdispater/tomlkit/compare/0.11.3...master +[0.11.3]: https://github.com/sdispater/tomlkit/releases/tag/0.11.3 [0.11.2]: https://github.com/sdispater/tomlkit/releases/tag/0.11.2 [0.11.1]: https://github.com/sdispater/tomlkit/releases/tag/0.11.1 [0.11.0]: https://github.com/sdispater/tomlkit/releases/tag/0.11.0 From 334d622b75e4012184ea978a78eaad03a8acddd5 Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Wed, 10 Aug 2022 09:24:24 +0800 Subject: [PATCH 3/3] fix import order --- tests/test_items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_items.py b/tests/test_items.py index f2e9f89..e6d7df7 100644 --- a/tests/test_items.py +++ b/tests/test_items.py @@ -1,6 +1,6 @@ +import copy import math import pickle -import copy from datetime import date from datetime import datetime