Released on February 5, 2025.
-
Document loader and context loader are now configurable with a factory function for more flexibility.
- Deprecated
CreateFederationOptions.documentLoader
option. UseCreateFederationOptions.documentLoaderFactory
option instead. - Deprecated
CreateFederationOptions.contextLoader
option. UseCreateFederationOptions.contextLoaderFactory
option instead. - Added
DocumentLoaderFactory
type. - Added
DocumentLoaderFactoryOptions
interface. - Added the second parameter with
DocumentLoaderFactoryOptions
type toAuthenticatedDocumentLoaderFactory
type. GetAuthenticatedDocumentLoaderOptions
interface became to extendDocumentLoaderFactoryOptions
interface.- Added a type parameter
TContextData
toCreateFederationOptions
interface. - Fedify now assigns a random-generated http:/https: URI to activities if these do not have explicit
id
properties. This behavior can be disabled by excludingautoIdAssigner()
from theCreateFederationOptions.activityTransformers
option.
- Deprecated
-
Introduced
ActivityTransformer
s for adjusting outgoing activities before sending them so that some ActivityPub implementations with quirks are satisfied.- Added
@fedify/fedify/compat
module. - Added
ActivityTransformer
type. - Added
autoIdAssigner()
function. - Added
actorDehydrator()
function. - Added
defaultActivityTransformers
constant. - Added
CreateFederationOptions.activityTransformers
option.
- Added
-
The
suppressError
option of Activity Vocabulary APIs,traverseCollection()
function, andContext.traverseCollection()
method now suppresses errors occurred JSON-LD processing. -
WebFinger responses are now customizable. [#3]
- Added
ActorCallbackSetters.mapAlias()
method. - Added
ActorAliasMapper
type.
- Added
-
Added
Context.getNodeInfo()
method. [#203] -
Added
shares
property toObject
class in Activity Vocabulary API.- Added
Object.sharesId
property. - Added
Object.getShares()
method. new Object()
constructor now acceptsshares
option.Object.clone()
method now acceptsshares
option.
- Added
-
Added
likes
property toObject
class in Activity Vocabulary API.- Added
Object.likesId
property. - Added
Object.getLikes()
method. new Object()
constructor now acceptslikes
option.Object.clone()
method now acceptslikes
option.
- Added
-
Added
emojiReactions
property toObject
class in Activity Vocabulary API.- Added
Object.emojiReactionsId
property - Added
Object.getEmojiReactions()
method. new Object()
constructor now acceptsemojiReactions
option.Object.clone()
method now acceptsemojiReactions
option.
- Added
-
Added
allowPrivateAddress
option toLookupWebFingerOptions
interface. -
Added more log messages using the LogTape library. Currently the below logger categories are used:
["fedify", "compat", "transformers"]
-
Added
-t
/--traverse
option to thefedify lookup
subcommand. [#195] -
Added
-S
/--suppress-errors
option to thefedify lookup
subcommand. [#195]