All postprocessors are now run on heading content.
Footnote references are now stripped from heading content. Fixes #660.
A more robust striptags is provided to convert headings to plain text.
Unlike, the markupsafe implementation, HTML entities are not unescaped.
The plain text name, rich html, and unescaped raw data-toc-label are
saved to toc_tokens, allowing users to access the full rich text content of
the headings directly from toc_tokens.
The value of data-toc-label is sanitized separate from heading content
before being written to name. This fixes a bug which allowed markup through
in certain circumstances. To access the raw unsanitized data, retrieve the
value from token['data-toc-label'] directly.
An html.unescape call is made just prior to calling slugify so that
slugify only operates on Unicode characters. Note that html.unescape is
not run on name, html, or data-toc-label.
The functions get_name and stashedHTML2text defined in the toc extension
are both deprecated. Instead, third party extensions should use some
combination of the new functions run_postprocessors, render_inner_html and
striptags.
Fixed
Include scripts/*.py in the generated source tarballs (#1430).
Ensure lines after heading in loose list are properly detabbed (#1443).
Give smarty tree processor higher priority than toc (#1440).
Permit carets (^) and square brackets (]) but explicitly exclude
backslashes (\) from abbreviations (#1444).
In attribute lists (attr_list, fenced_code), quoted attribute values are
now allowed to contain curly braces (}) (#1414).
All postprocessors are now run on heading content.
Footnote references are now stripped from heading content. Fixes #660.
A more robust striptags is provided to convert headings to plain text.
Unlike, the markupsafe implementation, HTML entities are not unescaped.
The plain text name, rich html, and unescaped raw data-toc-label are
saved to toc_tokens, allowing users to access the full rich text content of
the headings directly from toc_tokens.
The value of data-toc-label is sanitized separate from heading content
before being written to name. This fixes a bug which allowed markup through
in certain circumstances. To access the raw unsanitized data, retrieve the
value from token['data-toc-label'] directly.
An html.unescape call is made just prior to calling slugify so that
slugify only operates on Unicode characters. Note that html.unescape is
not run on name, html, or data-toc-label.
The functions get_name and stashedHTML2text defined in the toc extension
are both deprecated. Instead, third party extensions should use some
combination of the new functions run_postprocessors, render_inner_html and
striptags.
Fixed
Include scripts/*.py in the generated source tarballs (#1430).
Ensure lines after heading in loose list are properly detabbed (#1443).
Give smarty tree processor higher priority than toc (#1440).
Permit carets (^) and square brackets (]) but explicitly exclude
backslashes (\) from abbreviations (#1444).
In attribute lists (attr_list, fenced_code), quoted attribute values are
now allowed to contain curly braces (}) (#1414).
Bumps the dependencies group in /.config with 9 updates:
0.41.3
0.42.1
3.6
3.7
3.5.2
3.6
9.5.13
9.5.17
0.24.1
0.24.3
1.8.0
1.9.2
10.2.0
10.3.0
2.16.1
2.18.1
2.21
2.22
Updates
griffe
from 0.41.3 to 0.42.1Release notes
Sourced from griffe's releases.
Changelog
Sourced from griffe's changelog.
Commits
01da648
chore: Prepare release 0.42.14d31eff
style: Formatc29585a
chore: Switch to Copier UV templatee1216aa
chore: Template upgrade2729c22
fix: Don't return class variables as parameters of dataclasses6835ea3
fix: Don't turn items annotated as InitVar into dataclass membersc88b484
chore: Prepare release 0.42.0a265a9d
docs: Rework sections in docstrings docscdc9e1c
refactor: Warn (debug) when a submodule shadows a member with the same name781437e
docs: Document best practicesUpdates
idna
from 3.6 to 3.7Release notes
Sourced from idna's releases.
Changelog
Sourced from idna's changelog.
Commits
1d365e1
Release v3.7c1b3154
Merge pull request #172 from kjd/optimize-contextj0394ec7
Merge branch 'master' into optimize-contextjcd58a23
Merge pull request #152 from elliotwutingfeng/dev5beb28b
More efficient resolution of joiner contexts1b12148
Update ossf/scorecard-action to v2.3.1d516b87
Update Github actions/checkout to v4c095c75
Merge branch 'master' into dev60a0a4c
Fix typo in GitHub Actions workflow key5918a0e
Merge branch 'master' into devUpdates
markdown
from 3.5.2 to 3.6Release notes
Sourced from markdown's releases.
Changelog
Sourced from markdown's changelog.
Commits
e524b8f
Bump version to 3.63d8afc6
Allow attr_list quoted values to contain curly braces9edba85
Refactor abbr escapinge4ab4a6
Refactor TOC sanitationa18765c
Explicitly omit carot and backslash from abbr421f1e8
Give smarty tree processor higher priority than tocc334a3e
Ensure lines after heading in loose list are properly detabbedea92856
Update the license template so GitHub can detect ita2effd6
Disable mkdocstrings show_symbol_type_toc option to work around searching iss...91f9a12
Restore Attribute symbol type in mkdocstrings templateUpdates
mkdocs-material
from 9.5.13 to 9.5.17Release notes
Sourced from mkdocs-material's releases.
Changelog
Sourced from mkdocs-material's changelog.
... (truncated)
Commits
570161a
Prepare 9.5.17 release78e93ac
Improved keyboard interactions for palette togglea3655e8
Updated Serbian translations1041766
Fixed time sneaking into default post format stringe741f80
Documentation7e13ae6
Fix typos7d6d8d7
Updated slugify documentatione71f00b
Fixed backporting of social plugin font loading logic8956524
Updated Insiders changelog0db4e66
Updated changelogUpdates
mkdocstrings
from 0.24.1 to 0.24.3Release notes
Sourced from mkdocstrings's releases.
Changelog
Sourced from mkdocstrings's changelog.
Commits
828bd59
chore: Prepare release 0.24.37fe3e5f
fix: Support HTML toc labels with Python-Markdown 3.6+ (uncomment code...)7b9827c
chore: Prepare release 0.24.217bfc87
chore: Use PEP 440 versioning scheme for changelog024ac41
ci: Ignore mypy warningc0d0090
fix: Support HTML toc labels with Python-Markdown 3.6+ccbbbf1
chore: Template upgrade56cf7d5
docs: List VBA handler9e1bf62
docs: Fix link to Griffe extensionf071d5d
chore: Switch to Copier UV templateUpdates
mkdocstrings-python
from 1.8.0 to 1.9.2Release notes
Sourced from mkdocstrings-python's releases.
Changelog
Sourced from mkdocstrings-python's changelog.
Commits
0a2e917
chore: Prepare release 1.9.20c1e2c1
deps: Remove cap on Python-Markdown 3.6 now that ToC labels are fixed by mkdo...d3b05ad
chore: Prepare release 1.9.1bd73497
fix: Don't try loading packages from relative paths3cf7055
docs: Fix link to Griffe extension in insiders pagef798a1e
refactor: Allow first name in a separate signature to be highlighted as a fun...d62daa7
docs: Document customization of syntax highlight in signatures1fc4cb5
docs: Use current color for autorefs external link icon7c8b885
refactor: Maintain original Pygments color for cross-refs in signaturese5ccb4f
ci: Fix CI workflowUpdates
pillow
from 10.2.0 to 10.3.0Release notes
Sourced from pillow's releases.
... (truncated)
Changelog
Sourced from pillow's changelog.
... (truncated)
Commits
5c89d88
10.3.0 version bump63cbfcf
Update CHANGES.rst [ci skip]2776126
Merge pull request #7928 from python-pillow/lcmsaeb51cb
Merge branch 'main' into lcms5beb0b6
Update CHANGES.rst [ci skip]cac6ffa
Merge pull request #7927 from python-pillow/imagemathf5eeeac
Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated evalfacf3af
Added release notes2a93aba
Use strncpy to avoid buffer overflowa670597
Update CHANGES.rst [ci skip]Updates
pipdeptree
from 2.16.1 to 2.18.1Release notes
Sourced from pipdeptree's releases.
Commits
6d4d4a7
Fix test_console failure finding pipdeptree in other environments (#351)bf5a865
Modify tests to ensure $PYTHONPATH is given to the custom interpreter (#353)25cbb6f
refactor the non_host part for not injecting to custom env (#346)268dee8
[pre-commit.ci] pre-commit autoupdate (#347)7a6e0ff
Handle invalid requirement strings when using importlib.metadata (#345)ff31dc4
Handle duplicated package metadata when using importlib.metadata (#342)91d21e3
replace pkg_resources with importlib.metadata and packaging (#333)edf33d9
[pre-commit.ci] pre-commit autoupdate (#338)e1d3da4
Use GitHub issue forms (#337)3e1a8ff
List pip as dependency (#336)Updates
pycparser
from 2.21 to 2.22Release notes
Sourced from pycparser's releases.
Looks like these dependencies are updatable in another way, so this is no longer needed.