@@ -1,6 +1,11 @@
1# Revision history for pandoc
1# Revision history for pandoc
3−## pandoc 2.12.1 (PROVISIONAL)
3+## pandoc 2.13 (PROVISIONAL)
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).
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.
19+ * Text.Pandoc.Shared:
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
30+ + Simplify `compactDL`.
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.
14 * Markdown reader: Fix regression with `tex_math_backslash` (#7155).
37 * Markdown reader: Fix regression with `tex_math_backslash` (#7155).
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 @@
57 * reveal.js template: replace JS comment with HTML (#7154, Florian Kohrt).
80 * reveal.js template: replace JS comment with HTML (#7154, Florian Kohrt).
59− * Text.Pandoc.Shared: Simplify `compactDL`.
61 * Text.Pandoc.Logging: Add `DuplicateAttribute` constructor to `LogMessage`.
82 * Text.Pandoc.Logging: Add `DuplicateAttribute` constructor to `LogMessage`.
62 [API change]
83 [API change]
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.
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.
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
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 @@
76 * Update bounds for random (#7156, Alexey Kuleshevich).
102 * Update bounds for random (#7156, Alexey Kuleshevich).
104+ * Remove uses of some partial functions.
106+ * Don't bake in a larger stack size for the executable.
108+ * Test improvements:
110+ + Use `getExecutablePath` from base, avoiding the dependency
111+ on `executable-path`.
112+ + Factor out `setupEnvironment` in Helpers, to avoid code
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).
78− * Benchmark improvements.
120+ * Benchmark improvements:
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