@@ -1,5 +1,98 @@
11# Revision history for pandoc
22
3+## pandoc 2.12.1 (PROVISIONAL)
4+
5+ * Handle `nocite` better with `--biblatex` and `--natbib` (#4585).
6+ Previously the nocite metadata field was ignored with
7+ these formats. Now it populates a `nocite-ids` template
8+ variable and causes a `\nocite` command to be issued.
9+
10+ * Text.Pandoc.Citeproc: apply `fixLinks` correctly (#7130). This is code
11+ that incorporates a prefix like `https://doi.org/` into a following link
12+ when appropriate.
13+
14+ * Markdown reader: Fix regression with `tex_math_backslash` in
15+ Markdown reader (#7155).
16+
17+ * MediaWiki reader: Allow block-level content in notes (ref) (#7145).
18+
19+ * Jira reader (Albert Krewinkel):
20+
21+ + Fixed parsing of autolinks (i.e., of bare URLs in the text).
22+ Previously an autolink would take up the rest of a line, as spaces
23+ were allowed characters in these items.
24+ + Emoji character sequences no longer cause parsing failures. This was
25+ due to missing backtracking when emoji parsing fails.
26+ + Mark divs created from panels with class "panel".
27+ (tarleb/jira-wiki-markup#2).
28+
29+ * RST reader: fix logic for ending comments (#7134). Previously comments
30+ sometimes got extended too far.
31+
32+ * Docx writer:
33+
34+ + Make `nsid` in `abstractNum` deterministic. Previously we assigned
35+ a random number, but we don't need random values, so now we just
36+ assign a value based on the list marker.
37+ + Use integral values for `w:tblW` (#7141).
38+
39+ * Jira writer (Albert Krewinkel):
40+
41+ + Block quotes are only rendered as `bq.` if they do not contain a
42+ linebreak.
43+ + Jira writer: improve div/panel handling. Include div attributes in
44+ panels, always render divs with class `panel` as panels, and
45+ avoid nesting of panels.
46+
47+ * HTML writer: Add warnings on duplicate attribute values.
48+ This prevents emitting invalid HTML. Ultimately it would be good to
49+ prevent this in the types themselves, but this is better for now.
50+
51+ * Org writer: Prevent unintended creation of ordered list items (#7132,
52+ Albert Krewinkel). Adjust line wrapping if default wrapping would cause
53+ a line to be read as an ordered list item.
54+
55+ * JATS templates: support 'equal-contrib' attrib for authors (Albert
56+ Krewinkel). Authors who contributed equally to a paper may be marked
57+ with `equal-contrib`.
58+
59+ * reveal.js template: replace JS comment with HTML (#7154, Florian Kohrt).
60+
61+ * Text.Pandoc.Shared: Simplify `compactDL`.
62+
63+ * Text.Pandoc.Logging: Add `DuplicateAttribute` constructor to `LogMessage`.
64+ [API change]
65+
66+ * Use `-j4` for linux release build. This speeds up the build
67+ dramatically on arm.
68+
69+ * cabal.project: remove `-j`.
70+
71+ * Require latest texmath, skylighting, citeproc, jira-wiki-markup.
72+
73+ * Use doclayout 0.3.0.2. This significantly reduces the time and memory
74+ needed to compile pandoc.
75+
76+ * Use `foldl'` instead of `foldl` everywhere.
77+
78+ * Update bounds for random (#7156, Alexey Kuleshevich).
79+
80+ * Benchmark improvements.
81+
82+ + Build `+RTS -A8m -RTS` into default ghc-options for benchmark.
83+ This is necessary to get accurate benchmark results; otherwise
84+ we are largely measuring garbage collecting, some not related
85+ to the current benchmark.
86+ + Allow specifying BASELINE file in 'make bench' for comparison
87+ (otherwise the latest benchmark is chosen by default).
88+ + Force `readFile` in benchmarks early (Bodigrim).
89+
90+ * CONTRIBUTING: suggest using a `cabal.project.local` file (#7153,
91+ Albert Krewinkel).
92+
93+ * Add ghcid-test to Makefile. This loads the test suite in ghcid.
94+
95+
396## pandoc 2.12 (2021-03-08)
497
598 * `--resource-path` now accumulates if specified multiple