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"