Fedify 0.3.0
Released on March 15, 2024.
-
Added utility functions for responding with an ActivityPub object:
- Added
respondWithObject()function. - Added
respondWithObjectIfAcceptable()function. - Added
RespondWithObjectOptionsinterface.
- Added
-
Added utility functions for generating and exporting cryptographic keys which are compatible with popular ActivityPub software:
- Added
generateCryptoKeyPair()function. - Added
exportJwk()function. - Added
importJwk()function.
- Added
-
The following functions and methods now throw
TypeErrorif the specifiedCryptoKeyis notextractable:Context.getActorKey()methodContext.sendActivity()methodFederation.sendActivity()method
-
Added
immediateoption toContext.sendActivity()andFederation.sendActivity()methods. -
Added
SendActivityOptionsinterface. -
Now
onNotFound/onNotAcceptableoptions are optional forFederation.handle()method. [#9]