1 | | {{{#!div style="float: right; margin: 0 1em" |
2 | | ← [../1.0] | [../1.1.2] → |
3 | | }}} |
4 | | = Documenting API changes since 1.0.x = |
5 | | |
6 | | {{{#!box info |
7 | | The next stable version of Trac will be named 1.2 and will contain the cumulative changes made in the successive 1.1.x releases. |
8 | | |
9 | | These notes reflect the current status for [milestone:1.1.1], in [source:trunk]. |
10 | | |
11 | | Proposed changes are prefixed with an OPEN mark and the //paragraph is written in italics.// |
12 | | |
13 | | Item still OPEN / TODO at the time of release will be reported to the next milestone. |
14 | | }}} |
15 | | |
16 | | [[PageOutline(2-4,Summary,inline)]] |
17 | | |
18 | | |
19 | | == Prerequisites == |
20 | | |
21 | | Python 2.5 support was dropped. **Only Python versions 2.6 and 2.7 are supported.** |
22 | | |
23 | | The following language feature introduced in Python 2.6 can now be used: |
24 | | - use string [http://docs.python.org/library/string.html#string-formatting format()], `print()` |
25 | | - `except Cls as val` |
26 | | - class decorators to avoid the `implements` hack? |
27 | | - `@prop.setter` / `@prop.deleter` |
28 | | - `namedtuple`s! |
29 | | - there's no longer need of `from __future__ import with_statement` |
30 | | - `next(iterator, [default])` to clean-up some unit tests |
31 | | - timeout in smtplib |
32 | | |
33 | | |
34 | | === Modified Dependencies === |
35 | | |
36 | | ==== jQuery and jQuery UI (bundled) |
37 | | |
38 | | The bundled version of [http://jquery.com jQuery] is now **1.8.2** instead of 1.7.2 in Trac 1.0-stable. (r11412) |
39 | | |
40 | | See jQuery release notes for the corresponding major updates: |
41 | | - [http://blog.jquery.com/2012/08/09/jquery-1-8-released/ 1.8] |
42 | | - [http://blog.jquery.com/2012/08/30/jquery-1-8-1-released/ 1.8.1] |
43 | | - [http://blog.jquery.com/2012/09/20/jquery-1-8-2-released/ 1.8.2] |
44 | | - [http://blog.jquery.com/2012/11/13/jquery-1-8-3-released/ 1.8.3] |
45 | | |
46 | | The bundled version of the full minified [http://jqueryui.com jQuery UI] package is now [http://jqueryui.com/docs/Changelog/1.9.2 1.9.2] instead of [http://jqueryui.com/docs/Changelog/1.8.21 1.8.21] in Trac 1.0-stable. |
47 | | |
48 | | DONE #10976 |
49 | | |
50 | | ==== Babel (optional) |
51 | | |
52 | | The internationalization support (i18) for Trac is depending on [http://babel.edgewall.org/ Babel], version 1.0. (#10882) |
53 | | |
54 | | //Babel 0.9.6 is still supported.// |
55 | | |
56 | | ==== Genshi (mandatory) |
57 | | |
58 | | OPEN |
59 | | // '''Genshi 0.7''' // |
60 | | |
61 | | //Genshi 0.6.x is still supported.// |
62 | | |
63 | | |
64 | | === New Dependencies === |
65 | | |
66 | | None! |
67 | | |
68 | | |
69 | | == Detailed List of Developer Visible Changes #list |
70 | | |
71 | | [[TicketQuery(milestone=1.1.1,status=closed,apichanges!=,col=summary,rows=apichanges,group=component,format=table)]] |
72 | | |
73 | | == Other Modifications made to the 1.0 API == |
74 | | |
75 | | 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 |
76 | | |
77 | | {{{#!comment |
78 | | === Modified Interfaces === |
79 | | ==== `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 |
80 | | |
81 | | ... |
82 | | }}} |
83 | | |
84 | | |
85 | | == New in the 1.1.1 API == |
86 | | |
87 | | Be sure to have a look at the new ApiDocs ([http://www.edgewall.org/docs/trac-trunk/html/ for latest trunk]). |
88 | | |
89 | | //This is a work in progress - coverage is still not yet complete.// |
90 | | |
91 | | |
92 | | |
93 | | {{{#!comment |
94 | | === New Classes === |
95 | | ==== `trac.x.y.ClassName` ^[source:trunk/trac/x/y.py@#Lnum (1.0)]^ ==== #ClassName |
96 | | |
97 | | ... |
98 | | |
99 | | === New Interfaces === |
100 | | ==== `trac.x.y.IClassName` ^[source:trunk/trac/x/y.py@#Lnum (1.0)]^ ==== #IClassName |
101 | | |
102 | | |
103 | | === Other news === |
104 | | |
105 | | }}} |
| 1 | See [../1.1] |