Fedify 0.5.0
Released on April 2, 2024.
-
Fedify is now available on npm: @fedify/fedify. [#24]
-
Abstract key-value store for caching.
- Added
KvStoreinterface. - Added
KvStoreSetOptionsinterface. - Added
KvKeytype. - Added
DenoKvStoreclass. KvCacheParameters.kvoption now accepts aKvStoreinstead ofDeno.Kv.KvCacheParameters.prefixoption now accepts aKvKeyinstead ofDeno.KvKey.FederationParameters.kvoption now accepts aKvStoreinstead ofDeno.Kv.FederationKvPrefixes.activityIdempotenceoption now accepts aKvKeyinstead ofDeno.KvKey.FederationKvPrefixes.remoteDocumentoption now accepts aKvKeyinstead ofDeno.KvKey.
- Added
-
Abstract message queue for outgoing activities.
- Added
MessageQueueinterface. - Added
MessageQueueEnqueueOptionsinterface. - Added
InProcessMessageQueueclass. - Added
FederationParameters.queueoption.
- Added
-
Added
@fedify/fedify/x/denokvmodule for adaptingDeno.KvtoKvStoreandMessageQueue. It is only available in Deno runtime.- Added
DenoKvStoreclass. - Added
DenoKvMessageQueueclass.
- Added
-
Added
PropertyValueto Activity Vocabulary API. [#29]- Added
PropertyValueclass. new Object()constructor'sattachmentsoption now acceptsPropertyValueobjects.new Object()constructor'sattachmentoption now accepts aPropertyValueobject.Object.getAttachments()method now yieldsPropertyValueobjects besidesObjectandLinkobjects.Object.getAttachment()method now returns aPropertyValueobject besides anObjectand aLinkobject.Object.clone()method'sattachmentsoption now acceptsPropertyValueobjects.Object.clone()method'sattachmentoption now accepts aPropertyValueobject.
- Added
-
Removed dependency on jose.
- Added
exportSpki()function. - Added
importSpki()function.
- Added
-
Fixed a bug that
Application.manuallyApprovesFollowers,Group.manuallyApprovesFollowers,Organization.manuallyApprovesFollowers,Person.manuallyApprovesFollowers, andService.manuallyApprovesFollowersproperties were not properly displayed in Mastodon.