Changes between Version 1 and Version 2 of TracDev/ApiChanges/1.1
- Timestamp:
- Apr 25, 2015, 11:40:56 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/ApiChanges/1.1
v1 v2 2 2 ← [../1.0] | [../1.2] → 3 3 }}} 4 4 5 = Documenting API changes in 1.1.x 5 6 … … 13 14 14 15 [[PageOutline(2-4,Summary,inline)]] 15 16 16 17 17 == Prerequisites … … 33 33 === Modified Dependencies 34 34 35 See gmessage:trac-dev:nkMUY_8ILF0/rg1rsArDIewJ for a discussion about what dependencies w e'll supportin Trac 1.2.35 See gmessage:trac-dev:nkMUY_8ILF0/rg1rsArDIewJ for a discussion about what dependencies will be supported in Trac 1.2. 36 36 37 37 ==== jQuery and jQuery UI (bundled) … … 79 79 ==== Other 80 80 81 || Package || Req or Opt? || Version supported||81 || **Package** || **Req or Opt?** || **Version supported** || 82 82 || SetupTools || Required || >= 0.6, 5.4 - 5.6 are not recommended. || 83 83 || Git || Optional || >= 1.5.6 || 84 84 || Subversion || Optional || >= 1.6 || 85 85 || !DocUtils || Optional || >= 0.3.9 || 86 || Textile || Optional || >= 2.0 || 87 || Pygments || Optional || >= 0.6. Let's consider bumping the requirement to at least 1.0, released in [https://pypi.python.org/pypi/Pygments/1.0 2008] || 88 ... please add any dependencies I've overlooked. 86 || Textile || Optional || >= 2.0 || 87 || Pygments || Optional || >= 0.6. Let's consider bumping the requirement to at least 1.0, released in [https://pypi.python.org/pypi/Pygments/1.0 2008] || 88 89 Please add any dependencies overlooked. 89 90 90 91 `ConfigObj` is no longer a required dependency for the `AuthzPolicy` permission policy (`tracopt.perm.authz_policy`) since Trac 1.1.5. … … 92 93 === Deprecated Modules Removed 93 94 94 TODO Remove support for `mod_python` (see TracModPython) ... or maybe not. It seemsthe project is alive (comment:34:ticket:11605).95 TODO Remove support for `mod_python` (see TracModPython), although the project is alive (comment:34:ticket:11605). 95 96 96 97 DONE: Removed Enscript, SilverCity and PHP renderers in Trac 1.1.3. (#11795) … … 99 100 100 101 None! 101 102 102 103 103 == Detailed List of Developer Visible Changes #list … … 123 123 124 124 === Modified Interfaces 125 125 126 ==== `IWikiChangeListener` ^[source:trunk/trac/wiki/api.py@13198:53#L32 (1.1.3)] [source:branches/1.0-stable/trac/wiki/api.py@11490#L33 (1.0)]^ #IWikiChangeListener 126 127 … … 132 133 133 134 === New Interfaces 135 134 136 ==== `trac.notification.api.INotificationDistributor` ^[source:trunk/trac/notification/api.py@13454#L29 (1.1.3)]^ #INotificationDistributor 135 137 … … 162 164 ==== `Environment.get_db_cnx` has been removed #get_db_cnx in Trac 1.1.2 163 165 164 Following the [../0.12#get_db_cnx deprecation] made in 0.12, the method `Environment.get_db_cnx` has been removed. (#11605) 165 166 One should now only use the //context managers// for retrieving a database Connection 167 in read or write mode. 166 Following the [../0.12#get_db_cnx deprecation] made in 0.12, the method `Environment.get_db_cnx` has been removed (#11605). 167 168 One should now only use the //context managers// for retrieving a database Connection in read or write mode. 168 169 - a **read-only** Connection can be used to form queries: 169 170 {{{#!python … … 199 200 === Template and CSS changes in Trac 1.1.2 200 201 201 `tt` tags are not support in HTML5 and have been replaced with `code` tags in Trac (#11094). The styling of `tt` and `code` tags is the same in Trac , but `code` tags should be usedsince the styling for `tt` tags will be removed in a future version of Trac.202 `tt` tags are not supported in HTML5 and have been replaced with `code` tags in Trac (#11094). The styling of `tt` and `code` tags is the same in Trac, but `code` tags should be used, since the styling for `tt` tags will be removed in a future version of Trac. 202 203 203 204 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. 204 205 205 //Many more changes to be added, depending on how detail swe want to get. TracUpgrade#CustomizedTemplates claims that changes to `id`s and CSS `class`es will be documented in ApiChanges.//206 //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.// 206 207 207 208 … … 223 224 TODO: Remove //Since// info from docstrings for Trac < 0.12. 224 225 225 //This is a work in progress - coverage is still not yet complete.// 226 226 //This is a work in progress - coverage is not yet complete.// 227 227 228 228