# What changed in mkdocstrings-python

> 5 changes in mkdocstrings-python 2 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/pypi/mkdocstrings-python/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## mkdocstrings-python 2

### Performance

- Getting aliases and formatting or highlighting signatures is slightly faster. (2.0.9) — [release notes](https://github.com/mkdocstrings/python/releases/tag/2.0.9)
- The existence test for locale templates is faster. (2.0.8) — [release notes](https://github.com/mkdocstrings/python/releases/tag/2.0.8)

### Fixes and other changes

- Improves inventory object types, which were incorrectly called roles. (2.0.9) — [release notes](https://github.com/mkdocstrings/python/releases/tag/2.0.9)
- Relative cross-references are expanded against the object the docstring was written on. (2.0.9) — [release notes](https://github.com/mkdocstrings/python/releases/tag/2.0.9)
- Environment paths are no longer rendered in source block labels. (2.0.7) — [release notes](https://github.com/mkdocstrings/python/releases/tag/2.0.7)
