aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-03-20 00:39:38 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-03-20 00:39:38 -0700
commit99c15f8e851236d2429871d21aac08a137a48cda (patch)
tree11c827d00e3ebdb03471a753573c7ac7a56eb7b0
parenta1a57bce4e32cc26b968bcc2847a8e8da30f725b (diff)
downloadpandoc-99c15f8e851236d2429871d21aac08a137a48cda.tar.gz
Bump to 2.13, update changelog
-rw-r--r--changelog.md52
-rw-r--r--pandoc.cabal2
2 files changed, 48 insertions, 6 deletions
diff --git a/changelog.md b/changelog.md
index a9af2acfb..d3559c189 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,6 +1,11 @@
# Revision history for pandoc
-## pandoc 2.12.1 (PROVISIONAL)
+## pandoc 2.13 (PROVISIONAL)
+
+ * Fix fallback to default partials when custom templates are
+ used. If the directory containing a template does not
+ contain the partial, it should be sought in the default
+ templates, but this was not working properly (#7164).
* Handle `nocite` better with `--biblatex` and `--natbib` (#4585).
Previously the nocite metadata field was ignored with these formats.
@@ -11,6 +16,24 @@
that incorporates a prefix like `https://doi.org/` into a following link
when appropriate.
+ * Text.Pandoc.Shared:
+
+ + Remove `backslashEscapes`, `escapeStringUsing` [API
+ change]. Replace these inefficient association list
+ lookups with more efficient escaping functions in the
+ writers that used them (for a 10-25% performance boost
+ in org, haddock, rtf, texinfo writers).
+ + Remove `ToString`, `ToText` typeclasses [API change].
+ These were needed for the transition from String to Text,
+ but they are no longer used and may clash with other
+ things.
+ + Simplify `compactDL`.
+
+ * Text.Pandoc.Parsing: Change type of `readWithM` so that it
+ is no longer polymorphic. The `ToText` class has been
+ removed, and now that we've completed the transition to Text
+ we no longer need this to operate on Strings.
+
* Markdown reader: Fix regression with `tex_math_backslash` (#7155).
* MediaWiki reader: Allow block-level content in notes (ref) (#7145).
@@ -56,17 +79,20 @@
* reveal.js template: replace JS comment with HTML (#7154, Florian Kohrt).
- * Text.Pandoc.Shared: Simplify `compactDL`.
-
* Text.Pandoc.Logging: Add `DuplicateAttribute` constructor to `LogMessage`.
[API change]
* Use `-j4` for linux release build. This speeds up the build
dramatically on arm.
- * cabal.project: remove `-j`.
+ * cabal.project: remove ghcoptions. Move flags to top level, so
+ they can be set differently on the command line.
* Require latest texmath, skylighting, citeproc, jira-wiki-markup.
+ (The latest skylighting fixes a bad bug with Haskell syntax
+ highlighting.) Narrow version bounds for texmath,
+ skylighting, and citeproc, since the test output depend on
+ them.
* Use doclayout 0.3.0.2. This significantly reduces the time and memory
needed to compile pandoc.
@@ -75,7 +101,23 @@
* Update bounds for random (#7156, Alexey Kuleshevich).
- * Benchmark improvements.
+ * Remove uses of some partial functions.
+
+ * Don't bake in a larger stack size for the executable.
+
+ * Test improvements:
+
+ + Use `getExecutablePath` from base, avoiding the dependency
+ on `executable-path`.
+ + Factor out `setupEnvironment` in Helpers, to avoid code
+ duplication.
+ + Fix finding of data files by setting teh `pandoc_datadir`
+ environment variable when we shell out to pandoc. This
+ avoids the need to use `--data-dir` for the tests, which
+ caused problems finding `pandoc.lua` when compiling
+ without the `embed_data_files` flag (#7163).
+
+ * Benchmark improvements:
+ Build `+RTS -A8m -RTS` into default ghc-options for benchmark.
This is necessary to get accurate benchmark results; otherwise
diff --git a/pandoc.cabal b/pandoc.cabal
index b70c98e58..d5ebb2d6e 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: pandoc
-version: 2.12.1
+version: 2.13
build-type: Simple
license: GPL-2.0-or-later
license-file: COPYING.md