Fedify 0.6.0
Released on April 9, 2024.
-
DocumentLoaderis now propagated to the loaded remote objects from Activity Vocabulary objects. [#27]- Added
optionsparameter to Activity Vocabulary constructors. - Added
optionsparameter toclone()method of Activity Vocabulary objects. - The Activity Vocabulary object passed to
InboxListenernow implicitly loads remote object with an authenticatedDocumentLoader.
- Added
-
Added
Federation.fetch()method.- Deprecated
Federation.handle()method. UseFederation.fetch()method instead. - Renamed
FederationHandlerParameterstype toFederationFetchOptions. - Added
integrateFetchOptions()function. - Deprecated
integrateHandlerOptions()function.
- Deprecated
-
Added
@fedify/fedify/x/honomodule for integrating with Hono middleware. [#25]- Added
federation()function. - Added
ContextDataFactorytype.
- Added
-
Context.sendActivity()method now throwsTypeErrorinstead of silently failing when the givenActivityobject lacks the actor property. -
Context.sendActivity()method now uses an authenticated document loader under the hood. -
Added outbox error handler to
Federation.- Added
onOutboxErroroption tonew Federation()constructor. - Added
OutboxErrorHandlertype.
- Added