@@ -1,5 +1,67 @@
11# Revision history for pandoc
22
3+## pandoc 2.9 (PROVISIONAL)
4+
5+ * Text.Pandoc.Templates [API change]
6+
7+ + Add Monad wrappers `WithDefaultPartials` and `WithPartials`.
8+ Wrapping these around an instance of `PandocMonad` gives
9+ us different instances of `TemplateMonad`, with different
10+ search behavior in retrieving partials.
11+ To compile a template and limit partial search to pandoc's
12+ data files, use `runWithDefaultPartials (compileTemplate ...)`.
13+ To compile a template and allow partials to be found locally
14+ (either on the file system or via HTTP, in the event that
15+ the main template has an absolute URL), ue
16+ `runWithPartials (compileTemplate ...)`.
17+ + Export `getTemplate`, which seeks a template locally,
18+ or via HTTP if the template has an absolute URL, falling
19+ back to the data files if not found.
20+ + Export `compileDefaultTemplate` -- does `getDefaultTemplate`
21+ and compiles the result, raising an error on failure.
22+
23+ * Text.Pandoc.Class [API change]
24+
25+ + Remove `TemplateMonad` instances for `PandocIO` and `PandocPure`.
26+ These were too limiting and caused a bug whereby a local
27+ partial could be used even when the default template was requested.
28+ We now rely on instances provided in the Templates module.
29+
30+ * Text.Pandoc.App.OutputSettings: Simplify template retrieval code.
31+
32+ * ConTeXt template: Adjust to title formatting (#5949, Denis Maier).
33+ Add `\setupinterlinespace` to `title`, `subtitle`, `date` and `author`
34+ elements: otherwise longer titles that run over multiple lines will look
35+ squashed as `\tfd` etc. won't adapt the line spacing to the font size.
36+
37+ * reveal.js template: Add title-slide-attributes variable (#5981,
38+ Frederik Elwert).
39+
40+ * More informative JSON parse error (#5973).
41+
42+ * Use external emojis package (forked from pandoc). Removed emoji data
43+ in Text.Pandoc.Emoji.
44+
45+ * Fix regression in `makeSections` (#5965).
46+ Previously `hierarchicalize` (the ancestor of `makeSections`) would put
47+ header attributes on the containing Div. In 2.8 this behavior changed,
48+ which broke some tools depending on pandoc. Here we roll back this change,
49+ so that attributes again migrate from the header to the containing Div when
50+ `makeSections` is run. Note that attributes are retained on the header as
51+ well (unlike before) -- with the exception of the `id` attribute, which of
52+ course cannot be duplicated.
53+
54+ * Fix `--toc-depth` regression in 2.8 (#5967).
55+
56+ * Use doctemplates 0.8. Rename template 'filters' as 'pipes'
57+ to avoid confusion with the other notion of filter used by pandoc.
58+
59+ * Fix README.md so that relative links from manual become absolute.
60+ Previously they'd be broken links when viewed on GitHub or Hackage.
61+ So we add the base URL for the pandoc manual.
62+
63+ * Document display math syntax in manual.
64+
365## pandoc 2.8.1 (2019-12-05)
466
567 * Add `ascii_identifiers` as a supported extension for `markdown`.