From 2c91f71776006968c091b683ea5f187dfaca72df Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 20 Apr 2015 17:44:21 -0400 Subject: [PATCH] - add migration note for #3084 --- doc/build/changelog/changelog_10.rst | 4 ++++ doc/build/changelog/migration_10.rst | 15 +++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/doc/build/changelog/changelog_10.rst b/doc/build/changelog/changelog_10.rst index 86bf7df642..859adae81f 100644 --- a/doc/build/changelog/changelog_10.rst +++ b/doc/build/changelog/changelog_10.rst @@ -142,6 +142,10 @@ the incoming data in an ordered fashion. Pull request courtesy Sebastian Bank. + .. seealso:: + + :ref:`feature_3084` + .. change:: :tags: feature, orm :pullreq: github:164 diff --git a/doc/build/changelog/migration_10.rst b/doc/build/changelog/migration_10.rst index a7a668fbe7..8238334c2e 100644 --- a/doc/build/changelog/migration_10.rst +++ b/doc/build/changelog/migration_10.rst @@ -2041,6 +2041,21 @@ columns regardless of how the object was constructed or its current state. +.. _feature_3084: + +MetaData sorting of Tables is now fully deterministic +----------------------------------------------------- + +The sorting of tables which results when emitting :meth:`.MetaData.create_all`, +:meth:`.MetaData.drop_all`, and :meth:`.MetaData.sorted_tables` is now +fully deterministic; that is, the :class:`.Table` objects are as always +sorted by dependency, but the full ordering is generated in a deterministic +way based on the set of tables first sorted alphabetically by name, +then run through the foreign key sort, such that these methods will +produce the identical topological ordering each time. + +:ticket:`3084` + .. _bug_3170: null(), false() and true() constants are no longer singletons -- 2.47.3