aboutsummaryrefslogtreecommitdiff
path: root/raw-wiki-dump/UpgradeToKSNG
blob: 1120a7b46c8da953870924d1eea37faf47ff4556 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
[[PageOutline]]

= Upgrading Cryptech Alpha HSM to "ksng" development package =

This page attempts to explain the upgrade procedure for testing out
the new "ksng" development branch of the Cryptech Alpha firmware.

== Cavats ==

This particular upgrade is more complicated than we would have
preferred, due to the interaction of two unrelated factors:

1. As the name (obscurely) implies, the main feature in the ksng
   branch is a completely new HSM keystore implementation, which makes
   better use of the Alpha's keystore flash, allows a much larger
   number of keys, removes the need for an SQL database on the host,
   gets your laundry 25% brighter, and leaves your breath alone.

   We did not attempt to provide any sort of backwards compatability
   to the old minimalistic keystore implementation, so this upgrade
   process will wipe your keystore.  Sorry.  More importantly (from
   the limited viewpoint of the upgrade process), it will change how
   the HSM stores its PINs, which complicates the upgrade process.

2. The "Device Field Upgrade" (DFU) capability in the Alpha's firmware
   was a last-minute addition before the Berlin workshop in July 2016,
   and, as last minute additions often do, it turned out to be buggy.
   There are three distinct pieces of software involved in the upgrade
   process, and they were all slightly buggy, in different ways.
   Because of this, one must perform the upgrade steps in a particular
   order to avoid bricking the HSM.  The upgrade includes fixes for
   all the (known) bugs in the DFU process, so we hope that this will
   be a one-time annoyance (famous last words).

If something goes horribly wrong and you do somehow manage to brick
your Alpha, don't give up, recovery is still possible, it just
requires an ST-LINK debugger and cable (more on this below).

== Overview ==

Because of the tricky nature of this particular upgrade, you must
perform these steps, in the specified order:

* Install the new host software package using APT or Homebrew.
* Wipe the HSM keystore to reset PINs back to the "factory" state.
* Upgrade the main HSM firmware.
* Upgrade the HSM bootloader.
* Log in to upgraded HSM to set PINs, etc.

**Upgrading the bootloader before the main firmware will brick your
Alpha.**  So don't do that.

All of the operations here use the Alpha's "management" (MGMT) port,
so that cable must be connected to your Linux or OSX host machine.

This upgrade procedure was tested on Debian Jessie, with an Alpha
whose firmware had been rolled back to the version from the Berlin
workshop (APT/Homebrew package version 2.0.1468584175, commit
cd445b69b2caa7205f4e1c368aa2c6bf8c2d7692 in repository
https://git.cryptech.is/releng/alpha.git).

== Install cryptech-alpha-ksng package using apt-get or Homebrew ==

Binaries for the "ksng" branch are available as a separate set of
"cryptech-alpha-ksng" packages, which replace the "cryptech-alpha"
packages for the master branch.  This seemed the simplest way of
letting people experiment with the new code while falling back to the
old if necessary.  The "cryptech-alpha-ksng" packages are declared to
conflict with the "cryptech-alpha" packages, because they install
programs by the same name in the same places and you need the version
of the host software which goes with the HSM firmware your running.

APT handles package conflicts differently from the way that Homebrew
does.  If you have "cryptech-alpha" installed and try to install
"cryptech-alpha-ksng", APT assumes you meant what you said and will
just replace the old package with the new one.  Homebrew, on the other
hand, reports the conflict and refuses to proceed until you sort it out.

The following assumes that you already had the Cryptech APT repository
or Homebrew tap configured; if not, see  [[wiki:BinaryPackages]].

=== Installing cryptech-alpha-ksng package using apt-get on Debian or Ubuntu Linux ===

{{{
$ sudo apt-get update
$ sudo apt-get install cryptech-alpha-ksng
}}}

=== Installing cryptech-alpha-ksng package using Homebrew on OSX ===

{{{
$ brew update
$ brew uninstall cryptech-alpha
$ brew install cryptech-alpha-ksng
}}}

== Set usual CRYPTECH_* environment variables ==

The upgrade process uses the `CRYPTECH_CTY_CLIENT_SERIAL_DEVICE`
environment variable.  The easiest way to set it is by using the
`cryptech_probe` script, just as you would for other usage of the
Alpha.

{{{
$ eval `cryptech_probe -v`
}}}

== Clear the keystore flash ==

Sorry about this.  Yes, we know we need backup and restore, we'll get
there.  But for this upgrade, it's safest to wipe the keystore.

{{{
$ cryptech_miniterm

Username: wheel
Password: <your-wheel-pin-goes-here>

cryptech> keystore erase YesIAmSure

^]
}}}

== Upgrade the main HSM firmware ==

{{{
$ cryptech_upload --firmware --user wheel
PIN: YouReallyNeedToChangeThisPINRightNowWeAreNotKidding
}}}

== Upgrade the bootloader ==

{{{
$ cryptech_upload --bootloader --user wheel --simon-says-whack-my-bootloader
PIN: YouReallyNeedToChangeThisPINRightNowWeAreNotKidding
}}}

== Log in and set PINs, masterkey, etcetera ==

{{{
$ cryptech_miniterm

Username: wheel
PIN: YouReallyNeedToChangeThisPINRightNowWeAreNotKidding

cryptech> keystore set pin wheel fnord
cryptech> keystore set pin so    fnord
cryptech> keystore set pin user  fnord
cryptech> masterkey set

^]
}}}

== What to do if you manage to brick your Alpha ==

If the above procedure somehow goes horribly wrong and bricks your
alpha, you can still recover, but you'll need an ST-LINK programmer.
There's some discussion of this at [[wiki:GitRepositories/sw/stm32]].

Possible sources for the ST-LINK programmer and a suitable cable:

* http://www.mouser.com/search/ProductDetail.aspx?R=0virtualkey0virtualkeyNUCLEO-F411RE
* https://www.sparkfun.com/products/10376

These are relatively cheap, you'll probably pay as much for the
postage as for the parts themselves.  If you have a better source, go
for it.

The programmer is the important part, you can use any sort of cabling
you like so long as it connects the right pins of the programmer to
the corresponding pins on the Alpha; the SparkFun cable just happens
to be a tidy package which matches the relevant SWD headers.

We'll include a more detailed description of the recovery process here
if anybody needs it, but the short version is:

* Install OpenOCD on your host machine.
* Open up the Alpha's case, take the board out.
* Connect the programmer and power the board back up.
* Use the `flash-target` script from the `sw/stm32` repository to
  stuff the `hsm.elf` and `bootloader.elf` files from the binary
  firmware tarball into the HSM.
* Power down, disconnect the programmer, put the Alpha back in its
  case, done.
n555'>555 556 557 558 559 560 561 562 563 564 565
[[PageOutline(2-3)]]
= Change Log
This is a rough list of changes between released versions.

To see where Trac is going in future releases, see the [trac:roadmap Roadmap].


== 1.2.x Releases

=== 1.2 'Hermes'

//(November 5, 2016)//

Trac 1.2 is the first major release of Trac in more than 4 years.

The following are some highlights from the release:

* Extensible notification system ([trac:#3517])
* Notification preference panel ([trac:#4056])
* Usernames replaced with full names ([trac:#7339])
* Restyled ticket changelog ([trac:#11835])
* Workflow controls on the //New Ticket// page ([trac:#2045])
* Editable wiki page version comments ([trac:#6573])
* Datetime custom fields ([trac:#1942])

For more information see the [trac:wiki:TracDev/ApiChanges/1.2 API changes] and the detailed
release notes for [[trac:wiki:TracDev/ReleaseNotes/1.2#DevelopmentReleases | 1.2]] and [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.8 through 1.0.13]]
(as 1.2 contains all the fixes done for 1.0.8 through 1.0.13).

[trac:source:/tags/trac-1.2 View Tag] | [trac:milestone:1.2 View Milestone]

== 1.1.x Releases
// 1.1.x releases are development releases leading eventually to Trac 1.2. See them as kind of snapshots of [trac:source:trunk].

** No guarantees of feature and API compatibility is made from one 1.1.x release to the next. //

=== 1.2rc1

//(September 14, 2016)//

The first Trac 1.2 release candidate is the culmination of nearly 4 years of development.

Highlights of the changes since 1.1.6:

 - Pygments lexer options can be specified as [WikiProcessors WikiProcessor] arguments and defaults can be set in the environment configuration ([trac:#5654]).
 - Usernames are replaced with full names when `[trac]` `show_full_names` is true ([trac:#7339]).
 - Enum tables on the Ticket Admin pages can be reordered by drag and drop. ([trac:#11682]).
 - Ticket changelog is restyled and has a new //Show comments// preference ([trac:#11835]).
 - Authentication cookies can be shared across subdomains when `[trac]` `auth_cookie_domain` is configured ([trac:#12251]).

For more information see the [trac:wiki:TracDev/ApiChanges/1.1 API changes] and the detailed
release notes for [[trac:wiki:TracDev/ReleaseNotes/1.1#DevelopmentReleases | 1.2rc1]] and [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.8 through 1.0.13]]
(as 1.2rc1 contains all the fixes done for 1.0.8 through 1.0.13).

[trac:source:/tags/trac-1.2rc1 View Tag] | [trac:milestone:1.2 View Milestone]

=== 1.1.6

//(July 17, 2015)//

Trac 1.1.6 contains more than a half dozen minor fixes and enhancements.

For more information see the [trac:wiki:TracDev/ApiChanges/1.1 API changes] and the detailed
release notes for [[trac:wiki:TracDev/ReleaseNotes/1.1#DevelopmentReleases | 1.1.6]] and [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.7]]
(as 1.1.6 contains all the fixes done for 1.0.7).

[trac:source:/tags/trac-1.1.6 View Tag] | [trac:milestone:1.1.6 View Milestone]


=== 1.1.5

//(May 18, 2015)//

Highlights of the changes:

 - Corrected highlighting of unmodified values in //Config// section of the //About Trac// page ([trac:#6551]).
 - New helper methods on `DatabaseManager` class for plugins to upgrade the database ([trac:#8172]).
 - New `[notification-subscriber]` config section for general configuration of notification subscription defaults and `SubscriberList` macro ([trac:#11875]).
 - Removed dependency on `ConfigObj` for TracFineGrainedPermissions ([trac:#11982]).
 - `Image` macro supports InterWiki prefixes ([trac:#12025]).

See also the [trac:wiki:TracDev/ApiChanges/1.1 API changes] and the detailed
release notes for [[trac:wiki:TracDev/ReleaseNotes/1.1#DevelopmentReleases | 1.1.5]], [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.6]] and [[trac:wiki:TracDev/ReleaseNotes/0.12#MaintenanceReleases | 0.12.7]]
(as 1.1.5 contains all the fixes done for 1.0.6 and 0.12.7).

[trac:source:/tags/trac-1.1.5 View Tag] | [trac:milestone:1.1.5 View Milestone]

=== 1.1.4

//(March 24, 2015)//

Highlights of the changes:

 - Performance improvements with MySQL/MariaDB ([trac:#3676]).
 - Click on //Permissions// Admin page table row toggles all
   checkboxes in the row ([trac:#11417]).
 - Configuration sections are written to trac.ini when enabling a
   component through TracAdmin or the web administration module
   ([trac:#11437]).
 - Subscription rules can be reordered by drag and drop ([trac:#11941]).

See also the [trac:wiki:TracDev/ApiChanges/1.1 API changes] and the detailed
release notes for [[trac:wiki:TracDev/ReleaseNotes/1.1#DevelopmentReleases | 1.1.4]]
and [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.4/1.0.5]]
(as 1.1.4 contains all the fixes done for 1.0.4 and 1.0.5).

[trac:source:/tags/trac-1.1.4 View Tag] | [trac:milestone:1.1.4 View Milestone]

=== 1.1.3

//(January 13, 2015)//

The following list contains highlights of the changes:

 - The ticket creation step can be configured in the TracWorkflow and the
   workflow controls are present on the !NewTicket page ([trac:#2045]).
 - New notification system that can be extended by plugins ([trac:#3517]).
 - New preferences panel for notification subscriptions ([trac:#4056]).
 - Wiki page version comments can be edited by users with `WIKI_ADMIN` ([trac:#6573]).
 - Improved positioning of //Add Comment// section and //author// field
   on the ticket form ([trac:#10207]).
 - The delete confirmation pages warn if attachments will also be deleted
   ([trac:#11542]).
 - Removed support for [trac:SilverCity], Enscript and !PhpRenderer syntax
   highlighters ([trac:#11795]).
 - Combined //Date & Time// and //Language// preference panels as
   //Localization// ([trac:#11813]).
 - Groups and permissions can be used in the workflow `set_owner` attribute
   ([trac:#11839]).

See also the [trac:wiki:TracDev/ApiChanges/1.1 API changes] and the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.1#DevelopmentReleases | 1.1.3]] and [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.3]] (as 1.1.3 contains all the fixes done 
for 1.0.3).

[trac:source:/tags/trac-1.1.3 View Tag] | [trac:milestone:1.1.3 View Milestone]

=== 1.1.2

//(October 23, 2014)//

The following list contains highlights of the changes:

 - Dropped support for Python 2.5. Trac can no longer be run on Python 2.5 as incompatible changes have been made in the source code ([trac:#11600]).
 - The new ticket workflow action `may_set_owner` is similar to `set_owner` but the owner defaults to the existing ticket owner rather than the current user ([trac:#10018]).
 - The new option `[ticket]` `optional_fields` specifies ticket select fields that are treated as optional (i.e. an empty value is allowed) ([trac:#10772]).
 - Line number and row highlighting annotations can be specified for !WikiProcessor code blocks ([trac:#10834]).
 - The //default handler// can be set as a session preference ([trac:#11597]), and the default value for all users can be set from the //Basic Settings// admin page ([trac:#11519]).
 - Attachments can't be added to read-only wiki pages ([trac:#11244]).
 - Tables on the admin pages have a //Select all// checkbox in the header ([trac:#10994]).
 - Submit buttons are disabled if the required items are not selected ([trac:#11056]).
 - The Admin //Permissions// page has a //Copy Permissions// form for copying permissions between users and groups ([trac:#11099]).
 - The new option `[milestone]` `default_retarget_to` determines the default milestone for retargeting tickets when a milestone is deleted or closed, and can be specified from the //Milestone// admin page ([trac:#10010]).
 - The //retarget// select is not shown when closing or deleting a milestone which has no tickets associated with it ([trac:#11366]).
 - //Clear default// buttons allow the ticket system default values (e.g. `default_milestone`, `default_version`) to be cleared through the corresponding admin pages ([trac:#10772], [trac:#11300]).
 - The `TitleIndex` macro supports relative path prefixes when used on wiki pages ([trac:#11455]).
 - [trac:CommitTicketUpdater] will recognize a ticket reference that includes a trailing `#comment:N` or `#comment:description` ([trac:#11622]).
 - The //Tickets// column of the milestone table on the //Milestone// admin page contains links to the query page showing all tickets associated with the milestone, grouped by status ([trac:#11661]).
 - Authz policy can be used to restrict access to the //Report List// page using the resource id `-1` ([trac:#11697]).

See also the [trac:wiki:TracDev/ApiChanges/1.1 API changes] and the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.1#DevelopmentReleases | 1.1.2]], [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.2]] and [[trac:wiki:TracDev/ReleaseNotes/0.12#MaintenanceReleases | 0.12.6]] (as 1.1.2 contains all the fixes done for 1.0.2 and 0.12.6).

[trac:source:/tags/trac-1.1.2 View Tag] | [trac:milestone:1.1.2 View Milestone]

=== 1.1.1

//(February 3, 2013)//

Trac 1.1.1 starts the 1.1.x development line leading to 1.2 with some new features and a few not-so-disruptive changes.

The following list contains only a few highlights:

 - Added support for custom ticket fields of type time ([trac:#1942])
 - In new tickets, custom time ticket fields may default to an absolute or relative date / time ([trac:#10853])
 - In TracBatchModify, custom time ticket fields can be changed with a date(time)picker popup control ([trac:#10854])
 - Optionally display the component of tickets in their timeline entries (`[timeline]` `ticket_show_component` setting) ([trac:#10885])
 - Fixed batch modification when no fields are changed ([trac:#10924])
 - Dynamic variables can be used in the report title and description ([trac:#10979])
 - jQuery upgraded to 1.8.3, jQuery UI upgraded to 1.9.2 and jQuery UI Timepicker upgraded to 1.1.1 ([trac:#10976])
 - Dropped support for Python 2.5, either Python 2.6 or Python 2.7 is required //(well, as it happens, 2.5 //still// works, that's a bug ;-) )//

See also the [trac:wiki:TracDev/ApiChanges/1.1 API changes] and the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.1#DevelopmentReleases | 1.1.1]], [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.1]] and [[trac:wiki:TracDev/ReleaseNotes/0.12#MaintenanceReleases | 0.12.5]] (as 1.1.1 contains all the fixes done for 1.0.1 and 0.12.5).

[trac:source:/tags/trac-1.1.1 View Tag] | [trac:milestone:1.1.1 View Milestone]

== 1.0.x Releases

=== 1.0.13

//(September 11, 2016)//

Trac 1.0.13 provides around a dozen bug fixes and minor
enhancements. The following are some highlights:

 - Use locale environment variables to negotiate locale 
   on console ([trac:#12418]).
 - Fixed using incorrect revisions when downloading a zip
   file via browser page from Git repository ([trac:#12557]).

[trac:source:/tags/trac-1.0.13 View Tag] | [trac:milestone:1.0.13 View Milestone]

=== 1.0.12

//(July 4, 2016)//

Trac 1.0.12 provides around 20 bug fixes and minor enhancements. The following are some highlights:

 - Reconnect to PostgreSQL server after restarting it
   ([trac:#4984]).
 - Workflow actions on the batch modify form are sorted
   by the default attribute ([trac:#12447]).
 - Fixed Pygments stylesheet not found when style name
   contained a dash ([trac:#12505]).
 - Fixed incorrect parsing of projects list file by
   `GitwebProjectsRepositoryProvider` ([trac:#12518]).
 - `TracIni` macro displays option documentation as 
   multi-line rather than one-liner ([trac:#12522]).
 - Fixed regression with `GitConnector` leading to
   `IOError: Too many open files` ([trac:#12524]).

[trac:source:/tags/trac-1.0.12 View Tag] | [trac:milestone:1.0.12 View Milestone]

=== 1.0.11

//(May 7, 2016)//

Trac 1.0.11 provides more than 30 bug fixes and minor
enhancements. As in 1.0.10, an area of focus has been to
eliminate tracebacks in the logs due to invalid requests.
The following are some additional highlights:

 - Fixed resetting //Oldest first// after auto-preview of
   ticket change log ([trac:#12381]).
 - Trac is now distributed as wheel package ([trac:#12391]).
 - Fixed database exceptions in query system when 
   ''milestones/versions/enums'' are not defined and a custom
   field of the same name is added ([trac:#12399]).
 - Custom field //milestone// was not shown when
   standard //milestone// field was hidden ([trac:#12400]).
 - Query system now sorts by `enum.value` rather than
   `ticket.type` for `order=type` ([trac:#12402]). 
 - Added support for Babel 2.3.2 (2.3.0 and 2.3.1 should
   not be used)  ([trac:#12445]).

[trac:source:/tags/trac-1.0.11 View Tag] | [trac:milestone:1.0.11 View Milestone]

=== 1.0.10

//(February 20, 2016)//

Trac 1.0.10 provides more than 30 bug fixes and minor enhancements. Two areas of focus
have been fixing test failures on Windows and eliminating tracebacks in the logs due to
invalid requests.

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.10]].

[trac:source:/tags/trac-1.0.10 View Tag] | [trac:milestone:1.0.10 View Milestone]

=== 1.0.9

//(September 10, 2015)//

Trac 1.0.9 provides more than a dozen minor fixes and enhancements, including significantly reduced memory usage by the Git repository connector.

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.9]].

[trac:source:/tags/trac-1.0.9 View Tag] | [trac:milestone:1.0.9 View Milestone]

=== 1.0.8

//(July 24, 2015)//

Trac 1.0.8 fixes a regression introduced in Trac 1.0.7: the session
for an authenticated username containing non-alphanumeric characters
could not be retrieved, resulting in the user being denied access to
every realm and resource ([trac:#12129]).

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.8]].

[trac:source:/tags/trac-1.0.8 View Tag] | [trac:milestone:1.0.8 View Milestone]

=== 1.0.7

//(July 17, 2015)//

Trac 1.0.7 contains more than a dozen minor fixes and enhancements, including the following highlights:
 - Custom `svn:keywords` definitions are expanded in Subversion 1.8 and later ([trac:#11364]).
 - Fixed MySQL performance regression in query with custom fields ([trac:#12113]).

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.7]].

[trac:source:/tags/trac-1.0.7 View Tag] | [trac:milestone:1.0.7 View Milestone]

=== 1.0.6

//(May 20, 2015)//

Trac 1.0.6 provides more than 20 fixes and enhancements. The following are some highlights:
 - Hash changeset ids and branch names can be used in revision ranges ([trac:#11050])
 - Improved rendering performance using chunked response when `[trac]` `use_chunked_encoding` is `True` ([trac:#11802])
 - Improved performance of Git repositories ([trac:#11971]).
 - Header to send when `[trac]` `use_xsendfile` is `True` can be specified through the option `[trac]` `xsendfile_header`. X-Sendfile is supported in Nginx by specifying `X-Accel-Redirect` for the header ([trac:#11981]).
 - Symbolic link can be used for `conf/trac.ini` in environment directory ([trac:#12000]).
 - Hyphen character can be used in !WikiProcessor parameter name ([trac:#12023]).

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.6]] and [[trac:wiki:TracDev/ReleaseNotes/0.12#MaintenanceReleases | 0.12.7]] (as 1.0.6 also contains the changes in 0.12.7).

[trac:source:/tags/trac-1.0.6 View Tag] | [trac:milestone:1.0.6 View Milestone]

=== 1.0.5

//(March 24, 2015)//

Trac 1.0.5 provides several fixes. The following are some highlights:

 - Images are not rendered in the timeline ([trac:#10751]).
 - Git tags are shown in the browser view ([trac:#11964]).
 - Added support for `journal_mode` and `synchronous` pragmas
   in `sqlite:` database connection string ([trac:#11967]).

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.5]].

[trac:source:/tags/trac-1.0.5 View Tag] | [trac:milestone:1.0.5 View Milestone]

=== 1.0.4

//(February 8, 2015)//

Trac 1.0.4 contains a few fixes, including a fix for a regression in 1.0.3.

 - Workflow action labels were not displayed unless name attribute
   was explicitly defined ([trac:#11930]).

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.4]].

[trac:source:/tags/trac-1.0.4 View Tag] | [trac:milestone:1.0.4 View Milestone]

=== 1.0.3

//(January 13, 2015)//

Trac 1.0.3 is a maintenance release containing numerous fixes and minor
enhancements. The following are a few of the highlights:

The following list contains only a few highlights:

 - Notification is sent when adding an attachment to a ticket ([trac:#2259]).
 - Stylesheets and scripts are loaded during autopreview, resulting in proper
   syntax highlighting when code WikiProcessors are added ([trac:#10470]) and display
   of Workflow graphs without explicit autopreview ([trac:#10674]).
 - Merge changesets are shown as differences against first parent, resulting
   in less noisy changesets ([trac:#10740]).
 - Pygments 2.0 is supported ([trac:#11796]).
 - Fixed error when completing the `initenv` TracAdmin command ([trac:#11797]).
 - Performance improvement on systems with many thousands of authenticated
   users due to caching of Environment.get_known_users ([trac:#11868]).
 - Distribution metadata of wheel package is supported and displayed on the
   About page ([trac:#11877]).
 - … and more than 3 dozen total fixes!

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.3]].

[trac:source:/tags/trac-1.0.3 View Tag] | [trac:milestone:1.0.3 View Milestone]


=== 1.0.2

//(October 23, 2014)//

Trac 1.0.2 contains a number of bug fixes and minor enhancements, as well as a major update for many translations.

The following list contains only a few highlights:

 - Subversion keywords are expanded and EOL substitutions made when viewing a file in the repository browser and when downloading a file ([trac:#717]). 
 - Notification email is sent to the old owner when a ticket is reassigned ([trac:#2311]).
 - Ticket change history is updated when renaming and deleting a milestone, and when retargeting tickets to another milestone ([trac:#4582], [trac:#5658]).
 - Numerous fixes for the Authz permissions policy in the browser/repository ([trac:#10961], [trac:#11646]), wiki ([trac:#8976], [trac:#11067]), admin ([trac:#11069]) and report ([trac:#11176]) realms.
 - Multiple forms submits are disallowed ([trac:#10138]).
 - `ConfigurationError` is raised if any of the `permission_policies` can't be loaded, preventing possible information leakage due to internal and installation errors ([trac:#10285]).
 - Wiki toolbars can be disabled through a configuration setting ([trac:#10837])
 - The number of entries in a table is shown next to heading on applicable admin pages ([trac:#11027]).
 - //Cancel// buttons are consistently located on all pages ([trac:#11076]).
 - Focus is placed on a text element when an edit page is loaded ([trac:#11084]).
 - The //Edit conflict// and //Merge// warning messages are always visible in side-by-side edit mode ([trac:#11102]).
 - Improvements to the layout of the Report ([trac:#11106], [trac:#11664]) and Ticket pages ([trac:#11471]).
 - Genshi 0.7 compatibility ([trac:#11218]).
 - Numerous minor fixes for Git repository support.
 - … and more than a hundred more fixes!

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.2]] and [[trac:wiki:TracDev/ReleaseNotes/0.12#MaintenanceReleases | 0.12.6]] (as 1.0.2 contains all the fixes done for 0.12.6).

[trac:source:/tags/trac-1.0.2 View Tag] | [trac:milestone:1.0.2 View Milestone]


=== 1.0.1

//(February 1, 2013)//

Trac 1.0.1 contains a number of bug fixes and minor enhancements, as well as a major update for many translations.

The following list contains only a few highlights:

 - Fix zip source download for large directories in Subversion repositories ([trac:#10840])
 - Performance improvement for the Roadmap, by caching milestone properties ([trac:#10879])
 - Added a ''select all'' checkbox to table of components for each plugin on the Plugins admin panel ([trac:#9609])
 - Restore the ''Modify'' link at the top of the ticket page, as it was in Trac 0.12 ([trac:#10856])
 - `ListOption` keeps values other than empty string and None in raw list as default ([trac:#10541])
 - Prevent possibility of multiple identical info or warning messages being presented to the user ([trac:#10987])
 - The !BatchModify select-all checkboxes are toggled with tri-state behavior when the ticket checkboxes are toggled ([trac:#10992])
 - Update the ticket changetime to the current time when deleting a ticket comment ([trac:#10486])

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/1.0#MaintenanceReleases | 1.0.1]] and [[trac:wiki:TracDev/ReleaseNotes/0.12#MaintenanceReleases | 0.12.5]] (as 1.0.1 contains all the fixes done for 0.12.5).

[trac:source:/tags/trac-1.0.1 View Tag] | [trac:milestone:1.0.1 View Milestone]


=== '''1.0 'Cell' '''

//(September 7, 2012)//

Trac 1.0 is a major release adding refreshed user interface and improved DVCS repository support as the most visible changes.

The following list contains only a few highlights:
 - The default theme looks more modern, especially on recent browsers (no effort has been made to make it look better on older browsers like IE6 or 7) 
 - The [TH:GitPlugin] has been donated by Herbert Valerio Riedel to the Trac project (many thanks!) and is now maintained here as an optional component
 - As a consequence, the Subversion support has been moved below `tracopt.versioncontrol` as well
 - The Git and Mercurial log view feature a visualization of the branching structure 
 - Usability improvements for the tickets, with a better support for conflict detection and resolution
 - Integration of the [TH:BatchModifyPlugin], contributed by Brian Meeker (many thanks!) and is now maintained there as a default component
 - jQuery/UI integration, featuring a date picker for date fields
 - Improved integration with Pygments syntax highlighting
 - ... and numerous smaller features added and bugs fixed since 0.12!

See the full list in [trac:wiki:TracDev/ReleaseNotes/1.0 1.0].

[[trac:source:/tags/trac-1.0 View Tag]] | [[trac:milestone:1.0 View Milestone]]

== 0.12.x Releases

=== 0.12.7

//(July 12, 2015)//

Trac 0.12.7 fixes a minor security issue, as well as a half dozen other minor issues:
 - InterWiki filters links through `[wiki] safe_schemes` option if `[wiki] render_unsafe_content` is disabled ([trac:#12053]).

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/0.12#MaintenanceReleases | 0.12.7]].

[trac:source:/tags/trac-0.12.7 View Tag] | [trac:milestone:0.12.7 View Milestone]

=== 0.12.6

//(October 23, 2014)//

Trac 0.12.6 contains fixes for a few issues:
 - Subversion blame would fail for a path with URL-encoded characters ([trac:#10386]), a lower-case drive letter on Windows ([trac:#10514]), or a non-ascii filename with Subversion 1.7 ([trac:#11167]).
 - Improved performance rendering `svn:mergeinfo` properties in browser view ([trac:#8459]) and changeset view ([trac:#11219]).
 - Query with many custom fields would fail ([trac:#11140]).
 - Zip archive had a timestamp with no timezone information ([trac:#11162]).
 - Failure or incorrect ranges rendering log TracLinks ([trac:#11308], [trac:#11346]).
 - Textareas in ticket view did not wrap correctly in IE 11 ([trac:#11376]).
 - Emails were not being obfuscated in owner field on CSV export from ticket and query pages ([trac:#11594]).
 - Locale data was not being included in egg in Distribute 0.6.29 and later ([trac:#11640]).
 - Deleting a milestone would not delete its attachments ([trac:#11672]).
 - Added support for Babel 1.0 and later ([trac:#11258], [trac:#11345]).
 - Added support for `ConfigObj` 5.0 and later ([trac:#11498]).
 - … and dozens more fixes!

See the detailed release notes for [[trac:wiki:TracDev/ReleaseNotes/0.12#MaintenanceReleases | 0.12.6]].

[trac:source:/tags/trac-0.12.6 View Tag] | [trac:milestone:0.12.6 View Milestone]

=== 0.12.5

//(January 15, 2013)//

Trac 0.12.5 contains fixes for a few issues:
 - upload of .mht files ([Wikipedia:MHTML] web page archive files) now works ([trac:#9880])
 - more robust parsing of attachment URLs ([trac:#10280]) and uploaded file names ([trac:#10850])
 - lots of improvement to the date formatting code, which is now much more robust when timezone and daylight saving time computations are involved ([trac:#10768], [trac:#10863], [trac:#10864], [trac:#10912], [trac:#10920])
 - no longer generate invalid JSON encoded data with Python 2.4 and 2.5 ([trac:#10877])
 - ... and fix a couple more minor defects ([trac:#10967], [trac:#10892], [trac:#10923], [trac:#10858], [trac:#10835])

[trac:source:/tags/trac-0.12.5 View Tag] | [trac:milestone:0.12.5 View Milestone]

=== 0.12.4 

//(September 7, 2012)//

Trac 0.12.4 contains only a handful of minor fixes.

[trac:source:/tags/trac-0.12.4 View Tag] | [trac:milestone:0.12.4 View Milestone]

=== 0.12.3 ===

//(February 6, 2012)//

Trac 0.12.3 contains a few minor fixes and a few minor features.
 - compatibility with Subversion 1.7 ([trac:#10414])
 - easier troubleshooting of common startup errors ([trac:#10024])
 - jQuery upgraded to 1.4.4 ([trac:#10001])
 - improve fine-grained permission handling in the source browser ([trac:#9976], [trac:#10208], [trac:#10110])
 - added compatibility with MySQL 5.5.3 utf8mb4 databases ([trac:#9766])
 - ... and dozens more fixes!

[trac:source:/tags/trac-0.12.3 View Tag] | [trac:milestone:0.12.3 View Milestone]

=== 0.12.2

//(January 31, 2011)//

Trac 0.12.2 contains a few minor fixes and a few minor features.

This list contains only a few highlights:
 - install: improved robustness of Trac installation if Babel is
   installed after the fact ([trac:#9439], [trac:#9595], [trac:#9961])
 - notifications: support for Asian character width ([trac:#4717])
 - roadmap: fix display of progress bar in some corner cases ([trac:#9718])
   and respect the overall_completion milestone group setting ([trac:#9721])
 - reports: reports and queries look much better, as the columns now
   keep the same width across groups; the absence of word wrapping in
   reports has been fixed ([trac:#9825])
 - web admin: improved layout ([trac:#8866], [trac:#9963])
 - web: it's now possible to log in different Trac instances sharing
   the same URL prefix (e.g. /project and /project-test) ([trac:#9951])

[trac:source:/tags/trac-0.12.2 View Tag] | [trac:milestone:0.12.2 View Milestone]

=== 0.12.1

//(October 9, 2010)//

Trac 0.12.1 contains a few important performance improvements, some minor fixes and a few minor features.

This list contains only a few highlights:
 - db: improve concurrency behavior ([trac:#9111])
 - fcgi: add an environment variable `TRAC_USE_FLUP` to control the usage of flup vs. bundled _fcgi.py (defaults to 0, i.e. use bundled as before)
 - svn authz: improve compatibility with svn 1.5 format ([trac:#8289])
 - milestone: allow to set the time for the due date ([trac:#6369], [trac:#9582])
 - ticket: fixes for the CC: property ([trac:#8597], [trac:#9522])
 - notification: improved the formatting of ticket fields in notification e-mails ([trac:#9484], [trac:#9494])
 - i18n: added a configuration option to set the default language ([trac:#8117])
 - several fixes for upgrade ([trac:#9400], [trac:#9416], [trac:#9483], [trac:#9556])

[trac:source:/tags/trac-0.12.1 View Tag] | [trac:milestone:0.12.1 View Milestone]

=== ''' 0.12 'Babel' '''

//(June 13, 2010)//

Trac 0.12 is a major release introducing i18n and multiple repository support as the most visible changes.

The following list contains only a few highlights:
 - The user interface is translated in a dozen of languages, provided the [Babel:] package is installed
 - Multiple repositories can be associated to a single Trac environment; the repositories can be of heterogeneous types (svn, hg, git, darcs...)
 - Usability improvements for the Wiki, with a nice side-by-side edit mode with automatic preview
 - Richer Wiki syntax, with much improved support for tables, partial [trac:WikiCreole] compatibility and numerous smaller improvements
 - Usability improvements for the Ticket module, with automatic preview of comments while you type and possibility to edit or remove them later
 - Improved Custom Queries (time fields, multiple disjoint conditions, a.k.a. OR queries)
 - Timeline filtering by user
 - ... and numerous smaller features added and bugs fixed since 0.11!

[trac:source:/tags/trac-0.12 View Tag] | [trac:milestone:0.12 View Milestone]

== Older Releases

For releases prior to 0.12, see [trac:TracChangeLog@95].