-
Notifications
You must be signed in to change notification settings - Fork 9
/
RELEASE-NOTES
191 lines (131 loc) Β· 6.01 KB
/
RELEASE-NOTES
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
185
186
187
188
189
190
191
This file describes changes with some user or developer impact
(significant changes to the externally visible behaviour of the
extension, or things which may require action on the part of
users or developers). Minor bugfixes and tweaks which don't
require any user or developer action are generally not included
in these release notes. For a full listing of all changes see
the source code repository at: http://git.wincent.com.
= Changes in 4.2
* add +pre_code+ parse option
= Changes in 4.1.2
* rebuild (no code changes) to replace broken executable in 4.1.1 release
= Changes in 4.1.1 (yanked)
* add official support for Ruby 2.2.x
= Changes in 4.1
* add a Haml filter; to use, require "wikitext/haml_filter"
= Changes in 4.0.3
* permit building on Ruby 2.1.0
= Changes in 4.0.2
* fix broken gemspec responsible for faulty builds in version 4.0.2
= Changes in 4.0.1
* fix build issues on Linux machines (with GNU install)
* the +wikitext+ binary no longer has a hard dependency on the HighLine gem
= Changes in 4.0
* requires Ruby 2.0.0; for older versions of Ruby please use a previous
Wikitext release
= Changes in 3.1
* the +link_proc+ parse option can now be set as an attribute on the parser
at initialization or via an accessor
* fix underescaping of ampersands in URIs
= Changes in 3.0.1
* fix bad output when emitting external links containing email addresses
= Changes in 3.0
* fix newline-swallowing bug which affected "PRE" blocks with lines beginning
with a "PATH" token
= Changes in 3.0b
* silence deprecation warnings triggered under Rails 3.1
* note that this release supports only Rails 3.1; for older
versions of Rails you should continue to use the Wikitext
2.1.x series, which continues to be supported
= Changes in 2.1.1
* fix a couple of token-swallowing bugs that manifested when certain
invalid markup was fed into the translator
= Changes in 2.1
* the +external_link_rel+ attribute can be used to include a
"nofollow" +rel+ attribute in external links (patch from Mike
Stangel)
= Changes in 2.0
* compatibility with the Rails 3 template handler API
* use Rails 3 hooks to auto-initialize when listed in Gemfile
* +code+ tags are now emitted instead of +tt+ tags for compliance
with the HTML5 specification
* new +output_style+ setting to switch between HTML syntax (the new
default) and XML syntax
= Changes in 1.12
* the String#w and String#to_wikitext methods mark their returned
strings as html_safe under Rails 3
= Changes in 1.11
* extract Gem specification into separate file for compatibility
with Bundler's "install from Git repository" functionality
* updates for compatibility with Rails 3
= Changes in 1.10.1
* fix builds on 64-bit Darwin platforms
= Changes in 1.10
* a +wikitext+ executable is now included for processing wikitext
markup from the commandline: input may come from filename
arguments specified on the commandline, piped in via standard
input, or typed in interactively via a tty
= Changes in 1.9
* NilClass#w method now accepts an optional parameters hash
* new +link_proc+ option to Wikitext::Parser#parse allows you to
dynamically apply a custom CSS class based on the link target;
this can be used, for example, to provide "red links" for
articles which do not exist yet
= Changes in 1.8
* +pre+ tags may now take an optional +lang+ attribute to mark
up the translated text for syntax-highlighting
* optimize use of ary_includes function, yielding a boost in
performance of several percent
= Changes in 1.7
* many optimizations for speed: performance has improved for
all input types and in some cases has more than doubled
(the biggest gains are for inputs with more multi-byte UTF-8
characters)
* uses less memory and usage tends to remain more constant
due to less creation of temporary objects
* smaller memory footprint due to removal of dead code
* handle blank link text such as <tt>[[foo| ]]</tt>, making
behaviour consistent with existing handling of zero-width
link text (<tt>[[foo|]]</tt>)
* don't apply +external+ CSS class when rolling back failed
internal links
= Changes in 1.6
* zero-length image targets (<tt>{{}}</tt>) are now passed through unchanged
rather than turned into +img+ tags
* "absolute" image targets (all targets beginning with a leading
forward slash) such as <tt>{{/foo.png}}</tt> can be used to suppress the
image prefix that would otherwise be automatically prepended
* the +indent+ option to the Wikitext::Parser#parse method now accepts
+false+ as a parameter to completely suppress all indentation
* internal +require+ statments now use absolute paths to ensure that
files from other versions don't get pulled in inappropriately
= Changes in 1.5.3
* fixed broken handling of empty (zero-width) links such as
<tt>[[]]</tt>, <tt>[[|]]</tt> and <tt>[[|foo]]</tt>
* improved handling of empty (whitespace-only) links such as
<tt>[[ ]]</tt> and <tt>[[ |foo]]</tt>
* changed license from GPL v3 to the more permissive BSD license
(specifically the Simplified or "2-clause" version of the BSD
license, as used by FreeBSD)
= Changes in 1.5.2
* the +mailto+ class is now consistently applied to all mailto URIs
* works around a bug in Rails 2.3.2
* fixes a minor bug with +pre+ and +blockquote+ start tags when they
appear immediately after the shorthand notation of +pre+ and
+blockquote+ blocks
= Changes in 1.5.1
* the +w+ and +to_wikitext+ methods now accept an options hash
= Changes in 1.5.0
* added +base_heading_level+ parser option
* changes for compatibility with Ruby 1.9 (compiles and all specs
pass)
= Changes in 1.4.1
* include necessary file that was missing from 1.4.0 gem
= Changes in 1.4.0
* "special links" inside internal link spans (double square
brackets) are no longer supported; instead use external link
spans: where previously you used <tt>[[issues/210 | ticket 210]]</tt>
you should now use <tt>[/issues/210 ticket 210]</tt>
* relatedly, the +treat_slash_as_special+ attribute has been removed
= Changes prior to 1.4.0
Please see the source code repository browser at http://git.wincent.com.