From 99c15f8e851236d2429871d21aac08a137a48cda Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 20 Mar 2021 00:39:38 -0700 Subject: Bump to 2.13, update changelog --- changelog.md | 52 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 5 deletions(-) (limited to 'changelog.md') 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 -- cgit v1.2.3