~ubuntu-branches/debian/sid/sqlalchemy/sid

« back to all changes in this revision

Viewing changes to doc/changelog/changelog_04.html

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski
  • Date: 2014-06-27 20:17:13 UTC
  • mfrom: (1.4.28)
  • Revision ID: package-import@ubuntu.com-20140627201713-g6p1kq8q1qenztrv
Tags: 0.9.6-1
* New upstream release
* Remove Python 3.X build tag files, thanks to Matthias Urlichs for the
  patch (closes: #747852)
* python-fdb isn't in the Debian archive yet so default dialect for firebird://
  URLs is changed to obsolete kinterbasdb, thanks to Russell Stuart for the
  patch (closes: #752145)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    <script type="text/javascript">
33
33
      var DOCUMENTATION_OPTIONS = {
34
34
          URL_ROOT:    '../',
35
 
          VERSION:     '0.9.4',
 
35
          VERSION:     '0.9.6',
36
36
          COLLAPSE_MODINDEX: false,
37
37
          FILE_SUFFIX: '.html'
38
38
      };
44
44
        <script type="text/javascript" src="../_static/doctools.js"></script>
45
45
    <!-- end iterate through sphinx environment script_files -->
46
46
 
 
47
    <script type="text/javascript" src="../_static/detectmobile.js"></script>
47
48
    <script type="text/javascript" src="../_static/init.js"></script>
48
49
    <link rel="index" title="Index" href="../genindex.html" />
49
50
    <link rel="search" title="Search" href="../search.html" />
69
70
 
70
71
 
71
72
 
 
73
 
72
74
<div id="docs-container">
73
75
 
74
76
 
75
77
 
76
78
 
 
79
 
 
80
<div id="docs-top-navigation-container" class="body-background">
77
81
<div id="docs-header">
 
82
    <div id="docs-version-header">
 
83
        Release: <span class="version-num">0.9.6</span> | Release Date: June 23, 2014
 
84
    </div>
 
85
 
78
86
    <h1>SQLAlchemy 0.9 Documentation</h1>
79
87
 
80
 
    <div id="docs-search">
81
 
    Search:
82
 
    <form class="search" action="../search.html" method="get">
83
 
      <input type="text" name="q" size="18" /> <input type="submit" value="Search" />
84
 
      <input type="hidden" name="check_keywords" value="yes" />
85
 
      <input type="hidden" name="area" value="default" />
86
 
    </form>
87
 
    </div>
88
 
 
89
 
    <div id="docs-version-header">
90
 
        Release: <span class="version-num">0.9.4</span> | Release Date: March 28, 2014
91
 
 
92
 
 
93
 
    </div>
94
 
 
95
 
</div>
96
 
 
97
 
<div id="docs-top-navigation">
98
 
    <div id="docs-top-page-control" class="docs-navigation-links">
 
88
</div>
 
89
</div>
 
90
 
 
91
<div id="docs-body-container">
 
92
 
 
93
    <div id="fixed-sidebar" class="withsidebar">
 
94
 
 
95
 
 
96
        <div id="docs-sidebar-popout">
 
97
            <h3><a href="../index.html">SQLAlchemy 0.9 Documentation</a></h3>
 
98
 
 
99
            <p id="sidebar-paginate">
 
100
                    <a href="index.html" title="Changes and Migration">Up</a> |
 
101
 
 
102
                    <a href="changelog_05.html" title="0.5 Changelog">Prev</a> |
 
103
                    <a href="changelog_03.html" title="0.3 Changelog">Next</a>
 
104
            </p>
 
105
 
 
106
            <p id="sidebar-topnav">
 
107
                <a href="../index.html">Contents</a> |
 
108
                <a href="../genindex.html">Index</a>
 
109
            </p>
 
110
 
 
111
            <div id="sidebar-search">
 
112
                <form class="search" action="../search.html" method="get">
 
113
                  <input type="text" name="q" size="12" /> <input type="submit" value="Search" />
 
114
                  <input type="hidden" name="check_keywords" value="yes" />
 
115
                  <input type="hidden" name="area" value="default" />
 
116
                </form>
 
117
            </div>
 
118
 
 
119
        </div>
 
120
 
 
121
        <div id="docs-sidebar">
 
122
 
 
123
        <h3><a href="#">            
 
124
                0.4 Changelog
 
125
            
 
126
        </a></h3>
99
127
        <ul>
100
 
            <li>Prev:
101
 
            <a href="changelog_05.html" title="previous chapter">0.5 Changelog</a>
102
 
            </li>
103
 
            <li>Next:
104
 
            <a href="changelog_03.html" title="next chapter">0.3 Changelog</a>
105
 
            </li>
106
 
 
107
 
        <li>
108
 
            <a href="../contents.html">Table of Contents</a> |
109
 
            <a href="../genindex.html">Index</a>
110
 
            | <a href="../_sources/changelog/changelog_04.txt">view source
111
 
        </li>
112
 
        </ul>
113
 
    </div>
114
 
 
115
 
    <div id="docs-navigation-banner">
116
 
        <a href="../index.html">SQLAlchemy 0.9 Documentation</a>
117
 
                » <a href="index.html" title="Changes and Migration">Changes and Migration</a>
118
 
        » 
119
 
                0.4 Changelog
120
 
            
121
 
 
122
 
        <h2>
123
 
            
124
 
                0.4 Changelog
125
 
            
126
 
        </h2>
127
 
    </div>
128
 
 
129
 
</div>
130
 
 
131
 
<div id="docs-body-container">
132
 
 
133
 
    <div id="docs-sidebar">
134
 
    <h3><a href="../index.html">Table of Contents</a></h3>
135
 
    <ul>
136
128
<li><a class="reference internal" href="#">0.4 Changelog</a><ul>
137
129
<li><a class="reference internal" href="#change-0.4.8">0.4.8</a><ul>
138
130
<li><a class="reference internal" href="#change-0.4.8-orm">orm</a></li>
228
220
</ul>
229
221
 
230
222
 
231
 
    <h4>Previous Topic</h4>
232
 
    <p>
233
 
    <a href="changelog_05.html" title="previous chapter">0.5 Changelog</a>
234
 
    </p>
235
 
    <h4>Next Topic</h4>
236
 
    <p>
237
 
    <a href="changelog_03.html" title="next chapter">0.3 Changelog</a>
238
 
    </p>
239
 
 
240
 
 
241
 
    <h4>Quick Search</h4>
242
 
    <p>
243
 
    <form class="search" action="../search.html" method="get">
244
 
      <input type="text" name="q" size="18" /> <input type="submit" value="Search" />
245
 
      <input type="hidden" name="check_keywords" value="yes" />
246
 
      <input type="hidden" name="area" value="default" />
247
 
    </form>
248
 
    </p>
 
223
 
 
224
 
 
225
        </div>
249
226
 
250
227
    </div>
251
228
 
 
229
    
 
230
 
252
231
    <div id="docs-body" class="withsidebar" >
253
232
        
254
233
<div class="section" id="changelog">
1338
1317
transaction directly to the parent of the transaction
1339
1318
that could be rolled back to. Now it rolls back the next
1340
1319
transaction up that can handle it, but sets the current
1341
 
transaction to it&#8217;s parent and inactivates the
 
1320
transaction to its parent and inactivates the
1342
1321
transactions in between. Inactive transactions can only
1343
1322
be rolled back or closed, any other call results in an
1344
1323
error.</li>
1345
1324
<li>autoflush for commit() wasn&#8217;t flushing for simple
1346
1325
subtransactions.</li>
1347
1326
<li>unitofwork flush didn&#8217;t close the failed transaction
1348
 
when the session was not in a transaction and commiting
 
1327
when the session was not in a transaction and committing
1349
1328
the transaction failed.</li>
1350
1329
</ul>
1351
1330
</dd>
1461
1440
<ul class="simple">
1462
1441
<li><p id="change-0.4.3-40"><span class="target" id="change-f63c306a189efd4f901b963ab28adb1f"><strong>[dialects] </strong></span>Better support for schemas in SQLite (linked in by ATTACH
1463
1442
DATABASE ... AS name).  In some cases in the past, schema
1464
 
names were ommitted from generated SQL for SQLite.  This is
 
1443
names were omitted from generated SQL for SQLite.  This is
1465
1444
no longer the case.<a class="changeset-link headerlink reference internal" href="#change-f63c306a189efd4f901b963ab28adb1f">¶</a><p></p>
1466
1445
</p>
1467
1446
</li>
2614
2593
etc., are also no longer imported into your namespace<a class="changeset-link headerlink reference internal" href="#change-2663410f9071b570a253c86fb4d09031">¶</a><p></p>
2615
2594
</p>
2616
2595
</li>
2617
 
<li><p id="change-0.4.0beta4-3"><span class="target" id="change-dca15652477c49266ba58637beea290e"></span>The &#8216;Smallinteger&#8217; compatiblity name (small i!) is no longer imported,
 
2596
<li><p id="change-0.4.0beta4-3"><span class="target" id="change-487de14a19636219ee9867528df4aee5"></span>The &#8216;Smallinteger&#8217; compatibility name (small i!) is no longer imported,
2618
2597
but remains in schema.py for now.  SmallInteger (big I!) is still
2619
 
imported.<a class="changeset-link headerlink reference internal" href="#change-dca15652477c49266ba58637beea290e">¶</a><p></p>
 
2598
imported.<a class="changeset-link headerlink reference internal" href="#change-487de14a19636219ee9867528df4aee5">¶</a><p></p>
2620
2599
</p>
2621
2600
</li>
2622
2601
<li><p id="change-0.4.0beta4-4"><span class="target" id="change-8b98efdb7b0519850778b7118b3c2e6d"></span>The connection pool uses a &#8220;threadlocal&#8221; strategy internally to return
2841
2820
</p>
2842
2821
</li>
2843
2822
<li><p id="change-0.4.0beta1-11"><span class="target" id="change-1693eadbe7a1e73418dc29c3c9f5f383"><strong>[orm] </strong></span>Class-level properties are now usable as query elements... no more
2844
 
&#8216;.c.&#8217;!  &#8220;Class.c.propname&#8221; is now superceded by &#8220;Class.propname&#8221;.  All
 
2823
&#8216;.c.&#8217;!  &#8220;Class.c.propname&#8221; is now superseded by &#8220;Class.propname&#8221;.  All
2845
2824
clause operators are supported, as well as higher level operators such
2846
2825
as Class.prop==&lt;some instance&gt; for scalar attributes,
2847
2826
Class.prop.contains(&lt;some instance&gt;) and Class.prop.any(&lt;some
2971
2950
query.get() clauses, etc. and act as though they are regular single-column
2972
2951
scalars... except they&#8217;re not!  Use the function composite(cls, *columns)
2973
2952
inside of the mapper&#8217;s &#8220;properties&#8221; dict, and instances of cls will be
2974
 
created/mapped to a single attribute, comprised of the values correponding
 
2953
created/mapped to a single attribute, comprised of the values corresponding
2975
2954
to *columns.<a class="changeset-link headerlink reference internal" href="#change-3ee39648a350e0ce7f6e88a460ef4222">¶</a><p>References: <a class="reference external" href="http://www.sqlalchemy.org/trac/ticket/211">#211</a></p>
2976
2955
</p>
2977
2956
</li>
2990
2969
<li><p id="change-0.4.0beta1-33"><span class="target" id="change-8b14a583258b389d8befb88ffab4616e"><strong>[orm] </strong></span>Joined-table inheritance will now generate the primary key columns of all
2991
2970
inherited classes against the root table of the join only.  This implies
2992
2971
that each row in the root table is distinct to a single instance.  If for
2993
 
some rare reason this is not desireable, explicit primary_key settings on
 
2972
some rare reason this is not desirable, explicit primary_key settings on
2994
2973
individual mappers will override it.<a class="changeset-link headerlink reference internal" href="#change-8b14a583258b389d8befb88ffab4616e">¶</a><p></p>
2995
2974
</p>
2996
2975
</li>
3032
3011
<h3>sql<a class="headerlink" href="#change-0.4.0beta1-sql" title="Permalink to this headline">¶</a></h3>
3033
3012
<ul class="simple">
3034
3013
<li><p id="change-0.4.0beta1-40"><span class="target" id="change-194d03e759795cb2ff68bbe9af23b306"><strong>[sql] </strong></span>Speed!  Clause compilation as well as the mechanics of SQL constructs have
3035
 
been streamlined and simplified to a signficant degree, for a 20-30%
 
3014
been streamlined and simplified to a significant degree, for a 20-30%
3036
3015
improvement of the statement construction/compilation overhead of 0.3.<a class="changeset-link headerlink reference internal" href="#change-194d03e759795cb2ff68bbe9af23b306">¶</a><p></p>
3037
3016
</p>
3038
3017
</li>
3044
3023
<li><p id="change-0.4.0beta1-42"><span class="target" id="change-52f227bbb5a90b801adc6ecfd0cc6e3a"><strong>[sql] </strong></span>case_sensitive=(True|False) setting removed from schema items, since
3045
3024
checking this state added a lot of method call overhead and there was no
3046
3025
decent reason to ever set it to False.  Table and column names which are
3047
 
all lower case will be treated as case-insenstive (yes we adjust for
 
3026
all lower case will be treated as case-insensitive (yes we adjust for
3048
3027
Oracle&#8217;s UPPERCASE style too).<a class="changeset-link headerlink reference internal" href="#change-52f227bbb5a90b801adc6ecfd0cc6e3a">¶</a><p></p>
3049
3028
</p>
3050
3029
</li>
3075
3054
<ul class="simple">
3076
3055
<li><p id="change-0.4.0beta1-48"><span class="target" id="change-cf0060d4bbf9e676c4a7c5beb5f02382"><strong>[oracle] </strong></span>Very rudimental support for OUT parameters added; use sql.outparam(name,
3077
3056
type) to set up an OUT parameter, just like bindparam(); after execution,
3078
 
values are avaiable via result.out_parameters dictionary.<a class="changeset-link headerlink reference internal" href="#change-cf0060d4bbf9e676c4a7c5beb5f02382">¶</a><p>References: <a class="reference external" href="http://www.sqlalchemy.org/trac/ticket/507">#507</a></p>
 
3057
values are available via result.out_parameters dictionary.<a class="changeset-link headerlink reference internal" href="#change-cf0060d4bbf9e676c4a7c5beb5f02382">¶</a><p>References: <a class="reference external" href="http://www.sqlalchemy.org/trac/ticket/507">#507</a></p>
3079
3058
</p>
3080
3059
</li>
3081
3060
</ul>