Software Freedom Law Center

root/trunk/trac/RELEASE

Revision 103, 9.8 kB (checked in by bkuhn, 7 months ago)

r129@hughes: bkuhn | 2008-05-01 21:46:34 -0400

  • Merged upstream trac via: svk smerge /loblaw/local/branches/trac.upstream-r6969 .
Line 
1 Release Notes for Trac 0.11 rc1 Genshi Release
2 ==============================================
3 April 30, 2008
4
5 Highlights
6 ----------
7  * New template engine for generating content (Genshi)
8  * New configurable workflow in the ticket subsystem
9  * Finer-grained control of permissions
10  * Support for Pygments as the default syntax highlighter
11  * Improved repository browser ("blame" support, dynamic in-place
12    expansion of folders)
13  * Improved user preferences subsystem, among which the possibility for
14  * any user to select their time zone and disable access keys
15  * The WebAdmin plugin is now an integral part of Trac
16  * Paging of timeline and query results.
17
18 Detailed User Visible Changes
19 =============================
20
21 User Preferences
22 ----------------
23 A new user preference module has been added. It presents by default
24 several panels and plugins can easily add their own user settings there:
25
26  * General (name and e-mail information)
27  * Date & Time (timezone)
28  * Keyboard Shortcuts (enable/disable)
29  * Pygments Theme
30  * Advanced (restore session)
31
32 Most significantly, support for setting the time zone has been added to
33 the Date & Time panel.
34
35 Each user can select which time zone they want timestamps to be presented
36 in. If pytz is installed a complete list of time zones will be available,
37 otherwise Trac will fall back on a shorter list from an internal time
38 zone implementation.
39
40 Wiki
41 ----
42  * Usability improvements:
43  
44    - possibility to review changes before saving a new version of a page
45    - basic handling of conflicts in case of concurrent edits
46    - Restored direct link to History and revert to an Index link, from
47      where it's easy to switch between the Index by Title and Index by
48      Date
49    - The [[PageOutline]] macro now works as expected in preview mode
50
51  * Wiki syntax improvements:
52  
53    - most TracLinks now accept trailing arguments (?...) and targets
54      (#...)
55    - more intuitive relative links ([.. parent page], [./OtherPage
56      sibling page], [/WikiStart toplevel page])
57    - relative links like [#anchor see this section] always link to the
58      proper originating page or ticket, irrelevant from where the wiki
59      text appears (e.g. in the timeline)
60    - new #!div wiki processor and new [[span]] macro added. The former
61      can be used to encapsulate an arbitrary block of wiki markup in a
62      <div> element. The second can be used to encapsulate an arbitrary
63      fragment of wiki markup in a <span> element. Both div and span
64      can be provided with attributes like class=... or style="...".
65    - [[Image]] macro can now "link" to an arbitrary TracLinks instead
66      of the image's attachment itself
67    - InterTrac prefixes written alone can be used to target the
68      default page in the remote Trac, e.g. [TracHacks: the site for
69      contributing Trac plugins]
70    - trac: InterTrac prefix is known by default and refers to the
71      "Trac for Trac"
72
73 Ticket System
74 -------------
75
76 Ticket Editing
77
78  * The ticket workflow is now configurable, see TracWorkflow
79  * Improved preview, showing the comment preview at the top of the page,
80    so one can see at the same time the preview of the comment and the
81    preview of the fields and the description in the ticket box
82  * It is now possible to examine the changes made to the ticket
83    description and textual custom fields
84  * The display of field changes has been improved and is now more
85    compact
86  * Major usability enhancement for the CC: field
87  * Like for the concurrent wiki edits, a conflict due to simultaneous
88    editing of a ticket by two or more users lead to warnings, minimizing
89    the risk for the user to lose his changes
90  * Syntax for linking to arbitrary ticket comments is now more
91    intuitive: use comment:3:ticket:123 for linking to the 3^rd comment
92    of ticket #123. Alternatively, you can write: ticket:123#comment:3
93    (but not #123#comment:3!)
94
95 Roadmap and Milestone
96
97  * The Milestones can now have attachments
98  * If needed, it is possible to configure additional ticket groups to be
99    shown in the milestone progress bar (according to the status). For
100    even more complex needs, a plugin can now take over the way the
101    tickets and stats are collected.
102
103 Reports and Custom Queries
104
105  * Improved custom queries:
106  
107    - columns can now be selected
108    - possibility to save custom queries as reports
109    - possibility to configure the default custom query, both for
110    - anonymous and authenticated users
111  * the [[TicketQuery]] now supports a format=table option, which will
112    produce the usual tabular result of a custom query, see the macro
113    documentation.
114  * the custom query can list a fixed set of tickets, either using the
115    [[TicketQuery]] macro or query: links
116
117 Repository Browser
118 ------------------
119  * "Blame" support (annotation of every line with the changeset which
120    last modified them)
121  * Dynamically expandable folders for Javascript enabled browsers
122  * "Quickjump" navigation menu for easily going to branches and tags
123  * Alternative text view on diffs for Javascript enabled browsers
124  * Significantly improved patch renderer (supports extended diff
125    formats)
126  * Support for svn:externals and other properties. Improved display of
127    property changes. In addition, support for custom properties can be
128    added through plugins.
129  * Add the ability to highlight arbitrary ranges of lines in the source
130    code, using the appropriate source TracLinks
131  * Add the ability to access to the raw content of files inside the
132    repository using export TracLinks.
133  * Revision log display is more compact and allows selecting a diff for
134    the whole range of specified revisions
135  * Changeset display of list of files is more compact as well and shows
136    the main location where the changes happened. That can also be done
137    in the timeline by setting the [timeline] changeset_show_files
138    configuration entry to location instead of a number.
139
140 General
141 -------
142 Setuptools is now used for the packaging
143
144 This means you'll be able to just do
145
146 easy_install Trac
147
148 once we've made the release.
149
150 It also means that a number of things had to be changed to make this work
151 correctly. In particular, Trac no longer implicitly assumes nor installs
152 global data in the $prefix/share/trac. Instead, you'll have to modify the
153 configuration of your project environments to explicitly “inherit” a
154 global configuration in trac.ini, for example:
155
156 [inherit]
157 file = /etc/trac/trac.ini
158
159 This will load the configuration from the /etc/trac/trac.ini file, while
160 of course allowing to override any global settings in the environment's
161 configuration.
162
163 In that global configuration, you can specify shared directories for
164 templates and plugins, e.g.:
165
166 [inherit]
167 plugins_dir = /etc/trac/plugins/
168 templates_dir = /etc/trac/templates/
169
170   Note: naming of these options may still change until the final 0.11
171         release
172
173 Improved Syntax Highlighting
174
175 Trac can now use the Pygments syntax highlighter out-of-the-box. This is
176 a much nicer syntax highlighter than the one previously supported (
177 SilverCity, Enscript and PHP).
178
179 Lots of other minor improvements
180
181  * all configuration changes made to the TracIni files are now taken
182    into account immediately, without the need for a server restart
183  * e-mail obfuscation everywhere turned on by default (can be disabled
184    project wide or on a per-user basis
185  * possibility to configure the navigation bars (see TracNavigation)
186  * Timeline improvements:
187  
188    - paging support
189    - remember user settings
190    - more configuration settings for tweaking the display of the
191      events (see TracIni#timeline-section)
192  * Search improvements:
193    - OpenSearch support
194
195 Caveats
196 -------
197  * It is strongly advised to set the [trac] base_url setting for
198    generating correct URLs outside the context of a user request.
199    However, contrary to what happened for a while in 0.10.5dev, this
200    setting won't be used for the redirects, unless Trac is explicitly
201    told to do so, with the use_base_url_for_redirect setting.
202  * The [trac] templates_dir setting is considered harmful... You
203    probably need to remove that setting when you browse Trac and get the
204    following plain text error:
205
206    TemplateNotFound: Template "error.html" not found
207
208    FIXME: is this still the case?
209  * The support for MySQL as a database backend has not improved
210    significantly in any ways... It is still considered to be
211    experimental for 0.11. YMMV.
212  * The usual trick of wrapping a piece of wiki text inside a <div> for
213    advanced custom formatting can't be done anymore using the #!html
214    WikiProcessor, as that one can only produce well-formed HTML
215    fragments. Instead, one must use the new #!div Wiki processor for
216    that.
217
218 Wiki Macros
219
220 The change in templating engines necessitated a change in wiki macros.
221 The HelloWorld and Timestamp macros which are distributed with trac will
222 not work as released.
223
224 For examples of new style macros, see some of the macros which have
225 already been ported at MacroBazaar or ports of HelloWorld and Timestamp
226 attached to #5274.
227
228 Developer-visible changes
229 =========================
230 Many changes happened under the hood, among them:
231
232  * Trac now uses the Genshi template engine instead of ClearSilver.
233    Plugins using the latter will still be supported in Trac 0.11, but
234    probably not longer.
235  * Trac used to handle time informations as int timestamps. Now we're
236    using datetime objects.
237
238 A detailed view of the API changes since 0.10.x can be found in TracDev/
239 ApiChanges/0.11.
240
241 Acknowledgements
242 ----------------
243 Many thanks to the growing number of people who have, and continue to,
244 support the project. Also our thanks to all people providing feedback and
245 bug reports that helps us making Trac better, easier to use and more
246 effective.
247
248 Without your invaluable help, Trac would not evolve. Thank you all.
249
250 Finally, we offer hope that Trac will prove itself useful to like-minded
251 programmers around the world, and that this release will prove an
252 improvement over the last version.
253
254 Please let us know. :-)
255
256 /The Trac Team http://trac.edgewall.org/
Note: See TracBrowser for help on using the browser.

SFLC Main Page

[frdm] Support SFLC