@fedify/fedify 1.0.0-dev.416 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +31 -1
- 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,10 +3,22 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 1.0.1
|
7
|
+
-------------
|
8
|
+
|
9
|
+
Released on September 26, 2024.
|
10
|
+
|
11
|
+
- Fixed deprecation messages related to the `{handle}` variable in URL
|
12
|
+
templates; they had had wrong placeholders in the message templates.
|
13
|
+
|
14
|
+
- Fixed a bug of `Object.toJsonLd()` method where it had not fall back to
|
15
|
+
the proper compact form when the heuristic compact form was not available.
|
16
|
+
|
17
|
+
|
6
18
|
Version 1.0.0
|
7
19
|
--------------
|
8
20
|
|
9
|
-
|
21
|
+
Released on September 26, 2024.
|
10
22
|
|
11
23
|
- The term `handle` for dispatching actors is deprecated in favor of
|
12
24
|
`identifier`.
|
@@ -174,6 +186,15 @@ To be released.
|
|
174
186
|
[#137]: https://github.com/dahlia/fedify/issues/137
|
175
187
|
|
176
188
|
|
189
|
+
Version 0.15.2
|
190
|
+
--------------
|
191
|
+
|
192
|
+
Released on September 26, 2024.
|
193
|
+
|
194
|
+
- Fixed a bug of `Object.toJsonLd()` method where it had not fall back to
|
195
|
+
the proper compact form when the heuristic compact form was not available.
|
196
|
+
|
197
|
+
|
177
198
|
Version 0.15.1
|
178
199
|
--------------
|
179
200
|
|
@@ -247,6 +268,15 @@ Released on September 11, 2024.
|
|
247
268
|
object.
|
248
269
|
|
249
270
|
|
271
|
+
Version 0.14.5
|
272
|
+
--------------
|
273
|
+
|
274
|
+
Released on September 26, 2024.
|
275
|
+
|
276
|
+
- Fixed a bug of `Object.toJsonLd()` method where it had not fall back to
|
277
|
+
the proper compact form when the heuristic compact form was not available.
|
278
|
+
|
279
|
+
|
250
280
|
Version 0.14.4
|
251
281
|
--------------
|
252
282
|
|
@@ -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) {
|