aboutsummaryrefslogtreecommitdiff
path: root/changelog.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-10-22 17:44:33 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-22 17:44:33 -0700
commit64d55d5a7dae93dd9ba8f68c8e9acee9837af023 (patch)
treed3122d229a5358a8bc5fc0605e753b49a735e7b4 /changelog.md
parent45054733fa3bd9c3ce349018854be61b91b5a804 (diff)
downloadpandoc-64d55d5a7dae93dd9ba8f68c8e9acee9837af023.tar.gz
Update changelog.
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md36
1 files changed, 33 insertions, 3 deletions
diff --git a/changelog.md b/changelog.md
index 2dcf75e3f..e1cc9800a 100644
--- a/changelog.md
+++ b/changelog.md
@@ -352,6 +352,34 @@
(PandocMonad m, MonadIO m) => Lua a -> m (Either PandocError a)
+ * Lua modules (Albert Krewinkel):
+
+ + Switch to hslua-2.0. The new HsLua version takes a somewhat different
+ approach to marshalling and unmarshalling, relying less on typeclasses
+ and more on specialized types. This allows for better performance and
+ improved error messages. Furthermore, new abstractions allow to
+ document the code and exposed functions.
+ + Marshal Version values, Inline elements, Attr elements,
+ and Pandoc elements as userdata.
+ + Remove deprecated inline constructors `DoubleQuoted`,
+ `SingleQuoted`, `DisplayMath`, and `InlineMath`.
+ + Attr values are no longer normalized when assigned to an Inline
+ element property.
+ + It's no longer possible to access parts of Inline elements via
+ numerical indexes. E.g., `pandoc.Span('test')[2]` used to give
+ `pandoc.Str 'test'`, but yields `nil` now. This was undocumented
+ behavior not intended to be used in user scripts. Use named properties
+ instead.
+ + Accessing `.c` to get a JSON-like tuple of all components no longer
+ works. This was undocumented behavior.
+ + Only known properties can be set on an element value. Trying to set a
+ different property will now raise an error.
+ + Adds a new `pandoc.AttributeList()` constructor, which creates the
+ associative attribute list that is used as the third component of
+ `Attr` values. Values of this type can often be passed to constructors
+ instead of `Attr` values.
+ + `AttributeList` values can no longer be indexed numerically.
+
* Text.Pandoc.PDF: Previously we had to run `runIOorExplode` inside
`withTempDir`. Now that PandocIO is an instance of MonadMask, this is
no longer necessary.
@@ -367,15 +395,17 @@
so we can run this with any instance of PandocMonad and MonadIO,
not just PandocIO.
+ * Use `simpleFigure` builder in readers and `SimpleFigure`
+ pattern synonym in writers (Aner Lucero).
+
* Allow time 1.12.
* Use skylighting-0.12, skylighting-core-0.12.
This fixes highlighting issues with typescript, scala, and other
syntaxes that include keyword lists from different syntaxes.
- * Use latest dev version of texmath.
-
- * Use dev version of citeproc.
+ * Use citeproc 0.6, commonmark 0.2.2.1, commonmark-extensions 0.2.2,
+ texmath 0.12.3.2.
* Require doclayout >= 0.3.1.1. This fixes recognition of "real widths"
of emoji characters, which is important for tabular layout.