Fedify, an ActivityPub server framework, has released v0.12.0. It’s a minor release in about a month, so there’s quite a few changes:
- The
fedify
command can now also be installed with npm. It can be installed withnpm i -g @fedify/cli
in Node.js andbun i -g @fedify/cli
in Bun. - Added the
fedify init
command to help set up a new Fedify project. - Incoming activities are now also queued and inbox listeners are now processed in the background worker. If you were already queuing outgoing activities, this will just take effect with a simple upgrade to v0.12.0.
- Retry policy for failed tasks processed in the background worker is now customizable and defaults to backoff with decorrelated jitter.
- Added
ChatMessage
,Move
,Read
,Travel
,View
,TentativeAccept
, andTentativeReject
classes. (Thanks to Lee Dogeon!) - Improved multitenancy (virtual hosting) support: You can now easily determine the host of the current request via the
hostname
,host
, andorigin
properties of theContext
. - When validating HTTP Signatures and Object Integrity Proofs, once fetched public keys are now cached.
It’s available on JSR and npm now, and you can upgrade it using the deno add
command on Deno:
deno add @fedify/fedify@^0.12.0
Or using the bun add
command on Bun:
bun add @fedify/fedify@^0.12.0
Or using the npm add
command on Bun:
npm add @fedify/fedify@^0.12.0