add test case to ensure all templates are documented
[ikiwiki] / debian / NEWS
1 ikiwiki (3.20100422) unstable; urgency=low
2
3   This version of ikiwiki has a lot of changes that you need to know about.
4
5   Now you can include customised versions of templates in the source
6   of your wiki. (For example, templates/page.tmpl.) When these templates
7   are changed, ikiwiki will automatically rebuild pages that use them.
8
9   The --getctime switch is renamed to --gettimes, and it also gets the 
10   file modification time. And it's a lot faster (when using git). But
11   the really important change is, you don't have to remember to use this
12   switch. Now ikiwiki will do it when it needs to.
13
14   At last, the "tagged()" pagespec only matches tags, not regular wikilinks.
15   If your wiki accidentially relied on the old, buggy behavior, you might
16   need to change its pagespecs to use "link()".
17
18   Many of your wishes have been answered: Now tag pages can automatically be
19   created when new tags are used. This feature is enabled by default if you
20   have configured a tagbase. It can be turned on or off using the
21   tag_autocreate setting.
22
23   These changes may also affect some users:
24
25   * The title_natural sort method (as used by the inline directive, etc)
26     have been moved to the new sortnaturally plugin, which is not enabled
27     by default since it requires the Sort::Naturally perl module.
28
29   * TMPL_INCLUDE is no longer supported in any template used by ikiwiki.
30     It used to be allowed in certian templates, but not in others.
31
32   * The add_templates option has been removed from the underlay plugin.
33     If you used this option, you can instead use templates/ subdirectories
34     inside underlay directories added by the add_underlays option.
35
36   Due to the above and other changes, all wikis need to be rebuilt on
37   upgrade to this version. If you listed your wiki in /etc/ikiwiki/wikilist
38   this will be done automatically when the Debian package is upgraded. Or
39   use ikiwiki-mass-rebuild to force a rebuild.
40
41  -- Joey Hess <joeyh@debian.org>  Wed, 21 Apr 2010 20:31:29 -0400
42
43 ikiwiki (3.20091017) unstable; urgency=low
44
45   To take advantage of significant performance improvements, all
46   wikis need to be rebuilt on upgrade to this version. If you
47   listed your wiki in /etc/ikiwiki/wikilist this will be done
48   automatically when the Debian package is upgraded. Or use
49   ikiwiki-mass-rebuild to force a rebuild.
50
51  -- Joey Hess <joeyh@debian.org>  Mon, 05 Oct 2009 16:48:59 -0400
52
53 ikiwiki (3.1415926) unstable; urgency=low
54
55   In order to fix a performance bug, all wikis need to be rebuilt on
56   upgrade to this version. If you listed your wiki in
57   /etc/ikiwiki/wikilist this will be done automatically when the
58   Debian package is upgraded. Or use ikiwiki-mass-rebuild to force
59   a rebuild.
60
61  -- Joey Hess <joeyh@debian.org>  Tue, 25 Aug 2009 17:24:43 -0400
62
63 ikiwiki (3.13) unstable; urgency=low
64
65   The `ikiwiki-transition deduplinks` command introduced in the
66   last release was buggy. If you followed the NEWS file instructions
67   and ran it, you should run `ikiwiki -setup` to rebuild your wiki
68   to fix the problem.
69
70  -- Joey Hess <joeyh@debian.org>  Fri, 22 May 2009 13:04:02 -0400
71
72 ikiwiki (3.12) unstable; urgency=low
73
74   You may want to run `ikiwiki-transition deduplinks your.setup`
75   after upgrading to this version of ikiwiki. This command will
76   optimise your wiki's saved state, removing duplicate information
77   that can slow ikiwiki down.
78
79  -- Joey Hess <joeyh@debian.org>  Wed, 06 May 2009 00:25:06 -0400
80
81 ikiwiki (3.01) unstable; urgency=low
82
83   If your wiki uses git, and you have a `diffurl` configured in
84   its setup file, you should be aware that gitweb has stopped
85   supporting the url form commonly used for the `diffurl`.
86
87   You can change your setup to use the newer gitweb url form:
88
89     http://git.example.com/gitweb.cgi?p=wiki.git;a=blobdiff;f=[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]
90
91   The changes from the old form are the addition of the `hpb` parameter,
92   and the change to the value used for the `hb` parameter.
93
94  -- Joey Hess <joeyh@debian.org>  Mon, 05 Jan 2009 18:18:05 -0500
95
96 ikiwiki (3.00) unstable; urgency=low
97
98   The 3.0 release of ikiwiki changes several defaults and finishes
99   some transitions. You will need to modify your wikis to work with
100   ikiwiki 3.0. A document explaining the process is available
101   in </usr/share/doc/ikiwiki/html/tips/upgrade_to_3.0.html>
102
103  -- Joey Hess <joeyh@debian.org>  Tue, 23 Dec 2008 16:14:18 -0500
104
105 ikiwiki (2.62) unstable; urgency=low
106
107   TexImg standard preamble changed
108
109   The teximg plugin now has a configurable LaTeX preamble.
110   As part of this change the `mchem` LaTeX package has been removed from
111   the default LaTeX preamble as it wasn't included in many TeX installations.
112
113   The previous behaviour can be restored by adding the following to your
114   ikiwiki setup:
115
116         teximg_prefix => '\documentclass{scrartcl}
117                 \usepackage[version=3]{mhchem}
118                 \usepackage{amsmath}
119                 \usepackage{amsfonts}
120                 \usepackage{amssymb}
121                 \pagestyle{empty}
122                 \begin{document}',
123
124   In addition, the rendering mechanism has been changed to use `dvipng` by
125   default, if available.
126
127  -- Joey Hess <joeyh@debian.org>  Sun, 24 Aug 2008 15:00:40 -0400
128
129 ikiwiki (2.60) unstable; urgency=low
130
131   Admin preferences are moving from the web interface to the setup file.
132   There are three new options in the setup file: `locked_pages`, `banned_users`,
133   and `allowed_attachments`. The admin prefs page can still be used, but
134   that's deprecated, and the prefs will be hidden if a value is not already
135   set. If a value is set in the web interface, you're encouraged to move that
136   setting to your setup file now, since version 3.0 will remove the deprecated
137   admin prefs web interface.
138
139   Also, the layout of the setup file has changed in a significant way in this
140   release. Old setup files will continue to work, but new features, like the
141   new websetup interface, require a new format setup file. You can convert
142   old setup files into the new format by running 
143   `ikiwiki-transition setupformat ikiwiki.setup`
144
145  -- Joey Hess <joeyh@debian.org>  Fri, 01 Aug 2008 17:02:14 -0400
146
147 ikiwiki (2.52) unstable; urgency=low
148
149   All wikis need to be rebuilt on upgrade to this version. If you listed your
150   wiki in /etc/ikiwiki/wikilist this will be done automatically when the
151   Debian package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild.
152
153  -- Joey Hess <joeyh@debian.org>  Sun, 06 Jul 2008 15:10:05 -0400
154
155 ikiwiki (2.49) unstable; urgency=low
156
157   The search plugin no longer uses hyperestraier. Instead, to use it you
158   will now need to install xapian-omega, and the Search::Xapian,
159   HTML::Scrubber, and Digest::SHA1 perl modules. Ie,
160   `apt-get install xapian-omega libsearch-xapian-perl libhtml-scrubber-perl libdigest-sha1-perl`
161
162   Also, wikis that use the search plugin will need to be rebuilt,
163   since the search form has changed. This will not be done automatically,
164   but can be done by running `ikiwiki-mass-upgrade` as root, or
165   running `ikiwiki -setup` on individual setup files.
166
167  -- Joey Hess <joeyh@debian.org>  Wed, 04 Jun 2008 00:29:28 -0400
168
169 ikiwiki (2.48) unstable; urgency=high
170
171   If you allowed password based logins to your wiki, those passwords were
172   stored in cleartext in the userdb. To guard against exposing users'
173   passwords, I recommend you install the Authen::Passphrase perl module, and
174   then run `ikiwiki-transition hashpassword /path/to/srcdir` to replace all
175   existing cleartext passwords with strong (blowfish) hashes.
176
177  -- Joey Hess <joeyh@debian.org>  Thu, 29 May 2008 14:39:34 -0400
178
179 ikiwiki (2.46) unstable; urgency=low
180  
181   There were some significant template changes in ikiwiki 2.42 (and 1.33.5).
182   If you have locally modified versions of the templates, they need to be
183   updated. Most notably, the editpage.tmpl has a new FIELD-SID added to it,
184   without which web editing will fail.
185  
186  -- Joey Hess <joeyh@debian.org>  Tue, 06 May 2008 14:30:14 -0400
187
188 ikiwiki (2.40) unstable; urgency=low
189
190   ikiwiki now has an new syntax for preprocessor directives, using the
191   prefix '!':
192
193   [[!directive ...]]
194
195   This new syntax no longer relies on spaces to distinguish between
196   wikilinks and preprocessor directives.  Thus, wikilinks can use spaces
197   in their link text, and preprocessor directives without arguments (such
198   as "toc") need not use a trailing space.
199
200   To enable the new syntax, set prefix_directives to true in your ikiwiki
201   config.  For backward compatibility with existing wikis,
202   prefix_directives currently defaults to false.  In ikiwiki 3.0,
203   prefix_directives will default to true, and wikis which have not yet
204   converted to the new syntax will need to set prefix_directives to false
205   in their setup files.
206
207   To convert your wiki to the new syntax, ikiwiki provides a new script
208   ikiwiki-transition.
209
210   Even with prefix_directives disabled, ikiwiki now allows an optional '!'
211   prefix on preprocessor directives (but still requires a space).  Thus, a
212   directive which uses a '!' prefix and contains a space will work with
213   ikiwiki 2.40 and newer, regardless of the value of prefix_directives.
214   This allows the underlay to work with all ikiwikis.
215
216  -- Josh Triplett <josh@freedesktop.org>  Sat, 26 Jan 2008 16:26:47 -0800
217
218 ikiwiki (2.30) unstable; urgency=low
219
220   Ever feel that ikiwiki's handling of RecentChanges wasn't truely in the
221   spirit of a wiki compiler? Well, that's changed. The RecentChanges page is
222   now a static page, not a CGI. Users can subscribe to its rss/atom feeds.
223   Custom RecentChanges pages can be easily set up that display only changes
224   to a subset of pages, or only changes by a subset of users.
225   
226   All wikis need to be rebuilt on upgrade to this version. If you listed your
227   wiki in /etc/ikiwiki/wikilist this will be done automatically when the
228   Debian package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild.
229
230   With this excellent new RecentChanges support, the mail notification system
231   is its age (and known to be variously buggy and underimplemented for
232   various VCSes), and so ikiwiki's support for sending commit mails is REMOVED
233   from this version. If you were subscribed to commit mails, you should be
234   able to accomplish the same thing by subscribing to a RecentChanges feed.
235
236   The "notify" field in setup files is no longer used, and
237   silently ignored. You may want to remove it from your setup file.
238
239  -- Joey Hess <joeyh@debian.org>  Tue, 29 Jan 2008 17:18:31 -0500
240
241 ikiwiki (2.20) unstable; urgency=low
242
243   The template plugin has begin to htmlize the variables passed to templates.
244   This is normally what you want, but to get the old behavior and get at the
245   raw value, you can use `<TMPL_VAR raw_variable>` in a template.
246  
247  -- Joey Hess <joeyh@debian.org>  Sat, 08 Dec 2007 16:04:43 -0500
248
249 ikiwiki (2.16) unstable; urgency=low
250
251   Many of the pages in ikiwiki's basewiki have been moved and renamed in this
252   release, to avoid the basewiki including pages with names like "blog".
253   Redirection pages have been left behind for these moved pages temporarily,
254   and will be removed later.
255
256   If you use the calendar plugin, ikiwiki is now smarter and your nightly
257   cron job to update the wiki doesn't need to rebuild everything. Just pass
258   --refresh to ikiwiki in the cron job and it will update only pages that
259   contain out of date calendars.
260
261  -- Joey Hess <joeyh@debian.org>  Sat, 08 Dec 2007 16:04:43 -0500
262
263 ikiwiki (2.14) unstable; urgency=low
264
265   This version of ikiwiki is more picky about symlinks in the path leading
266   to the srcdir, and will refuse to use a srcdir specified by such a path.
267   This was necessary to avoid some potential exploits, but could potentially
268   break (semi-)working wikis. If your wiki has a srcdir path containing a
269   symlink, you should change it to use a path that does not.
270
271  -- Joey Hess <joeyh@debian.org>  Mon, 26 Nov 2007 14:57:57 -0500
272
273 ikiwiki (2.9) unstable; urgency=low
274
275   Since ikiwiki 2.0 was released, some limitiations have been added to what
276   ikiwiki considers a WikiLink. In short, if there are any spaces in between
277   the brackets, ikiwiki no longer considers it to be a WikiLink. If your wiki
278   contains things meant to be WikiLinks that contain spaces, you will need to
279   fix them, by replacing the spaces with underscores.
280   
281   WikiLink have always been documented to not contain spaces, but bugs in
282   ikiwiki made it treat some text with spaces as WikiLinks. Most of these
283   bugs were fixed in version 2.2, and a final bug was fixed in this 2.9
284   release. These fixes are necessary to avoid ambiguity between
285   WikiLinks and PreProcessorDirectives. Apologies for any inconvenience
286   these bugs (and their fixes) may have caused.
287
288  -- Joey Hess <joeyh@debian.org>  Sat, 29 Sep 2007 14:37:18 -0400
289
290 ikiwiki (2.6) unstable; urgency=low
291
292   In this version the rst plugin allows raw html to be embedded in rst files.
293   As long as the htmlscrubber is enabled, this should be safe. If you are
294   using the rst plugin without the htmlscrubber in a publically writable wiki,
295   you should turn on the htmlscrubber.
296
297  -- Joey Hess <joeyh@debian.org>  Sun, 29 Jul 2007 18:37:22 -0400
298
299 ikiwiki (2.5) unstable; urgency=low
300
301   Due to some config changes in this version, wrappers need to be rebuilt on
302   upgrade. If you listed your wiki in /etc/ikiwiki/wikilist this will be
303   one automatically when the Debian package is upgraded.
304
305  -- Joey Hess <joeyh@debian.org>  Sun, 29 Jul 2007 17:54:40 -0400
306
307 ikiwiki (2.1) unstable; urgency=low
308
309   Some wikis need to be rebuilt on upgrade to this version, due to changes to
310   page templates and the style sheet. If you listed your wiki in
311   /etc/ikiwiki/wikilist this will be done automatically when the Debian
312   package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild.
313
314  -- Joey Hess <joeyh@debian.org>  Thu, 26 Apr 2007 15:50:36 -0400
315
316 ikiwiki (2.00) unstable; urgency=low
317
318   With the 2.0 release of ikiwiki, some major changes have been made to the
319   default configuration:
320
321   * The 'usedirs' setting is enabled by default. This *will* break all URLs
322     to wikis that did not have 'usedirs' turned on before, unless you follow
323     the procedure described at <http://ikiwiki.info/tips/switching_to_usedirs>,
324     or edit your setup file to turn usedirs off:
325        usedirs => 0,
326
327   * OpenID logins are now enabled by default, if the Net::OpenID::Consumer
328     perl module is available. Password logins are also still enabled
329     by default. If you like, you can turn either OpenID or password logins
330     off via the 'disable_plugins' setting.
331
332  -- Joey Hess <joeyh@debian.org>  Sun, 29 Apr 2007 19:00:43 -0400
333
334 ikiwiki (1.51) unstable; urgency=low
335
336   Some wikis need to be rebuilt on upgrade to this version, due to changes to
337   page layout and the style sheet. If you listed your wiki in
338   /etc/ikiwiki/wikilist this will be done automatically when the Debian
339   package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild.
340
341  -- Joey Hess <joeyh@debian.org>  Thu, 26 Apr 2007 15:50:36 -0400
342
343 ikiwiki (1.50) unstable; urgency=low
344
345   Permalinks and guids in rss and atom feeds for wikis using the usedirs
346   options will change in this release. If you have already enabled usedirs,
347   you may need to take steps to avoid flooding aggregators.
348
349  -- Joey Hess <joeyh@debian.org>  Sat, 14 Apr 2007 16:08:46 -0400
350
351 ikiwiki (1.49) unstable; urgency=low
352
353   Third-party plugins that use htmlpage() or abs2rel() to generate links
354   may need changes to support the new "usedirs" option.
355
356  -- Joey Hess <joeyh@debian.org>  Sun, 01 Apr 2007 16:20:09 -0400
357
358 ikiwiki (1.47) unstable; urgency=low
359  
360   Due to a security fix, wikis that have the htmlscrubber enabled can no
361   longer use the meta plugin to insert html link and meta tags.
362
363   Some special case methods have been added for safely including stylesheets,
364   and for doing openid delegation. See the meta plugin docs for details.
365  
366  -- Joey Hess <joeyh@debian.org>  Wed, 21 Mar 2007 14:18:40 -0400
367
368 ikiwiki (1.45) unstable; urgency=low
369
370   Wikis need to be rebuilt on upgrade to this version. If you listed your wiki
371   in /etc/ikiwiki/wikilist this will be done automatically when the Debian
372   package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild.
373
374  -- Joey Hess <joeyh@debian.org>  Wed,  7 Mar 2007 23:02:52 -0500
375
376 ikiwiki (1.44) unstable; urgency=low
377
378   The htmllink() function has changed slightly and plugins that use it may
379   need to change how they call it. This function's first three parameters
380   are unchanged, but additional options are now passed using named
381   parameters. If you used htmllink with more than 3 parameters, you will
382   need to change it. The plugin interface version has been increased to 1.02
383   to reflect this change.
384
385  -- Joey Hess <joeyh@debian.org>  Mon, 19 Feb 2007 21:10:12 -0500
386
387 ikiwiki (1.42) unstable; urgency=low
388
389   The anonok setting in config files has been removed. To enable
390   httpauth support on your wiki, you should now enable the anonok plugin,
391   instead.
392
393   Third-party plugins that use pagespec_match() should be updated to pass
394   the new third parameter (from) to that function. This is needed for the
395   new relative glob matching to work.
396
397  -- Joey Hess <joeyh@debian.org>  Thu,  1 Feb 2007 16:57:59 -0500
398
399 ikiwiki (1.34) unstable; urgency=low
400
401   The httpauth setting in config files has been removed. To enable
402   httpauth support on your wiki, you should now enable the httpauth plugin,
403   instead.
404
405   This release includes OpenID support that is enabled through the openid
406   plugin. I recommend turning this on to make it easier for users to sign
407   in to your wiki.
408
409  -- Joey Hess <joeyh@debian.org>  Sun, 19 Nov 2006 20:53:05 -0500
410
411 ikiwiki (1.32) unstable; urgency=low
412
413   There is a change to the plugin interface in this version. Any plugins that
414   modify data in %links should pass scan => 1 when registering the hook that
415   does so.
416
417  -- Joey Hess <joeyh@debian.org>  Sat, 28 Oct 2006 00:13:12 -0400
418
419 ikiwiki (1.29) unstable; urgency=low
420
421   Wikis need to be rebuilt on upgrade to this version. If you listed your wiki
422   in /etc/ikiwiki/wikilist this will be done automatically when the Debian
423   package is upgraded. Or use ikiwiki-mass-rebuild to force a rebuild.
424
425   There is a change to the plugin interface in this version. Plugins that use
426   %renderedfiles will need to be updated, as the hash's values are now arrays
427   of rendered files. Plugins that cause a page to render additional files
428   should use the new will_render function to register the files.
429
430  -- Joey Hess <joeyh@debian.org>  Sun,  8 Oct 2006 17:27:56 -0400
431
432 ikiwiki (1.22) unstable; urgency=low
433   
434   Due to some changes in the CSS, wikis should be rebuilt on upgrade to this
435   version. If you listed your wiki in /etc/ikiwiki/wikilist this will be done
436   automatically when the Debian package is upgraded. Or use ikiwiki-mass-rebuild
437   to force a rebuild.
438
439   If you have modified versions of ikiwiki's html templates, you will need
440   to update your templates to link to the stylesheet file using
441   "<TMPL_VAR BASEURL>style.css" instead of the old method which used
442   STYLEURL.
443
444   There have also been some changes to the plugin interface:
445   Any plugins that use santize, htmlize, or format hooks will need to be
446   updated for this version of ikiwiki since these hooks have been changed
447   to use named parameters.
448
449  -- Joey Hess <joeyh@debian.org>  Tue, 22 Aug 2006 15:33:12 -0400
450
451 ikiwiki (1.13) unstable; urgency=low
452
453   The GlobList format which was used for specifiying sets of pages, has been
454   replaced with a new, more expressive PageSpec format. While GlobLists will
455   continue to work, that format is deprecated, and you are encouraged to use
456   PageSpecs from now on, and also to change any GlobLists in your wiki to
457   PageSpecs. See the new PageSpec page for details.
458   
459   You will need to rebuild your wiki when upgrading to this version. If you
460   listed your wiki in /etc/ikiwiki/wikilist this will be done automatically
461   when the Debian package is upgraded. Or use ikiiki-mass-rebuild to force a
462   rebuild.
463
464  -- Joey Hess <joeyh@debian.org>  Tue,  1 Aug 2006 18:29:51 -0400
465
466 ikiwiki (1.11) unstable; urgency=low
467
468   Some changes to tags in this release, due to a new tag plugin. If you have
469   been using the meta plugin to tag pages, you'll want to enable the tag
470   plugin too, and change things like this:
471
472   [[meta link="foobar"]]
473
474   To this:
475
476   [[tag foobar]]
477
478   The new tags will appear at page footers, and are also easier to type.
479
480   There have also been some changes to the plugin interface, particularly the
481   interface of pagetemplate hooks has changed. See the changelog for details.
482
483  -- Joey Hess <joeyh@debian.org>  Thu, 27 Jul 2006 17:03:09 -0400
484
485 ikiwiki (1.8) unstable; urgency=low
486
487   If your wiki is configured with a setup file, you should modify it to
488   stop setting the "plugin" list directly, and instead add or remove plugins
489   via the add_plugins and disable_plugins lines. For example, if you had:
490
491         plugin => [qw{inline smiley search}],
492
493   Change it to these lines, which disables the default htmlscrubber plugin
494   and adds the two additional plugins:
495
496         add_plugins => [qw{smiley search}],
497         disable_plugins => [qw{htmlscrubber}],
498
499   Making this change makes your ikiwiki setup file more future-proof since
500   new default plugins will be automatically used.
501   
502   You will need to rebuild your ikiwiki wrappers when upgrading to this
503   version. If you listed your wiki in /etc/ikiwiki/wikilist this will be
504   done automatically when the Debian package is upgraded. Or use
505   ikiiki-mass-rebuild --refresh to force a refresh.
506
507  -- Joey Hess <joeyh@debian.org>  Mon,  3 Jul 2006 16:59:29 -0400
508
509 ikiwiki (1.1) unstable; urgency=low
510
511   There have been several configuration changes in this release of ikiwiki:
512
513   The --svn and --no-svn switches are removed, instead you should use
514    --rcs=svn or --no-rcs. ikiwiki setup files that set svn => 1 should
515   be changed to set rcs => "svn"; if your setup file sets svn => 0
516   then change it to use rcs => "" to disable svn.
517
518   The --hyperestraier switch is gone too. To enable searching, turn on the
519   search plugin, by passing --plugin=search or through the plugin setting in
520   the setup file.
521
522   The --sanitize and --no-sanitize switches are also gone, replaced with the
523   htmlscrubber plugin. This plugin is enabled by default, to disable it,
524   use --disable-plugin=htmlscrubber, or modify the plugin setting in the
525   setup file.
526
527   Discussion pages are enabled by default, but if your wiki is configured
528   with a setup file, you need to edit it to keep them enabled on upgrade
529   to this version. Add a line reading:
530   discussion => 1,
531
532   You will need to rebuild your wiki when upgrading to this version.
533   If you listed your wiki in /etc/ikiwiki/wikilist this will be done
534   automatically when the Debian package is upgraded. Or use
535   ikiiki-mass-rebuild to force a rebuild.
536
537  -- Joey Hess <joeyh@debian.org>  Tue,  2 May 2006 14:13:59 -0400