Commit Graph
72 Commits
Author SHA1 Message Date
John MacFarlane f3e39c2643 Bump to 3.10.2, update changelog 2026-08-11 12:20:51 -07:00
John MacFarlane 5b83942a45 Bump to 3.10.1, update changelog.
Both pandoc and pandoc-cli.
2026-07-21 22:31:21 +02:00
John MacFarlane 33bc2c9f5f Bump pandoc, pandoc-cli to 3.10, update changelog 2026-06-03 16:34:44 +02:00
John MacFarlane f1e061478d Bump to 3.9.0.2, update changelog and man pages. 2026-03-19 09:40:27 +01:00
John MacFarlane 71bf72a037 Fix wasm build to use ram package instead of memory. 2026-03-18 10:57:30 +01:00
John MacFarlane cd0bd0bf31 Bump to 3.9.0.1, bump and sync pandoc-cli. 2026-03-17 16:12:32 +01:00
John MacFarlane d53fa0cffb pandoc-cli.cabal: bump base min bound to 4.18 (same as pandoc). 2026-02-25 10:29:46 +01:00
John MacFarlane e327b2e6ba Revert change to ghc-options in pandoc-cli.
An earlier change removed `-threaded`, which we need.
See #11488.
2026-02-25 10:19:06 +01:00
John MacFarlane 19c1f6552b pandoc-cli: rearrange build.
Hackage rejected the previous version, though it worked fine.
The problem was that with two pandoc.hs files in different
directories, one of them wasn't being included in the sdist tarball.

To work around this, put the WASM exported functions in a
library module that is conditionally imported.
2026-02-04 00:44:15 +01:00
John MacFarlane 65bbf70810 cabal files: remove wasm-specific stuff.
This is out of the pandoc-cli source directory, but it is
relevant only to pandoc-cli, not pandoc. In any case, it doesn't
help to have it in the tarball, because the build is only possible
with the provided cabal.project.
2026-02-03 10:24:55 +01:00
John MacFarlane 69e5727372 Bump pandoc-lua-engine to 0.5.1. 2026-02-02 17:21:02 +01:00
John MacFarlane 1638a8b1a5 Bump pandoc, pandoc-cli to 3.9. 2026-02-02 17:20:46 +01:00
John MacFarlane 38a10b6242 wasm query: implement more queries.
highlight-languages, highlight-styles, default-template.
2026-02-02 16:24:26 +01:00
John MacFarlane f91faefbeb wasm: change interface.
We now provide two functions: convert and query.
extensions_for_format has been dropped, as query can do the
work.

convert is what pandoc used to be.

query takes a JSON object describing the information needed,
and returns information. Currently only "extensions-for-format"
is implemented.

Also: the use of multiple main-is causes problems with cabal.
Instead, we use pandoc.hs as main throughout, but change the
hs-src-dir for wasm.
2026-02-02 11:58:18 +01:00
John MacFarlane 648999286d wasm: Rename wasm_main -> convert. 2026-02-02 09:12:14 +01:00
John MacFarlane 4b26f50118 Add support for compiling pandoc.wasm.
'make pandoc.wasm' will compile a wasm version of pandoc.

This also adds a 'repl' flag to pandoc-lua-engine, so that
support for a Lua repl can be disabled for the wasm build.

A new wasm directory contains:

- pandoc.js, a JavaScript wrapper for pandoc.wasm
- index.html + index.js, a web app exposing all of pandoc's
  functionality in a GUI interface
- a set of illustrative examples that can be loaded from the web app

Most of the code in index.html and index.js has been produced in
interaction with Claude code.
2026-02-01 14:50:50 +01:00
John MacFarlane a2c8aef1cb Bump to 3.8.3 (pandoc, pandoc-cli)> 2025-12-01 09:36:10 +01:00
John MacFarlane f7e0f5f5a5 Bump pandoc, pandoc-cli to 3.8.2.1 2025-10-20 10:18:22 +02:00
John MacFarlane 677b8d0bf4 Bump pandoc, pandoc-cli to 3.8.2, update changelog 2025-10-05 17:48:39 +02:00
John MacFarlane 6dc8f6f064 Bump version to 3.8.1 (also pandoc-cli). 2025-09-29 12:24:35 +02:00
John MacFarlane bdc55f6fe1 pandoc-server - bump to 0.1.1, change pandoc version bounds. 2025-09-06 11:05:33 +02:00
John MacFarlane 69709e1b1d Bump pandoc-lua-engine to 0.5. 2025-09-06 11:03:42 +02:00
John MacFarlane 7b0a14f101 Bump to 3.8, update changelog. 2025-09-06 10:55:03 +02:00
John MacFarlane 883c8725d5 Bump pandoc-lua-engine to 0.4.3. 2025-05-28 15:03:37 -07:00
John MacFarlane 66a6cf39d3 Bump to 3.7.0.2, also pandoc-cli. 2025-05-28 13:59:57 -07:00
John MacFarlane aa97bf94d2 Bump pandoc/pandoc-cli to 3.7.0.1, update changelog. 2025-05-16 20:50:02 -07:00
John MacFarlane 3238ce12f0 Bump pandoc-cli version and pin to pandoc 3.7 2025-05-14 14:32:56 -07:00
John MacFarlane 93e8027d32 Bump to 3.6.4 (also in pandoc-cli), update changelog. 2025-03-16 10:51:27 -07:00
John MacFarlane b8b859bb90 cabal files: use https: for repo url. 2025-02-09 12:19:24 -08:00
John MacFarlane 98eb05bb2c Bump pandoc and pandoc-cli to 3.6.3, update changelog.
Note: we don't have an API change, but we choose to increment the
third digit because of some significant behavior changes.
2025-02-09 12:13:26 -08:00
John MacFarlane d8fdf9d9bd Bump to 3.6.2 and update manual date 2025-01-12 10:56:03 -08:00
John MacFarlane 50ef91ab57 Bump pandoc-cli to 3.6.1 and depend on pandoc 3.6.1 2024-12-22 23:29:31 -08:00
John MacFarlane 809b7da7ca Bump pandoc-lua-engine to 0.4 and depend on it in pandoc-cli. 2024-12-07 12:32:19 -08:00
John MacFarlane 7f26c113b1 Bump pandoc-cli to 0.6, depend on pandoc 0.6. 2024-12-07 12:30:00 -08:00
John MacFarlane 39b2845c7f Bump version of pandoc and pandoc-cli to 3.5. 2024-10-05 12:41:54 -07:00
John MacFarlane 766ebd73fe Bump pandoc-cli to 3.4, depend on pandoc 3.4. 2024-09-09 22:13:15 -07:00
John MacFarlane 7200b2bbfc Bump pandoc-lua-engine version to 0.3.1, depend on it in pandoc-cli 2024-07-28 13:44:12 -07:00
John MacFarlane ab94daf416 Bump to 3.3, update changelog 2024-07-28 13:41:56 -07:00
John MacFarlane ea74c90aff Update pandoc-cli to 3.2.1, bump dependency versions 2024-06-24 12:30:15 -07:00
Albert Krewinkel 7db19d8cd4 Update more copyright dates to 2024. 2024-06-08 16:46:42 +02:00
John MacFarlane 13c8e7c9f0 pandoc-cli: constrain pandoc-server version. 2024-05-15 08:24:34 -07:00
John MacFarlane b419770850 Bump pandoc, pandoc-cli to 3.2, update changelog.
Also bump pandoc-lua-engine to 0.2.1.5 and allow pandoc 3.2.
2024-05-11 12:01:16 -07:00
John MacFarlane 409658d16d Bump to 3.1.13, update changelog and man page 2024-04-06 23:24:24 -07:00
John MacFarlane c08365ed5d Bump pandoc-cli version to 3.1.12.3, require pandoc 3.1.12.3. 2024-03-14 16:50:54 -07:00
John MacFarlane 75cb36ade8 Bump to 3.1.12.2 (also pandoc-cli), update changelog, manual date. 2024-02-29 20:33:12 -08:00
John MacFarlane 8d63ed4449 Bump to 3.1.12.1, update changelog and manuals. 2024-02-17 10:05:34 -08:00
John MacFarlane 32e26b1689 Bump pandoc-cli version to 3.1.12, depend on pandoc 3.1.12. 2024-02-14 09:08:19 -08:00
John MacFarlane 89a6fa9b00 Bump pandoc-cli to 3.1.11.1. 2024-01-05 13:41:29 -08:00
John MacFarlane c3038dcd54 Bump to 3.1.11, update changelog.
pandoc-cli version is updated in sync.
man pages regenerated.
2023-12-15 18:56:27 -08:00
John MacFarlane e9be7ea451 Bump pandoc/pandoc-cli to 3.1.10, update changelog. 2023-12-11 22:10:56 -08:00