]> sipb.mit.edu Git - ikiwiki.git/blob - doc/news/version_1.8.mdwn
add news item for ikiwiki 1.13
[ikiwiki.git] / doc / news / version_1.8.mdwn
1 A special release for July 4th with many improvements.
2
3 *Upgrade notes:*
4
5   If your wiki is configured with a setup file, you should modify it to
6   stop setting the "plugin" list directly, and instead add or remove plugins
7   via the add_plugins and disable_plugins lines. For example, if you had:
8
9         plugin => [qw{inline smiley search}],
10
11   Change it to these lines, which disables the default htmlscrubber plugin
12   and adds the two additional plugins:
13
14         add_plugins => [qw{smiley search}],
15         disable_plugins => [qw{htmlscrubber}],
16
17   Making this change makes your ikiwiki setup file more future-proof since
18   new default plugins will be automatically used.
19
20   You will need to rebuild your ikiwiki wrappers when upgrading to this
21   version. If you listed your wiki in /etc/ikiwiki/wikilist this will be
22   done automatically when the Debian package is upgraded. Or use
23   ikiiki-mass-rebuild --refresh to force a refresh.
24
25 *Changes:*
26
27    * Fix orphans plugin to not count a link to a nonexistant page as a reason
28      for a page not being an orphan.
29    * Support pinging services such as Technorati using XML-RPC to notify them
30      about changes to rss feeds.
31    * Parse svn log as xml for improved utf8 and security. Note that this makes
32      ikiwiki depend on XML::Simple. Patch by Faidon Liambotis.
33    * POSIX::strftime doesn't know about encodings and doesn't return a utf8
34      flagged string even if the locale causes it to generate utf8 output,
35      so make sure to let perl know it should be handled as utf8. Also,
36      the optimised version used for standard time formats won't work if the
37      user has changed locale, so drop it. Thanks, Faidon Liambotis.
38    * Fix re-encoding of the comments field to utf8 if a commit fails
39      due to a conflict. Thanks, Faidon Liambotis.
40    * Let svn know that commits have utf8 commit messages. Thanks, Faidon
41      Liambotis.
42    * Add insane double encode/decode to utf8 around call to markdown.
43      This works around a truely strange bug, which is apparently a bug in
44      perl, #376329. Also added a test case for it.
45    * Improve layout of edit page so formatting help link is always visible w/o
46      getting in the way of the preview.
47    * Centralised all calls to HTML::Template and force all the templates
48      to be read as utf8.
49    * Support pages with utf8 filenames. Patch by Faidon Liambotis.
50    * Introduce add\_plugins and disable\_plugins config options in setup files.
51      This allows adding or removing plugins w/o overriding the whole list of
52      default plugins, which makes it easier to upgrade when new default plugins
53      are added.
54    * Support htmlize plugins and make mdwn one such plugin, which is enabled by
55      default (of course!). Based on a patch by Faidon Liambotis.
56    * Add a html plugin, which can be used to write wikis in raw html,
57      if you'd ever want to do such a thing. Slightly tricky, since ikiwiki
58      defaults to not processing .html files, since w/o this plugin they would
59      be copied unsanitised. With this plugin, it will process and html
60      sanitise them, like any other page type.
61    * Rebuilding wrappers is necessary on upgrade to this version.
62    * Make ikiwiki --setup --refresh rebuild wrappers, so wrapper rebuild
63      will be automatically done on all upgrades.
64    * Don't send pings if the wiki is being rebuilt.
65    * Work around very innefficient behavior in File::Spec::abs2rel. Result
66      is a savings of 2 pointless fork/execs per link calculation, which
67      results in ~25% speedup of ikiwiki building its own doc wiki, and
68      about 35% speedup displaying RecentChanges!
69    * Make RecentChanges use a table and some CSS, should be much more readable.
70      No code changes involved.
71    * Encode & in diffurl in examples, to conform to pedantic rules.
72    * Speed up RecentChanges by another 40% or so with some memoization.
73    * Memoize abs2rel, which is still kinda slow, for another 30% speedup
74      in time to build the doc wiki.