1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
|
# Changelog for commonmark
## 0.2.6.1
* Fix parsing of link destinations that look like `code` or
HTML (#136, Michael Howell). This affects parsing of things
like `` [link](`)`x` ``.
## 0.2.6
* Make list tightness match the reference implementation closer (#150,
Michael Howell). This solves the problem where blank lines in the middle
of a list are attributed to the list itself instead of the item, making its
parent list become spuriously loose.
* Fix bug with entities inside link destinations (#149).
The bug affects cases like this: `[link](\!)`; the backslash
escape was being ignored here.
* Commonmark.Entity: export `pEntity` [API change].
## 0.2.5.1
* Replace `source` with `search` in list of block tags.
This is a spec 0.31 change that was forgotten in the last release.
## 0.2.5
* Fix HTML comment parser to conform to 0.31.2 spec.
* Update spec.txt tests to commonmark-spec 0.31.2.
* Match HTML declaration blocks with lowercase letters
(Michael Howell).
* Specifically track the position where enders end (Michael Howell).
## 0.2.4.1
* Commonmark.Html: Add `aria-hidden`, `d`, and `viewBox` to allowed attributes list.
* Correctly merge list blanks with non-list blanks (#133, Michael Howell).
* Do not look for backslashed hard breaks in link titles (#130, Michael Howell).
* Work around ghc bug with `-K` RTS options, to set the stack space properly
for tests (#129). See https://gitlab.haskell.org/ghc/ghc/-/issues/10445.
* Revert block state completely if lazy line (#126). This fixes an issue with
lazily-wrapped footnotes.
* Avoid adding trailing newline to list block if it's already there
(Michael Howell). This fixes tight/loose classification in a few
cases.
* Fix incorrectly parsing links with nested `[]` (Michael Howell).
## 0.2.4
* Do not parse hard line breaks in fenced codeblock info (#116,
Michael Howell). This change makes commonmark-hs conform to the spec
and behave like other implementations when an info string in a code
block ends with a backslash.
* [API change] Commonmark.Inlines now exports `pEscapedSymbol`
(#116, Michael Howell).
* Tokenize combining marks as WordChars not Symbol (#114).
## 0.2.3
* Re-export Text.Parsec.Pos from Commonmark.Types (Fraser
Tweedale, #106).
## 0.2.2
* Blocks: export `getParentListType` [API change].
* Require unicode-data >= 0.3.
* Change `mkFormattingSpecMap` so it integrates different
FormattingSpecs that use the same character (#87). Otherwise
we have problems if you have one formatting spec that
reacts to single delimiters and another that reacts to
pairs; if the first fails to match, the fallback behavior
is produced and the second never matches.
* Use unicode-data's faster versions of Data.Char functions.
This speeds up benchmarks for tokenize considerably; little difference
in other benchmarks. unicode-data is already a transitive dependency,
via unicode-transforms.
* Increase strictness in tokenize/go.
* Remove legacy cpp needed to support ghc < 8.4.
## 0.2.1.1
* Fix bug in `prettyShow` for `SourceRange` (#80).
The bug led to an infinite loop in certain cases.
## 0.2.1
* Use official 0.30 spec.txt.
* Update HTML block parser for recent spec changes.
* Fix test case from commonmark/cmark#383. We need to index the list
of stack bottoms not just by the length mod 3 of the closer but by
whether it can be an opener, since this goes into the calculation of
whether the delimiters can match.
## 0.2
* Commonmark.Inlines: export LinkInfo(..) [API change].
* Commonmark.Inlines: export pLink [API chage].
* Comonmark.ReferenceMap: Add linkPos field to LinkInfo [API change].
* Commonmark.Tokens: normalize unicode to NFC before tokenizing (#57).
Normalization might affect detection of flankingness, recognition
of reference links, etc.
* Commonmark.Html: add data-prefix to non-HTML5 attributes, as pandoc does.
* Remove unnecessary build-depends.
* Use lightweight tasty-bench instead of criterion for benchmarks.
## 0.1.1.4
* Fix build with GHC 9.0.1 (Simon Jakobi, #72).
## 0.1.1.3
* Fix bug in links with spaces at the beginning or end of
link description (#67). We were putting flankingness constraints
on the link delimiters, but this isn't requried by the spec.
## 0.1.1.2
* Fix bug in fix to #65 (#66).
## 0.1.1.1
* Fixed corner case with link suffix parsing, which could result
in dropped tokens in certain cases (#65).
## 0.1.1
* Export `reverseSubforests` from `Commonmark.Blocks` [API change] (#64).
## 0.1.0.2
* Fix tight/loose list detection with multiple blank lines at end (#56).
## 0.1.0.1
* Set source position when we add a token in gobbleSpaces (#54).
This fixes a bug in gobbling indented spaces in some nested contexts.
* Drop support for ghc 7.10/base 4.8. We need StrictData.
Move SCC annotations; ghc 8.0.x doesn't support them on declarations.
## 0.1.0.0
* Initial release
|