diff --git a/CHANGELOG.md b/CHANGELOG.md index 10ba040..bff1003 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,8 @@ * Entities with `raw_content` now also contain a `_media_type` and `rendered_content`. The default `_media_type` is `text/markdown` except for ActivityPub originating posts it defaults to `text/html`. If the ActivityPub payload contains a `source`, that mediaType will be used instead. + +* Host meta fetchers now support NodeInfo 2.1 ### Changed diff --git a/federation/hostmeta/fetchers.py b/federation/hostmeta/fetchers.py index 6137dd2..c86f5f9 100644 --- a/federation/hostmeta/fetchers.py +++ b/federation/hostmeta/fetchers.py @@ -8,7 +8,7 @@ from federation.hostmeta.parsers import ( parse_matrix_document, parse_misskey_document) from federation.utils.network import fetch_document -HIGHEST_SUPPORTED_NODEINFO_VERSION = 2.0 +HIGHEST_SUPPORTED_NODEINFO_VERSION = 2.1 def fetch_mastodon_document(host):