Changes between Version 8 and Version 9 of TracDev/ApiChanges/1.1
- Timestamp:
- Jun 16, 2017, 4:54:42 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ApiChanges/1.1
v8 v9 19 19 **Only Python versions 2.6 and 2.7 are supported.** 20 20 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 tests29 - timeout in smtplib30 31 TODO: List supported browsers. Consider using [http://jquery.com/browser-support/ jQuery's list].32 33 21 === Modified Dependencies 34 22 35 See gmessage:trac-dev:nkMUY_8ILF0/rg1rsArDIewJ for a discussion about what dependencies will be supported in Trac 1.2.36 37 23 ==== jQuery and jQuery UI (bundled) 38 24 39 25 The 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 29 The 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. 49 30 50 31 The 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 53 35 54 36 ==== Babel (optional) 55 37 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.// 38 The internationalization support (i18) for Trac is depending on [http://babel.edgewall.org/ Babel], >= 0.9.5 is supported. 59 39 60 40 ==== Genshi (mandatory) 61 41 62 OPEN 63 // '''Genshi 0.7''' // 64 65 //Genshi 0.6.x is still supported.// 66 42 Genshi 0.6 and 0.7 are supported. 67 43 68 44 ==== Databases … … 93 69 === Deprecated Modules Removed 94 70 95 DONE:Removed Enscript, SilverCity and PHP renderers in Trac 1.1.3. (#11795)71 Removed Enscript, SilverCity and PHP renderers in Trac 1.1.3. (#11795) 96 72 97 73 === New Dependencies … … 121 97 == Other Modifications made to the 1.0 API 122 98 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). TODO124 125 99 === Modified Interfaces 126 100 … … 165 139 In Trac 1.1.5 methods have been added to the `DatabaseManager`class for upgrading the database: `needs_upgrade` and `upgrade`. 166 140 167 ==== `Environment.get_db_cnx` has been removed #get_db_cnx in Trac 1.1.2141 ==== `Environment.get_db_cnx` has been removed in Trac 1.1.2 #get_db_cnx 168 142 169 143 Following the [../0.12#get_db_cnx deprecation] made in 0.12, the method `Environment.get_db_cnx` has been removed (#11605). … … 207 181 The `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. 208 182 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 212 183 === Uncategorized Changes 213 184 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 185 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: 186 * InterWiki page 187 * [browser:/trunk/trac/wiki/intertrac.py@13050:50-60#L30] 188 189 Removed the deprecated `authname` parameter from `Environment.get_repository()` in Trac 1.1.3. 190 191 Removed //Since// info from docstrings for Trac < 0.12. 222 192 223 193 == New in the 1.1 API 224 194 225 195 Be 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.//230 196 231 197