Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-04-17 | API change: use PandocError for exceptions in Lua subsystem | Albert Krewinkel | 1 | -4/+3 | |
The PandocError type is used throughout the Lua subsystem, all Lua functions throw an exception of this type if an error occurs. The `LuaException` type is removed and no longer exported from `Text.Pandoc.Lua`. In its place, a new constructor `PandocLuaError` is added to PandocError. | |||||
2019-05-29 | Lua Version type: shorten "version too old" message | Albert Krewinkel | 1 | -1/+1 | |
2019-05-29 | Lua: add Version type to simplify comparisons | Albert Krewinkel | 1 | -0/+112 | |
Version specifiers like `PANDOC_VERSION` and `PANDOC_API_VERSION` are turned into `Version` objects. The objects simplify version-appropriate comparisons while maintaining backward-compatibility. A function `pandoc.types.Version` is added as part of the newly introduced module `pandoc.types`, allowing users to create version objects in scripts. |