1.15.0 - 2025-11-10
Features
- Prefer stub over target object if not the same kind (196bcf4 by Kattni). Discussion-mkdocstrings-803, PR-422
- Parse keywords in class declarations (0709f0d by Timothée Mazzucotelli).
- Support unpacking typed dicts in signatures and docstrings (60cbb5f by Timothée Mazzucotelli). Issue-mkdocstrings-python-207, Issue-284
- Support checking packages from PyPI directly (e04a5cf by Timothée Mazzucotelli).
- Support expression modernization (4ae5d25 by Timothée Mazzucotelli).
- Support
autodocstring style (infer from docstring) (4d0a9ee by Timothée Mazzucotelli).
Bug Fixes
- Make type aliases available at runtime (9debb52 by sgt). Discussion-425, PR-426
- Fix loading namespace packages from JSON (3cccf27 by Bartosz Sławecki). Issue-407, PR-413
- Catch error when computing relative filepath for serialization (92a23d4 by Timothée Mazzucotelli).
- Defer creating module finder until first load (c52dd22 by Bartosz Sławecki). Issue-410, PR-411, Co-authored-by: Timothée Mazzucotelli [email protected]
- Always return a string or
NonefromObjectNode.module_path(06c2f2f by Frank David Martínez M). PR-419, Co-authored-by: Timothée Mazzucotelli [email protected] - Don't add parentheses around comprehension target (implicit) tuple (cbdb6a9 by Timothée Mazzucotelli). Issue-mkdocstrings-python-311
- Add missing space in dictionary comprehension (3a6dc36 by Nicolas IOOSS). Issue-mkdocstrings-python-311, PR-420
- Do not ignore stderr in case there is a problem in a git call. (#416) (9a5d014 by Muhammet Soytürk). Issue-415, PR-416
Code Refactoring
- Update code base for Python 3.10 (37aaf06 by Timothée Mazzucotelli).
- Improve handling of typed dicts (5bed1be by Timothée Mazzucotelli). Issue-284, Issue-mkdocstrings-python-207, PR-414
- Reuse private method to append search path to reduce code duplication (0a82cf5 by Timothée Mazzucotelli).
- Don't produce an empty text section when "parsing" an empty unstyled docstring (90bd71c by Timothée Mazzucotelli).
- Don't produce empty text section when parsing an empty Google-style docstring (1cbf2a3 by Timothée Mazzucotelli).
- Use plain ANSI codes, don't import them from Colorama (90978b4 by Timothée Mazzucotelli).