Bump to 2.13, update changelog

This commit is contained in:
John MacFarlane 2021-03-20 00:39:38 -07:00
parent a1a57bce4e
commit 99c15f8e85
2 changed files with 48 additions and 6 deletions

View file

@ -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

View file

@ -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