From d86dc040390e5cc136c5260ead35eae2d5f8ee69 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 18 Feb 2023 19:14:25 -0500 Subject: [PATCH] docs: version 1.2.1 --- CHANGELOG.rst | 31 +++++++++++++++++++ ...7_213934_nedbat_tomllib_importerror_80.rst | 7 ----- ...0230218_085535_nedbat_better_errors_84.rst | 7 ----- changelog.d/20230218_123838_nedbat.rst | 5 --- ...0230218_155917_nedbat_search_for_files.rst | 9 ------ changelog.d/20230218_190550_nedbat.rst | 7 ----- src/scriv/__init__.py | 2 +- 7 files changed, 32 insertions(+), 36 deletions(-) delete mode 100644 changelog.d/20230217_213934_nedbat_tomllib_importerror_80.rst delete mode 100644 changelog.d/20230218_085535_nedbat_better_errors_84.rst delete mode 100644 changelog.d/20230218_123838_nedbat.rst delete mode 100644 changelog.d/20230218_155917_nedbat_search_for_files.rst delete mode 100644 changelog.d/20230218_190550_nedbat.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c1f29c5..b08c17f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -21,6 +21,37 @@ See the fragment files in the `changelog.d directory`_. .. scriv-insert-here +.. _changelog-1.2.1: + +1.2.1 — 2023-02-18 +------------------ + +Fixed +..... + +- Scriv would fail trying to import tomllib on Python <3.11 if installed + without the ``[toml]`` extra. This is now fixed, closing `issue 80`_. + +- Settings specified as ``file:`` will now search in the changelog directory + and then the current directory for the file. The only exception is if the + first component is ``.`` or ``..``, then only the current directory is + considered. Fixes `issue 82`_. + +- Python variables with type annotations can now be read with ``literal:`` + settings, fixing `issue 85`_. + +- Error messages for mis-formed ``literal:`` configuration values are more + precise, as requested in `issue 84`_. + +- Error messages from settings validation are ScrivExceptions now, and report + configuration problems more clearly and earlier in some cases. + +.. _issue 80: https://github.com/nedbat/scriv/issues/80 +.. _issue 82: https://github.com/nedbat/scriv/issues/82 +.. _issue 84: https://github.com/nedbat/scriv/issues/84 +.. _issue 85: https://github.com/nedbat/scriv/issues/85 + + .. _changelog-1.2.0: 1.2.0 — 2023-01-18 diff --git a/changelog.d/20230217_213934_nedbat_tomllib_importerror_80.rst b/changelog.d/20230217_213934_nedbat_tomllib_importerror_80.rst deleted file mode 100644 index 82a4a49..0000000 --- a/changelog.d/20230217_213934_nedbat_tomllib_importerror_80.rst +++ /dev/null @@ -1,7 +0,0 @@ -Fixed -..... - -- Scriv would fail trying to import tomllib on Python <3.11 if installed - without the ``[toml]`` extra. This is now fixed, closing `issue 80`_. - -.. _issue 80: https://github.com/nedbat/scriv/issues/80 diff --git a/changelog.d/20230218_085535_nedbat_better_errors_84.rst b/changelog.d/20230218_085535_nedbat_better_errors_84.rst deleted file mode 100644 index b4c7df7..0000000 --- a/changelog.d/20230218_085535_nedbat_better_errors_84.rst +++ /dev/null @@ -1,7 +0,0 @@ -Fixed -..... - -- Error messages for mis-formed ``literal:`` configuration values are more - precise, as requested in `issue 84`_. - -.. _issue84: https://github.com/nedbat/scriv/issues/84 diff --git a/changelog.d/20230218_123838_nedbat.rst b/changelog.d/20230218_123838_nedbat.rst deleted file mode 100644 index a628f7c..0000000 --- a/changelog.d/20230218_123838_nedbat.rst +++ /dev/null @@ -1,5 +0,0 @@ -Fixed -..... - -- Error messages from settings validation are ScrivExceptions now, and report - configuration problems more clearly and earlier in some cases. diff --git a/changelog.d/20230218_155917_nedbat_search_for_files.rst b/changelog.d/20230218_155917_nedbat_search_for_files.rst deleted file mode 100644 index f9d7ed0..0000000 --- a/changelog.d/20230218_155917_nedbat_search_for_files.rst +++ /dev/null @@ -1,9 +0,0 @@ -Fixed -..... - -- Settings specified as ``file:`` will now search in the changelog directory - and then the current directory for the file. The only exception is if the - first component is ``.`` or ``..``, then only the current directory is - considered. Fixes `issue 82`_. - -.. _issue 82: https://github.com/nedbat/scriv/issues/82 diff --git a/changelog.d/20230218_190550_nedbat.rst b/changelog.d/20230218_190550_nedbat.rst deleted file mode 100644 index 11cc483..0000000 --- a/changelog.d/20230218_190550_nedbat.rst +++ /dev/null @@ -1,7 +0,0 @@ -Fixed -..... - -- Python variables with type annotations can now be read with ``literal:`` - settings, fixing `issue 85`_. - -.. _issue 85: https://github.com/nedbat/scriv/issues/85 diff --git a/src/scriv/__init__.py b/src/scriv/__init__.py index 9727976..0a4c07b 100644 --- a/src/scriv/__init__.py +++ b/src/scriv/__init__.py @@ -2,4 +2,4 @@ Scriv changelog management tool. """ -__version__ = "1.2.0" +__version__ = "1.2.1"