Commit e9c1ec20 authored by ChanHaeng Lee's avatar ChanHaeng Lee
Browse files

Merge remote-tracking branch 'upstream/main'

parents 4f288aed 8402d9fd
Loading
Loading
Loading
Loading
+25 −14
Original line number Diff line number Diff line
@@ -417,18 +417,22 @@ jobs:
          The latest push to this pull request has been published to JSR and npm as a pre-release:

          | Package           | Version                                 | JSR                          | npm                          |
          | ---------------- | --------------------------------------- | --------------------------- | --------------------------- |
          | ----------------- | --------------------------------------- | ---------------------------- | ---------------------------- |
          | @fedify/fedify    | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/fedify]    | [npm][npm:@fedify/fedify]    |
          | @fedify/cli       | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/cli]       |                              |
          | @fedify/amqp      | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/amqp]      | [npm][npm:@fedify/amqp]      |
          | @fedify/cfworkers | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/cfworkers] | [npm][npm:@fedify/cfworkers] |
          | @fedify/denokv    | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/denokv]    |                              |
          | @fedify/elysia    | ${{ steps.versioning.outputs.version }} |                              | [npm][npm:@fedify/elysia]    |
          | @fedify/express   | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/express]   | [npm][npm:@fedify/express]   |
          | @fedify/h3        | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/h3]        | [npm][npm:@fedify/h3]        |
          | @fedify/hono      | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/hono]      | [npm][npm:@fedify/hono]      |
          | @fedify/nestjs    | ${{ steps.versioning.outputs.version }} |                              | [npm][npm:@fedify/nestjs]    |
          | @fedify/next      | ${{ steps.versioning.outputs.version }} |                              | [npm][npm:@fedify/next]      |
          | @fedify/postgres  | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/postgres]  | [npm][npm:@fedify/postgres]  |
          | @fedify/redis     | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/redis]     | [npm][npm:@fedify/redis]     |
          | @fedify/sqlite    | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/sqlite]    | [npm][npm:@fedify/sqlite]    |
          | @fedify/sveltekit | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/sveltekit] | [npm][npm:@fedify/sveltekit] |
          | @fedify/testing   | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/testing]   | [npm][npm:@fedify/testing]   |

          [jsr:@fedify/fedify]: https://jsr.io/@fedify/fedify@${{ steps.versioning.outputs.version }}
@@ -436,11 +440,16 @@ jobs:
          [jsr:@fedify/cli]: https://jsr.io/@fedify/cli@${{ steps.versioning.outputs.version }}
          [jsr:@fedify/amqp]: https://jsr.io/@fedify/amqp@${{ steps.versioning.outputs.version }}
          [npm:@fedify/amqp]: https://www.npmjs.com/package/@fedify/amqp/v/${{ steps.versioning.outputs.short_version }}
          [jsr:@fedify/cfworkers]: https://jsr.io/@fedify/cfworkers@${{ steps.versioning.outputs.version }}
          [npm:@fedify/cfworkers]: https://www.npmjs.com/package/@fedify/cfworkers/v/${{ steps.versioning.outputs.short_version }}
          [jsr:@fedify/denokv]: https://jsr.io/@fedify/denokv@${{ steps.versioning.outputs.version }}
          [npm:@fedify/elysia]: https://www.npmjs.com/package/@fedify/elysia/v/${{ steps.versioning.outputs.short_version }}
          [jsr:@fedify/express]: https://jsr.io/@fedify/express@${{ steps.versioning.outputs.version }}
          [npm:@fedify/express]: https://www.npmjs.com/package/@fedify/express/v/${{ steps.versioning.outputs.short_version }}
          [jsr:@fedify/h3]: https://jsr.io/@fedify/h3@${{ steps.versioning.outputs.version }}
          [npm:@fedify/h3]: https://www.npmjs.com/package/@fedify/h3/v/${{ steps.versioning.outputs.short_version }}
          [jsr:@fedify/hono]: https://jsr.io/@fedify/hono@${{ steps.versioning.outputs.version }}
          [npm:@fedify/hono]: https://www.npmjs.com/package/@fedify/hono/v/${{ steps.versioning.outputs.short_version }}
          [npm:@fedify/nestjs]: https://www.npmjs.com/package/@fedify/nestjs/v/${{ steps.versioning.outputs.short_version }}
          [npm:@fedify/next]: https://www.npmjs.com/package/@fedify/next/v/${{ steps.versioning.outputs.short_version }}
          [jsr:@fedify/postgres]: https://jsr.io/@fedify/postgres@${{ steps.versioning.outputs.version }}
@@ -449,6 +458,8 @@ jobs:
          [npm:@fedify/redis]: https://www.npmjs.com/package/@fedify/redis/v/${{ steps.versioning.outputs.short_version }}
          [jsr:@fedify/sqlite]: https://jsr.io/@fedify/sqlite@${{ steps.versioning.outputs.version }}
          [npm:@fedify/sqlite]: https://www.npmjs.com/package/@fedify/sqlite/v/${{ steps.versioning.outputs.short_version }}
          [jsr:@fedify/sveltekit]: https://jsr.io/@fedify/sveltekit@${{ steps.versioning.outputs.version }}
          [npm:@fedify/sveltekit]: https://www.npmjs.com/package/@fedify/sveltekit/v/${{ steps.versioning.outputs.short_version }}
          [jsr:@fedify/testing]: https://jsr.io/@fedify/testing@${{ steps.versioning.outputs.version }}
          [npm:@fedify/testing]: https://www.npmjs.com/package/@fedify/testing/v/${{ steps.versioning.outputs.short_version }}
        pr-number: ${{ github.event.pull_request.number }}
+0 −7
Original line number Diff line number Diff line
@@ -84,24 +84,18 @@ To be released.
    Separated from `@fedify/fedify/x/cfworkers` to improve modularity and
    reduce bundle size.  [[#375] by Chanhaeng Lee]

[#375]: https://github.com/fedify-dev/fedify/issues/375

### @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]

[#375]: https://github.com/fedify-dev/fedify/issues/375

### @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]

[#375]: https://github.com/fedify-dev/fedify/issues/375

### @fedify/next

 -  Created [Next.js] integration as the *@fedify/next* package.
@@ -123,7 +117,6 @@ To be released.
    Separated from `@fedify/fedify/x/sveltekit` to improve modularity and
    reduce bundle size.  [[#375] by Chanhaeng Lee]

[#375]: https://github.com/fedify-dev/fedify/issues/375

Version 1.8.8
-------------
+11 −4
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@
    "./packages/amqp",
    "./packages/cfworkers",
    "./packages/denokv",
    "./packages/elysia",
    "./packages/express",
    "./packages/h3",
    "./packages/hono",
@@ -15,7 +14,6 @@
    "./packages/sveltekit",
    "./packages/testing",
    "./examples/blog",
    "./examples/cloudflare-workers",
    "./examples/hono-sample"
  ],
  "imports": {
@@ -46,19 +44,28 @@
    "temporal"
  ],
  "exclude": [
    "**/*.md",
    "**/pnpm-lock.yaml",
    ".github/",
    "docs/",
    "pnpm-lock.yaml",
    "pnpm-workspace.yaml"
  ],
  "lint": {
    "exclude": [
      "examples/cloudflare-workers/worker-configuration.d.ts"
    ]
  },
  "fmt": {
    "exclude": [
      "**/*.md"
    ]
  },
  "nodeModulesDir": "none",
  "tasks": {
    "codegen": "deno task -f @fedify/cli codegen",
    "check-versions": "deno run --allow-read --allow-write scripts/check_versions.ts",
    "check-all": {
      "command": "deno task --recursive check",
      "command": "deno fmt --check && deno lint && echo deno check --unstable-temporal $(deno eval 'import m from \"./deno.json\" with { type: \"json\" }; for (let p of m.workspace) console.log(p)')",
      "dependencies": [
        "check-versions",
        "codegen"
+2 −2
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ app.use(integrateFederation(federation, (req) => "context data goes here")); //
Hono
----

*This API is available since Fedify 0.6.0.*
*This API is available since Fedify 1.9.0.*

> [!WARNING]
> The `@fedify/fedify/x/hono` module is deprecated and will be removed in
@@ -242,7 +242,7 @@ app.use(router);
Fresh
-----

*This API is available since Fedify 0.4.0.*
*This API is available since Fedify 1.9.0.*

[Fresh] is a full stack modern web framework for Deno.  Fedify has the
`@fedify/fedify/x/fresh` module that provides a middleware to integrate Fedify
+4 −3
Original line number Diff line number Diff line
// deno-lint-ignore-file no-empty
import {
  Collection,
  getActorHandle,
@@ -25,15 +26,15 @@ async function lookupActor(handle: string): Promise<Actor> {
  let following: Collection | null = null;
  try {
    following = await actor.getFollowing();
  } catch (_) {}
  } catch {}
  let followers: Collection | null = null;
  try {
    followers = await actor.getFollowers();
  } catch (_) {}
  } catch {}
  let posts: Collection | null = null;
  try {
    posts = await actor.getOutbox();
  } catch (_) {}
  } catch {}
  const properties: Record<string, string> = {};
  for await (const attachment of actor.getAttachments()) {
    if (attachment instanceof PropertyValue && attachment.name != null) {
Loading