Changes between Version 21 and Version 22 of TracDev/ApiChanges/1.0
- Timestamp:
- Sep 10, 2012, 12:17:32 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ApiChanges/1.0
v21 v22 50 50 ==== `Environment.get_db_cnx` is obsolete #get_db_cnx 51 51 52 Following the deprecation[../0.12#get_db_cnx deprecation] made in 0.12, using `Environment.get_db_cnx` for obtaining a database connection is now considered ''obsolete'' and its use is heavily discouraged, as that method will be removed in Trac 1.1.52 Following the [../0.12#get_db_cnx deprecation] made in 0.12, using `Environment.get_db_cnx` for obtaining a database connection is now considered ''obsolete'' and its use is heavily discouraged, as that method will be removed in Trac 1.1. 53 53 54 54 One should now only use the //context managers// for retrieving a database Connection