Path to this page:
Subject: CVS commit: pkgsrc/devel/hs-pandoc-lua-marshal
From: Thomas Klausner
Date: 2025-01-10 11:12:25
Message id: 20250110101225.6E232FC1D@cvs.NetBSD.org
Log Message:
hs-pandoc-lua-marshal: update to 0.3.0.
## 0.3.0
Released 2024-12-07.
* Add method `normalize` to Pandoc objects.
This returns a normalized document by merging adjacent spaces in inlines
and by modifying tables.
* Push Captions as userdata, move code to separate module.
* Add tests for RawInline and its properties
* Allow treatment of custom elements as singleton lists.
* Remove `pandoc` prefix on table components (jgm/pandoc#8574).
## 0.2.9
Released 2024-10-01.
- Update list module, thereby introducing a new method `iter`;
the function returns an iterator that steps through list
values on each call.
- Added support for `__toinline` and `__toblock` metamethods. If
the metamethods are available on a Lua object and return an
appropriate value, then that returned value will be used
during unmarshalling.
## 0.2.8
Released 2024-09-21.
- Update list module, thereby introducing a new method `at` and
an extended constructor for List types.
## 0.2.7.1
Released 2024-07-02.
- Relaxed the upper bound of tasty-quickcheck, used in tests.
Now allows version 0.11.
- Update documentation on constructors; the descriptions now
match those in the pandoc docs.
## 0.2.7
Released 2024-05-06.
- Let the behavior of `content` attributes on BulletList and
OrderedList elements match that of the constructor by treating
a list of Block elements as a list of single-block items. The
following assertion now holds true:
``` lua
local content = {pandoc.Plain "one", pandoc.Plain "two"}
local bl = pandoc.BulletList{}
bl.content = content
assert(bl == pandoc.BulletList(content))
```
Files: