@fedify/fedify 1.3.0-dev.578 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGES.md +43 -7
- package/esm/deno.js +1 -1
- package/esm/federation/handler.js +1 -1
- package/esm/federation/inbox.js +1 -0
- package/esm/federation/middleware.js +1 -0
- package/esm/vocab/vocab.js +173 -173
- package/package.json +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/encoding.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/language.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/media_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/negotiation.d.ts.map +1 -1
- package/types/federation/inbox.d.ts.map +1 -1
- package/types/federation/middleware.d.ts.map +1 -1
- /package/esm/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/common.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/encoding.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/language.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/media_type.js +0 -0
- /package/esm/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/negotiation.js +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/encoding.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/language.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/_negotiation/media_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/http/{1.0.11 → 1.0.12}/negotiation.d.ts +0 -0
package/CHANGES.md
CHANGED
@@ -3,10 +3,19 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 1.3.1
|
7
|
+
-------------
|
8
|
+
|
9
|
+
Released on December 11, 2024.
|
10
|
+
|
11
|
+
- Fixed idempotence check in inbox listeners to ensure activities for
|
12
|
+
different origins are processed correctly.
|
13
|
+
|
14
|
+
|
6
15
|
Version 1.3.0
|
7
16
|
-------------
|
8
17
|
|
9
|
-
|
18
|
+
Released on November 30, 2024.
|
10
19
|
|
11
20
|
- `MessageQueue`s now can be differently configured for incoming and outgoing
|
12
21
|
activities.
|
@@ -120,6 +129,15 @@ To be released.
|
|
120
129
|
[#193]: https://github.com/dahlia/fedify/issues/193
|
121
130
|
|
122
131
|
|
132
|
+
Version 1.2.9
|
133
|
+
-------------
|
134
|
+
|
135
|
+
Released on December 11, 2024.
|
136
|
+
|
137
|
+
- Fixed idempotence check in inbox listeners to ensure activities for
|
138
|
+
different origins are processed correctly.
|
139
|
+
|
140
|
+
|
123
141
|
Version 1.2.8
|
124
142
|
-------------
|
125
143
|
|
@@ -139,7 +157,7 @@ Released on November 23, 2024.
|
|
139
157
|
Version 1.2.7
|
140
158
|
-------------
|
141
159
|
|
142
|
-
Released on
|
160
|
+
Released on November 22, 2024.
|
143
161
|
|
144
162
|
- Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
|
145
163
|
when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
|
@@ -148,7 +166,7 @@ Released on December 22, 2024.
|
|
148
166
|
Version 1.2.6
|
149
167
|
-------------
|
150
168
|
|
151
|
-
Released on
|
169
|
+
Released on November 19, 2024.
|
152
170
|
|
153
171
|
- Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
|
154
172
|
able to be set to an `OrderedCollectionPage` object, even though it is
|
@@ -326,6 +344,15 @@ Released on October 31, 2024.
|
|
326
344
|
[#118]: https://github.com/dahlia/fedify/issues/118
|
327
345
|
|
328
346
|
|
347
|
+
Version 1.1.9
|
348
|
+
-------------
|
349
|
+
|
350
|
+
Released on December 11, 2024.
|
351
|
+
|
352
|
+
- Fixed idempotence check in inbox listeners to ensure activities for
|
353
|
+
different origins are processed correctly.
|
354
|
+
|
355
|
+
|
329
356
|
Version 1.1.8
|
330
357
|
-------------
|
331
358
|
|
@@ -411,7 +438,7 @@ Released on November 19, 2024.
|
|
411
438
|
Version 1.1.5
|
412
439
|
-------------
|
413
440
|
|
414
|
-
Released on
|
441
|
+
Released on November 14, 2024.
|
415
442
|
|
416
443
|
- Suppressed a `TypeError` with a message <q>unusable</q> due to Node.js's
|
417
444
|
mysterious behavior. [[#159]]
|
@@ -573,10 +600,19 @@ Released on October 20, 2024.
|
|
573
600
|
[#150]: https://github.com/dahlia/fedify/issues/150
|
574
601
|
|
575
602
|
|
603
|
+
Version 1.0.12
|
604
|
+
--------------
|
605
|
+
|
606
|
+
Released on December 11, 2024.
|
607
|
+
|
608
|
+
- Fixed idempotence check in inbox listeners to ensure activities for
|
609
|
+
different origins are processed correctly.
|
610
|
+
|
611
|
+
|
576
612
|
Version 1.0.11
|
577
613
|
--------------
|
578
614
|
|
579
|
-
Released on
|
615
|
+
Released on November 22, 2024.
|
580
616
|
|
581
617
|
- Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
|
582
618
|
when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
|
@@ -585,7 +621,7 @@ Released on December 22, 2024.
|
|
585
621
|
Version 1.0.10
|
586
622
|
--------------
|
587
623
|
|
588
|
-
Released on
|
624
|
+
Released on November 19, 2024.
|
589
625
|
|
590
626
|
- Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
|
591
627
|
able to be set to an `OrderedCollectionPage` object, even though it is
|
@@ -642,7 +678,7 @@ Released on December 19, 2024.
|
|
642
678
|
Version 1.0.9
|
643
679
|
-------------
|
644
680
|
|
645
|
-
Released on
|
681
|
+
Released on November 14, 2024.
|
646
682
|
|
647
683
|
- Suppressed a `TypeError` with a message <q>unusable</q> due to Node.js's
|
648
684
|
mysterious behavior. [[#159]]
|
package/esm/deno.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { getLogger } from "@logtape/logtape";
|
2
2
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
3
|
-
import { accepts } from "../deps/jsr.io/@std/http/1.0.
|
3
|
+
import { accepts } from "../deps/jsr.io/@std/http/1.0.12/negotiation.js";
|
4
4
|
import metadata from "../deno.js";
|
5
5
|
import { verifyRequest } from "../sig/http.js";
|
6
6
|
import { detachSignature, verifyJsonLd } from "../sig/ld.js";
|
package/esm/federation/inbox.js
CHANGED
@@ -44,6 +44,7 @@ export async function routeActivity({ context: ctx, json, activity, recipient, i
|
|
44
44
|
const logger = getLogger(["fedify", "federation", "inbox"]);
|
45
45
|
const cacheKey = activity.id == null ? null : [
|
46
46
|
...kvPrefixes.activityIdempotence,
|
47
|
+
ctx.origin,
|
47
48
|
activity.id.href,
|
48
49
|
];
|
49
50
|
if (cacheKey != null) {
|