Skip to content

Releases: fedify-dev/fedify

Fedify 0.14.2

30 Aug 04:20
0.14.2
3221409

Choose a tag to compare

Released on August 30, 2024.

  • Fixed an incompatibility with Meta's Threads where sent activities had not been verified by their inbox. [#125]

Fedify 0.13.3

30 Aug 04:20
0.13.3
8951fc1

Choose a tag to compare

Released on August 30, 2024.

  • Fixed an incompatibility with Meta's Threads where sent activities had not been verified by their inbox. [#125]

Fedify 0.14.1

29 Aug 11:33
0.14.1
d055c71

Choose a tag to compare

Released on August 29, 2024.

  • Fixed fedify inbox command that had not been able to parse activities even if they are valid JSON-LD. [#126]

  • Fixed a bug where the Compact Activity tab of fedify inbox command's web interface had shown an expanded JSON-LD object instead of a compacted one.

Fedify 0.13.2

29 Aug 11:19
0.13.2
6ccdae0

Choose a tag to compare

Released on August 29, 2024.

  • Fixed fedify inbox command that had not been able to parse activities even if they are valid JSON-LD. [#126]

Fedify 0.14.0

26 Aug 15:27
0.14.0
8f148c4

Choose a tag to compare

Released on August 27, 2024.

  • Removed the limitation that the sendActivity({ handle: string }, "followers", Activity) overload is only available for RequestContext but not for Context. Now it is available for both. [#115]

    • Added Context.sendActivity({ handle: string }, "followers", Activity) overload.
    • Added type parameter TContext to CollectionsDispatcher type's first parameter to distinguish between RequestContext and Context.
    • The first parameter of CollectionDispatcher type became TContext (was RequestContext).
    • Added type parameter TContext to CollectionsCursor type's first parameter to distinguish between RequestContext and Context.
    • The first parameter of CollectionCursor type became TContext (was RequestContext).
    • Added type parameter TContext to CollectionsCallbackSetters type's first parameter to distinguish between RequestContext and Context.
  • Added source property to Object class in Activity Vocabulary API. [#114]

    • Added Object.source property.
    • new Object() constructor now accepts source option.
    • Object.clone() method now accepts source option.
  • Added Source class to Activity Vocabulary API. [#114]

  • Added aliases property to Actor type in Activity Vocabulary API.

    • Added Application.getAliases() method.
    • Added Application.getAlias() method.
    • new Application() constructor now accepts alias option.
    • new Application() constructor now accepts aliases option.
    • Application.clone() method now accepts alias option.
    • Application.clone() method now accepts aliases option.
    • Added Group.getAliases() method.
    • Added Group.getAlias() method.
    • new Group() constructor now accepts alias option.
    • new Group() constructor now accepts aliases option.
    • Group.clone() method now accepts alias option.
    • Group.clone() method now accepts aliases option.
    • Added Organization.getAliases() method.
    • Added Organization.getAlias() method.
    • new Organization() constructor now accepts alias option.
    • new Organization() constructor now accepts aliases option.
    • Organization.clone() method now accepts alias option.
    • Organization.clone() method now accepts aliases option.
    • Added Person.getAliases() method.
    • Added Person.getAlias() method.
    • new Person() constructor now accepts alias option.
    • new Person() constructor now accepts aliases option.
    • Person.clone() method now accepts alias option.
    • Person.clone() method now accepts aliases option.
    • Added Service.getAliases() method.
    • Added Service.getAlias() method.
    • new Service() constructor now accepts alias option.
    • new Service() constructor now accepts aliases option.
    • Service.clone() method now accepts alias option.
    • Service.clone() method now accepts aliases option.
  • Improved the performance of Object.toJsonLd() method.

    • Object.toJsonLd() method no longer guarantees that the returned JSON-LD object is compacted unless the format: "compact" option is provided.
    • Added format option to Object.toJsonLd() method.
    • Deprecated expand option of Object.toJsonLd() method. Use format: "expand" option instead.
    • The context option of Object.toJsonLd() method is now only applicable to format: "compact". Otherwise, it throws a TypeError.
  • The getActorHandle() function now supports cross-origin WebFinger resources.

  • The lookupWebFinger() and getActorHandle() functions no more throw an error when they fail to reach the WebFinger resource.

  • Collection dispatchers now set the id property of the OrderedCollection/OrderedCollectionPage objects that they return to the their canonical URI.

  • Now fedify init generates a default tsconfig.json file on Node.js and Bun, and fills the deno.json file with the default compilerOptions on Deno.

Fedify 0.13.1

18 Aug 11:30
0.13.1
043db5b

Choose a tag to compare

Released on August 18, 2024.

  • Fixed a vulnerability where the getActorHandle() function had trusted the hostname of WebFinger aliases that had not matched the hostname of the actor ID (URI).

Fedify 0.12.3

18 Aug 11:11
0.12.3
bc5b40b

Choose a tag to compare

Released on August 18, 2024.

  • Fixed a vulnerability where the getActorHandle() function had trusted the hostname of WebFinger aliases that had not matched the hostname of the actor ID (URI).

Fedify 0.13.0

07 Aug 04:57
0.13.0
5223e88

Choose a tag to compare

Released on August 7, 2024.

  • Added closed property to Question class in Activity Vocabulary API.

    • Added Question.closed property.
    • new Question() constructor now accepts closed option.
    • Question.clone() method now accepts closed option.
  • Added voters property to Question class in Activity Vocabulary API.

    • Added Question.voters property.
    • new Question() constructor now accepts voters option.
    • Question.clone() method now accepts voters option.
  • HTTP Signatures verficiation now can be optionally skipped for the sake of testing. [#110]

    • The type of CreateFederationOptions.signatureTimeWindow property became Temporal.DurationLike | false (was Temporal.DurationLike).
    • The type of VerifyRequestOptions.timeWindow property became Temporal.DurationLike | false (was Temporal.DurationLike).
    • Added CreateFederationOptions.skipSignatureVerification property.
  • Removed the singular actor key pair dispatcher APIs which were deprecated in version 0.10.0.

    • Removed the last parameter of the ActorDispatcher callback type. Use Context.getActorKeyPairs() method instead.
    • Removed ActorKeyPairDispatcher type. Use ActorKeyPairsDispatcher type instead.
    • Removed ActorCallbackSetters.setKeyPairDispatcher() method. Use ActorCallbackSetters.setKeyPairsDispatcher() method instead.
    • Removed Context.getActorKey() method. Use Context.getActorKeyPairs() method instead.
  • The Federation is no more a class, but an interface, which has been planned since version 0.10.0. [#69]

    • new Federation() constructor is removed. Use createFederation() function instead.
    • Removed Federation.sendActivity() method. Use Context.sendActivity() method instead.
    • Removed Federation class.
    • Added Federation interface.
    • Removed FederationParameters interface.
  • Added fedify tunnel command to expose a local HTTP server to the public internet.

  • A scaffold project generated by the fedify init command has several changes:

    • Added support for Express framework.
    • Added support for Nitro framework.
    • Now a scaffold project uses a x-forwarded-fetch middleware to support X-Forwarded-Proto and X-Forwarded-Host headers.
    • Now a scaffold project has hot reloading by default.
    • Now a scaffold project has logging configuration using the LogTape library.
  • Added more log messages using the LogTape library. Currently the below logger categories are used:

    • ["fedify", "webfinger", "server"]

Fedify 0.12.2

31 Jul 09:15
0.12.2
259452a

Choose a tag to compare

Released on July 31, 2024.

  • Fixed a bug where incoming activities had not been enqueued even if the queue option was provided to the createFederation() function.

Fedify 0.12.1

27 Jul 11:18
0.12.1
a3e535e

Choose a tag to compare

Released on July 27, 2024.

  • Fixed a bug where fedify init -w hono had generated scaffold files without Fedify integration.
  • Fixed a bug where fedify init -r bun -w hono had generated scaffold files with a wrong port number (was 3000).