Debian Codegraph @

changelog

raw
1 cmark 0.7 (08 Jul 2023)
2
3 * Update to cmark 0.30.3.
4 * Allow text 2.
5 * Remove benchmark suite.
6
7 cmark 0.6 (08 Apr 2019)
8
9 * Update to cmark 0.29.0.
10 * Export optUnsafe. Note that the default is now to suppress
11 potentially unsafe HTML; set optUnsafe to return to the old behavior.
12
13 cmark 0.5.6.3 (13 Mar 2019)
14
15 * Use snoc instead of <> to add the null terminator.
16
17 cmark 0.5.6.2 (13 Mar 2019)
18
19 * Ensure that withtext adds a null terminator (#14).
20 This fixes a regression due to PR #13, which caused
21 random content to appear in rendered TEXT nodes.
22
23 cmark 0.5.6.1 (11 Mar 2019)
24
25 * Fix CString memory leaks (Anders Kaseorg). The renderer functions return
26 a malloc’d string which the caller is expected to free.
27
28 * Fix use-after-free bugs (Anders Kaseorg). `useAsCString` frees the
29 CString after the IO action finishes executing, so passing `return` as
30 that action can never be correct. To make sure the CString gets freed
31 at the right time, we need a “with”-style abstraction, not just a
32 conversion function. While we’re here replace this with
33 `withCStringLen`, which also makes fewer copies.
34
35 * Show node type on error for unknown node type.
36
37 cmark 0.5.6 (02 Aug 2017)
38
39 * Update to cmark 0.28.0.
40
41 cmark 0.5.5.1 (20 Mar 2017)
42
43 * Update version bound for HUnit.
44
45 cmark 0.5.5 (31 Jan 2017)
46
47 * Update to cmark 0.27.1.
48 * Update version bounds for dependencies.
49
50 cmark 0.5.4 (18 Nov 2016)
51
52 * Update to cmark 0.27.0.
53
54 cmark 0.5.3.1 (16 Jul 2016)
55
56 * Remove unnecessary typedef that caused problems with the build
57 (patch from upstream).
58
59 cmark 0.5.3 (15 Jul 2016)
60
61 * Update to cmark 0.26.0.
62 * Added appveyor CI.
63
64 cmark 0.5.2.1 (22 May 2016)
65
66 * New .travis.yml - test with stack, cabal on many versions.
67 * Increase upper bound of base (Utku Demir).
68
69 cmark 0.5.2 (26 Mar 2016)
70
71 * Add flag to allow building with an installed libcmark (Jens Petersen).
72 * Updated to libcmark 0.25.2.
73
74 cmark 0.5.1 (21 Jan 2016)
75
76 * Updated to libcmark 0.24.1.
77
78 cmark 0.5 (29 Dec 2015)
79
80 * Updated to libcmark 0.23.0.
81 * API changes:
82 + Added `OnEnter` and `OnExit` types.
83 + In `NodeType`, `HRULE` is now `THEMATIC_BREAK`,
84 `HTML` is `HTML_BLOCK`, `INLINE_HTML` is
85 `HTML_INLINE`, `HEADER` is `HEADING`. New
86 constructors: `CUSTOM_INLINE`, `CUSTOM_BLOCK`.
87
88 cmark 0.4.1 (23 Aug 2015)
89
90 * Updated to libcmark 0.22.0.
91 * Bumped version bounds for HUnit.
92
93 cmark 0.4.0.1 (14 Jul 2015)
94
95 * API changes:
96 + Added `commonmarkToLaTeX`, `nodeToLaTeX`, `optSafe`.
97 + Changed type of `commonmarkToMan` and `nodeToMan`,
98 adding `Maybe Int` param for width.
99 + Changed type of `nodeToCommonMark`, changing the `Int` width
100 parameter to a `Maybe Int`.
101 * Updated to cmark 0.21 sources.
102
103 cmark 0.3.4 (08 Jun 2015)
104
105 * Updated to libcmark 0.20.0.
106
107 cmark 0.3.3.1 (28 May 2015)
108
109 * Changed name Bench.hs -> bench-cmark.hs.
110 * Benchmark: don't benchmark pandoc (circular dependency).
111
112 cmark 0.3.3 (26 May 2015)
113
114 * Added `nodeToHtml`, `nodeToMan`, `nodeToXml`.
115 * Added version bounds for text (Albert Krewinkel).
116
117 cmark 0.3.2 (28 Apr 2015)
118
119 * Updated libcmark C sources to 0.19.0.
120 * Fixes to avoid warning for earlier ghc versions.
121 * Refactored, removing the `io` convenience function.
122 * Removed unnecessary `unsafePerformIO` on `fromtext`.
123 * `fromtext`: use `ByteString.useAsCString` + explicit `encodeUtf8`.
124
125 cmark 0.3.1 (29 Mar 2015)
126
127 * Added nodeToCommonmark.
128 * Removed mtl from build-depends.
129 * Updated source info in README, cabal.
130 * Updated C sources.
131 * Put all the C functions in the IO monad, and ensure
132 that memory allocated by the C library is freed
133 at the right time.
134 * Added a rudimentary test suite.
135 * Properly free c-allocated resources.
136 * Removed bindings to nonexistent setters for source pos
137 attributes.