@fedify/fedify 1.0.0 → 1.1.0-dev.421
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 +36 -0
- package/esm/federation/middleware.js +18 -18
- package/esm/vocab/vocab.js +289 -87
- package/package.json +1 -1
- package/types/vocab/vocab.d.ts +63 -0
- package/types/vocab/vocab.d.ts.map +1 -1
package/CHANGES.md
CHANGED
@@ -3,6 +3,24 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 1.1.0
|
7
|
+
-------------
|
8
|
+
|
9
|
+
To be released.
|
10
|
+
|
11
|
+
|
12
|
+
Version 1.0.1
|
13
|
+
-------------
|
14
|
+
|
15
|
+
Released on September 26, 2024.
|
16
|
+
|
17
|
+
- Fixed deprecation messages related to the `{handle}` variable in URL
|
18
|
+
templates; they had had wrong placeholders in the message templates.
|
19
|
+
|
20
|
+
- Fixed a bug of `Object.toJsonLd()` method where it had not fall back to
|
21
|
+
the proper compact form when the heuristic compact form was not available.
|
22
|
+
|
23
|
+
|
6
24
|
Version 1.0.0
|
7
25
|
--------------
|
8
26
|
|
@@ -174,6 +192,15 @@ Released on September 26, 2024.
|
|
174
192
|
[#137]: https://github.com/dahlia/fedify/issues/137
|
175
193
|
|
176
194
|
|
195
|
+
Version 0.15.2
|
196
|
+
--------------
|
197
|
+
|
198
|
+
Released on September 26, 2024.
|
199
|
+
|
200
|
+
- Fixed a bug of `Object.toJsonLd()` method where it had not fall back to
|
201
|
+
the proper compact form when the heuristic compact form was not available.
|
202
|
+
|
203
|
+
|
177
204
|
Version 0.15.1
|
178
205
|
--------------
|
179
206
|
|
@@ -247,6 +274,15 @@ Released on September 11, 2024.
|
|
247
274
|
object.
|
248
275
|
|
249
276
|
|
277
|
+
Version 0.14.5
|
278
|
+
--------------
|
279
|
+
|
280
|
+
Released on September 26, 2024.
|
281
|
+
|
282
|
+
- Fixed a bug of `Object.toJsonLd()` method where it had not fall back to
|
283
|
+
the proper compact form when the heuristic compact form was not available.
|
284
|
+
|
285
|
+
|
250
286
|
Version 0.14.4
|
251
287
|
--------------
|
252
288
|
|
@@ -337,8 +337,8 @@ export class FederationImpl {
|
|
337
337
|
throw new RouterError("Path for actor dispatcher must have one variable: {identifier}");
|
338
338
|
}
|
339
339
|
if (variables.has("handle")) {
|
340
|
-
getLogger(["fedify", "federation", "actor"]).warn("The {handle} variable in the actor dispatcher path is deprecated. " +
|
341
|
-
"Use {identifier} instead.");
|
340
|
+
getLogger(["fedify", "federation", "actor"]).warn("The {{handle}} variable in the actor dispatcher path is deprecated. " +
|
341
|
+
"Use {{identifier}} instead.");
|
342
342
|
}
|
343
343
|
const callbacks = {
|
344
344
|
dispatcher: async (context, identifier) => {
|
@@ -532,8 +532,8 @@ export class FederationImpl {
|
|
532
532
|
throw new RouterError("Path for inbox dispatcher must have one variable: {identifier}");
|
533
533
|
}
|
534
534
|
if (variables.has("handle")) {
|
535
|
-
getLogger(["fedify", "federation", "inbox"]).warn("The {handle} variable in the inbox dispatcher path is deprecated. " +
|
536
|
-
"Use {identifier} instead.");
|
535
|
+
getLogger(["fedify", "federation", "inbox"]).warn("The {{handle}} variable in the inbox dispatcher path is deprecated. " +
|
536
|
+
"Use {{identifier}} instead.");
|
537
537
|
}
|
538
538
|
this.inboxPath = path;
|
539
539
|
}
|
@@ -569,8 +569,8 @@ export class FederationImpl {
|
|
569
569
|
throw new RouterError("Path for outbox dispatcher must have one variable: {identifier}");
|
570
570
|
}
|
571
571
|
if (variables.has("handle")) {
|
572
|
-
getLogger(["fedify", "federation", "outbox"]).warn("The {handle} variable in the outbox dispatcher path is deprecated. " +
|
573
|
-
"Use {identifier} instead.");
|
572
|
+
getLogger(["fedify", "federation", "outbox"]).warn("The {{handle}} variable in the outbox dispatcher path is deprecated. " +
|
573
|
+
"Use {{identifier}} instead.");
|
574
574
|
}
|
575
575
|
const callbacks = { dispatcher };
|
576
576
|
this.outboxCallbacks = callbacks;
|
@@ -605,8 +605,8 @@ export class FederationImpl {
|
|
605
605
|
"{identifier}");
|
606
606
|
}
|
607
607
|
if (variables.has("handle")) {
|
608
|
-
getLogger(["fedify", "federation", "collection"]).warn("The {handle} variable in the following collection dispatcher path " +
|
609
|
-
"is deprecated. Use {identifier} instead.");
|
608
|
+
getLogger(["fedify", "federation", "collection"]).warn("The {{handle}} variable in the following collection dispatcher path " +
|
609
|
+
"is deprecated. Use {{identifier}} instead.");
|
610
610
|
}
|
611
611
|
const callbacks = { dispatcher };
|
612
612
|
this.followingCallbacks = callbacks;
|
@@ -641,8 +641,8 @@ export class FederationImpl {
|
|
641
641
|
"{identifier}");
|
642
642
|
}
|
643
643
|
if (variables.has("handle")) {
|
644
|
-
getLogger(["fedify", "federation", "collection"]).warn("The {handle} variable in the followers collection dispatcher path " +
|
645
|
-
"is deprecated. Use {identifier} instead.");
|
644
|
+
getLogger(["fedify", "federation", "collection"]).warn("The {{handle}} variable in the followers collection dispatcher path " +
|
645
|
+
"is deprecated. Use {{identifier}} instead.");
|
646
646
|
}
|
647
647
|
const callbacks = { dispatcher };
|
648
648
|
this.followersCallbacks = callbacks;
|
@@ -677,8 +677,8 @@ export class FederationImpl {
|
|
677
677
|
"{identifier}");
|
678
678
|
}
|
679
679
|
if (variables.has("handle")) {
|
680
|
-
getLogger(["fedify", "federation", "collection"]).warn("The {handle} variable in the liked collection dispatcher path " +
|
681
|
-
"is deprecated. Use {identifier} instead.");
|
680
|
+
getLogger(["fedify", "federation", "collection"]).warn("The {{handle}} variable in the liked collection dispatcher path " +
|
681
|
+
"is deprecated. Use {{identifier}} instead.");
|
682
682
|
}
|
683
683
|
const callbacks = { dispatcher };
|
684
684
|
this.likedCallbacks = callbacks;
|
@@ -713,8 +713,8 @@ export class FederationImpl {
|
|
713
713
|
"{identifier}");
|
714
714
|
}
|
715
715
|
if (variables.has("handle")) {
|
716
|
-
getLogger(["fedify", "federation", "collection"]).warn("The {handle} variable in the featured collection dispatcher path " +
|
717
|
-
"is deprecated. Use {identifier} instead.");
|
716
|
+
getLogger(["fedify", "federation", "collection"]).warn("The {{handle}} variable in the featured collection dispatcher path " +
|
717
|
+
"is deprecated. Use {{identifier}} instead.");
|
718
718
|
}
|
719
719
|
const callbacks = { dispatcher };
|
720
720
|
this.featuredCallbacks = callbacks;
|
@@ -749,8 +749,8 @@ export class FederationImpl {
|
|
749
749
|
"variable: {identifier}");
|
750
750
|
}
|
751
751
|
if (variables.has("handle")) {
|
752
|
-
getLogger(["fedify", "federation", "collection"]).warn("The {handle} variable in the featured tags collection dispatcher " +
|
753
|
-
"path is deprecated. Use {identifier} instead.");
|
752
|
+
getLogger(["fedify", "federation", "collection"]).warn("The {{handle}} variable in the featured tags collection dispatcher " +
|
753
|
+
"path is deprecated. Use {{identifier}} instead.");
|
754
754
|
}
|
755
755
|
const callbacks = { dispatcher };
|
756
756
|
this.featuredTagsCallbacks = callbacks;
|
@@ -791,8 +791,8 @@ export class FederationImpl {
|
|
791
791
|
}
|
792
792
|
this.inboxPath = inboxPath;
|
793
793
|
if (variables.has("handle")) {
|
794
|
-
getLogger(["fedify", "federation", "inbox"]).warn("The {handle} variable in the inbox path is deprecated. " +
|
795
|
-
"Use {identifier} instead.");
|
794
|
+
getLogger(["fedify", "federation", "inbox"]).warn("The {{handle}} variable in the inbox path is deprecated. " +
|
795
|
+
"Use {{identifier}} instead.");
|
796
796
|
}
|
797
797
|
}
|
798
798
|
if (sharedInboxPath != null) {
|