Fedify 0.15.0
Released on September 11, 2024.
-
Actors, collections, and objects now can have their URIs that do not consist of a WebFinger username, which means actors can change their fediverse handles.
- Added
ActorCallbackSetters.mapHandle()method. - Added
ActorHandleMappertype.
- Added
-
Added
quoteUrlproperty toArticle,ChatMessage,Note, andQuestionclasses in Activity Vocabulary API.- Added
Article.quoteUrlproperty. new Article()constructor now acceptsquoteUrloption.Article.clone()method now acceptsquoteUrloption.- Added
ChatMessage.quoteUrlproperty. new ChatMessage()constructor now acceptsquoteUrloption.ChatMessage.clone()method now acceptsquoteUrloption.- Added
Note.quoteUrlproperty. new Note()constructor now acceptsquoteUrloption.Note.clone()method now acceptsquoteUrloption.- Added
Question.quoteUrlproperty. new Question()constructor now acceptsquoteUrloption.Question.clone()method now acceptsquoteUrloption.
- Added
-
The element type of the liked collection is now
ObjectorURLinstead ofLike.- Changed the type of
Federation.setLikedDispatcher()method's second parameter toCollectionDispatcher<Object | URL, RequestContext<TContextData>, TContextData, void>(wasCollectionDispatcher<Like, RequestContext<TContextData>, TContextData, void>).
- Changed the type of
-
Removed
expandoption ofObject.toJsonLd()method, which was deprecated in version 0.14.0. Useformat: "expand"option instead. -
Added
Context.lookupObject()method. -
Default document loaders now recognize ActivityStream objects in more ways:
- Loaders now recognize
alternateActivityStreams objects in theLinkheader. - Loaders now recognize
alternateActivityStreams objects in the<link>/<a>HTML elements.
- Loaders now recognize
-
Added
allowPrivateAddressoption toCreateFederationOptionsinterface. -
Fixed a bug where the WebFinger response had had a
subjectproperty with an unmatched URI to the requested resource when a non-acct:URI was given. -
Renamed the short option
-cfor--compactoffedify lookupcommand to-Cto avoid conflict with the short option-cfor--cache-dir. -
Added
-r/--rawoption tofedify lookupcommand to output the raw JSON object.