Unverified Commit 7957aafe authored by Hong Minhee's avatar Hong Minhee
Browse files

Merge pull request #388 from 2chanhaeng/main

parents caa6bb97 533f75f1
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -61,17 +61,21 @@ The repository is organized as a monorepo with the following packages:
    -  *src/testing/*: Testing utilities
    -  *src/vocab/*: ActivityPub vocabulary implementation
    -  *src/webfinger/*: WebFinger protocol implementation
    -  *src/x/*: Framework integrations
    -  ~~src/x/: Framework integrations~~ **Don't use.** This directory will be removed in version 2.0.0. Use packages from the `@fedify` scope, which are located in the `packages/` directory (e.g., `@fedify/hono` is in `packages/hono/`).
 -  *packages/cli/*: Fedify CLI implementation (@fedify/cli, built with Deno)
 -  *packages/amqp/*: AMQP/RabbitMQ driver (@fedify/amqp)
 -  *packages/cfworkers/*: Cloudflare Workers integration (@fedify/cfworkers)
 -  *packages/denokv/*: Deno KV integration (@fedify/denokv)
 -  *packages/elysia/*: Elysia integration (@fedify/elysia)
 -  *packages/express/*: Express.js integration (@fedify/express)
 -  *packages/h3/*: h3 framework integration (@fedify/h3)
 -  *packages/hono/*: Hono integration (@fedify/hono)
 -  *packages/postgres/*: PostgreSQL drivers (@fedify/postgres)
 -  *packages/redis/*: Redis drivers (@fedify/redis)
 -  *packages/nestjs/*: NestJS integration (@fedify/nestjs)
 -  *packages/next/*: Next.js integration (@fedify/next)
 -  *packages/sqlite/*: SQLite driver (@fedify/sqlite)
 -  *packages/sveltekit/*: SvelteKit integration (@fedify/sveltekit)
 -  *packages/testing/*: Testing utilities (@fedify/testing)
 -  *docs/*: Documentation built with Node.js and VitePress
 -  *examples/*: Example projects demonstrating Fedify usage
@@ -143,10 +147,10 @@ Common Tasks

### Implementing Framework Integrations

1. Add new integrations in the *packages/fedify/src/x/* directory
2. Follow pattern from existing integrations (hono.ts, sveltekit.ts)
1. Create a new package in *packages/* directory for new integrations
2. Follow pattern from existing integration packages (*packages/hono/*, *packages/sveltekit/*)
3. Use standard request/response interfaces for compatibility
4. Consider creating a dedicated package for substantial integrations
4. Consider creating example applications in *examples/* that demonstrate usage

### Creating Database Adapters

+35 −0
Original line number Diff line number Diff line
@@ -41,10 +41,21 @@ To be released.
 -  Changed how `parseSoftware()` function handles non-Semantic Versioning
    number strings on `tryBestEffort` mode.  [[#353], [#365] by Hyeonseo Kim]]

 -  Separated modules from `@fedify/fedify/x` into dedicated packages to
    improve modularity and reduce bundle size.  The existing integration
    functions in `@fedify/fedify/x` are now deprecated and will be removed in
    version 2.0.0.  [[#375] by Chanhaeng Lee]

     -  Deprecated `@fedify/fedify/x/cfworkers` in favor of `@fedify/cfworkers`.
     -  Deprecated `@fedify/fedify/x/denokv` in favor of `@fedify/denokv`.
     -  Deprecated `@fedify/fedify/x/hono` in favor of `@fedify/hono`.
     -  Deprecated `@fedify/fedify/x/sveltekit` in favor of `@fedify/sveltekit`.

[FEP-5711]: https://w3id.org/fep/5711
[#353]: https://github.com/fedify-dev/fedify/issues/353
[#365]: https://github.com/fedify-dev/fedify/pull/365
[#373]: https://github.com/fedify-dev/fedify/issues/373
[#375]: https://github.com/fedify-dev/fedify/issues/375
[#381]: https://github.com/fedify-dev/fedify/pull/381

### @fedify/cli
@@ -67,6 +78,24 @@ To be released.
[#353]: https://github.com/fedify-dev/fedify/issues/353
[#365]: https://github.com/fedify-dev/fedify/pull/365

### @fedify/cfworkers

 -  Created Cloudflare Workers integration as the *@fedify/cfworkers* package.
    Separated from `@fedify/fedify/x/cfworkers` to improve modularity and
    reduce bundle size.  [[#375] by Chanhaeng Lee]

### @fedify/denokv

 -  Created Deno KV integration as the *@fedify/denokv* package.
    Separated from `@fedify/fedify/x/denokv` to improve modularity and
    reduce bundle size.  [[#375] by Chanhaeng Lee]

### @fedify/hono

 -  Created Hono integration as the *@fedify/hono* package.
    Separated from `@fedify/fedify/x/hono` to improve modularity and
    reduce bundle size.  [[#375] by Chanhaeng Lee]

### @fedify/next

 -  Created [Next.js] integration as the *@fedify/next* package.
@@ -82,6 +111,12 @@ To be released.

[#368]: https://github.com/fedify-dev/fedify/pull/368

### @fedify/sveltekit

 -  Created SvelteKit integration as the *@fedify/sveltekit* package.
    Separated from `@fedify/fedify/x/sveltekit` to improve modularity and
    reduce bundle size.  [[#375] by Chanhaeng Lee]


Version 1.8.8
-------------
+4 −0
Original line number Diff line number Diff line
@@ -191,14 +191,18 @@ The repository is organized as a monorepo with the following packages:
 -  *packages/cli/*: The Fedify CLI (@fedify/cli).  The CLI is built with
    [Deno].
 -  *packages/amqp/*: AMQP/RabbitMQ driver (@fedify/amqp) for Fedify.
 -  *packages/cfworkers/*: Cloudflare Workers integration (@fedify/cfworkers) for Fedify.
 -  *packages/denokv/*: Deno KV integration (@fedify/denokv) for Fedify.
 -  *packages/elysia/*: Elysia integration (@fedify/elysia) for Fedify.
 -  *packages/express/*: Express integration (@fedify/express) for Fedify.
 -  *packages/h3/*: h3 framework integration (@fedify/h3) for Fedify.
 -  *packages/hono/*: Hono integration (@fedify/hono) for Fedify.
 -  *packages/postgres/*: PostgreSQL drivers (@fedify/postgres) for Fedify.
 -  *packages/redis/*: Redis drivers (@fedify/redis) for Fedify.
 -  *packages/nestjs/*: NestJS integration (@fedify/nestjs) for Fedify.
 -  *packages/next/*: Next.js integration (@fedify/next) for Fedify.
 -  *packages/sqlite/*: SQLite driver (@fedify/sqlite) for Fedify.
 -  *packages/sveltekit/*: SvelteKit integration (@fedify/sveltekit) for Fedify.
 -  *packages/testing/*: Testing utilities (@fedify/testing) for Fedify.
 -  *docs/*: The Fedify docs.  The docs are built with [Node.js] and
    [VitePress].
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
    "docloader",
    "draft-cavage",
    "eddsa",
    "elysia",
    "fanout",
    "federatable",
    "Federatable",
@@ -100,6 +101,7 @@
    "unfollows",
    "urlpattern",
    "uuidv7",
    "Vinxi",
    "vitepress",
    "vtsls",
    "webfinger",
+5 −0
Original line number Diff line number Diff line
@@ -3,12 +3,16 @@
    "./packages/fedify",
    "./packages/cli",
    "./packages/amqp",
    "./packages/cfworkers",
    "./packages/denokv",
    "./packages/elysia",
    "./packages/express",
    "./packages/h3",
    "./packages/hono",
    "./packages/postgres",
    "./packages/redis",
    "./packages/sqlite",
    "./packages/sveltekit",
    "./packages/testing",
    "./examples/blog",
    "./examples/cloudflare-workers",
@@ -26,6 +30,7 @@
    "@std/path": "jsr:@std/path@^1.0.6",
    "@std/yaml": "jsr:@std/yaml@^1.0.8",
    "amqplib": "npm:amqplib@^0.10.8",
    "es-toolkit": "npm:es-toolkit@^1.30.0",
    "h3": "npm:h3@^1.15.0",
    "@nestjs/common": "npm:@nestjs/common@^11.0.1",
    "ioredis": "npm:ioredis@^5.6.1",
Loading