Edgewall Software

Changes between Version 14 and Version 15 of TracDev/ApiChanges/1.0


Ignore:
Timestamp:
Jun 19, 2012, 10:19:10 PM (12 years ago)
Author:
Christian Boos
Comment:

0.13 → 1.0, 0.14 → 1.1

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/1.0

    v14 v15  
    1 = !TracDev/ApiChanges/0.13 =
     1= !TracDev/ApiChanges/1.0 =
    22
    33{{{
    44#!div style="margin-top: .5em; padding: 0 1em; background-color: #ffd; border:1px outset #ddc; text-align: center; clear: right"
    55
    6   [milestone:0.13] corresponds to the development version of Trac (a.k.a. [source:trunk]) \\
    7   These notes reflect the current status.
     6  [milestone:1.0] corresponds to the next stable version of Trac (a.k.a. [source:trunk]) \\
     7  These notes reflect the current status, which is rapidly (heh) approaching beta.
    88}}}
    99
     
    2626==== Babel (optional)
    2727
    28 The internationalization support (i18) for Trac is depending on [http://babel.edgewall.org/ Babel].
     28The internationalization support (i18) for Trac is depending on [http://babel.edgewall.org/ Babel], preferably version 0.9.6.
    2929
    30 Q: Should we now make Babel a mandatory dependency, as we have a good stable release?
     30 //Q: Should we now make Babel a mandatory dependency, as we have a good stable release?
     31 \\This would allow us to use the Babel API in more places (e.g. #4636, #2182).
     32 //
    3133
    32 This would allow us to use the Babel API in more places (e.g. #4636, #2182).
    33 
    34 A: (cboos) I think having it optional doesn't prevent us to make further use of it when it's available. We just need to use fallback code when it's not (see #2182).
     34   //A: (cboos) I think having it optional doesn't prevent us to make further use of it when it's available. We just need to use fallback code when it's not (see #2182).
     35   //
    3536
    3637==== Clearsilver (dropped)
     
    5354== Detailed List of Developer Visible Changes
    5455
    55 [[TicketQuery(milestone=0.13|0.12.1|0.12.2,status=closed,apichanges!=,col=apichanges,group=component,format=table)]]
     56[[TicketQuery(milestone=1.0|0.12.1|0.12.2|0.12.3|0.12.4,status=closed,apichanges!=,col=apichanges,group=component,format=table)]]
    5657
    5758== Other Modifications made to the 0.12 API ==
    5859{{{#!comment
    5960=== Modified Interfaces ===
    60 ==== `I...`            ^[source:trunk/trac/.../api.py@rev:highlighted-linenum#Lnum (0.13)] [source:branches/0.12-stable/trac/.../api.py@rev:rev:highlighted-linenum#Lnum (0.12)]^ ==== #I...r
     61==== `I...`            ^[source:trunk/trac/.../api.py@rev:highlighted-linenum#Lnum (1.0)] [source:branches/0.12-stable/trac/.../api.py@rev:rev:highlighted-linenum#Lnum (0.12)]^ ==== #I...r
    6162
    6263...
     
    6768==== `Environment.get_db_cnx` is obsolete #get_db_cnx
    6869
    69 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 0.14.
     70Following 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.
    7071
    7172One should now only use the //context managers// for retrieving a database Connection
     
    8788   in the control flow completes successfully. See DatabaseApi for the full details.
    8889
    89 ==== `Environment.db_query()` and `Environment.db_transaction()` ^[source:trunk/trac/env.py@#Lnum (0.13)]^ ==== #with_transaction
     90==== `Environment.db_query()` and `Environment.db_transaction()` ^[source:trunk/trac/env.py@#Lnum (1.0)]^ ==== #with_transaction
    9091
    91 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.
     92The `@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 1.1 as well.
    9293
    9394See #8751 for details and related notes about [#get_db_cnx get_db_cnx] deprecation above.
    9495
    9596
    96 == New in the 0.13 API ==
     97== New in the 1.0 API ==
    9798
    9899Be sure to have a look at the new ApiDocs ([http://www.edgewall.org/docs/trac-trunk/html/ for latest trunk]).
     
    102103{{{#!comment
    103104=== New Classes ===
    104 ==== `trac.x.y.ClassName` ^[source:trunk/trac/x/y.py@#Lnum (0.13)]^ ==== #ClassName
     105==== `trac.x.y.ClassName` ^[source:trunk/trac/x/y.py@#Lnum (1.0)]^ ==== #ClassName
    105106
    106107...
    107108
    108109=== New Interfaces ===
    109 ==== `trac.x.y.IClassName` ^[source:trunk/trac/x/y.py@#Lnum (0.13)]^ ==== #IClassName
     110==== `trac.x.y.IClassName` ^[source:trunk/trac/x/y.py@#Lnum (1.0)]^ ==== #IClassName
    110111
    111112