Releases: dahlia/fedify
Fedify 1.3.0
Released on November 30, 2024.
-
MessageQueue
s now can be differently configured for incoming and outgoing activities.- Changed the type of
CreateFederationOptions.queue
option toFederationQueueOptions | MessageQueue | undefined
(wasMessageQueue | undefined
). - Added
FederationQueueOptions
interface. - Added
FederationStartQueueOptions.queue
option.
- Changed the type of
-
Fedify now makes HTTP requests with the proper
User-Agent
header. [#162]- Added
getUserAgent()
function. - Added
GetUserAgentOptions
interface. - Added
getDocumentLoader()
function. - Added
GetDocumentLoaderOptions
interface. - The type of
getAuthenticatedDocumentLoader()
function's second parameter becameGetAuthenticatedDocumentLoaderOptions | undefined
(wasboolean | undefined
). - Added
GetAuthenticatedDocumentLoaderOptions
interface. - Deprecated
fetchDocumentLoader()
function. - Added
LookupObjectOptions.userAgent
option. - Added the type of
getActorHandle()
function's second parameter becameGetActorHandleOptions | undefined
(wasNormalizeActorHandleOptions | undefined
). - Added
GetActorHandleOptions
interface. - Added the optional second parameter to
lookupWebFinger()
function. - Added
LookupWebFingerOptions
interface. - Added
GetNodeInfoOptions.userAgent
option. - Added
-u
/--user-agent
option tofedify lookup
subcommand. - Added
-u
/--user-agent
option tofedify node
subcommand.
- Added
-
Fedify now caches unavailable keys of remote actors as well to avoid trying fetching the same unavailable key multiple times.
- The return type of the
KeyCache.get()
method becamePromise<CryptographicKey | MultiKey | null | undefined>
(wasPromise<CryptographicKey | MultiKey | null>
). - The type of the
KeyCache.set()
method's second parameter becameCryptographicKey | MultiKey | null
(wasCryptographicKey | MultiKey
). - Added
fetchKey()
function. - Added
FetchKeyOptions
interface. - Added
FetchKeyResult
interface.
- The return type of the
-
The
Router
now provide the matched route's URI template besides the name.- The return type of
Router.route()
method becameRouterRouteResult | null
(was{ name: string; values: Record<string, string> } | null
). - Added
RouterRouteResult
interface.
- The return type of
-
Added
getTypeId()
function. -
Context.sendActivity()
andInboxContext.forwardActivity()
methods now reject when they fail to enqueue the task. [#192] -
Fedify now allows you to manually route an
Activity
to the corresponding inbox listener. [#193]- Added
Context.routeActivity()
method. - Added
RouteActivityOptions
interface.
- Added
-
Object.toJsonLd()
without anyformat
option now returns its original JSON-LD object even if it not created fromObject.fromJsonLd()
but it is returned from anotherObject
'sget*()
method. -
Fedify now supports OpenTelemetry for tracing. [#170]
-
Added
Context.tracerProvider
property. -
Added
CreateFederationOptions.tracerProvider
option. -
Added
LookupWebFingerOptions.tracerProvider
option. -
Added
LookupObjectOptions.tracerProvider
option. -
Added
GetActorHandleOptions.tracerProvider
option. -
Added
VerifyRequestOptions.tracerProvider
option. -
Added
SignRequestOptions
interface. -
Added the optional fourth parameter to
signRequest()
function. -
Added
VerifyProofOptions.tracerProvider
option. -
Added
VerifyObjectOptions.tracerProvider
option. -
Added
SignObjectOptions.tracerProvider
option. -
Added
VerifySignatureOptions.tracerProvider
option. -
Added
VerifyJsonLdOptions.tracerProvider
option. -
Added
SignJsonLdOptions.tracerProvider
option. -
Added
DoesActorOwnKeyOptions.tracerProvider
option. -
Added
GetKeyOwnerOptions.tracerProvider
option. -
Added
tracerProvider
option to the following Activity Vocabulary APIs:- The second parameters of constructors.
- The second parameters of
fromJsonLd()
static methods. - The second parameters of
get*()
methods.
-
-
Added
@fedify/fedify/x/sveltekit
module for integrating with SvelteKit hook. [#171, #183 by Jiyu Park]- Added
fedifyHook()
function.
- Added
-
The scaffold project generated by
fedify init
command now enables tracing data into log messages. -
Let the
fedify lookup
command take multiple arguments. [#173, #186 by PGD]
Fedify 1.2.8
Fedify 1.1.8
Fedify 1.2.7
Released on December 22, 2024.
- Fixed a bug where
lookupWebFinger()
function had thrown aTypeError
when the .well-known/webfinger redirects to a relative URI. [#166]
Fedify 1.1.7
Released on November 22, 2024.
- Fixed a bug where
lookupWebFinger()
function had thrown aTypeError
when the .well-known/webfinger redirects to a relative URI. [#166]
Fedify 1.0.11
Released on December 22, 2024.
- Fixed a bug where
lookupWebFinger()
function had thrown aTypeError
when the .well-known/webfinger redirects to a relative URI. [#166]
Fedify 0.15.9
Released on November 22, 2024.
- Fixed a bug where
lookupWebFinger()
function had thrown aTypeError
when the .well-known/webfinger redirects to a relative URI. [#166]
Fedify 1.2.6
Released on December 19, 2024.
-
Fix a bug where
Actor
'sinbox
andoutbox
properties had not been able to be set to anOrderedCollectionPage
object, even though it is a subtype ofOrderedCollection
according to Activity Vocabulary specification. [#165]- The type of
Application()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Application.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Application.getInbox()
andApplication.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Group()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Group.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Group.getInbox()
andGroup.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Organization()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Organization.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Organization.getInbox()
andOrganization.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Person()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Person.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Person.getInbox()
andPerson.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Service()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Service.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Service.getInbox()
andService.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
).
- The type of
Fedify 1.1.6
Released on November 19, 2024.
-
Fix a bug where
Actor
'sinbox
andoutbox
properties had not been able to be set to anOrderedCollectionPage
object, even though it is a subtype ofOrderedCollection
according to Activity Vocabulary specification. [#165]- The type of
Application()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Application.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Application.getInbox()
andApplication.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Group()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Group.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Group.getInbox()
andGroup.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Organization()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Organization.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Organization.getInbox()
andOrganization.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Person()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Person.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Person.getInbox()
andPerson.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Service()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Service.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Service.getInbox()
andService.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
).
- The type of
Fedify 1.0.10
Released on December 19, 2024.
-
Fix a bug where
Actor
'sinbox
andoutbox
properties had not been able to be set to anOrderedCollectionPage
object, even though it is a subtype ofOrderedCollection
according to Activity Vocabulary specification. [#165]- The type of
Application()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Application.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Application.getInbox()
andApplication.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Group()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Group.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Group.getInbox()
andGroup.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Organization()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Organization.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Organization.getInbox()
andOrganization.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Person()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Person.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Person.getInbox()
andPerson.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
). - The type of
Service()
constructor'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The type of
Service.clone()
method'sinbox
andoutbox
options is nowOrderedCollection | OrderedCollectionPage | null | undefined
(wasOrderedCollection | null | undefined
). - The return type of
Service.getInbox()
andService.getOutbox()
methods is nowOrderedCollection | OrderedCollectionPage | null
(wasOrderedCollection | null
).
- The type of