Version 2 (modified by 10 years ago) ( diff ) | ,
---|
Documenting API changes since 1.1.2
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.
These notes reflect the current status for 1.1.3, in trunk.
Proposed changes are prefixed with an OPEN mark and the paragraph is written in italics.
Summary
- Prerequisites
- Detailed List of Developer Visible Changes
- Other Modifications made to the 1.0 API
- New in the 1.1.3 API
Prerequisites
Only Python versions 2.6 and 2.7 are supported.
The following language feature introduced in Python 2.6 can now be used and the related clean-ups can be done:
- use string format(),
print()
except Cls as val
- class decorators to avoid the
implements
hack? @prop.setter
/@prop.deleter
namedtuple
s!- there's no longer need of
from __future__ import with_statement
next(iterator, [default])
to clean-up some unit tests- timeout in smtplib
Modified Dependencies
jQuery and jQuery UI (bundled)
The bundled version of jQuery will be 1.9 / 2.0 instead of 1.8.3 in Trac 1.1.1.
See jQuery release notes for the corresponding major updates:
OPEN The bundled version of the full minified jQuery UI package will be 1.10.1. See #11019.
Babel (optional)
The internationalization support (i18) for Trac is depending on Babel, version 1.0. (#10882) TODO
Babel 0.9.6 is still supported.
Genshi (mandatory)
OPEN Genshi 0.7
Genshi 0.6.x is still supported.
New Dependencies
None!
Detailed List of Developer Visible Changes
Ticket | Summary |
---|---|
#11859 | Add get_database_version and set_database_version methods to DatabaseManager class |
API Changes |
The database version for Trac and plugins can be retrieved using the |
#11893 | Add reset_tables method to ConnectionBase class |
API Changes |
Added |
#11894 | _parse_db_str should not be a protected member of module |
API Changes |
Renamed |
Component: general (4 matches) |
|
Ticket | Summary |
#11648 | Model classes should have a resource property |
API Changes |
Every model class has a |
#11707 | Module and other classes should have a realm attribute |
API Changes |
The |
#11815 | Test failures due to enabled unit test components in functional tests |
API Changes |
|
#11824 | Remove //Since// version information from TracIni documentation |
API Changes |
Leading and trailing whitespace is stripped from translatable string (plugin developers should use |
Component: notification (5 matches) |
|
Ticket | Summary |
#3517 | Notification plugin |
API Changes |
Added new API for notification distribution and extension points:
|
#4056 | Notification Preferences |
API Changes |
Added new extension point INotificationSubscriber. |
#11853 | Modular preference pages with child panels |
API Changes |
|
#11854 | Split up notification module |
API Changes |
Added mail notification helper functions |
#11869 | Add DB table for notification subscribers watching individual resources |
API Changes |
Added new |
Component: rendering (1 match) |
|
Ticket | Summary |
#11873 | Return a NamedTuple from Mimeview.get_supported_conversions |
API Changes |
|
Component: ticket system (6 matches) |
|
Ticket | Summary |
#10833 | ConfigurableTicketWorkflow's "Reassign To" ignores fine-grained permissions with restrict_owner=True |
API Changes |
|
#11699 | Use Chrome.authorinfo in render_ticket_action_controller |
API Changes |
|
#11717 | Highlight the whole referenced comment |
API Changes |
On the ticket page the id |
#11794 | Rename 'Comments only' label in #prefs on the ticket page |
API Changes |
On the ticket prefs form the |
#11839 | Allow groups to be specified in the set_owner workflow attribute |
API Changes |
The |
#11892 | Move group_milestones from trac.ticket.model to trac.ticket.roadmap |
API Changes |
Moved |
Component: version control (1 match) |
|
Ticket | Summary |
#11703 | Remove deprecated [trac] repository_dir option for configuring repository |
API Changes |
Removed deprecated |
Component: wiki system (1 match) |
|
Ticket | Summary |
#6573 | Allow change comment edit after commit. |
API Changes |
Added new optional method |
Other Modifications made to the 1.0 API
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
Database API Changes
New in the 1.1.3 API
Be sure to have a look at the new ApiDocs (for latest trunk).
This is a work in progress - coverage is still not yet complete.