diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-08-26 19:47:13 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-08-26 19:47:13 -0400 |
commit | bee044a1c187be7f98dbfa08cc3017b3b9362362 (patch) | |
tree | 160682fdef3eb564834f619aaeba66e17cffe9b0 | |
parent | 7eeb7eefb45f5553a2faaac9724ba6d0bf171873 (diff) | |
download | alembic-bee044a1c187be7f98dbfa08cc3017b3b9362362.tar.gz |
- 1.1.0rel_1_1_0
-rw-r--r-- | docs/build/changelog.rst | 82 | ||||
-rw-r--r-- | docs/build/conf.py | 4 | ||||
-rw-r--r-- | docs/build/unreleased/562.rst | 12 | ||||
-rw-r--r-- | docs/build/unreleased/571.rst | 12 | ||||
-rw-r--r-- | docs/build/unreleased/592.rst | 15 | ||||
-rw-r--r-- | docs/build/unreleased/594.rst | 7 | ||||
-rw-r--r-- | docs/build/unreleased/bump.rst | 6 | ||||
-rw-r--r-- | docs/build/unreleased/imp_warning.rst | 13 | ||||
-rw-r--r-- | docs/build/unreleased/testsuite.rst | 8 |
9 files changed, 83 insertions, 76 deletions
diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index a242b85..7535868 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -5,7 +5,87 @@ Changelog .. changelog:: :version: 1.1.0 - :include_notes_from: unreleased + :released: August 26, 2019 + + .. change:: + :tags: change + + Alembic 1.1 bumps the minimum version of SQLAlchemy to 1.1. As was the + case before, Python requirements remain at Python 2.7, or in the 3.x series + Python 3.4. + + .. change:: + :tags: change, internals + + The test suite for Alembic now makes use of SQLAlchemy's testing framework + directly. Previously, Alembic had its own version of this framework that + was mostly copied from that of SQLAlchemy to enable testing with older + SQLAlchemy versions. The majority of this code is now removed so that both + projects can leverage improvements from a common testing framework. + + .. change:: + :tags: bug, commands + :tickets: 562 + + Fixed bug where the double-percent logic applied to some dialects such as + psycopg2 would be rendered in ``--sql`` mode, by allowing dialect options + to be passed through to the dialect used to generate SQL and then providing + ``paramstyle="named"`` so that percent signs need not be doubled. For + users having this issue, existing env.py scripts need to add + ``dialect_opts={"paramstyle": "named"}`` to their offline + context.configure(). See the ``alembic/templates/generic/env.py`` template + for an example. + + .. change:: + :tags: bug, py3k + + Fixed use of the deprecated "imp" module, which is used to detect pep3147 + availability as well as to locate .pyc files, which started emitting + deprecation warnings during the test suite. The warnings were not being + emitted earlier during the test suite, the change is possibly due to + changes in py.test itself but this is not clear. The check for pep3147 is + set to True for any Python version 3.5 or greater now and importlib is used + when available. Note that some dependencies such as distutils may still be + emitting this warning. Tests are adjusted to accommodate for dependencies + that emit the warning as well. + + + .. change:: + :tags: bug, mysql + :tickets: 594 + + Fixed issue where emitting a change of column name for MySQL did not + preserve the column comment, even if it were specified as existing_comment. + + + .. change:: + :tags: bug, setup + :tickets: 592 + + Removed the "python setup.py test" feature in favor of a straight run of + "tox". Per Pypa / pytest developers, "setup.py" commands are in general + headed towards deprecation in favor of tox. The tox.ini script has been + updated such that running "tox" with no arguments will perform a single run + of the test suite against the default installed Python interpreter. + + .. seealso:: + + https://github.com/pypa/setuptools/issues/1684 + + https://github.com/pytest-dev/pytest/issues/5534 + + .. change:: + :tags: usecase, commands + :tickets: 571 + + The "alembic init" command will now proceed if the target directory exists + as long as it's still empty. Previously, it would not proceed if the + directory existed. The new behavior is modeled from what git does, to + accommodate for container or other deployments where an Alembic target + directory may need to be already mounted instead of being created with + alembic init. Pull request courtesy Aviskar KC. + + .. changelog:: :version: 1.0.11 diff --git a/docs/build/conf.py b/docs/build/conf.py index c6ea732..f6cfe13 100644 --- a/docs/build/conf.py +++ b/docs/build/conf.py @@ -85,8 +85,8 @@ copyright = u"2010-2019, Mike Bayer" # noqa # The short X.Y version. version = alembic.__version__ # The full version, including alpha/beta/rc tags. -release = "1.0.11" -release_date = "June 25, 2019" +release = "1.1.0" +release_date = "August 26, 2019" # The language for content autogenerated by Sphinx. Refer to documentation diff --git a/docs/build/unreleased/562.rst b/docs/build/unreleased/562.rst deleted file mode 100644 index 7cd8fc1..0000000 --- a/docs/build/unreleased/562.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. change:: - :tags: bug, commands - :tickets: 562 - - Fixed bug where the double-percent logic applied to some dialects such as - psycopg2 would be rendered in ``--sql`` mode, by allowing dialect options - to be passed through to the dialect used to generate SQL and then providing - ``paramstyle="named"`` so that percent signs need not be doubled. For - users having this issue, existing env.py scripts need to add - ``dialect_opts={"paramstyle": "named"}`` to their offline - context.configure(). See the ``alembic/templates/generic/env.py`` template - for an example. diff --git a/docs/build/unreleased/571.rst b/docs/build/unreleased/571.rst deleted file mode 100644 index 82c7647..0000000 --- a/docs/build/unreleased/571.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. change:: - :tags: usecase, commands - :tickets: 571 - - The "alembic init" command will now proceed if the target directory exists - as long as it's still empty. Previously, it would not proceed if the - directory existed. The new behavior is modeled from what git does, to - accommodate for container or other deployments where an Alembic target - directory may need to be already mounted instead of being created with - alembic init. Pull request courtesy Aviskar KC. - - diff --git a/docs/build/unreleased/592.rst b/docs/build/unreleased/592.rst deleted file mode 100644 index f25d33a..0000000 --- a/docs/build/unreleased/592.rst +++ /dev/null @@ -1,15 +0,0 @@ -.. change:: - :tags: bug, setup - :tickets: 592 - - Removed the "python setup.py test" feature in favor of a straight run of - "tox". Per Pypa / pytest developers, "setup.py" commands are in general - headed towards deprecation in favor of tox. The tox.ini script has been - updated such that running "tox" with no arguments will perform a single run - of the test suite against the default installed Python interpreter. - - .. seealso:: - - https://github.com/pypa/setuptools/issues/1684 - - https://github.com/pytest-dev/pytest/issues/5534 diff --git a/docs/build/unreleased/594.rst b/docs/build/unreleased/594.rst deleted file mode 100644 index e68dadc..0000000 --- a/docs/build/unreleased/594.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, mysql - :tickets: 594 - - Fixed issue where emitting a change of column name for MySQL did not - preserve the column comment, even if it were specified as existing_comment. - diff --git a/docs/build/unreleased/bump.rst b/docs/build/unreleased/bump.rst deleted file mode 100644 index 7e04c9c..0000000 --- a/docs/build/unreleased/bump.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. change:: - :tags: change - - Alembic 1.1 bumps the minimum version of SQLAlchemy to 1.1. As was the - case before, Python requirements remain at Python 2.7, or in the 3.x series - Python 3.4. diff --git a/docs/build/unreleased/imp_warning.rst b/docs/build/unreleased/imp_warning.rst deleted file mode 100644 index 1c9fd82..0000000 --- a/docs/build/unreleased/imp_warning.rst +++ /dev/null @@ -1,13 +0,0 @@ -.. change:: - :tags: bug, py3k - - Fixed use of the deprecated "imp" module, which is used to detect pep3147 - availability as well as to locate .pyc files, which started emitting - deprecation warnings during the test suite. The warnings were not being - emitted earlier during the test suite, the change is possibly due to - changes in py.test itself but this is not clear. The check for pep3147 is - set to True for any Python version 3.5 or greater now and importlib is used - when available. Note that some dependencies such as distutils may still be - emitting this warning. Tests are adjusted to accommodate for dependencies - that emit the warning as well. - diff --git a/docs/build/unreleased/testsuite.rst b/docs/build/unreleased/testsuite.rst deleted file mode 100644 index d6afae6..0000000 --- a/docs/build/unreleased/testsuite.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. change:: - :tags: change, internals - - The test suite for Alembic now makes use of SQLAlchemy's testing framework - directly. Previously, Alembic had its own version of this framework that - was mostly copied from that of SQLAlchemy to enable testing with older - SQLAlchemy versions. The majority of this code is now removed so that both - projects can leverage improvements from a common testing framework. |