## 3.10.0.20251106 (2025-11-06)

[Markdown] Update to 3.10.* ([#14978](https://github.com/python/typeshed/pull/14978))

## 3.9.0.20250906 (2025-09-06)

[Markdown] Update to 3.9.* ([#14676](https://github.com/python/typeshed/pull/14676))

## 3.8.0.20250809 (2025-08-09)

Mark stub-only private symbols as `@type_check_only` in third-party stubs ([#14545](https://github.com/python/typeshed/pull/14545))

## 3.8.0.20250708 (2025-07-08)

[Markdown] Add missing stubs ([#14285](https://github.com/python/typeshed/pull/14285))

## 3.8.0.20250415 (2025-04-15)

Annotate `markdown.util.get_installed_extensions` ([#13822](https://github.com/python/typeshed/pull/13822))

## 3.8.0.20250413 (2025-04-13)

[stubsabot] Bump Markdown to 3.8.* ([#13819](https://github.com/python/typeshed/pull/13819))

Release: https://pypi.org/pypi/Markdown/3.8
Homepage: https://Python-Markdown.github.io/
Repository: https://github.com/Python-Markdown/markdown
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/Markdown
Changelog: https://python-markdown.github.io/changelog/
Diff: https://github.com/Python-Markdown/markdown/compare/3.7...3.8

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 12 files included in typeshed's stubs have been modified or renamed.
 - Total lines of Python code added: 730.
 - Total lines of Python code deleted: 103.

If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>

## 3.7.0.20250322 (2025-03-22)

Clarify sequences for `markdown` stubs ([#13686](https://github.com/python/typeshed/pull/13686))

## 3.7.0.20241204 (2024-12-04)

Use _ReadableStream from codecs ([#13167](https://github.com/python/typeshed/pull/13167))

## 3.7.0.20240822 (2024-08-22)

Bump Markdown to 3.7.* ([#12565](https://github.com/python/typeshed/pull/12565))

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

## 3.6.0.20240316 (2024-03-16)

[Markdown] Bump to 3.6.* ([#11607](https://github.com/python/typeshed/pull/11607))

## 3.5.0.20240311 (2024-03-11)

Use PEP 570 syntax in third party stubs ([#11554](https://github.com/python/typeshed/pull/11554))

## 3.5.0.20240129 (2024-01-29)

markdown: Restore wrongly deleted DoubleTagPattern ([#11335](https://github.com/python/typeshed/pull/11335))

## 3.5.0.20240106 (2024-01-06)

Update typing_extensions imports in third-party stubs ([#11245](https://github.com/python/typeshed/pull/11245))

## 3.5.0.3 (2023-11-16)

Various improvements to `Markdown` stubs ([#10972](https://github.com/python/typeshed/pull/10972))

## 3.5.0.2 (2023-11-15)

markdown: Accept legacy `Pattern` in `inlinePatterns` registry ([#11027](https://github.com/python/typeshed/pull/11027))

Signed-off-by: Anders Kaseorg <andersk@mit.edu>

## 3.5.0.1 (2023-11-03)

Various improvements to `Markdown` stubs ([#10963](https://github.com/python/typeshed/pull/10963))

## 3.5.0.0 (2023-10-07)

[stubsabot] Bump Markdown to 3.5.* ([#10851](https://github.com/python/typeshed/pull/10851))

Release: https://pypi.org/pypi/Markdown/3.5
Homepage: https://Python-Markdown.github.io/
Repository: https://github.com/Python-Markdown/markdown
Changelog: https://github.com/Python-Markdown/markdown/blob/master/docs/change_log/index.md
Diff: https://github.com/Python-Markdown/markdown/compare/3.4.4...3.5

Stubsabot analysis of the diff between the two releases:
 - 2 public Python files have been added: `scripts/gen_ref_nav.py`, `scripts/griffe_extensions.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 30 files included in typeshed's stubs have been modified or renamed.
 - Total lines of Python code added: 1958.
 - Total lines of Python code deleted: 1067.

## 3.4.2.10 (2023-07-20)

Add an upstream_repository field to METADATA.toml ([#10487](https://github.com/python/typeshed/pull/10487))

Closes: #10478

## 3.4.2.9 (2023-05-10)

Add `partial_stub` metadata field ([#10157](https://github.com/python/typeshed/pull/10157))

## 3.4.2.8 (2023-05-03)

Add Markdown.ESCAPED_CHARS to Markdown stubs ([#10134](https://github.com/python/typeshed/pull/10134))

## 3.4.2.7 (2023-04-04)

Various improvements to `Markdown` stubs ([#10008](https://github.com/python/typeshed/pull/10008))

## 3.4.2.6 (2023-03-27)

Add defaults for third-party stubs M-O ([#9956](https://github.com/python/typeshed/pull/9956))

## 3.4.2.5 (2023-02-21)

Stubtest settings: change `ignore_missing_stub` default to `false` ([#9779](https://github.com/python/typeshed/pull/9779))

If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.

## 3.4.2.4 (2023-02-15)

Use `typing_extensions.Self` instead of `_typeshed.Self` ([#9702](https://github.com/python/typeshed/pull/9702))

## 3.4.2.3 (2023-02-09)

Add markdown.treeprocessors.UnescapeTreeprocessor ([#9671](https://github.com/python/typeshed/pull/9671))

This replaced the deprecated
`markdown.postprocessors.UnescapePostprocessor` in
https://github.com/Python-Markdown/markdown/pull/1272.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>

## 3.4.2.2 (2023-01-18)

Replace `Any` with `Incomplete` in many places ([#9558](https://github.com/python/typeshed/pull/9558))

## 3.4.2.1 (2022-10-06)

markdown: Specify md type ([#8857](https://github.com/python/typeshed/pull/8857))

Signed-off-by: Anders Kaseorg <andersk@mit.edu>

## 3.4.2 (2022-09-18)

Add markdown.util.nearing_recursion_limit ([#8764](https://github.com/python/typeshed/pull/8764))

## 3.4.1 (2022-08-21)

`Markdown`: `BlockProcessor.detab` returns a pair of strings ([#8586](https://github.com/python/typeshed/pull/8586))

## 3.4.0 (2022-07-18)

[stubsabot] Bump Markdown to 3.4.* ([#8309](https://github.com/python/typeshed/pull/8309))

## 3.3.31 (2022-07-16)

`markdown`: remove deleted methods of `Registry`. ([#8197](https://github.com/python/typeshed/pull/8197))

## 3.3.30 (2022-07-12)

Import `Match` and `Pattern` from `re`, not `typing` ([#8277](https://github.com/python/typeshed/pull/8277))

## 3.3.29 (2022-06-26)

Markdown: Fix BlockProcessor method return types ([#8166](https://github.com/python/typeshed/pull/8166))

Signed-off-by: Anders Kaseorg <andersk@mit.edu>

## 3.3.28 (2022-06-13)

`markdown`: annotate `HtmlStash`. ([#8067](https://github.com/python/typeshed/pull/8067))

## 3.3.27 (2022-06-01)

markdown: remove `INSTALLED_EXTENSIONS`. ([#8002](https://github.com/python/typeshed/pull/8002))

## 3.3.26 (2022-05-31)

markdown: add `Markdown.registeredExtensions` ([#7997](https://github.com/python/typeshed/pull/7997))

## 3.3.25 (2022-05-30)

markdown: annotate `Registry.__len__()`. ([#7986](https://github.com/python/typeshed/pull/7986))

## 3.3.24 (2022-05-28)

markdown: remove `__getattr__()` ([#7962](https://github.com/python/typeshed/pull/7962))

## 3.3.23 (2022-05-26)

markdown: annotate `__deprecated__` ([#7955](https://github.com/python/typeshed/pull/7955))

## 3.3.22 (2022-05-24)

markdown: Annotate methods of `Registry` ([#7926](https://github.com/python/typeshed/pull/7926))

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>

## 3.3.21 (2022-05-19)

markdown: Annotate `parseBoolValue()` ([#7875](https://github.com/python/typeshed/pull/7875))

## 3.3.20 (2022-05-18)

markdown: Annotate `code_escape()`. ([#7857](https://github.com/python/typeshed/pull/7857))

## 3.3.19 (2022-05-17)

Markdown: use I/O protocols ([#7851](https://github.com/python/typeshed/pull/7851))

## 3.3.18 (2022-05-17)

markdown: Annotate `Registry.get_index_for_name()` ([#7848](https://github.com/python/typeshed/pull/7848))

## 3.3.17 (2022-05-16)

markdown: `isBlockLevel()` returns a bool value. ([#7839](https://github.com/python/typeshed/pull/7839))

## 3.3.16 (2022-05-13)

markdown: `@deprecated` argument of `message` is a str. ([#7835](https://github.com/python/typeshed/pull/7835))

## 3.3.15 (2022-05-12)

markdown: PY37 is a bool ([#7831](https://github.com/python/typeshed/pull/7831))

## 3.3.14 (2022-04-27)

Add various missing generic arguments ([#7702](https://github.com/python/typeshed/pull/7702))

Co-authored-by: Akuli <akuviljanen17@gmail.com>

## 3.3.13 (2022-04-16)

Python 3 stubs: use `str` instead of `typing.Text` ([#7638](https://github.com/python/typeshed/pull/7638))

Third-party stubs: import from `collections.abc` where possible ([#7637](https://github.com/python/typeshed/pull/7637))

## 3.3.12 (2022-01-10)

Always use `_typeshed.Self`, where applicable ([#6880](https://github.com/python/typeshed/pull/6880))

* Always use `_typeshed.Self`, where applicable

* Revert changes to `google-cloud-ndb` (ambiguous)

* Remove empty line added by script

* Revert changes to `stubs/python-dateutil/dateutil/relativedelta.pyi`

* Manually add a few more that the script missed

* Improve `filelock` annotation

Source code here: https://github.com/tox-dev/py-filelock/blob/79ec7b2826e33b982fe83b057f359448b9d966ba/src/filelock/_api.py#L207

* Improve `opentracing/scope` annotation

Source code here: https://github.com/opentracing/opentracing-python/blob/3e1d357a348269ef54d67f761302fab93dbfc0f7/opentracing/scope.py#L71

* Improve `redis/client` stub

Source code here: https://github.com/redis/redis-py/blob/15f315a496c3267c8cbcc6d6d9c6005ea4d4a4d5/redis/client.py#L1217

* Improve `redis/lock` annotation

Source code here: https://github.com/redis/redis-py/blob/15f315a496c3267c8cbcc6d6d9c6005ea4d4a4d5/redis/lock.py#L155

* Improve `requests/models` annotation

Source code here: https://github.com/psf/requests/blob/d718e753834b84018014a23d663369ac27d1ab9c/requests/models.py#L653

## 3.3.10 (2021-12-28)

Use PEP 585 syntax wherever possible ([#6717](https://github.com/python/typeshed/pull/6717))

## 3.3.9 (2021-11-26)

Add mypy error codes to '# type: ignore' comments ([#6379](https://github.com/python/typeshed/pull/6379))

## 3.3.8 (2021-11-16)

Add hilite(shebang) argument and return type ([#6316](https://github.com/python/typeshed/pull/6316))

## 3.3.7 (2021-11-09)

Add markdown.blockprocessors.ReferenceProcessor ([#6270](https://github.com/python/typeshed/pull/6270))

## 3.3.6 (2021-10-15)

Use lowercase tuple where possible ([#6170](https://github.com/python/typeshed/pull/6170))

## 3.3.5 (2021-10-12)

Add star to all non-0.1 versions ([#6146](https://github.com/python/typeshed/pull/6146))

## 3.3.4 (2021-10-05)

markdown: fix type of Pattern ([#6115](https://github.com/python/typeshed/pull/6115))

Surfaced weirdly by #6109

Co-authored-by: hauntsaninja <>

## 3.3.3 (2021-09-20)

Add types to Markdown ([#6045](https://github.com/python/typeshed/pull/6045))

Most methods and attributes were previously untyped or `Any`-typed.

Co-authored-by: PythonCoderAS <13932583+PythonCoderAS@users.noreply.github.com>
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>

