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