Unverified Commit 6a3479e5 authored by Hong Minhee's avatar Hong Minhee
Browse files

Recognize JSON-LD context provided in Link header

parent e564a8c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@
    "hongminhee",
    "hono",
    "httpsig",
    "hugoalh",
    "jsonld",
    "keypair",
    "langstr",
+10 −0
Original line number Diff line number Diff line
@@ -71,6 +71,15 @@ To be released.
     -  The type of `ActorKeyPairsDispatcher<TContextData>`'s first parameter
        became `Context` (was `TContextData`).

 -  The built-in document loaders now recognize JSON-LD context provided in
    an HTTP `Link` header. [[#6]]

     -  The `fetchDocumentLoader()` function now recognizes the `Link` header
        with the `http://www.w3.org/ns/json-ld#context` link relation.
     -  The `getAuthenticatedDocumentLoader()` function now returns a document
        loader that recognizes the `Link` header with
        the `http://www.w3.org/ns/json-ld#context` link relation.

 -  Deprecated `Federation.sendActivity()` method.  Use `Context.sendActivity()`
    method instead.

@@ -108,6 +117,7 @@ To be released.

     -  `["fedify", "federation", "queue"]`

[#6]: https://github.com/dahlia/fedify/issues/6
[#50]: https://github.com/dahlia/fedify/issues/50
[#53]: https://github.com/dahlia/fedify/issues/53
[#66]: https://github.com/dahlia/fedify/issues/66
+2 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
    "@deno/dnt": "jsr:@deno/dnt@^0.41.2",
    "@fedify/fedify": ".././mod.ts",
    "@fedify/fedify/federation": ".././federation/mod.ts",
    "@fedify/fedify/httpsig": ".././httpsig/mod.ts",
    "@fedify/fedify/httpsig": "./httpsig/mod.ts",
    "@fedify/fedify/nodeinfo": ".././nodeinfo/mod.ts",
    "@fedify/fedify/runtime": ".././runtime/mod.ts",
    "@fedify/fedify/vocab": ".././vocab/mod.ts",
@@ -45,6 +45,7 @@
    "uri-template-router": "npm:uri-template-router@^0.0.16",
    "url-template": "npm:url-template@^3.1.1",
    "@fedify/fedify/sig": ".././sig/mod.ts",
    "@fedify/fedify/x/astro": ".././x/astro.ts",
    "@cliffy/ansi": "jsr:@cliffy/ansi@1.0.0-rc.4",
    "@cliffy/command": "jsr:@cliffy/command@1.0.0-rc.4",
    "@cliffy/prompt": "jsr:@cliffy/prompt@1.0.0-rc.4",
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@
    "@fedify/fedify/x/fresh": "./x/fresh.ts",
    "@fedify/fedify/x/hono": "./x/hono.ts",
    "@hongminhee/aitertools": "jsr:@hongminhee/aitertools@^0.6.0",
    "@hugoalh/http-header-link": "jsr:@hugoalh/http-header-link@^1.0.2",
    "@logtape/logtape": "jsr:@logtape/logtape@^0.4.0",
    "@phensley/language-tag": "npm:@phensley/language-tag@^1.8.1",
    "@std/assert": "jsr:@std/assert@^0.226.0",
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,8 @@ await Deno.writeTextFile(
      ...metadata.imports,
      "@logtape/logtape": metadata.imports["@logtape/logtape"]
        .replace(/^jsr:/, "npm:"),
      "@hugoalh/http-header-link": metadata.imports["@hugoalh/http-header-link"]
        .replace(/^jsr:/, "npm:"),
    },
  }),
);
Loading