You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bump Fedify to a release that fixes fedify-dev/fedify#1394 #178
A saved activity whose @context redefines a term protected by the context of Fedify's collection pages, such as proof, can be fetched on its own, but it makes the outbox page that embeds it invalid JSON-LD. The page answers 200 OK, yet OrderedCollectionPage.fromJsonLd() fails with protected term redefinition, so JSON-LD clients cannot read the other activities on that page either.
The cause is how Fedify composes the page's context with the embedded item's, tracked in fedify-dev/fedify#1394. It also occurs with ordinary Fedify vocabulary objects. fedify-dev/fedify#1356 does not fix this case.
Then fetch the actor's outbox page, /users/{actor}/outbox?cursor=, and parse the response with OrderedCollectionPage.fromJsonLd().
The test “pages an activity whose context redefines a protected term as JSON-LD” in packages/federation/src/serving.test.ts does this. It is marked with the expectFailure option of node:test and passes while parsing fails with protected term redefinition.
The test above no longer has the expectFailure option or its FIXME comment, and passes. Once the dependency includes the fix, the test fails until the option is removed, so the bump cannot leave it behind.
Both happen before DrFed 0.2.0 is released.
Drafted with assistance from Claude Code (claude-opus-5-5) and the user verified.
Activity
Parse outbox pages in a test for fedify#1394