aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog.md35
1 files changed, 31 insertions, 4 deletions
diff --git a/changelog.md b/changelog.md
index 93e7aa61c..3ce84a10e 100644
--- a/changelog.md
+++ b/changelog.md
@@ -2,6 +2,11 @@
## pandoc 2.8 PROVISIONAL (YYYY-MM-DD)
+ * Raise error on unsupported extensions (#4338).
+
+ * The `--list-extensions[=FORMAT]` option now lists only
+ extensions that affect the given FORMAT.
+
* Add `-L` option as shortcut for `--lua-filter`.
* Add `--shift-heading-level-by` option and deprecate
@@ -44,6 +49,7 @@
consistent indentation, but this isn't required by RST.
+ Use title, not admonition-title, for admonition title.
This puts RST reader into alignment with docbook reader.
+ + Don't strip final underscore from absolute URI (#5763).
* Org reader:
@@ -78,6 +84,10 @@
them as Divs with an appropriate class. We also handle titles
for admonitions as a nested Div with the "title" class.
+ * MediaWiki reader:
+
+ + Skip optional `{{table}}` template (#5757).
+
* Markdown writer:
+ Ensure proper nesting when we have long ordered list markers (#5705).
@@ -288,19 +298,29 @@
* Text.Pandoc.Extensions:
+ + Export new function `getAllExtensions`, which returns the
+ extensions that affect a given format (whether enabled by default
+ or not) [API change].
+ + Change type of `parseFormatSpec` from
+ `Either ParseError (String, Extensions -> Extensions)`
+ to `Either ParseError (String, [Extension], [Extension])`
+ [API change].
+ Add `Ext_gutenberg` constructor to `Extension` [API change].
+ Add `Ext_native_numbering` constructor to `Extension` [API change]
(Nils Carlson).
+ * Text.Pandoc.Readers, Text.Pandoc.Writers:
+
+ + Change type of `getReader` and `getWriter` so they return
+ a value in the PandocMonad instance rather than an Either
+ [API change]. Exceptions for unknown formats and unsupported
+ extensions are now raised by these functions.
+
* Text.Pandoc.App
+ Change `optMetadataFile` type from `Maybe FilePath` to `[FilePath]`
(Owen McGrath, #5702) [API change].
- * MediaWiki reader:
-
- + Skip optional `{{table}}` template (#5757).
-
* Text.Pandoc.Logging:
+ Add `CouldNotDeduceFormat` constructor to `LogMessage` [API change].
@@ -358,6 +378,9 @@
* Text.Pandoc.Error:
+ + Add constructors `PandocUnknownReaderError`,
+ `PandocUnknownWriterError`, `PandocUnsupportedExtensionError`.
+ [API change].
+ Better message for `PandocShouldNeverHappenError`.
+ Better message for `PandocTemplateError`.
@@ -531,6 +554,10 @@
* Fix redundant constraint compiler warnings (Pete Ryland, #5625).
+ * Use throwError instead of fail when appropriate.
+
+ * Use Prelude.fail to avoid ambiguity with fail from GHC.Base.
+
* Add `diff-zip.sh` to tools (John MacFarlane, Agustín Martín Barbero).
This is intended to make it easier to test differences in zip
containers, like epub, docx, or odt.