Changes between Version 6 and Version 7 of TracDev/ApiChanges/1.0
- Timestamp:
- Jan 6, 2011, 1:38:02 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ApiChanges/1.0
v6 v7 80 80 in the control flow completes successfully. See DatabaseApi for the full details. 81 81 82 ==== `Environment.db_query()` and `Environment.db_transaction()` ^[source:trunk/trac/env.py@#Lnum (0.13)]^ ==== #with_transaction 83 84 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 the one to be used. Those decorators will likely be removed in Trac 0.14 as well. 85 86 See #8751 for details and related notes about [#get_db_cnx get_db_cnx] deprecation above. 82 87 83 88 … … 92 97 ==== `trac.x.y.IClassName` ^[source:trunk/trac/x/y.py@#Lnum (0.13)]^ ==== #IClassName 93 98 99 100 === Other news === 101 94 102 }}} 95 103 96 === Other news ===97 ==== `Environment.db_query()` and `Environment.db_transaction()` ^[source:trunk/trac/env.py@#Lnum (0.13)]^ ==== #with_transaction98 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.