@@ -1,6 +1,11 @@
11# Revision history for pandoc
22
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).
49
510 * Handle `nocite` better with `--biblatex` and `--natbib` (#4585).
611 Previously the nocite metadata field was ignored with these formats.
@@ -11,6 +16,24 @@
1116 that incorporates a prefix like `https://doi.org/` into a following link
1217 when appropriate.
1318
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+
1437 * Markdown reader: Fix regression with `tex_math_backslash` (#7155).
1538
1639 * MediaWiki reader: Allow block-level content in notes (ref) (#7145).
@@ -56,17 +79,20 @@
5679
5780 * reveal.js template: replace JS comment with HTML (#7154, Florian Kohrt).
5881
59− * Text.Pandoc.Shared: Simplify `compactDL`.
60−
6182 * Text.Pandoc.Logging: Add `DuplicateAttribute` constructor to `LogMessage`.
6283 [API change]
6384
6485 * Use `-j4` for linux release build. This speeds up the build
6586 dramatically on arm.
6687
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.
6890
6991 * 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.
7096
7197 * Use doclayout 0.3.0.2. This significantly reduces the time and memory
7298 needed to compile pandoc.
@@ -75,7 +101,23 @@
75101
76102 * Update bounds for random (#7156, Alexey Kuleshevich).
77103
78− * Benchmark improvements.
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+
120+ * Benchmark improvements:
79121
80122 + Build `+RTS -A8m -RTS` into default ghc-options for benchmark.
81123 This is necessary to get accurate benchmark results; otherwise