Skip to content

Latest commit

 

History

History
49 lines (47 loc) · 3.87 KB

CHANGELOG.md

File metadata and controls

49 lines (47 loc) · 3.87 KB

Revision history for Pantable

  • v0.15.0: Support pandoc 3 and numpy 2
    • allow numpy 2 (numpy>=1.16,<3)
    • test against pandoc 3.12 and panflute 2.3: the reference outputs are regenerated, as pandoc 3's markdown writer formats lists and grid tables differently
    • fix option type checking on Python 3.14, where typing.Union is a class
    • tests use pytest-xdist instead of the unmaintained pytest-parallel
    • test matrix: Python 3.10–3.14, pandoc 3.7.0.2–3.12, numpy 1.26 and 2; the reference outputs need pandoc 3.7.0.2 or later
    • requires Python 3.10 or later, and panflute 2.3 (panflute>=2.3.1,<2.4)
    • fix table-width: columns without a width are sized by their content, rather than all equally
    • fix pantable2csvx on a table without a body, and on a table with some column widths default
    • packaging: PEP 621 metadata built with uv instead of Poetry; the version is single-sourced from pyproject.toml
    • development with pixi, which provides pandoc from conda-forge, replacing tox, the makefile and environment.yml
    • releases are published to PyPI by GitHub Actions with trusted publishing
    • the tests run the filters as pandoc runs them, on the files in tests/golden/; only tests/test_library.py uses the Python API
    • documentation: README.md is the single source of the README; the site is built with Quarto, with an example per topic, and replaces the Sphinx site; it is served on GitHub Pages
  • v0.14.2: Support pandoc 2.15–16
    • improve test matrix in GitHub Actions
    • update dependency constraints
  • v0.14.1: identical to v0.14.2
  • v0.14.0: Support pandoc 2.14
    • close #61
    • requires panflute >= 2.1
    • add environment.yml for an example conda environment running pantable
    • remove pantable.util.PandocVersion as it is merged upstream in panflute.tools.PandocVersion.
  • v0.13.6: Fix #57; update dependencies.
  • v0.13.5: Fix a division error when all widths are zero.
  • v0.13.4: Fix converting from native table that contains footnotes. See #58.
  • v0.13.3: packaging change only: allow Python4
  • v0.13.2: packaging change only: specified required versions for all dependencies including extras
  • v0.13.1: util.py: fix iter_convert_texts_markdown_to_panflute
  • v0.13:added pandoc 2.11.0.4+ & panflute 2+ support
    • pandoc 2.10 introduces a new table AST. This version provides complete support of all features supported in the pandoc AST. Hence, older pandoc versions are no longer supported. Install pantable=0.12.4 if you need to use pandoc<2.10.
    • deprecated pipe_tables, grid_tables, raw_markdown options in pantable, which were introduced in v0.12. pantable v0.13 has a much better way to process markdown cells that these are no longer needed.
    • slight changes on markdown output which should be functionally identical. Both changes in pandoc and pantable cause this. See commit eadc6fb.
    • add short-caption, alignment-cells, fancy_table, format, ms, ns_head. See docs for details.
  • v0.12.4: Require panflute<2 explicitly
    • panflute 2 is released to support pandoc API 1.22. This release ensures that version control is correct when people specify pantable==0.12 in the future.
  • v0.12.3: Fixes test and CI; update on supported Python versions
    • migrate from Travis CI to GitHub Actions
    • supported Python versions are now 3.5-3.8, pypy3
    • minor update in README
  • v0.12.2: Add grid_tables
  • v0.12.1: add include-encoding, csv-kwargs
    • closes #36, #38. See doc for details on this new keys.
  • v0.12: Drop Python 2 support; enhance CSV with markdown performance
    • Dropping Python2 support, existing Python 2 users should be fine with pip>=9.0. See https://python3statement.org/practicalities/.

    • add pipe_tables, raw_markdown options. See README for details. This for example will speed up CSV with markdown cells a lot (trading correctness for speed though.)