Skip to content

Conversation

sij411
Copy link
Contributor

@sij411 sij411 commented Aug 22, 2025

Summary

This pull request implements support for FEP-5711: inverse properties for collections that are important in ActivityPub.

Related Issue

Reference the related issue(s) by number, e.g.:

Changes

  • packages/fedify/src/runtime/contexts.ts:
    The JSON-LD context for FEP-5711 (https://w3id.org/fep/5711) was added. This context defines the eight new inverse properties, ensuring that the Fedify library can correctly parse and understand them when they appear in a Collection object.
  • packages/fedify/src/vocab/collection.yaml:
    The eight inverse properties (likesOf, sharesOf, repliesOf, inboxOf, outboxOf, followersOf, followingOf, and likedOf) were formally defined in the vocabulary. This step is crucial as it enables the Fedify library to properly validate and interact with these new properties.

Benefits

Improved Interoperability: By implementing FEP-5711, Fedify can now seamlessly interact with other Fediverse servers that use this standard, improving data consistency and network compatibility.

Checklist

  • Did you add a changelog entry to the CHANGES.md?
  • Did you write some relevant docs about this change (if it's a new feature)?
  • Did you write a regression test to reproduce the bug (if it's a bug fix)?
  • Did you write some tests for this change (if it's a new feature)?
  • Did you run deno task test-all on your machine?

@github-actions github-actions bot added activitypub/compliance Specification compliance component/federation Federation object related component/vocab Activity Vocabulary related priority/medium Medium priority issues type/feature Requests for new features labels Aug 22, 2025
@sij411 sij411 marked this pull request as ready for review August 22, 2025 13:24
Copy link
Contributor

The latest push to this pull request has been published to JSR and npm as a pre-release:

Package Version JSR npm
@fedify/fedify 1.9.0-pr.381.1398+39f95141 JSR npm
@fedify/cli 1.9.0-pr.381.1398+39f95141 JSR
@fedify/amqp 1.9.0-pr.381.1398+39f95141 JSR npm
@fedify/elysia 1.9.0-pr.381.1398+39f95141 npm
@fedify/express 1.9.0-pr.381.1398+39f95141 JSR npm
@fedify/h3 1.9.0-pr.381.1398+39f95141 JSR npm
@fedify/nestjs 1.9.0-pr.381.1398+39f95141 npm
@fedify/next 1.9.0-pr.381.1398+39f95141 npm
@fedify/postgres 1.9.0-pr.381.1398+39f95141 JSR npm
@fedify/redis 1.9.0-pr.381.1398+39f95141 JSR npm
@fedify/sqlite 1.9.0-pr.381.1398+39f95141 JSR npm
@fedify/testing 1.9.0-pr.381.1398+39f95141 JSR npm

Copy link
Contributor

The docs for this pull request have been published:

https://4a4e55a3.fedify.pages.dev

@dahlia dahlia merged commit e4ba4dc into fedify-dev:main Aug 22, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
activitypub/compliance Specification compliance component/federation Federation object related component/vocab Activity Vocabulary related priority/medium Medium priority issues type/feature Requests for new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add FEP-5711 inverse properties for collections to Vocabulary API
2 participants