1 This file describes changes with some user or developer impact
2 (significant changes to the externally visible behaviour of the
3 extension, or things which may require action on the part of
4 users or developers). Minor bugfixes and tweaks which don't
5 require any user or developer action are generally not included
6 in these release notes. For a full listing of all changes see
7 the source code repository at: http://git.wincent.com.
11 * NilClass#w method now accepts and optional parameters hash
15 * +pre+ tags may now take an optional +lang+ attribute to mark
16 up the translated text for syntax-highlighting
17 * optimize use of ary_includes function, yielding a boost in
18 performance of several percent
22 * many optimizations for speed: performance has improved for
23 all input types and in some cases has more than doubled
24 (the biggest gains are for inputs with more multi-byte UTF-8
26 * uses less memory and usage tends to remain more constant
27 due to less creation of temporary objects
28 * smaller memory footprint due to removal of dead code
29 * handle blank link text such as <tt>[[foo| ]]</tt>, making
30 behaviour consistent with existing handling of zero-width
31 link text (<tt>[[foo|]]</tt>)
32 * don't apply +external+ CSS class when rolling back failed
37 * zero-length image targets (<tt>{{}}</tt>) are now passed through unchanged
38 rather than turned into +img+ tags
39 * "absolute" image targets (all targets beginning with a leading
40 forward slash) such as <tt>{{/foo.png}}</tt> can be used to suppress the
41 image prefix that would otherwise be automatically prepended
42 * the +indent+ option to the Wikitext::Parser#parse method now accepts
43 +false+ as a parameter to completely suppress all indentation
44 * internal +require+ statments now use absolute paths to ensure that
45 files from other versions don't get pulled in inappropriately
49 * fixed broken handling of empty (zero-width) links such as
50 <tt>[[]]</tt>, <tt>[[|]]</tt> and <tt>[[|foo]]</tt>
51 * improved handling of empty (whitespace-only) links such as
52 <tt>[[ ]]</tt> and <tt>[[ |foo]]</tt>
53 * changed license from GPL v3 to the more permissive BSD license
54 (specifically the Simplified or "2-clause" version of the BSD
55 license, as used by FreeBSD)
59 * the +mailto+ class is now consistently applied to all mailto URIs
60 * works around a bug in Rails 2.3.2
61 * fixes a minor bug with +pre+ and +blockquote+ start tags when they
62 appear immediately after the shorthand notation of +pre+ and
67 * the +w+ and +to_wikitext+ methods now accept an options hash
71 * added +base_heading_level+ parser option
72 * changes for compatibility with Ruby 1.9 (compiles and all specs
77 * include necessary file that was missing from 1.4.0 gem
81 * "special links" inside internal link spans (double square
82 brackets) are no longer supported; instead use external link
83 spans: where previously you used <tt>[[issues/210 | ticket 210]]</tt>
84 you should now use <tt>[/issues/210 ticket 210]</tt>
85 * relatedly, the +treat_slash_as_special+ attribute has been removed
87 = Changes prior to 1.4.0
89 Please see the source code repository browser at http://git.wincent.com.