aboutsummaryrefslogtreecommitdiff
path: root/changelog.txt
blob: fab01f9d2430f958059fc15be52f6d4fd38911bb (plain)
  1. [0.20]
  2.   * Require at least one nonspace character in a link label (#322).
  3. * Require replacement (rather than omission) of U+0000 (#327).
  4. * Clarify that entities resolving to U+0000 are to be
  5. replaced by U+FFFD (#323).
  6. * Removed statement that what counts as a line ending is
  7. platform-dependent (#326). We now count `\r`, `\n`,
  8. or `\r\n` as a line ending regardless of the platform.
  9. (The line ending styles can even be mixed in a single document.)
  10. * Added a test case with `#` directly followed by a letter
  11. (not an ATX header).
  12. * Added two test cases illustrating that a list at the
  13. outer level can have items that are indented by more
  14. than four spaces (see commonmark.js#42 and
  15. <http://talk.commonmark.org/t/odd-list-behaviour/1189>).
  16. * Fixed typo in emphasis examples.
  17. [0.19]
  18. * Fixed rules for `_`-based emphasis and strong emphasis (#317).
  19. Previously `_(bar)_.` was not parsed as containing emphasis
  20. because the closing delimiter is both left- and right- flanking.
  21. This fix allows such delimiters, provided they're followed
  22. by punctuation (i.e., they have punctuation on both sides).
  23. Similarly, mutatis mutandis, for opening delimiters and for `__`.
  24. * Clarified definitions of left-flanking and right-flanking (#310).
  25. The spec now says explicitly that the beginning and end of line count
  26. as whitespace for purposes of this definition.
  27. * Clarified that a code fence followed by header line isn't a header (#306).
  28. * Fixed alignment in flankingness examples (cosmetic).
  29. * Fixed last "right flanking but not left flanking" example (#316).
  30. * Fixed a broken link (Konstantin Zudov).
  31. * Added link to list of implementations on wiki.
  32. * Fixed mistake in examples of left/right flanking delimiters
  33. (Konstantin Zudov).
  34. * Spell out `iff` (if and only if) the first time it is used (#309).
  35. * Fixed typos (isoroku, #309).
  36. * Clarified wording for soft line break: newline can't be preceded
  37. by two spaces or a backslash.
  38. * Replaced some references to UTF-8 that should be to unicode.
  39. * Fixed dingus link in tools/template.html.
  40. * Replaced obsolete reference to `spec2md.pl` in spec (#304).
  41. [0.18]
  42. * Added a shortcut link test with mismatched brackets (#282).
  43. * Added cases with newline whitespace around emphasis open delimiter
  44. (#282).
  45. * Added list item examples with no space after marker (#282).
  46. * Added additional test showing backslash escapes don't work in
  47. autolinks (#282).
  48. * Added test for multiline title in reference definition (#282).
  49. * Added a reference link definition test case (#282).
  50. * Clarified that link titles can't contain blank lines (#271).
  51. * Revised Rule 3 for list items (#275). Previously this just applied to
  52. empty list items. It has been rewritten to apply to any list item
  53. starting with a blank line, including items like:
  54. -
  55. ```
  56. code
  57. ```
  58. * Added U+000B and U+000C as whitespace characters (#300).
  59. * Added comment on sourcepos attribute format in DTD (#298).
  60. * Use `--smart` option in producing HTML version of spec.
  61. * Clarified that delimiter runs at beginning/end of line behave as
  62. if preceded/followed by whitespace (#302).
  63. * Ensure that URLs in examples have slash after domain.
  64. This helps with #9, making these tests less sensitive to
  65. the normalizer used.
  66. * Fixed typo (Robin Stocker).
  67. [0.17]
  68. * Improved rule limiting intraword `_` for emphasis and strong emphasis.
  69. To prevent intra-word emphasis, we used to check to see if
  70. the delimiter was followed/preceded by an ASCII alphanumeric.
  71. We now do something more elegant: whereas an opening `*` must
  72. be left-flanking, an opening `_` must be left-flanking *and
  73. not right-flanking*. And so on for the other cases.
  74. All the original tests passed except some tests with Russian
  75. text with internal `_`, which formerly created emphasis but no
  76. longer do with the new rule. These tests have been adjusted.
  77. A few new test cases have been added to illustrate the rule.
  78. * Added example with link break inside pointy braces (no link) (#295).
  79. * Added spec example: loose list with blank line after fenced code (#285).
  80. [0.16]
  81. * Rewrote beginning of Entities section, clarifying that only
  82. entities not in code blocks or spans are decoded.
  83. * Removed defective Example 449 (#284).
  84. * Fixed typo (#283).
  85. * Added intended two-space hard-breaks in Examples 521, 523.
  86. * Clarified that brackets in general don't take precedence over emph
  87. (#258).
  88. * Clarified that final newline is removed from paragraph content
  89. (#176).
  90. * Talk of "info string" rather than "attributes" for code blocks
  91. (#262).
  92. * Clarified precedence of code spans, HTML tags, autolinks (#259).
  93. * Fixed a number of internal links and duplicate references in the spec.
  94. * Linkify "info string" in spec.
  95. * Use shortcut reference links when possible in spec.txt.
  96. * cmark itself is now used to build spec.html, rather than pandoc.
  97. * Use shortcut reference links when possible in spec.txt. This
  98. relies on the new `spec2md.py` behavior of creating references
  99. for all internal anchors.
  100. * Moved some examples from block to inline HTML section.
  101. * Added examples of non-comments (#264).
  102. * Changed rule for comments to conform to HTML5 spec.
  103. * Made clear that any sequence of characters is a valid document
  104. (#266).
  105. * Changed wording: "is preferred" -> "takes precedence."
  106. * Regularized spelling of "non-space character" and added links
  107. (#260).
  108. * Use four spaces rather than five to show "four spaces is too much"
  109. (#261).
  110. [0.15]
  111. * Fixed some typos with "left-" and "right-flanking" delimiters in the
  112. section on emphasis and strong emphasis (#257).
  113. [0.14]
  114. * Clarified indented code blocks. Previously the spec said, wrongly,
  115. that a blank line was needed between a paragraph and a following
  116. code block. It is only needed between a code block and a following
  117. paragraph (due to lazy continuations). (Thanks to textnut.)
  118. * Added definitions of whitespace, unicode whitespace, punctuation,
  119. ASCII punctuation (#108).
  120. * Improved rules for emphasis and strong emphasis. This improves
  121. parsing of emphasis around punctuation. For background see
  122. <http://talk.commonmark.org/t/903/6>. The basic idea of the change
  123. is that if the delimiter is part of a delimiter clump that has
  124. punctuation to the left and a normal character (non-space,
  125. non-punctuation) to the right, it can only be an opener. If it has
  126. punctuation to the right and a normal character (non-space,
  127. non-punctuation) to the left, it can only be a closer. This handles
  128. cases like
  129. **Gomphocarpus (*Gomphocarpus physocarpus*, syn. *Asclepias
  130. physocarpa*)**
  131. and
  132. **foo "*bar*" foo**
  133. better than before.
  134. * Added test case for link-in-link-in-image (#252).
  135. * Fixed broken internal references.
  136. * Added another example of an unclarity in the canonical Markdown
  137. syntax description.
  138. * Reworded the principle of uniformity to be more general; it applies
  139. to all container blocks, not just list items.
  140. * Added a rule for empty list items (#242).
  141. * Clarified precedence of empty list items over setext header lines
  142. (#95).
  143. * Added an example with two blank lines in fenced code in a sublist (#180).
  144. * Added an explicit CC-BY-SA license to the spec (#55).
  145. [0.13]
  146. * Updated path of test program.
  147. * Use terminology "plain textual content" instead of "string."
  148. * Added condition that conforming parsers strip or replace NULL characters.
  149. * Changed Example 196 to reflect the spec's rules. It should not be a loose
  150. list as it has no blank lines.
  151. * Adjusted semantically insignificant formatting of HTML output.
  152. * Added example to spec of shortcut link with following space (#214).