@@ -1,3 +1,197 @@
1+pandoc (2.5)
2+
3+ * Text.Pandoc.App: split into several unexported submodules (Albert
4+ Krewinkel): Text.Pandoc.App.FormatHeuristics,
5+ Text.Pandoc.App.Opt, Text.Pandoc.App.CommandLineOptions,
6+ Text.Pandoc.App.OutputSettings. This is motivated partly by the
7+ desire to reduce recompilations when something is modified,
8+ since App previously depended on virtually every other module.
9+
10+ * Text.Pandoc.Extensions
11+
12+ + Semantically, `gfm_auto_identifiers` is now a modifier of
13+ `auto_identifiers`; for identifiers to be set, `auto_identifiers` must
14+ be turned on, and then the type of identifier produced depends on
15+ `gfm_auto_identifiers` and `ascii_identifiers` are set. Accordingly,
16+ `auto_identifiers` is now added to `githubMarkdownExtensions` (#5057).
17+ + Remove `ascii_identifiers` from `githubMarkdownExtensions`.
18+ GitHub doesn't seem to strip non-ascii characters any more.
19+
20+ * Text.Pandoc.Lua.Module.Utils (Albert Krewinkel)
21+
22+ + Test AST object equality via Haskell (#5092). Equality of Lua
23+ objects representing pandoc AST elements is tested by unmarshalling
24+ the objects and comparing the result in Haskell.
25+ A new function `equals` which performs this test has been added to the
26+ `pandoc.utils` module.
27+ + Improve stringify. Meta value strings (MetaString)
28+ and booleans (MetaBool) are now converted to the literal string and the
29+ lowercase boolean name, respectively. Previously, all values of these
30+ types were converted to the empty string.
31+
32+ * Text.Pandoc.Parsing: Remove Functor and Applicative constraints where Monad
33+ already exists (Alexander Krotov).
34+
35+ * Text.Pandoc.Pretty: Don't render BreakingSpace at end of line
36+ or beginning of line (#5050).
37+
38+ * Text.Pandoc.Readers.Markdown
39+
40+ + Fix parsing of citations, quotes, and underline emphasis
41+ after symbols. Starting with pandoc 2.4, citations, quoted inlines,
42+ and underline emphasis were no longer recognized after certain
43+ symbols, like parentheses (#5099, #5053).
44+ + In pandoc 2.4, a soft break after an abbreviation would be
45+ relocated before it to allow for insertion of a nonbreaking
46+ space after the abbreviation. This behavior is here reverted.
47+ A soft break after an abbreviation will remain, and no nonbreaking
48+ space will be added. Those who care about this issue should take care not
49+ to end lines with an abbreviation, or to insert nonbreaking spaces
50+ manually.
51+
52+ * Text.Pandoc.Readers.FB2: Do not throw error for unknown elements in
53+ `<body>` (Alexander Krotov). Some libraries include custom elements
54+ in their FB2 files.
55+
56+ * Text.Pandoc.Readers.HTML
57+
58+ + Allow `tfoot` before body rows (#5079).
59+ + Parse `<small>` as a Span with class "small" (#5080).
60+ + Allow thead containing a row with `td` rather than `th` (#5014).
61+
62+ * Text.Pandoc.Readers.LaTeX
63+
64+ + Cleaned up handling of dimension arguments. Allow decimal points,
65+ preceding space.
66+ + Don't allow arguments for verbatim, etc.
67+ + Allow space before bracketed options.
68+ + Allow optional arguments after `\\` in tables.
69+ + Improve parsing of `\tiny`, `\scriptsize`, etc. Parse as raw,
70+ but know that these font changing commands take no arguments.
71+
72+ * Text.Pandoc.Readers.Muse
73+
74+ + Trim whitespace before parsing grid table cells (Alexander Krotov).
75+ + Add grid tables support (Alexander Krotov).
76+
77+ * Text.Pandoc.Shared
78+
79+ + For bibliography match Div with id `refs`, not class `references`.
80+ This was a mismatch between pandoc's docx, epub, latex, and markdown
81+ writers and the behavior of pandoc-citeproc, which actually looks for a
82+ div with id `refs` rather than one with class `references`.
83+ + Exactly match GitHub's identifier generating algorithm (#5057).
84+ + Add parameter for `Extensions` to `uniqueIdent` and
85+ `inlineListToIdentifier` (#5057). [API change]
86+ This allows these functions to be sensitive to the settings of
87+ `Ext_gfm_auto_identifiers` and `Ext_ascii_identifiers`, and allows us to
88+ use `uniqueIdent` in the CommonMark reader, replacing custom code. It
89+ also means that `gfm_auto_identifiers` can now be used in all formats.
90+
91+ * Text.Pandoc.Writers.AsciiDoc
92+
93+ + Use `.`+ as list markers to support nested ordered lists (#5087).
94+ + Support list number styles (#5089).
95+ + Render Spans using `[#id .class]#contents#` (#5080).
96+
97+ * Text.Pandoc.Writers.CommonMark
98+
99+ + Respect `--ascii` (#5043, quasicomputational).
100+ + Make sure `--ascii` affects quotes, super/subscript.
101+
102+ * Text.Pandoc.Writers.Docx
103+
104+ + Fix bookmarks to headers with long titles (#5091).
105+ Word has a 40 character limit for bookmark names. In addition, bookmarks
106+ must begin with a letter. Since pandoc's auto-generated identifiers may
107+ not respect these constraints, some internal links did not work. With
108+ this change, pandoc uses a bookmark name based on the SHA1 hash of the
109+ identifier when the identifier isn't a legal bookmark name.
110+ + Add bookmarks to code blocks (Nikolay Yakimov).
111+ + Add bookmarks to images (Nikolay Yakimov).
112+ + Refactor common bookmark creation code into a function (Nikolay Yakimov).
113+
114+ * Text.Pandoc.Writers.EPUB: Handle calibre metadata (#5098).
115+ Nodes of the form
116+
117+ <meta name="calibre:series" content="Classics on War and Politics"/>
118+
119+ are now included from an epub XML metadata file. You can also include
120+ this information in your YAML metadata, like so:
121+
122+ calibre:
123+ series: Classics on War and Policitics
124+
125+ In addition, ibooks-specific metadata can now be included via an XML
126+ file. (Previously, it could only be included via YAML metadata, see
127+ #2693.)
128+
129+ * Text.Pandoc.Writers.HTML: Use plain `"` instead of `"` outside of
130+ attributes.
131+
132+ * Text.Pandoc.Writers.ICML: Consolidate adjacent strings, inc. spaces.
133+ This avoids splitting up the output unnecessarily into separate elements.
134+
135+ * Text.Pandoc.Writers.LaTeX: Don't emit `[<+->]` unless beamer output, even
136+ if `writerIncremental` is True (#5072).
137+
138+ * Text.Pandoc.Writers.Muse (Alexander Krotov).
139+
140+ + Output tables as grid tables if they have multi-line cells.
141+ + Indent simple tables only on the top level.
142+ + Output tables with one column as grid tables.
143+ + Add support for `--reference-location`.
144+ + Internal improvements.
145+
146+ * Text.Pandoc.Writers.OpenDocument: Fix list indentation (Nils Carlson,
147+ #5095). This was a regression in pandoc 2.4.
148+
149+ * Text.Pandoc.Writers.RTF: Fix warnings for skipped raw inlines.
150+
151+ * Text.Pandoc.Writers.Texinfo: Add blank line before `@menu` section (#5055).
152+
153+ * Text.Pandoc.XML: in `toHtml5Entities`, prefer shorter entities
154+ when there are several choices for a particular character.
155+
156+ * data/abbreviations
157+
158+ + Add additional abbreviations (Andrew Dunning)
159+ Many of these borrowed from the Chicago Manual of Style 10.42,
160+ 'Scholarly abbreviations'.
161+
162+ * Templates
163+
164+ + Asciidoc template: add :lang: to title header is lang is set in
165+ metadata (#5088).
166+
167+ * pandoc.cabal: Add cabal flag `derive_json_via_th` (Albert Krewinkel)
168+ Disabling the flag will cause derivation of ToJSON and FromJSON
169+ instances via GHC Generics instead of Template Haskell. The flag is
170+ enabled by default, as deriving via Generics can be slow (see #4083).
171+
172+ * trypandoc:
173+
174+ + Tweaked drop-down lists.
175+ + Put link to site in footer.
176+ + Preselect output format.
177+ + Update on change of in or out format.
178+ + Add man input format.
179+
180+ * MANUAL.txt:
181+
182+ + Fix outdated description of latex_macros extension.
183+ + Clarified placement of bibliography.
184+ + Added "A note on security."
185+ + Fix note on curly brace syntx for locators.
186+ + Document new explicit syntax for citeproc locators.
187+ + Remove confusing cross-links for some extensions.
188+ + Don't put pandoc in code ticks in heading.
189+ + Document that `--ascii` works for gfm and commonmark too.
190+ + Add `man` to `--from` options.
191+
192+ * doc/customizing-pandoc.md: various improvements (Mauro Bieg).
193+
194+
1195pandoc (2.4)
2196
3197 [new features]