Edgewall Software

Changes between Version 6 and Version 7 of TracDev/ApiChanges/1.0


Ignore:
Timestamp:
Jan 6, 2011, 1:38:02 PM (13 years ago)
Author:
Christian Boos
Comment:

moved #with_transaction into #DatabaseAPIChanges

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/1.0

    v6 v7  
    8080   in the control flow completes successfully. See DatabaseApi for the full details.
    8181
     82==== `Environment.db_query()` and `Environment.db_transaction()` ^[source:trunk/trac/env.py@#Lnum (0.13)]^ ==== #with_transaction
     83
     84The `@with_transaction(env)` / `@env.with_transaction()` decorators introduced in 0.12 remain available, but they're now deprecated as well, as the `with` syntax is the one to be used. Those decorators will likely be removed in Trac 0.14 as well.
     85
     86See #8751 for details and related notes about [#get_db_cnx get_db_cnx] deprecation above.
    8287
    8388
     
    9297==== `trac.x.y.IClassName` ^[source:trunk/trac/x/y.py@#Lnum (0.13)]^ ==== #IClassName
    9398
     99
     100=== Other news ===
     101
    94102}}}
    95103
    96 === Other news ===
    97 ==== `Environment.db_query()` and `Environment.db_transaction()` ^[source:trunk/trac/env.py@#Lnum (0.13)]^ ==== #with_transaction
    98 
    99 The `@with_transaction(env)` / `@env.with_transaction()` decorators introduced in 0.12 remain available, but they're now deprecated as well, as the `with` syntax is to be preferred. //TODO//
    100 
    101 See #8751 for details and related notes about [#get_db_cnx get_db_cnx] deprecation above.