Fedify 0.4.0
Released on March 26, 2024.
-
Added
@fedify/fedify/x/freshmodule for integrating with Fresh middleware.- Added
integrateHandler()function. - Added
integrateHandlerOptions()function.
- Added
-
Added
getActorHandle()function. -
Fedify now has authenticated document loader. [#12]
- Added
Context.getDocumentLoader()method. - Added
getAuthenticatedDocumentLoader()function. - Added
AuthenticatedDocumentLoaderFactorytype. - Added
authenticatedDocumentLoaderFactoryoption tonew Federation()constructor. Context.documentLoaderproperty now returns an authenticated document loader in personal inbox listeners. (Note that it's not affected in shared inbox listeners.)
- Added
-
Added singular accessors to
Object'siconandimageproperties.new Object()constructor now acceptsiconoption.new Object()constructor now acceptsimageoption.- Added
Object.getIcon()method. - Added
Object.getImage()method. Object.clone()method now acceptsiconoption.Object.clone()method now acceptsimageoption.
-
Object'siconandimageproperties no more acceptLinkobjects.new Object()constructor'siconsoption no more acceptsLinkobjects.new Object()constructor'simagesoption no more acceptsLinkobjects.Object.getIcons()method no more yieldsLinkobjects.Object.getImages()method no more yieldsLinkobjects.Object.clone()method'siconsoption no more acceptsLinkobjects.Object.clone()method'simagesoption no more acceptsLinkobjects.
-
Object'sattributedToproperty was renamed toattribution.new Object()constructor'sattributedTooption was renamed toattribution.new Object()constructor'sattributedTosoption was renamed toattributions.Object.getAttributedTo()method is renamed toObject.getAttribution().Object.getAttributedTos()method is renamed toObject.getAttributions().Object.clone()method'sattributedTooption is renamed toattribution.Object.clone()method'sattributedTosoption is renamed toattributions.
-
Object'sattributionproperty (wasattributedTo) now accepts onlyActorobjects.new Object()constructor'sattributionoption (wasattributedTo) now accepts only anActorobject.new Object()constructor'sattributionsoption (wasattributedTos) now accepts onlyActorobjects.Object.getAttribution()method (wasgetAttributedTo()) now returns only anActorobject.Object.getAttributions()method (wasgetAttributedTos()) now returns onlyActorobjects.Object.clone()method'sattributionoption (attributedTo) now accepts only anActorobject.Object.clone()method'sattributionsoption (attributedTos) now accepts onlyActorobjects.
-
Activity'sobjectproperty no more acceptsLinkobjects.new Activity()constructor'sobjectoption no more accepts aLinkobject.new Activity()constructor'sobjectsoption no more acceptsLinkobjects.Activity.getObject()method no more returns aLinkobject.Activity.getObjects()method no more returnsLinkobjects.Activity.clone()method'sobjectoption no more accepts aLinkobject.Activity.clone()method'sobjectsoption no more acceptsLinkobjects.
-
Activity'sactorproperty now accepts onlyActorobjects.new Activity()constructor'sactoroption now accepts only anActorobject.new Activity()constructor'sactorsoption now accepts onlyActorobjects.Activity.getActor()method now returns only anActorobject.Activity.getActors()method now returns onlyActorobjects.Activity.clone()method'sactoroption now accepts only anActorobject.Activity.clone()method'sactorsoption now accepts onlyActorobjects.
-
Added
sensitiveproperty toObjectclass.new Object()constructor now acceptssensitiveoption.- Added
Object.sensitiveattribute. Object.clone()method now acceptssensitiveoption.
-
Now
lookupWebFinger()follows redirections. -
The
http://webfinger.net/rel/profile-pagelinks in WebFinger responses now omittypeproperty.