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