Edgewall Software

Changes between Version 8 and Version 9 of TracDev/ApiChanges/1.1


Ignore:
Timestamp:
Jun 16, 2017, 4:54:42 AM (2 years ago)
Author:
Ryan J Ollos
Comment:

Quick pass to finalize.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/1.1

    v8 v9  
    1919**Only Python versions 2.6 and 2.7 are supported.**
    2020
    21 The following language features introduced in Python 2.6 can now be used and the related clean-ups can be done:
    22  - use string [http://docs.python.org/library/string.html#string-formatting format()], `print()`
    23  - `except Cls as val`
    24  - class decorators to avoid the `implements` hack?
    25  - `@prop.setter` / `@prop.deleter`
    26  - `namedtuple`s!
    27  - there's no longer need of `from __future__ import with_statement`
    28  - `next(iterator, [default])` to clean-up some unit tests
    29  - timeout in smtplib
    30 
    31 TODO: List supported browsers. Consider using [http://jquery.com/browser-support/ jQuery's list].
    32 
    3321=== Modified Dependencies
    3422
    35 See gmessage:trac-dev:nkMUY_8ILF0/rg1rsArDIewJ for a discussion about what dependencies will be supported in Trac 1.2.
    36 
    3723==== jQuery and jQuery UI (bundled)
    3824
    3925The bundled version of [http://jquery.com jQuery] was updated from 1.7.2 in Trac 1.0-stable to:
    40 * jQuery **1.8.2** in Trac 1.1.1 (r11412)
    41 * jQuery **1.9 / 2.0** in Trac 1.1.2
    42 
    43 See jQuery release notes for the corresponding major updates:
    44  - [http://blog.jquery.com/2012/08/09/jquery-1-8-released/ 1.8]
    45  - [http://blog.jquery.com/2012/08/30/jquery-1-8-1-released/ 1.8.1]
    46  - [http://blog.jquery.com/2012/09/20/jquery-1-8-2-released/ 1.8.2]
    47  - [http://blog.jquery.com/2012/11/13/jquery-1-8-3-released/ 1.8.3]
    48  - http://blog.jquery.com/2013/01/15/jquery-1-9-final-jquery-2-0-beta-migrate-final-released/
     26* [https://blog.jquery.com/2012/09/20/jquery-1-8-2-released 1.8.2] in Trac 1.1.1 (#10976)
     27* [https://blog.jquery.com/2015/04/28/jquery-1-11-3-and-2-1-4-released-ios-fail-safe-edition/ 1.11.3] in Trac 1.2 (#11019)
     28
     29The bundled version of [http://jqueryui.com jQuery UI] was updated from 1.9.2 in 1.0-stable to 1.11.4 in Trac 1.2.
    4930
    5031The bundled version of the full minified [http://jqueryui.com jQuery UI] package was upgraded from 1.8.21 in Trac 1.0-stable to:
    51 * jQuery UI [http://jqueryui.com/docs/Changelog/1.9.2 1.9.2] (#10976)
    52 * OPEN //upgrade jQuery UI to at least [http://jqueryui.com/docs/Changelog/1.11.2 1.11.2]. See #11019.//
     32* [https://jqueryui.com/docs/Changelog/1.9.2 1.9.2] in Trac 1.1.1 (#10976)
     33* [https://jqueryui.com/docs/Changelog/1.11.4 1.11.4] in Trac 1.2 (#11019)
     34
    5335
    5436==== Babel (optional)
    5537
    56 The internationalization support (i18) for Trac is depending on [http://babel.edgewall.org/ Babel], version 1.0. (#10882) TODO
    57 
    58 //Babel >= 0.9.5 is still supported.//
     38The internationalization support (i18) for Trac is depending on [http://babel.edgewall.org/ Babel], >= 0.9.5 is supported.
    5939
    6040==== Genshi (mandatory)
    6141
    62 OPEN
    63 // '''Genshi 0.7''' //
    64 
    65 //Genshi 0.6.x is still supported.//
    66 
     42Genshi 0.6 and 0.7 are supported.
    6743
    6844==== Databases
     
    9369=== Deprecated Modules Removed
    9470
    95 DONE: Removed Enscript, SilverCity and PHP renderers in Trac 1.1.3. (#11795)
     71Removed Enscript, SilverCity and PHP renderers in Trac 1.1.3. (#11795)
    9672
    9773=== New Dependencies
     
    12197== Other Modifications made to the 1.0 API
    12298
    123 Take the //will be removed in version 1.1.1// comments in the code seriously. The earlier the planned API changes in 1.1.x, the better (gives more time to plugin authors to adapt). TODO
    124 
    12599=== Modified Interfaces
    126100
     
    165139In Trac 1.1.5 methods have been added to the `DatabaseManager`class for upgrading the database: `needs_upgrade` and `upgrade`.
    166140
    167 ==== `Environment.get_db_cnx` has been removed #get_db_cnx in Trac 1.1.2
     141==== `Environment.get_db_cnx` has been removed in Trac 1.1.2 #get_db_cnx
    168142
    169143Following the [../0.12#get_db_cnx deprecation] made in 0.12, the method `Environment.get_db_cnx` has been removed (#11605).
     
    207181The `about.css` stylesheet has been removed and the rules contained in that stylesheet have been moved to `trac.css`. The table of environment information on the //Error// and //About// pages have been extracted to a new template `environment_info.html` and the markup and associated rules in the stylesheet have been significantly changed.
    208182
    209 //Many more changes to be added, depending on how detailed we want to get. TracUpgrade#CustomizedTemplates claims that changes to `id`s and CSS `class`es will be documented in ApiChanges.//
    210 
    211 
    212183=== Uncategorized Changes
    213184
    214 DONE: Removed deprecated compatibility code for InterTrac links in Trac 1.1.4: [browser:/trunk/trac/wiki/formatter.py@13050:703-712#L696], and remove documentation:
    215  * InterWiki page
    216  * [browser:/trunk/trac/wiki/intertrac.py@13050:50-60#L30]
    217 
    218 DONE: Removed the deprecated `authname` parameter from `Environment.get_repository()` in Trac 1.1.3.
    219 
    220 TODO: Log warnings for deprecated functions and methods (comment:26:ticket:11605)
    221 
     185Removed deprecated compatibility code for InterTrac links in Trac 1.1.4: [browser:/trunk/trac/wiki/formatter.py@13050:703-712#L696], and remove documentation:
     186* InterWiki page
     187* [browser:/trunk/trac/wiki/intertrac.py@13050:50-60#L30]
     188
     189Removed the deprecated `authname` parameter from `Environment.get_repository()` in Trac 1.1.3.
     190
     191Removed //Since// info from docstrings for Trac < 0.12.
    222192
    223193== New in the 1.1 API
    224194
    225195Be sure to have a look at the new ApiDocs ([http://www.edgewall.org/docs/trac-trunk/html/ for latest trunk]).
    226 
    227 TODO: Remove //Since// info from docstrings for Trac < 0.12.
    228 
    229 //This is a work in progress - coverage is not yet complete.//
    230196
    231197