aboutsummaryrefslogtreecommitdiff
path: root/changelog.txt
blob: b0850b9b5adf8f899f32f1f692775982ba621864 (plain)
  1. [0.23]
  2.   * Don't allow space between link text and link label in a
  3. reference link. This fixes the problem of inadvertent capture:
  4. [foo] [bar]
  5. [foo]: /u1
  6. [bar]: /u2
  7. * Rename "horizontal rule" -> "thematic break". This matches the HTML5
  8. meaning for the hr element, and recognizes that the element may be
  9. rendered in various ways (not always as a horizontal rule).
  10. See http://talk.commonmark.org/t/horizontal-rule-or-thematic-break/912/3
  11. * Rename "header" -> "heading". This avoids a confusion that might arise
  12. now that HTML5 has a "header" element, distinct from the "headings"
  13. h1, h2, ... Our headings correspond to HTML5 headings, not HTML5 headers.
  14. The terminology of 'headings' is more natural, too.
  15. * ATX headers: clarify that a space (or EOL) is needed; other whitespace
  16. won't do (#373). Added a test case.
  17. * Rewrote "Entities" section with more correct terminology (#375).
  18. Entity references and numeric character references.
  19. * Clarified that spec does not dictate URL encoding/normalization policy.
  20. * New test case: list item code block with empty line (Craig M.
  21. Brandenburg).
  22. * Added example with escaped backslash at end of link label (#325).
  23. * Shortened an example so it doesn't wrap (#371).
  24. * Fixed duplicate id "attribute".
  25. * Fix four link targets (Lucas Werkmeister).
  26. * Fix typo for link to "attributes" (Robin Stocker).
  27. * Fix "delimiter" spellings and links (Sam Rawlins).
  28. * Consistent usage of "we" instead of "I" (renzo).
  29. * CommonMark.dtd - Rename `html` -> `html_block`,
  30. `inline_html` -> `html_inline` for consistency. (Otherwise it is too
  31. hard to remember whether `html` is block or inline, a source of
  32. some bugs.)
  33. * CommonMark.dtd - added `xmlns` attribute to document.
  34. * CommonMark.dtd - added `custom_block`, `custom_inline`.
  35. * CommonMark.dtd - renamed `hrule` to `thematic_break`.
  36. * Fixed some HTML inline tests, which were actually HTML blocks, given
  37. the changes to block parsing rules since these examples were written
  38. (#382).
  39. * Normalize URLs when comparing test output. This way we don't fail
  40. tests for legitimate variations in URL escaping/normalization policies
  41. (#334).
  42. * `normalize.py`: don't use `HTMLParseError`, which has been removed
  43. as of python 3.5 (#380).
  44. * Minor spacing adjustments in test output, to match cmark's output,
  45. since we test cmark without normalization.
  46. * `makespec.py`: remove need for link anchors to be on one line.
  47. * `makespec.py`: Only do two levels in the TOC.
  48. * Use `display:inline-block` rather than floats for side-by-side.
  49. This works when printed too.
  50. * Added better print CSS.
  51. [0.22]
  52. * Don't list `title` twice as HTML block tag (Robin Stocker).
  53. * More direct example of type 7 HTML block starting with closing tag.
  54. * Clarified rule 7 for HTML blocks. `pre`, `script`, and `style`
  55. are excluded because they're covered by other rules.
  56. * Clarified that type 7 HTML blocks can start with a closing tag (#349).
  57. * Removed `pre` tag from rule 6 of HTML blocks (#355).
  58. It is already covered by rule 1, so this removes an ambiguity.
  59. * Added `iframe` to list of tags that always start HTML blocks (#352).
  60. * Added example of list item starting with two blanks (#332).
  61. * Added test case clarifying laziness in block quotes (see
  62. jgm/commonmark.js#60).
  63. * Add an example with mixed indentation code block in "Tabs" section
  64. (Robin Stocker). This makes sure that implementations skip columns instead
  65. of offsets for continued indented code blocks.
  66. * Clarified that in ATX headers, the closing `#`s must be unescaped,
  67. and removed misleading reference to "non-whitespace character" in
  68. an example (#356).
  69. * Changed anchor for "non-whitespace character" to reflect new name.
  70. * Removed ambiguities concerning lines and line endings (#357, Lasse
  71. R.H. Nielsen). The previous spec allowed, technically, that a line
  72. ending in `\r\n` might be considered to have two line endings,
  73. or that the `\r` might be considered part of the line and the
  74. `\n` the line ending. These fixes rule out those interpretations.
  75. * Clarify that a character is any code point.
  76. * Space in "code point".
  77. * Capitalize "Unicode".
  78. * Reflow paragraph to avoid unwanted list item (#360, #361).
  79. * Avoid extra space before section number in `spec.md`.
  80. * `makespec.py`: Use `check_output` for simpler `pipe_through_prog`.
  81. * In README, clarified build requirements for `spec.html`, `spec.pdf`.
  82. * Fixed some encoding issues in `makespec.py` (#353).
  83. * Fixed various problems with `spec.pdf` generation (#353).
  84. * Added version to coverpage in PDF version of spec.
  85. [0.21.1]
  86. * Added date.
  87. [0.21]
  88. * Changed handling of tabs. Instead of having a preprocessing step
  89. where tabs are converted to spaces, we now handle tabs directly in
  90. the parser. This allows tabs to be retained in code blocks and code
  91. spans. This change adds some general language to the effect that,
  92. for purposes of determining block structure, tabs are to be treated
  93. just like equivalent spaces.
  94. * Completely rewrote spec for HTML blocks. The new spec provides
  95. better handling of tags like `<del>`, which can be either block
  96. or inline level content, better handling of custom tags, and
  97. better handling of verbatim contexts like `<pre>`, comments,
  98. and `<script>`.
  99. * Added 9-digit limit on ordered list start number.
  100. Some browsers use signed 32-bit integers for indexing
  101. the items of an ordered list, and this can lead to odd
  102. or undefined behavior if 10-digit start numbers are allowed.
  103. * Allow (non-initial) hyphens in tag names (#239). Custom
  104. tags in HTML5 must contain hyphens.
  105. * Clarified that HTML block is closed at end of containing
  106. block, not just end of the document (as with fenced code blocks.)
  107. * Specify nested link definition behavior in prose (Benjamin
  108. Dumke-von der Ehe).
  109. * Added test for edge case in link reference parsing
  110. (Benjamin Dumke-von der Ehe, see jgm/commonmark.js#49).
  111. * Added link tests with fragment identifiers and queries (David
  112. Green, #342).
  113. * Added test cases with a literal backslash in a link destination
  114. (see jgm/commonmark.js#45).
  115. * Added test for entity `&ngE;` which resolves to two code points.
  116. Put entity tests on several lines for readability (see
  117. jgm/commonmark.js#47).
  118. * Fixed broken "pre" literal HTML example. Contents
  119. weren't escaped properly.
  120. * Simplified defn of "unicode whitespace character,"
  121. rectifying omission of line tabulation, U+000B (#343).
  122. * Removed ambiguity in definition of "line" (#346).
  123. * Rewrapped two prose lines so `+` does not begin a line (#347).
  124. * Added another test with overlapping emphasis markers.
  125. * Fixed link to 'attributes'.
  126. * Revised appendix, "A parsing strategy," and
  127. added a description of emphasis/link parsing algorithm.
  128. * `spec_tests.py` - set options for conversions, set library
  129. paths in a more cross-platform way.
  130. * `spec_tests.py`: force utf-8 on test failure output and
  131. `--dump-tests` (#344, #345).
  132. * `spec_tests.py`: Properly handle visible tab `→` in expected output.
  133. * `normalize.py`: Don't collapse whitespace inside pre tag.
  134. * Added `spec.html` to `.gitignore` (#339).
  135. * Add `-dev` suffix to spec version after release (eksperimental).
  136. * Rename "non-space" to "non-whitespace" (Konstantin Zudov, #337).
  137. [0.20]
  138. * Require at least one nonspace character in a link label (#322).
  139. * Require replacement (rather than omission) of U+0000 (#327).
  140. * Clarified that entities resolving to U+0000 are to be
  141. replaced by U+FFFD (#323).
  142. * Removed statement that what counts as a line ending is
  143. platform-dependent (#326). We now count `\r`, `\n`,
  144. or `\r\n` as a line ending regardless of the platform.
  145. (The line ending styles can even be mixed in a single document.)
  146. * Defined "space."
  147. * Revised "non-space character". Previously a non-space character
  148. was defined as anything but a space (U+0020). Now it is anything
  149. that is not a whitespace character (as defined in the spec).
  150. * Clarified that tab expansion is a preprocessing step (#330).
  151. * Clarified lazy block quote examples (#328).
  152. * Clarified precedence of indentation that meets conditions for
  153. both list item continuation blocks and indented code.
  154. * Added a test case with `#` directly followed by a letter
  155. (not an ATX header).
  156. * Added two test cases illustrating that a list at the
  157. outer level can have items that are indented by more
  158. than four spaces (see commonmark.js#42 and
  159. <http://talk.commonmark.org/t/odd-list-behaviour/1189>).
  160. * Fixed typo in emphasis examples.
  161. [0.19]
  162. * Fixed rules for `_`-based emphasis and strong emphasis (#317).
  163. Previously `_(bar)_.` was not parsed as containing emphasis
  164. because the closing delimiter is both left- and right- flanking.
  165. This fix allows such delimiters, provided they're followed
  166. by punctuation (i.e., they have punctuation on both sides).
  167. Similarly, mutatis mutandis, for opening delimiters and for `__`.
  168. * Clarified definitions of left-flanking and right-flanking (#310).
  169. The spec now says explicitly that the beginning and end of line count
  170. as whitespace for purposes of this definition.
  171. * Clarified that a code fence followed by header line isn't a header (#306).
  172. * Fixed alignment in flankingness examples (cosmetic).
  173. * Fixed last "right flanking but not left flanking" example (#316).
  174. * Fixed a broken link (Konstantin Zudov).
  175. * Added link to list of implementations on wiki.
  176. * Fixed mistake in examples of left/right flanking delimiters
  177. (Konstantin Zudov).
  178. * Spell out `iff` (if and only if) the first time it is used (#309).
  179. * Fixed typos (isoroku, #309).
  180. * Clarified wording for soft line break: newline can't be preceded
  181. by two spaces or a backslash.
  182. * Replaced some references to UTF-8 that should be to unicode.
  183. * Fixed dingus link in tools/template.html.
  184. * Replaced obsolete reference to `spec2md.pl` in spec (#304).
  185. [0.18]
  186. * Added a shortcut link test with mismatched brackets (#282).
  187. * Added cases with newline whitespace around emphasis open delimiter
  188. (#282).
  189. * Added list item examples with no space after marker (#282).
  190. * Added additional test showing backslash escapes don't work in
  191. autolinks (#282).
  192. * Added test for multiline title in reference definition (#282).
  193. * Added a reference link definition test case (#282).
  194. * Clarified that link titles can't contain blank lines (#271).
  195. * Revised Rule 3 for list items (#275). Previously this just applied to
  196. empty list items. It has been rewritten to apply to any list item
  197. starting with a blank line, including items like:
  198. -
  199. ```
  200. code
  201. ```
  202. * Added U+000B and U+000C as whitespace characters (#300).
  203. * Added comment on sourcepos attribute format in DTD (#298).
  204. * Use `--smart` option in producing HTML version of spec.
  205. * Clarified that delimiter runs at beginning/end of line behave as
  206. if preceded/followed by whitespace (#302).
  207. * Ensure that URLs in examples have slash after domain.
  208. This helps with #9, making these tests less sensitive to
  209. the normalizer used.
  210. * Fixed typo (Robin Stocker).
  211. [0.17]
  212. * Improved rule limiting intraword `_` for emphasis and strong emphasis.
  213. To prevent intra-word emphasis, we used to check to see if
  214. the delimiter was followed/preceded by an ASCII alphanumeric.
  215. We now do something more elegant: whereas an opening `*` must
  216. be left-flanking, an opening `_` must be left-flanking *and
  217. not right-flanking*. And so on for the other cases.
  218. All the original tests passed except some tests with Russian
  219. text with internal `_`, which formerly created emphasis but no
  220. longer do with the new rule. These tests have been adjusted.
  221. A few new test cases have been added to illustrate the rule.
  222. * Added example with link break inside pointy braces (no link) (#295).
  223. * Added spec example: loose list with blank line after fenced code (#285).
  224. [0.16]
  225. * Rewrote beginning of Entities section, clarifying that only
  226. entities not in code blocks or spans are decoded.
  227. * Removed defective Example 449 (#284).
  228. * Fixed typo (#283).
  229. * Added intended two-space hard-breaks in Examples 521, 523.
  230. * Clarified that brackets in general don't take precedence over emph
  231. (#258).
  232. * Clarified that final newline is removed from paragraph content
  233. (#176).
  234. * Talk of "info string" rather than "attributes" for code blocks
  235. (#262).
  236. * Clarified precedence of code spans, HTML tags, autolinks (#259).
  237. * Fixed a number of internal links and duplicate references in the spec.
  238. * Linkify "info string" in spec.
  239. * Use shortcut reference links when possible in spec.txt.
  240. * cmark itself is now used to build spec.html, rather than pandoc.
  241. * Use shortcut reference links when possible in spec.txt. This
  242. relies on the new `spec2md.py` behavior of creating references
  243. for all internal anchors.
  244. * Moved some examples from block to inline HTML section.
  245. * Added examples of non-comments (#264).
  246. * Changed rule for comments to conform to HTML5 spec.
  247. * Made clear that any sequence of characters is a valid document
  248. (#266).
  249. * Changed wording: "is preferred" -> "takes precedence."
  250. * Regularized spelling of "non-space character" and added links
  251. (#260).
  252. * Use four spaces rather than five to show "four spaces is too much"
  253. (#261).
  254. [0.15]
  255. * Fixed some typos with "left-" and "right-flanking" delimiters in the
  256. section on emphasis and strong emphasis (#257).
  257. [0.14]
  258. * Clarified indented code blocks. Previously the spec said, wrongly,
  259. that a blank line was needed between a paragraph and a following
  260. code block. It is only needed between a code block and a following
  261. paragraph (due to lazy continuations). (Thanks to textnut.)
  262. * Added definitions of whitespace, unicode whitespace, punctuation,
  263. ASCII punctuation (#108).
  264. * Improved rules for emphasis and strong emphasis. This improves
  265. parsing of emphasis around punctuation. For background see
  266. <http://talk.commonmark.org/t/903/6>. The basic idea of the change
  267. is that if the delimiter is part of a delimiter clump that has
  268. punctuation to the left and a normal character (non-space,
  269. non-punctuation) to the right, it can only be an opener. If it has
  270. punctuation to the right and a normal character (non-space,
  271. non-punctuation) to the left, it can only be a closer. This handles
  272. cases like
  273. **Gomphocarpus (*Gomphocarpus physocarpus*, syn. *Asclepias
  274. physocarpa*)**
  275. and
  276. **foo "*bar*" foo**
  277. better than before.
  278. * Added test case for link-in-link-in-image (#252).
  279. * Fixed broken internal references.
  280. * Added another example of an unclarity in the canonical Markdown
  281. syntax description.
  282. * Reworded the principle of uniformity to be more general; it applies
  283. to all container blocks, not just list items.
  284. * Added a rule for empty list items (#242).
  285. * Clarified precedence of empty list items over setext header lines
  286. (#95).
  287. * Added an example with two blank lines in fenced code in a sublist (#180).
  288. * Added an explicit CC-BY-SA license to the spec (#55).
  289. [0.13]
  290. * Updated path of test program.
  291. * Use terminology "plain textual content" instead of "string."
  292. * Added condition that conforming parsers strip or replace NULL characters.
  293. * Changed Example 196 to reflect the spec's rules. It should not be a loose
  294. list as it has no blank lines.
  295. * Adjusted semantically insignificant formatting of HTML output.
  296. * Added example to spec of shortcut link with following space (#214).