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

« back to all changes in this revision

Viewing changes to doc/build/changelog/changelog_04.rst

  • 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:
1524
1524
          transaction directly to the parent of the transaction
1525
1525
          that could be rolled back to. Now it rolls back the next
1526
1526
          transaction up that can handle it, but sets the current
1527
 
          transaction to it's parent and inactivates the
 
1527
          transaction to its parent and inactivates the
1528
1528
          transactions in between. Inactive transactions can only
1529
1529
          be rolled back or closed, any other call results in an
1530
1530
          error.
1533
1533
          subtransactions.
1534
1534
      
1535
1535
        - unitofwork flush didn't close the failed transaction
1536
 
          when the session was not in a transaction and commiting
 
1536
          when the session was not in a transaction and committing
1537
1537
          the transaction failed.
1538
1538
 
1539
1539
    .. change::
1562
1562
 
1563
1563
      Better support for schemas in SQLite (linked in by ATTACH
1564
1564
      DATABASE ... AS name).  In some cases in the past, schema
1565
 
      names were ommitted from generated SQL for SQLite.  This is
 
1565
      names were omitted from generated SQL for SQLite.  This is
1566
1566
      no longer the case.
1567
1567
 
1568
1568
    .. change::
3267
3267
        :tags: 
3268
3268
        :tickets: 
3269
3269
 
3270
 
      The 'Smallinteger' compatiblity name (small i!) is no longer imported,
 
3270
      The 'Smallinteger' compatibility name (small i!) is no longer imported,
3271
3271
      but remains in schema.py for now.  SmallInteger (big I!) is still
3272
3272
      imported.
3273
3273
 
3628
3628
        :tickets: 643
3629
3629
 
3630
3630
      Class-level properties are now usable as query elements... no more
3631
 
      '.c.'!  "Class.c.propname" is now superceded by "Class.propname".  All
 
3631
      '.c.'!  "Class.c.propname" is now superseded by "Class.propname".  All
3632
3632
      clause operators are supported, as well as higher level operators such
3633
3633
      as Class.prop==<some instance> for scalar attributes,
3634
3634
      Class.prop.contains(<some instance>) and Class.prop.any(<some
3816
3816
      query.get() clauses, etc. and act as though they are regular single-column
3817
3817
      scalars... except they're not!  Use the function composite(cls, \*columns)
3818
3818
      inside of the mapper's "properties" dict, and instances of cls will be
3819
 
      created/mapped to a single attribute, comprised of the values correponding
 
3819
      created/mapped to a single attribute, comprised of the values corresponding
3820
3820
      to \*columns.
3821
3821
 
3822
3822
    .. change::
3844
3844
      Joined-table inheritance will now generate the primary key columns of all
3845
3845
      inherited classes against the root table of the join only.  This implies
3846
3846
      that each row in the root table is distinct to a single instance.  If for
3847
 
      some rare reason this is not desireable, explicit primary_key settings on
 
3847
      some rare reason this is not desirable, explicit primary_key settings on
3848
3848
      individual mappers will override it.
3849
3849
 
3850
3850
    .. change::
3902
3902
        :tickets: 
3903
3903
 
3904
3904
      Speed!  Clause compilation as well as the mechanics of SQL constructs have
3905
 
      been streamlined and simplified to a signficant degree, for a 20-30%
 
3905
      been streamlined and simplified to a significant degree, for a 20-30%
3906
3906
      improvement of the statement construction/compilation overhead of 0.3.
3907
3907
 
3908
3908
    .. change::
3920
3920
      case_sensitive=(True|False) setting removed from schema items, since
3921
3921
      checking this state added a lot of method call overhead and there was no
3922
3922
      decent reason to ever set it to False.  Table and column names which are
3923
 
      all lower case will be treated as case-insenstive (yes we adjust for
 
3923
      all lower case will be treated as case-insensitive (yes we adjust for
3924
3924
      Oracle's UPPERCASE style too).
3925
3925
 
3926
3926
    .. change::
4193
4193
 
4194
4194
      Very rudimental support for OUT parameters added; use sql.outparam(name,
4195
4195
      type) to set up an OUT parameter, just like bindparam(); after execution,
4196
 
      values are avaiable via result.out_parameters dictionary.
 
4196
      values are available via result.out_parameters dictionary.