You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The time window for signature verification is now configurable. [#52]
The default time window for signature verification is now a minute (was 30 seconds).
Added signatureTimeWindow option to FederationParameters interface.
Added VerifyOptions interface.
The signature of the verify() function is revamped; it now optionally takes a VerifyOptions object as the second parameter.
Renamed the @fedify/fedify/httpsig module to @fedify/fedify/sig, and also:
Deprecated sign() function. Use signRequest() instead.
Deprecated verify() function. Use verifyRequest() instead.
Deprecated VerifyOptions interface. Use VerifyRequestOptions instead.
When signing an HTTP request, the algorithm parameter is now added to the Signature header. This change improves the compatibility with Misskey and other implementations that require the algorithm parameter.
Added more log messages using the LogTape library. Currently the below logger categories are used:
["fedify", "federation", "actor"]
["fedify", "federation", "http"]
["fedify", "sig", "http"]
["fedify", "sig", "key"]
["fedify", "sig", "owner"]
This discussion was created from the release Fedify 0.9.0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Released on June 2, 2024.
Added
Tombstone
class to Activity Vocabulary API.Added
Hashtag
class to Activity Vocabulary API. [#48]Added
Emoji
class to Activity Vocabulary API. [#48]Added an actor handle normalization function.
normalizeActorHandle()
function.NormalizeActorHandleOptions
interface.getActorHandle()
function now guarantees that the returned actor handle is normalized.getActorHandle()
function.getActorHandle()
function becamePromise<`@${string}@${string}` | `${string}@${string}`>
(wasPromise<`@${string}@${string}`>
).Added
excludeBaseUris
option toContext.sendActivity()
andFederation.sendActivity()
methods.SendActivityOptions.excludeBaseUris
property.ExtractInboxesParameters.excludeBaseUris
property.The
Context
now can parse URIs of objects, inboxes, and collections as well as actors.Context.parseUri()
method.ParseUriResult
type.Context.getHandleFromActorUri()
method.The time window for signature verification is now configurable. [#52]
signatureTimeWindow
option toFederationParameters
interface.VerifyOptions
interface.verify()
function is revamped; it now optionally takes aVerifyOptions
object as the second parameter.Renamed the
@fedify/fedify/httpsig
module to@fedify/fedify/sig
, and also:sign()
function. UsesignRequest()
instead.verify()
function. UseverifyRequest()
instead.VerifyOptions
interface. UseVerifyRequestOptions
instead.When signing an HTTP request, the
algorithm
parameter is now added to theSignature
header. This change improves the compatibility with Misskey and other implementations that require thealgorithm
parameter.Added more log messages using the LogTape library. Currently the below logger categories are used:
["fedify", "federation", "actor"]
["fedify", "federation", "http"]
["fedify", "sig", "http"]
["fedify", "sig", "key"]
["fedify", "sig", "owner"]
This discussion was created from the release Fedify 0.9.0.
Beta Was this translation helpful? Give feedback.
All reactions