1 | # Changelog
|
2 |
|
3 | All notable changes to this project will be documented in this file.
|
4 |
|
5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7 |
|
8 |
|
9 | ## Unreleased
|
10 |
|
11 |
|
12 | ## [0.8.0](https://github.com/yahtnif/smarkdown/releases/tag/v0.8.0) - 2018-12-06
|
13 |
|
14 | ### Added
|
15 |
|
16 | * Add setRule and unsetRule to InlineLexer and BlockLexer
|
17 | * Export: BlockLexer, InlineLexer, Parser
|
18 |
|
19 | ### Changed
|
20 |
|
21 | * Remove: setBlockRule, unsetBlockRule, setInlineRule, unsetInlineRule
|
22 |
|
23 | ### Fixed
|
24 |
|
25 | * Fix emphasis followed by a punctuation, marked#1383
|
26 | * Ensure RegExp in setRule MUST start with '^'
|
27 |
|
28 |
|
29 | ## [0.7.0](https://github.com/yahtnif/smarkdown/releases/tag/v0.7.0) - 2018-12-05
|
30 |
|
31 | ### Added
|
32 |
|
33 | * Add `setRule` and `unsetRule`
|
34 |
|
35 | ### Changed
|
36 |
|
37 | * Use indexOf instead of includes
|
38 | * Use .source instead of .toString()
|
39 | * Update setRules
|
40 |
|
41 |
|
42 | ## [0.6.3](https://github.com/yahtnif/smarkdown/releases/tag/v0.6.3) - 2018-11-12
|
43 |
|
44 | ### Fixed
|
45 |
|
46 | * Fix continue in nested loops
|
47 |
|
48 |
|
49 | ## [0.6.2](https://github.com/yahtnif/smarkdown/releases/tag/v0.6.2) - 2018-10-23
|
50 |
|
51 | ### Changed
|
52 |
|
53 | * Ensure unique rules
|
54 |
|
55 |
|
56 | ## [0.6.1](https://github.com/yahtnif/smarkdown/releases/tag/v0.6.1) - 2018-10-23
|
57 |
|
58 | ### Added
|
59 |
|
60 | * Add extension examples: small text, large text
|
61 |
|
62 | ### Fixed
|
63 |
|
64 | * Fix breakText: escape RegExp special characters
|
65 |
|
66 |
|
67 | ## [0.6.0](https://github.com/yahtnif/smarkdown/releases/tag/v0.6.0) - 2018-10-23
|
68 |
|
69 | ### Added
|
70 |
|
71 | * Allow unsetting rules
|
72 | * Add resetOptions
|
73 | * Add test: footnote
|
74 |
|
75 | ### Changed
|
76 |
|
77 | * Move tables into gfm
|
78 |
|
79 |
|
80 | ## [0.5.1](https://github.com/yahtnif/smarkdown/releases/tag/v0.5.1) - 2018-10-22
|
81 |
|
82 | ### Fixed
|
83 |
|
84 | * Fix breaks: requires 'gfm' enable
|
85 |
|
86 |
|
87 | ## [0.5.0](https://github.com/yahtnif/smarkdown/releases/tag/v0.5.0) - 2018-10-22
|
88 |
|
89 | ### Changed
|
90 |
|
91 | * Update codes
|
92 |
|
93 |
|
94 | ## [0.4.9](https://github.com/yahtnif/smarkdown/releases/tag/v0.4.9) - 2018-10-22
|
95 |
|
96 | ### Changed
|
97 |
|
98 | * Make URL handling consistent between links and images, marked#1359
|
99 | * Update tsconfig
|
100 |
|
101 |
|
102 | ## [0.4.8](https://github.com/yahtnif/smarkdown/releases/tag/v0.4.8) - 2018-10-19
|
103 |
|
104 | ### Fixed
|
105 |
|
106 | * Fix noopExec: match nothing
|
107 |
|
108 |
|
109 | ## [0.4.7](https://github.com/yahtnif/smarkdown/releases/tag/v0.4.7) - 2018-10-19
|
110 |
|
111 | ### Added
|
112 |
|
113 | * Add test: extensions
|
114 | * Add test: option
|
115 |
|
116 | ### Changed
|
117 |
|
118 | * Rename SmarkdownOptions to Options
|
119 | * Reduce <any>
|
120 | * Update rules type
|
121 |
|
122 | ### Fixed
|
123 |
|
124 | * Fix breakText when a marked subexpression at the beginning
|
125 | * Fix emphasis closing by single _ (part of left-flanking run), marked#1351
|
126 |
|
127 |
|
128 | ## [0.4.6](https://github.com/yahtnif/smarkdown/releases/tag/v0.4.6) - 2018-10-14
|
129 |
|
130 | ### Added
|
131 |
|
132 | * Add more tests
|
133 | * Add banner
|
134 |
|
135 | ### Fixed
|
136 |
|
137 | * Fix TokenType
|
138 |
|
139 |
|
140 | ## [0.4.5](https://github.com/yahtnif/smarkdown/releases/tag/v0.4.5) - 2018-09-30
|
141 |
|
142 | ### Fixed
|
143 |
|
144 | * Fix loose lists
|
145 |
|
146 |
|
147 | ## [0.4.4](https://github.com/yahtnif/smarkdown/releases/tag/v0.4.4) - 2018-09-27
|
148 |
|
149 | ### Added
|
150 |
|
151 | * Add size-limit
|
152 |
|
153 | ### Fixed
|
154 |
|
155 | * Fix inline code regex, marked#1337
|
156 |
|
157 |
|
158 | ## [0.4.3](https://github.com/yahtnif/smarkdown/releases/tag/v0.4.3) - 2018-09-19
|
159 |
|
160 | ### Fixed
|
161 |
|
162 | * Fix auto-linking email, marked#1338
|
163 |
|
164 |
|
165 | ## [0.4.2](https://github.com/yahtnif/smarkdown/releases/tag/v0.4.2) - 2018-09-18
|
166 |
|
167 | ### Fixed
|
168 |
|
169 | * Fix typographic substitution in (pre|code|kbd|script) blocks when smartypants=true, marked#1335
|
170 |
|
171 |
|
172 | ## [0.4.1](https://github.com/yahtnif/smarkdown/releases/tag/v0.4.1) - 2018-08-30
|
173 |
|
174 | ### Changed
|
175 |
|
176 | * Update rollup
|
177 |
|
178 |
|
179 | ## [0.4.0](https://github.com/yahtnif/smarkdown/releases/tag/v0.4.0) - 2018-08-30
|
180 |
|
181 | ### Changed
|
182 |
|
183 | * Update export, only export: Smarkdown, Renderer
|
184 | * Revert: keep strikethrough text wrapped in two tildes for GFM
|
185 | * Use textBreak instead of inlineSplitChars
|
186 |
|
187 |
|
188 | ## [0.3.0](https://github.com/yahtnif/smarkdown/releases/tag/v0.3.0) - 2018-08-29
|
189 |
|
190 | ### Added
|
191 |
|
192 | * Add .travis.yml
|
193 |
|
194 | ### Fixed
|
195 |
|
196 | * Fix breaks in getRulesExtra
|
197 |
|
198 |
|
199 | ## [0.2.0](https://github.com/yahtnif/smarkdown/releases/tag/v0.2.0) - 2018-08-25
|
200 |
|
201 | ### Changed
|
202 |
|
203 | * Rename isNoP to nop
|
204 |
|
205 |
|
206 | ## [0.1.7](https://github.com/yahtnif/smarkdown/releases/tag/v0.1.7) - 2018-08-24
|
207 |
|
208 | ### Added
|
209 |
|
210 | * Add options to setBlockRule
|
211 |
|
212 | ### Changed
|
213 |
|
214 | * Change InlineRuleOption:priority to Number
|
215 |
|
216 |
|
217 | ## [0.1.6](https://github.com/yahtnif/smarkdown/releases/tag/v0.1.6) - 2018-08-23
|
218 |
|
219 | ### Fixed
|
220 |
|
221 | * Fix getOptions
|
222 |
|
223 |
|
224 | ## [0.1.5](https://github.com/yahtnif/smarkdown/releases/tag/v0.1.5) - 2018-08-21
|
225 |
|
226 | ### Changed
|
227 |
|
228 | * Update tablecell
|
229 | * Add hard line break when backslash at EOL, marked#1303
|
230 | * Loose lists, marked#1304
|
231 | * Enable CommonMark spec 468, marked#1305
|
232 | * Updated inline grammar regexes for strong and em, marked#1315
|
233 |
|
234 | ### Security
|
235 |
|
236 | * Security: use rtrim, not unsafe /X+$/, marked#1260
|
237 |
|
238 | ### Fixed
|
239 |
|
240 | * Strikethrough support for GFM, marked#1258
|
241 | * Fix gfm extended autolinking requiring multiple backpedals, marked #1293
|
242 |
|
243 |
|
244 | ## [0.1.4](https://github.com/yahtnif/smarkdown/releases/tag/v0.1.4) - 2018-07-04
|
245 |
|
246 | ### Changed
|
247 |
|
248 | * Setting headerId default to false
|
249 |
|
250 | ### Fixed
|
251 |
|
252 | * Fix renderer options
|
253 |
|
254 |
|
255 | ## [0.1.3](https://github.com/yahtnif/smarkdown/releases/tag/v0.1.3) - 2018-07-01
|
256 |
|
257 | ### Fixed
|
258 |
|
259 | * GFM table compliance
|
260 | * Fix issues link references and prototypes, marked#1299
|
261 |
|
262 |
|
263 | ## [0.1.2](https://github.com/yahtnif/smarkdown/releases/tag/v0.1.2) - 2018-06-24
|
264 |
|
265 | ### Added
|
266 |
|
267 | * Add getOptions
|
268 |
|
269 |
|
270 | ## [0.1.1](https://github.com/yahtnif/smarkdown/releases/tag/v0.1.1) - 2018-06-24
|
271 |
|
272 | ### Changed
|
273 |
|
274 | * Allow passing Renderer without new in setOptions
|