git.iko.soy/typeable/pandoc
on master help sign in
Update changelog.
commit0bc18f10401ae6d309683f7e983dc5788956088f authorJohn MacFarlane <jgm@berkeley.edu> dateFri 28 May 2021, 15:13 (5 years ago) parentb6b2331
1 file changed+72−7
changelog.md+72−7
changelog.md+72−7
@@ -12,6 +12,11 @@
1212 we couldn't resolve resource paths relative to the files containing them
1313 (see e.g. #5501, #6632, #6384, #3752).
1414
15+ * Add `rebase_relative_paths` extension (#3752). When enabled, this
16+ extension rewrites relative image and link paths by prepending
17+ the (relative) directory of the containing file. This
18+ extension can be enabled for all markdown and commonmark-based formats.
19+
1520 * Add Text.Pandoc.Sources (exported module), with a `Sources` type and a
1621 `ToSources` class. A `Sources` wraps a list of `(SourcePos, Text)` pairs
1722 [API change]. A parsec `Stream` instance is provided for `Sources`. The
@@ -70,12 +75,21 @@
7075
7176 * ODT reader: Treat tabs as spaces (#7185, niszet).
7277
73− * Docx reader: Add handling of vml image objects (#7257, mbrackeantidot).
78+ * Docx reader:
79+
80+ + Add handling of vml image objects (#7257, mbrackeantidot).
81+ + Support new table features (Emily Bourke, #6316): column
82+ spans, row spans, multiple header rows, table description
83+ (parsed as a simple caption), captions, column widths.
7484
7585 * LaTeX reader:
7686
7787 + Improved siunitx support (#6658, #6620).
7888 + Better support for `\xspace` (#7299).
89+ - Improve parsing of `\def` macros. We previously set "verbatim mode"
90+ even for parsing the initial `\def`; this caused problems
91+ for `\def` nested inside another `\def`.
92+ - Implement `\newif`.
7993
8094 * ConTeXt writer: improve ordered lists (#5016, Denis Maier).
8195 Change ordered list from itemize to enumerate. Add new
@@ -92,6 +106,8 @@
92106 this can lead to loss of information, the heading is now always
93107 retained. Use `--shift-heading-level-by=-1` to turn the `<h1>`
94108 into the document title, or a filter to restore the previous behavior.
109+ + Handle relative lengths (e.g. `2*`) in HTML column widths (#4063).
110+ See <https://www.w3.org/TR/html4/types.html#h-6.6>.
95111
96112 * DocBook/JATS readers:
97113
@@ -100,6 +116,15 @@
100116
101117 * DocBook reader: ensure that first and last names are separated (#6541).
102118
119+ * Jira reader (Albert Krewinkel, #7218):
120+
121+ + Support "smart" links: `[alias|https://example.com|smart-card]` syntax.
122+ + Allow spaces and most unicode characters in attachment links.
123+ + No longer require a newline character after `{noformat}`.
124+ + Only allow URI path segment characters in bare links.
125+ + The `file:` schema is no longer allowed in bare links; these
126+ rarely make sense.
127+
103128 * Plain writer: handle superscript unicode minus (#7276).
104129
105130 * LaTeX writer:
@@ -179,6 +204,9 @@
179204 rewritten by writing the offending characters as `Uxxxx`,
180205 where `xxxx` is the character's hex code.
181206
207+ * Jira writer: use `{color}` when span has a color attribute
208+ (Albert Krewinkel, tarleb/jira-wiki-markup#10).
209+
182210 * Docx writer:
183211
184212 + Autoset table width if no column has an explicit width (Albert
@@ -265,15 +293,36 @@
265293 * HTML-based slide shows: add support for `institute` (#7289, Thomas
266294 Hodgson).
267295
296+ * Text.Pandoc.Extensions: Add constructor `Ext_rebase_relative_paths` to
297+ `Extensions` [API change].
298+
268299 * Text.Pandoc.XML.Light: add Eq, Ord instances for Content,
269300 Element, Attr, CDataKind [API change].
270301
271− * Text.Pandoc.MediaBag: change type to use a Text key instead of
272− `[FilePath]`. We normalize the path and use `/` separators for
273− consistency.
302+ * Text.Pandoc.MediaBag:
303+
304+ + Change type to use a `Text` key instead of `[FilePath]`.
305+ We normalize the path and use `/` separators for consistency.
306+ + Export `MediaItem` type [API change].
307+ + Change `MediaBag` type to a map from Text to MediaItem [API change].
308+ + `lookupMedia` now returns a `MediaItem` [API change].
309+ + Change `insertMedia` so it sets the `mediaPath` to
310+ a filename based on the SHA1 hash of the contents.
311+ This will be used when contents are extracted.
274312
275− * Text.Pandoc.Class.PandocMonad: Use `fetchItem` instead of `downloadOrRead`
276− in `fetchMediaResource`.
313+ * Text.Pandoc.Class.PandocMonad:
314+
315+ + Remove `fetchMediaResource` [API change]. Use `fetchItem`
316+ to get resources in `fillMediaBag`.
317+ + Add informational message in `downloadOrRead` indicating what path
318+ local resources have been loaded from.
319+
320+ * Text.Pandoc.Logging:
321+
322+ + Remove single quotes around paths in messages.
323+ + Add LoadedResource constructor to LogMessage [API change].
324+ This is for INFO-level messages telling where image data has been
325+ loaded from. (This can vary because of the resource path.)
277326
278327 * Text.Pandoc.Asciify: simplify code and export `toAsciiText` [API change].
279328 Instead of encoding a giant (and incomplete) map, we now
@@ -301,6 +350,10 @@
301350 won't work when such Divs are used.
302351 + Use metadata's `lang` for the lang parameter of citeproc, overriding
303352 `localeLanguage`.
353+ + Recognize locators spelled with a capital letter (#7323).
354+ + Add a comma and a space in front of the suffix if it doesn't start
355+ with space or punctuation (#7324).
356+ + Don't detect math elements as locators (#7321).
304357
305358 * Remove Text.Pandoc.BCP47 module [API change].
306359 Use types and functions from UnicodeCollation.Lang instead.
@@ -322,16 +375,24 @@
322375
323376 * Add text as build-depend for trypandoc (#7193, Roman Beránek).
324377
378+ * Bump upper-bounds for network-uri, time, attoparsec.
379+
325380 * Use citeproc 0.4.
326381
327382 * Use texmath 0.12.3.
328383
329− * Allow attoparsec 0.14.x.
384+ * Use jira-wiki-markup 1.3.5 (Albert Krewinkel).
330385
331386 * Require latest skylighting (fixes a bug in XML syntax highlighting).
332387
333388 * Use latest xml-conduit.
334389
390+ * Use latest commonmark, commonmark-extensions, commonmark-pandoc.
391+
392+ * Use haddock-library-1.10.0 (Albert Krewinkel).
393+
394+ * Allow compilation with base 4.15 (Albert Krewinkel).
395+
335396 * MANUAL:
336397
337398 + Add information about `lang` and bibliography sorting.
@@ -339,6 +400,7 @@
339400 Albert Krewinkel).
340401 + Note that `institute` variable works for HTML-based slides.
341402 + Update documentation on citation syntax.
403+ + Add citation example for locators and suffixes (Tristan Stenner)
342404
343405 * Updated and fixed typos in documentation (Charanjit Singh,
344406 Anti-Distinctlyminty, Tatiana Porras, obcat).
@@ -351,6 +413,9 @@
351413 * Remove `biblatex-nussbaum.md` test. It is basically the same
352414 as `biblaetx-quotes.md`.
353415
416+ * Command tests: fail if a file contains no tests---and fix a
417+ test that failed in that way!
418+
354419
355420## pandoc 2.13 (2021-03-21)
356421