Releases: fedify-dev/fedify
Fedify 0.14.2
Fedify 0.13.3
Fedify 0.14.1
Released on August 29, 2024.
-
Fixed
fedify inboxcommand that had not been able to parse activities even if they are valid JSON-LD. [#126] -
Fixed a bug where the Compact Activity tab of
fedify inboxcommand's web interface had shown an expanded JSON-LD object instead of a compacted one.
Fedify 0.13.2
Released on August 29, 2024.
- Fixed
fedify inboxcommand that had not been able to parse activities even if they are valid JSON-LD. [#126]
Fedify 0.14.0
Released on August 27, 2024.
-
Removed the limitation that the
sendActivity({ handle: string }, "followers", Activity)overload is only available forRequestContextbut not forContext. Now it is available for both. [#115]- Added
Context.sendActivity({ handle: string }, "followers", Activity)overload. - Added type parameter
TContexttoCollectionsDispatchertype's first parameter to distinguish betweenRequestContextandContext. - The first parameter of
CollectionDispatchertype becameTContext(wasRequestContext). - Added type parameter
TContexttoCollectionsCursortype's first parameter to distinguish betweenRequestContextandContext. - The first parameter of
CollectionCursortype becameTContext(wasRequestContext). - Added type parameter
TContexttoCollectionsCallbackSetterstype's first parameter to distinguish betweenRequestContextandContext.
- Added
-
Added
sourceproperty toObjectclass in Activity Vocabulary API. [#114]- Added
Object.sourceproperty. new Object()constructor now acceptssourceoption.Object.clone()method now acceptssourceoption.
- Added
-
Added
Sourceclass to Activity Vocabulary API. [#114] -
Added
aliasesproperty toActortype in Activity Vocabulary API.- Added
Application.getAliases()method. - Added
Application.getAlias()method. new Application()constructor now acceptsaliasoption.new Application()constructor now acceptsaliasesoption.Application.clone()method now acceptsaliasoption.Application.clone()method now acceptsaliasesoption.- Added
Group.getAliases()method. - Added
Group.getAlias()method. new Group()constructor now acceptsaliasoption.new Group()constructor now acceptsaliasesoption.Group.clone()method now acceptsaliasoption.Group.clone()method now acceptsaliasesoption.- Added
Organization.getAliases()method. - Added
Organization.getAlias()method. new Organization()constructor now acceptsaliasoption.new Organization()constructor now acceptsaliasesoption.Organization.clone()method now acceptsaliasoption.Organization.clone()method now acceptsaliasesoption.- Added
Person.getAliases()method. - Added
Person.getAlias()method. new Person()constructor now acceptsaliasoption.new Person()constructor now acceptsaliasesoption.Person.clone()method now acceptsaliasoption.Person.clone()method now acceptsaliasesoption.- Added
Service.getAliases()method. - Added
Service.getAlias()method. new Service()constructor now acceptsaliasoption.new Service()constructor now acceptsaliasesoption.Service.clone()method now acceptsaliasoption.Service.clone()method now acceptsaliasesoption.
- Added
-
Improved the performance of
Object.toJsonLd()method.Object.toJsonLd()method no longer guarantees that the returned JSON-LD object is compacted unless theformat: "compact"option is provided.- Added
formatoption toObject.toJsonLd()method. - Deprecated
expandoption ofObject.toJsonLd()method. Useformat: "expand"option instead. - The
contextoption ofObject.toJsonLd()method is now only applicable toformat: "compact". Otherwise, it throws aTypeError.
-
The
getActorHandle()function now supports cross-origin WebFinger resources. -
The
lookupWebFinger()andgetActorHandle()functions no more throw an error when they fail to reach the WebFinger resource. -
Collection dispatchers now set the
idproperty of theOrderedCollection/OrderedCollectionPageobjects that they return to the their canonical URI. -
Now
fedify initgenerates a default tsconfig.json file on Node.js and Bun, and fills the deno.json file with the defaultcompilerOptionson Deno.
Fedify 0.13.1
Released on August 18, 2024.
- Fixed a vulnerability where the
getActorHandle()function had trusted the hostname of WebFinger aliases that had not matched the hostname of the actor ID (URI).
Fedify 0.12.3
Released on August 18, 2024.
- Fixed a vulnerability where the
getActorHandle()function had trusted the hostname of WebFinger aliases that had not matched the hostname of the actor ID (URI).
Fedify 0.13.0
Released on August 7, 2024.
-
Added
closedproperty toQuestionclass in Activity Vocabulary API.- Added
Question.closedproperty. new Question()constructor now acceptsclosedoption.Question.clone()method now acceptsclosedoption.
- Added
-
Added
votersproperty toQuestionclass in Activity Vocabulary API.- Added
Question.votersproperty. new Question()constructor now acceptsvotersoption.Question.clone()method now acceptsvotersoption.
- Added
-
HTTP Signatures verficiation now can be optionally skipped for the sake of testing. [#110]
- The type of
CreateFederationOptions.signatureTimeWindowproperty becameTemporal.DurationLike | false(wasTemporal.DurationLike). - The type of
VerifyRequestOptions.timeWindowproperty becameTemporal.DurationLike | false(wasTemporal.DurationLike). - Added
CreateFederationOptions.skipSignatureVerificationproperty.
- The type of
-
Removed the singular actor key pair dispatcher APIs which were deprecated in version 0.10.0.
- Removed the last parameter of the
ActorDispatchercallback type. UseContext.getActorKeyPairs()method instead. - Removed
ActorKeyPairDispatchertype. UseActorKeyPairsDispatchertype instead. - Removed
ActorCallbackSetters.setKeyPairDispatcher()method. UseActorCallbackSetters.setKeyPairsDispatcher()method instead. - Removed
Context.getActorKey()method. UseContext.getActorKeyPairs()method instead.
- Removed the last parameter of the
-
The
Federationis no more a class, but an interface, which has been planned since version 0.10.0. [#69]new Federation()constructor is removed. UsecreateFederation()function instead.- Removed
Federation.sendActivity()method. UseContext.sendActivity()method instead. - Removed
Federationclass. - Added
Federationinterface. - Removed
FederationParametersinterface.
-
Added
fedify tunnelcommand to expose a local HTTP server to the public internet. -
A scaffold project generated by the
fedify initcommand has several changes:- Added support for Express framework.
- Added support for Nitro framework.
- Now a scaffold project uses a x-forwarded-fetch middleware to support
X-Forwarded-ProtoandX-Forwarded-Hostheaders. - Now a scaffold project has hot reloading by default.
- Now a scaffold project has logging configuration using the LogTape library.
-
Added more log messages using the LogTape library. Currently the below logger categories are used:
["fedify", "webfinger", "server"]
Fedify 0.12.2
Released on July 31, 2024.
- Fixed a bug where incoming activities had not been enqueued even if the
queueoption was provided to thecreateFederation()function.
Fedify 0.12.1
Released on July 27, 2024.
- Fixed a bug where
fedify init -w honohad generated scaffold files without Fedify integration. - Fixed a bug where
fedify init -r bun -w honohad generated scaffold files with a wrong port number (was 3000).