diff --git a/CHANGELOG.md b/CHANGELOG.md index 127f5295..66bb2047 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [1.16.2](https://github.com/mkdocstrings/python/releases/tag/1.16.2) - 2025-02-24 + +[Compare with 1.16.1](https://github.com/mkdocstrings/python/compare/1.16.1...1.16.2) + +### Build + +- Depend on mkdocs-autorefs >= 1.4 and mkdocstrings >= 0.28.2 ([ea1ab49](https://github.com/mkdocstrings/python/commit/ea1ab498be836c94eb695ace05c41357b12f2c95) by Timothée Mazzucotelli). + ## [1.16.1](https://github.com/mkdocstrings/python/releases/tag/1.16.1) - 2025-02-18 [Compare with 1.16.0](https://github.com/mkdocstrings/python/compare/1.16.0...1.16.1) diff --git a/pyproject.toml b/pyproject.toml index b4a453e4..e69145f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,8 +30,8 @@ classifiers = [ "Typing :: Typed", ] dependencies = [ - "mkdocstrings>=0.28", - "mkdocs-autorefs>=1.2", + "mkdocstrings>=0.28.2", + "mkdocs-autorefs>=1.4", "griffe>=0.49", "typing-extensions>=4.0; python_version < '3.11'", ] diff --git a/src/mkdocstrings_handlers/python/rendering.py b/src/mkdocstrings_handlers/python/rendering.py index b5c893c0..d284567a 100644 --- a/src/mkdocstrings_handlers/python/rendering.py +++ b/src/mkdocstrings_handlers/python/rendering.py @@ -28,7 +28,7 @@ ) from jinja2 import TemplateNotFound, pass_context, pass_environment from markupsafe import Markup -from mkdocs_autorefs.references import AutorefsHookInterface +from mkdocs_autorefs import AutorefsHookInterface from mkdocstrings.loggers import get_logger if TYPE_CHECKING: