Skip to content

Bump mkdocs-table-reader-plugin from 3.1.0 to 4.0.1 - #1255

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/mkdocs-table-reader-plugin-4.0.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/mkdocs-table-reader-plugin-4.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 21, 2026

Copy link
Copy Markdown
Contributor

Bumps mkdocs-table-reader-plugin from 3.1.0 to 4.0.1.

Release notes

Sourced from mkdocs-table-reader-plugin's releases.

table-reader v4.0.1

Bug fix release. See CHANGELOG.md.

Bug fixes

  • Two reader tags on the same line are now two tables. The tag pattern matched greedily, so it swallowed everything between the first and the last tag on a line, and then failed the build with SyntaxError: unmatched ')'.
  • An = inside an argument value no longer breaks parsing. {{ read_csv('a=b.csv') }}, sep='=' and na_values=['a=1'] all raised a SyntaxError before.
  • A comma inside a dict argument no longer breaks parsing, so dtype={'a': 'str', 'b': 'int'} works. Lists and tuples already worked.
  • convert_to_md_table() no longer escapes pipe characters in the DataFrame you pass in. When a mkdocs-macros-plugin user rendered the same DataFrame twice, the second table showed doubly escaped pipes.

Project maintenance

  • The documentation site now deploys on every push to master. It was deployed by hand, and had fallen behind the readers added in 4.0.0.
  • Coverage is uploaded to Codecov again. The upload step tested an environment variable that was never set, so it never ran.
  • enabled is included in schema.json, so editors stop flagging it as an unknown option.

Full Changelog: timvink/mkdocs-table-reader-plugin@v4.0.0...v4.0.1

table-reader v4.0.0

Breaking changes

  • Python 3.10 or newer is required. Support for Python 3.8 and 3.9 is dropped, and 3.13 and 3.14 are now tested.
  • pandas 2.1 or newer is required. convert_to_md_table() used to pick between .map() and .applymap() on a string comparison of pd.__version__. .applymap() was removed in pandas 3, so that branch is gone and the floor is now the pandas release that added pd.DataFrame.map().

New readers

Readers for every remaining file format that pandas can read, so the plugin now covers all of them (readers):

read_feather, read_parquet, read_orc, read_html, read_xml, read_hdf, read_sas, read_spss and read_stata, each also available as a pd_<reader> macro when mkdocs-macros-plugin is enabled. Some need an extra package installed, which the readers page lists per format.

Faster builds

Every reader used to run its own regex over every page, so each reader added made builds slower. All selected readers are now searched for in one pattern, and a page is scanned once no matter how many readers are selected. Scanning a 15KB page:

8 readers all 16 readers
v3, one regex per reader 1.28 ms 2.54 ms
v4, one regex 0.16 ms 0.15 ms

That is 8x faster with the readers v3 had, and 17x faster with all the readers v4 adds: about a second saved per 1000 pages. select_readers is no longer needed to keep builds fast.

Improvements

  • Multiline cells no longer break up a table. A cell containing a newline is rendered with <br> for single-line table formats like pipe and github, and left alone for formats that display multiline cells themselves, such as grid (#83).
  • read_yaml() and read_raw() accept an encoding argument, for files that are not UTF-8. Thanks @​kirill237!

Internal

  • Test coverage is at 100%. select_readers, allow_missing_files, tag indentation and malformed tags all have tests now, and the read_hdf() and read_spss() tests actually run in CI instead of always skipping.

... (truncated)

Changelog

Sourced from mkdocs-table-reader-plugin's changelog.

4.0.1

Bug fixes:

  • Two reader tags on the same line are now two tables. The tag pattern matched greedily, so it swallowed everything between the first and the last tag on a line, and then failed to parse the result.
  • An = inside an argument value no longer breaks parsing. {{ read_csv('a=b.csv') }}, sep='=' and na_values=['a=1'] all raised a SyntaxError before.
  • A comma inside a dict argument no longer breaks parsing, so dtype={'a': 'str', 'b': 'int'} works. Lists and tuples already worked.
  • convert_to_md_table() no longer escapes pipe characters in the DataFrame you pass in. When a mkdocs-macros-plugin user rendered the same DataFrame twice, the second table showed doubly escaped pipes.

Project maintenance:

  • The documentation site now deploys on every push to master. It was deployed by hand, and had fallen behind the readers added in 4.0.0.
  • Coverage is uploaded to Codecov again. The upload step tested an environment variable that was never set, so it never ran.
  • enabled is included in schema.json, so editors stop flagging it as an unknown option.
Commits
  • 7986e76 Merge pull request #92 from timvink/fix_tag_parsing_and_maintenance
  • d39b90d Fix tag parsing bugs, and bring the project setup up to date
  • b819a11 Merge pull request #91 from timvink/add_missing_tests
  • cc3be85 Bump version to 4.0.0
  • 3256c64 Require pandas 2.1, and drop the applymap() fallback
  • 7933aa5 Actually run the read_hdf() and read_spss() tests
  • c7aa471 Remove the unused cd context manager
  • 958a35d Cover select_readers, allow_missing_files and indentation
  • 745de7e Add lxml to uv.lock, and drop its python version marker
  • 8aad4ac Merge pull request #89 from timvink/42_more_pandas_readers
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mkdocs-table-reader-plugin](https://github.com/timvink/mkdocs-table-reader-plugin) from 3.1.0 to 4.0.1.
- [Release notes](https://github.com/timvink/mkdocs-table-reader-plugin/releases)
- [Changelog](https://github.com/timvink/mkdocs-table-reader-plugin/blob/master/CHANGELOG.md)
- [Commits](timvink/mkdocs-table-reader-plugin@v3.1.0...v4.0.1)

---
updated-dependencies:
- dependency-name: mkdocs-table-reader-plugin
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Sep 21, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Sep 21, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants