git.iko.soy/typeable/pandoc
on master help sign in
Bump to 2.13, update changelog
99c15f8John MacFarlane
changelog.md+47−5
@@ -1,6 +1,11 @@
1# Revision history for pandoc
1# Revision history for pandoc
2
2
3−## pandoc 2.12.1 (PROVISIONAL)
3+## pandoc 2.13 (PROVISIONAL)
4+
5+ * Fix fallback to default partials when custom templates are
6+ used. If the directory containing a template does not
7+ contain the partial, it should be sought in the default
8+ templates, but this was not working properly (#7164).
4
9
5 * Handle `nocite` better with `--biblatex` and `--natbib` (#4585).
10 * Handle `nocite` better with `--biblatex` and `--natbib` (#4585).
6 Previously the nocite metadata field was ignored with these formats.
11 Previously the nocite metadata field was ignored with these formats.
@@ -11,6 +16,24 @@
11 that incorporates a prefix like `https://doi.org/` into a following link
16 that incorporates a prefix like `https://doi.org/` into a following link
12 when appropriate.
17 when appropriate.
13
18
19+ * Text.Pandoc.Shared:
20+
21+ + Remove `backslashEscapes`, `escapeStringUsing` [API
22+ change]. Replace these inefficient association list
23+ lookups with more efficient escaping functions in the
24+ writers that used them (for a 10-25% performance boost
25+ in org, haddock, rtf, texinfo writers).
26+ + Remove `ToString`, `ToText` typeclasses [API change].
27+ These were needed for the transition from String to Text,
28+ but they are no longer used and may clash with other
29+ things.
30+ + Simplify `compactDL`.
31+
32+ * Text.Pandoc.Parsing: Change type of `readWithM` so that it
33+ is no longer polymorphic. The `ToText` class has been
34+ removed, and now that we've completed the transition to Text
35+ we no longer need this to operate on Strings.
36+
14 * Markdown reader: Fix regression with `tex_math_backslash` (#7155).
37 * Markdown reader: Fix regression with `tex_math_backslash` (#7155).
15
38
16 * MediaWiki reader: Allow block-level content in notes (ref) (#7145).
39 * MediaWiki reader: Allow block-level content in notes (ref) (#7145).
@@ -56,17 +79,20 @@
56
79
57 * reveal.js template: replace JS comment with HTML (#7154, Florian Kohrt).
80 * reveal.js template: replace JS comment with HTML (#7154, Florian Kohrt).
58
81
59− * Text.Pandoc.Shared: Simplify `compactDL`.
60−
61 * Text.Pandoc.Logging: Add `DuplicateAttribute` constructor to `LogMessage`.
82 * Text.Pandoc.Logging: Add `DuplicateAttribute` constructor to `LogMessage`.
62 [API change]
83 [API change]
63
84
64 * Use `-j4` for linux release build. This speeds up the build
85 * Use `-j4` for linux release build. This speeds up the build
65 dramatically on arm.
86 dramatically on arm.
66
87
67− * cabal.project: remove `-j`.
88+ * cabal.project: remove ghcoptions. Move flags to top level, so
89+ they can be set differently on the command line.
68
90
69 * Require latest texmath, skylighting, citeproc, jira-wiki-markup.
91 * Require latest texmath, skylighting, citeproc, jira-wiki-markup.
92+ (The latest skylighting fixes a bad bug with Haskell syntax
93+ highlighting.) Narrow version bounds for texmath,
94+ skylighting, and citeproc, since the test output depend on
95+ them.
70
96
71 * Use doclayout 0.3.0.2. This significantly reduces the time and memory
97 * Use doclayout 0.3.0.2. This significantly reduces the time and memory
72 needed to compile pandoc.
98 needed to compile pandoc.
@@ -75,7 +101,23 @@
75
101
76 * Update bounds for random (#7156, Alexey Kuleshevich).
102 * Update bounds for random (#7156, Alexey Kuleshevich).
77
103
104+ * Remove uses of some partial functions.
105+
106+ * Don't bake in a larger stack size for the executable.
107+
108+ * Test improvements:
109+
110+ + Use `getExecutablePath` from base, avoiding the dependency
111+ on `executable-path`.
112+ + Factor out `setupEnvironment` in Helpers, to avoid code
113+ duplication.
114+ + Fix finding of data files by setting teh `pandoc_datadir`
115+ environment variable when we shell out to pandoc. This
116+ avoids the need to use `--data-dir` for the tests, which
117+ caused problems finding `pandoc.lua` when compiling
118+ without the `embed_data_files` flag (#7163).
119+
78− * Benchmark improvements.
120+ * Benchmark improvements:
79
121
80 + Build `+RTS -A8m -RTS` into default ghc-options for benchmark.
122 + Build `+RTS -A8m -RTS` into default ghc-options for benchmark.
81 This is necessary to get accurate benchmark results; otherwise
123 This is necessary to get accurate benchmark results; otherwise
pandoc.cabal+1−1
@@ -1,6 +1,6 @@
1cabal-version: 2.2
1cabal-version: 2.2
2name: pandoc
2name: pandoc
3−version: 2.12.1
3+version: 2.13
4build-type: Simple
4build-type: Simple
5license: GPL-2.0-or-later
5license: GPL-2.0-or-later
6license-file: COPYING.md
6license-file: COPYING.md