fix: NodeInfo 2.0 schema compliance, bump 0.4.5
Some checks failed
CI / fmt (push) Successful in 42s
CI / test (push) Has been cancelled
CI / clippy (push) Has been cancelled

Remove invalid $schema, add required services/metadata fields.
Configurable via with_nodeinfo_services/with_nodeinfo_metadata.

Closes GKaszewski/movies-diary#2
This commit is contained in:
2026-07-16 09:44:05 +02:00
parent bb7db58848
commit 4d7117b123
6 changed files with 58 additions and 14 deletions

View File

@@ -1,5 +1,19 @@
# Changelog
## [0.4.5] — 2026-07-16
### Bug fixes
- Remove invalid `$schema` field from NodeInfo 2.0 response — the field is not allowed by the NodeInfo 2.0 schema (`additionalProperties: false`)
- Add missing required `services` and `metadata` fields to NodeInfo 2.0 response
### New features
- `FederationData::with_nodeinfo_services(inbound, outbound)` — configure NodeInfo `services.inbound`/`services.outbound`
- `FederationData::with_nodeinfo_metadata(value)` — set arbitrary NodeInfo `metadata`
---
## [0.4.4] — 2026-07-11
### Bug fixes