@fedify/fedify 1.1.5 → 1.1.7
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 +202 -0
- package/esm/testing/fixtures/example.com/orderedcollectionpage +24 -0
- package/esm/vocab/application.yaml +2 -0
- package/esm/vocab/group.yaml +2 -0
- package/esm/vocab/organization.yaml +2 -0
- package/esm/vocab/person.yaml +2 -0
- package/esm/vocab/service.yaml +2 -0
- package/esm/vocab/vocab.js +450 -110
- package/esm/webfinger/lookup.js +1 -1
- package/package.json +1 -1
- package/types/vocab/vocab.d.ts +30 -30
- package/types/vocab/vocab.d.ts.map +1 -1
- package/types/webfinger/lookup.d.ts.map +1 -1
package/CHANGES.md
CHANGED
@@ -3,6 +3,72 @@
|
|
3
3
|
Fedify changelog
|
4
4
|
================
|
5
5
|
|
6
|
+
Version 1.1.7
|
7
|
+
-------------
|
8
|
+
|
9
|
+
Released on November 22, 2024.
|
10
|
+
|
11
|
+
- Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
|
12
|
+
when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
|
13
|
+
|
14
|
+
|
15
|
+
Version 1.1.6
|
16
|
+
-------------
|
17
|
+
|
18
|
+
Released on November 19, 2024.
|
19
|
+
|
20
|
+
- Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
|
21
|
+
able to be set to an `OrderedCollectionPage` object, even though it is
|
22
|
+
a subtype of `OrderedCollection` according to Activity Vocabulary
|
23
|
+
specification. [[#165]]
|
24
|
+
|
25
|
+
- The type of `Application()` constructor's `inbox` and `outbox` options
|
26
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
27
|
+
(was `OrderedCollection | null | undefined`).
|
28
|
+
- The type of `Application.clone()` method's `inbox` and `outbox` options
|
29
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
30
|
+
(was `OrderedCollection | null | undefined`).
|
31
|
+
- The return type of `Application.getInbox()` and
|
32
|
+
`Application.getOutbox()` methods is now `OrderedCollection |
|
33
|
+
OrderedCollectionPage | null` (was `OrderedCollection | null`).
|
34
|
+
- The type of `Group()` constructor's `inbox` and `outbox` options is
|
35
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
36
|
+
`OrderedCollection | null | undefined`).
|
37
|
+
- The type of `Group.clone()` method's `inbox` and `outbox` options is
|
38
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
39
|
+
`OrderedCollection | null | undefined`).
|
40
|
+
- The return type of `Group.getInbox()` and `Group.getOutbox()` methods
|
41
|
+
is now `OrderedCollection | OrderedCollectionPage | null` (was
|
42
|
+
`OrderedCollection | null`).
|
43
|
+
- The type of `Organization()` constructor's `inbox` and `outbox` options
|
44
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
45
|
+
(was `OrderedCollection | null | undefined`).
|
46
|
+
- The type of `Organization.clone()` method's `inbox` and `outbox` options
|
47
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
48
|
+
(was `OrderedCollection | null | undefined`).
|
49
|
+
- The return type of `Organization.getInbox()` and
|
50
|
+
`Organization.getOutbox()` methods is now `OrderedCollection |
|
51
|
+
OrderedCollectionPage | null` (was `OrderedCollection | null`).
|
52
|
+
- The type of `Person()` constructor's `inbox` and `outbox` options is
|
53
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
54
|
+
`OrderedCollection | null | undefined`).
|
55
|
+
- The type of `Person.clone()` method's `inbox` and `outbox` options is
|
56
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
57
|
+
`OrderedCollection | null | undefined`).
|
58
|
+
- The return type of `Person.getInbox()` and `Person.getOutbox()` methods
|
59
|
+
is now `OrderedCollection | OrderedCollectionPage | null` (was
|
60
|
+
`OrderedCollection | null`).
|
61
|
+
- The type of `Service()` constructor's `inbox` and `outbox` options is
|
62
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
63
|
+
`OrderedCollection | null | undefined`).
|
64
|
+
- The type of `Service.clone()` method's `inbox` and `outbox` options is
|
65
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
66
|
+
`OrderedCollection | null | undefined`).
|
67
|
+
- The return type of `Service.getInbox()` and `Service.getOutbox()`
|
68
|
+
methods is now `OrderedCollection | OrderedCollectionPage | null` (was
|
69
|
+
`OrderedCollection | null`).
|
70
|
+
|
71
|
+
|
6
72
|
Version 1.1.5
|
7
73
|
-------------
|
8
74
|
|
@@ -168,6 +234,72 @@ Released on October 20, 2024.
|
|
168
234
|
[#150]: https://github.com/dahlia/fedify/issues/150
|
169
235
|
|
170
236
|
|
237
|
+
Version 1.0.11
|
238
|
+
--------------
|
239
|
+
|
240
|
+
Released on December 22, 2024.
|
241
|
+
|
242
|
+
- Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
|
243
|
+
when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
|
244
|
+
|
245
|
+
|
246
|
+
Version 1.0.10
|
247
|
+
--------------
|
248
|
+
|
249
|
+
Released on December 19, 2024.
|
250
|
+
|
251
|
+
- Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
|
252
|
+
able to be set to an `OrderedCollectionPage` object, even though it is
|
253
|
+
a subtype of `OrderedCollection` according to Activity Vocabulary
|
254
|
+
specification. [[#165]]
|
255
|
+
|
256
|
+
- The type of `Application()` constructor's `inbox` and `outbox` options
|
257
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
258
|
+
(was `OrderedCollection | null | undefined`).
|
259
|
+
- The type of `Application.clone()` method's `inbox` and `outbox` options
|
260
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
261
|
+
(was `OrderedCollection | null | undefined`).
|
262
|
+
- The return type of `Application.getInbox()` and
|
263
|
+
`Application.getOutbox()` methods is now `OrderedCollection |
|
264
|
+
OrderedCollectionPage | null` (was `OrderedCollection | null`).
|
265
|
+
- The type of `Group()` constructor's `inbox` and `outbox` options is
|
266
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
267
|
+
`OrderedCollection | null | undefined`).
|
268
|
+
- The type of `Group.clone()` method's `inbox` and `outbox` options is
|
269
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
270
|
+
`OrderedCollection | null | undefined`).
|
271
|
+
- The return type of `Group.getInbox()` and `Group.getOutbox()` methods
|
272
|
+
is now `OrderedCollection | OrderedCollectionPage | null` (was
|
273
|
+
`OrderedCollection | null`).
|
274
|
+
- The type of `Organization()` constructor's `inbox` and `outbox` options
|
275
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
276
|
+
(was `OrderedCollection | null | undefined`).
|
277
|
+
- The type of `Organization.clone()` method's `inbox` and `outbox` options
|
278
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
279
|
+
(was `OrderedCollection | null | undefined`).
|
280
|
+
- The return type of `Organization.getInbox()` and
|
281
|
+
`Organization.getOutbox()` methods is now `OrderedCollection |
|
282
|
+
OrderedCollectionPage | null` (was `OrderedCollection | null`).
|
283
|
+
- The type of `Person()` constructor's `inbox` and `outbox` options is
|
284
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
285
|
+
`OrderedCollection | null | undefined`).
|
286
|
+
- The type of `Person.clone()` method's `inbox` and `outbox` options is
|
287
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
288
|
+
`OrderedCollection | null | undefined`).
|
289
|
+
- The return type of `Person.getInbox()` and `Person.getOutbox()` methods
|
290
|
+
is now `OrderedCollection | OrderedCollectionPage | null` (was
|
291
|
+
`OrderedCollection | null`).
|
292
|
+
- The type of `Service()` constructor's `inbox` and `outbox` options is
|
293
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
294
|
+
`OrderedCollection | null | undefined`).
|
295
|
+
- The type of `Service.clone()` method's `inbox` and `outbox` options is
|
296
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
297
|
+
`OrderedCollection | null | undefined`).
|
298
|
+
- The return type of `Service.getInbox()` and `Service.getOutbox()`
|
299
|
+
methods is now `OrderedCollection | OrderedCollectionPage | null` (was
|
300
|
+
`OrderedCollection | null`).
|
301
|
+
|
302
|
+
|
171
303
|
Version 1.0.9
|
172
304
|
-------------
|
173
305
|
|
@@ -452,6 +584,76 @@ Released on September 26, 2024.
|
|
452
584
|
[#137]: https://github.com/dahlia/fedify/issues/137
|
453
585
|
|
454
586
|
|
587
|
+
Version 0.15.9
|
588
|
+
--------------
|
589
|
+
|
590
|
+
Released on November 22, 2024.
|
591
|
+
|
592
|
+
- Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
|
593
|
+
when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
|
594
|
+
|
595
|
+
[#166]: https://github.com/dahlia/fedify/issues/166
|
596
|
+
|
597
|
+
|
598
|
+
Version 0.15.8
|
599
|
+
--------------
|
600
|
+
|
601
|
+
Released on November 19, 2024.
|
602
|
+
|
603
|
+
- Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
|
604
|
+
able to be set to an `OrderedCollectionPage` object, even though it is
|
605
|
+
a subtype of `OrderedCollection` according to Activity Vocabulary
|
606
|
+
specification. [[#165]]
|
607
|
+
|
608
|
+
- The type of `Application()` constructor's `inbox` and `outbox` options
|
609
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
610
|
+
(was `OrderedCollection | null | undefined`).
|
611
|
+
- The type of `Application.clone()` method's `inbox` and `outbox` options
|
612
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
613
|
+
(was `OrderedCollection | null | undefined`).
|
614
|
+
- The return type of `Application.getInbox()` and
|
615
|
+
`Application.getOutbox()` methods is now `OrderedCollection |
|
616
|
+
OrderedCollectionPage | null` (was `OrderedCollection | null`).
|
617
|
+
- The type of `Group()` constructor's `inbox` and `outbox` options is
|
618
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
619
|
+
`OrderedCollection | null | undefined`).
|
620
|
+
- The type of `Group.clone()` method's `inbox` and `outbox` options is
|
621
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
622
|
+
`OrderedCollection | null | undefined`).
|
623
|
+
- The return type of `Group.getInbox()` and `Group.getOutbox()` methods
|
624
|
+
is now `OrderedCollection | OrderedCollectionPage | null` (was
|
625
|
+
`OrderedCollection | null`).
|
626
|
+
- The type of `Organization()` constructor's `inbox` and `outbox` options
|
627
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
628
|
+
(was `OrderedCollection | null | undefined`).
|
629
|
+
- The type of `Organization.clone()` method's `inbox` and `outbox` options
|
630
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
631
|
+
(was `OrderedCollection | null | undefined`).
|
632
|
+
- The return type of `Organization.getInbox()` and
|
633
|
+
`Organization.getOutbox()` methods is now `OrderedCollection |
|
634
|
+
OrderedCollectionPage | null` (was `OrderedCollection | null`).
|
635
|
+
- The type of `Person()` constructor's `inbox` and `outbox` options is
|
636
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
637
|
+
`OrderedCollection | null | undefined`).
|
638
|
+
- The type of `Person.clone()` method's `inbox` and `outbox` options is
|
639
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
640
|
+
`OrderedCollection | null | undefined`).
|
641
|
+
- The return type of `Person.getInbox()` and `Person.getOutbox()` methods
|
642
|
+
is now `OrderedCollection | OrderedCollectionPage | null` (was
|
643
|
+
`OrderedCollection | null`).
|
644
|
+
- The type of `Service()` constructor's `inbox` and `outbox` options is
|
645
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
646
|
+
`OrderedCollection | null | undefined`).
|
647
|
+
- The type of `Service.clone()` method's `inbox` and `outbox` options is
|
648
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
649
|
+
`OrderedCollection | null | undefined`).
|
650
|
+
- The return type of `Service.getInbox()` and `Service.getOutbox()`
|
651
|
+
methods is now `OrderedCollection | OrderedCollectionPage | null` (was
|
652
|
+
`OrderedCollection | null`).
|
653
|
+
|
654
|
+
[#165]: https://github.com/dahlia/fedify/issues/165
|
655
|
+
|
656
|
+
|
455
657
|
Version 0.15.7
|
456
658
|
--------------
|
457
659
|
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"@context": "https://www.w3.org/ns/activitystreams",
|
3
|
+
"id": "https://example.com/orderedcollectionpage",
|
4
|
+
"type": "OrderedCollectionPage",
|
5
|
+
"partOf": "https://example.com/orderedcollectionpage",
|
6
|
+
"totalItems": 1,
|
7
|
+
"orderedItems": [
|
8
|
+
{
|
9
|
+
"id": "https://example.com/activities/1",
|
10
|
+
"type": "Create",
|
11
|
+
"published": "2024-11-19T15:24:56Z",
|
12
|
+
"actor": "https://example.com/users/1",
|
13
|
+
"to": "https://www.w3.org/ns/activitystreams#Public",
|
14
|
+
"object": {
|
15
|
+
"id": "https://example.com/notes/1",
|
16
|
+
"type": "Note",
|
17
|
+
"content": "This is a simple note",
|
18
|
+
"attributedTo": "https://example.com/users/1",
|
19
|
+
"to": "https://www.w3.org/ns/activitystreams#Public",
|
20
|
+
"published": "2024-11-19T15:24:56Z"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
]
|
24
|
+
}
|
@@ -105,6 +105,7 @@ properties:
|
|
105
105
|
and dropping any activities already seen.
|
106
106
|
range:
|
107
107
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
108
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
108
109
|
|
109
110
|
- singularName: outbox
|
110
111
|
functional: true
|
@@ -123,6 +124,7 @@ properties:
|
|
123
124
|
implementing and deploying the server.
|
124
125
|
range:
|
125
126
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
127
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
126
128
|
|
127
129
|
- singularName: following
|
128
130
|
functional: true
|
package/esm/vocab/group.yaml
CHANGED
@@ -105,6 +105,7 @@ properties:
|
|
105
105
|
and dropping any activities already seen.
|
106
106
|
range:
|
107
107
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
108
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
108
109
|
|
109
110
|
- singularName: outbox
|
110
111
|
functional: true
|
@@ -123,6 +124,7 @@ properties:
|
|
123
124
|
implementing and deploying the server.
|
124
125
|
range:
|
125
126
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
127
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
126
128
|
|
127
129
|
- singularName: following
|
128
130
|
functional: true
|
@@ -105,6 +105,7 @@ properties:
|
|
105
105
|
and dropping any activities already seen.
|
106
106
|
range:
|
107
107
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
108
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
108
109
|
|
109
110
|
- singularName: outbox
|
110
111
|
functional: true
|
@@ -123,6 +124,7 @@ properties:
|
|
123
124
|
implementing and deploying the server.
|
124
125
|
range:
|
125
126
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
127
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
126
128
|
|
127
129
|
- singularName: following
|
128
130
|
functional: true
|
package/esm/vocab/person.yaml
CHANGED
@@ -105,6 +105,7 @@ properties:
|
|
105
105
|
and dropping any activities already seen.
|
106
106
|
range:
|
107
107
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
108
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
108
109
|
|
109
110
|
- singularName: outbox
|
110
111
|
functional: true
|
@@ -123,6 +124,7 @@ properties:
|
|
123
124
|
implementing and deploying the server.
|
124
125
|
range:
|
125
126
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
127
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
126
128
|
|
127
129
|
- singularName: following
|
128
130
|
functional: true
|
package/esm/vocab/service.yaml
CHANGED
@@ -105,6 +105,7 @@ properties:
|
|
105
105
|
and dropping any activities already seen.
|
106
106
|
range:
|
107
107
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
108
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
108
109
|
|
109
110
|
- singularName: outbox
|
110
111
|
functional: true
|
@@ -123,6 +124,7 @@ properties:
|
|
123
124
|
implementing and deploying the server.
|
124
125
|
range:
|
125
126
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
127
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
126
128
|
|
127
129
|
- singularName: following
|
128
130
|
functional: true
|