@fedify/fedify 1.0.9 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +136 -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.0.11
|
7
|
+
--------------
|
8
|
+
|
9
|
+
Released on December 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.0.10
|
16
|
+
--------------
|
17
|
+
|
18
|
+
Released on December 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.0.9
|
7
73
|
-------------
|
8
74
|
|
@@ -287,6 +353,76 @@ Released on September 26, 2024.
|
|
287
353
|
[#137]: https://github.com/dahlia/fedify/issues/137
|
288
354
|
|
289
355
|
|
356
|
+
Version 0.15.9
|
357
|
+
--------------
|
358
|
+
|
359
|
+
Released on November 22, 2024.
|
360
|
+
|
361
|
+
- Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
|
362
|
+
when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
|
363
|
+
|
364
|
+
[#166]: https://github.com/dahlia/fedify/issues/166
|
365
|
+
|
366
|
+
|
367
|
+
Version 0.15.8
|
368
|
+
--------------
|
369
|
+
|
370
|
+
Released on November 19, 2024.
|
371
|
+
|
372
|
+
- Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
|
373
|
+
able to be set to an `OrderedCollectionPage` object, even though it is
|
374
|
+
a subtype of `OrderedCollection` according to Activity Vocabulary
|
375
|
+
specification. [[#165]]
|
376
|
+
|
377
|
+
- The type of `Application()` constructor's `inbox` and `outbox` options
|
378
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
379
|
+
(was `OrderedCollection | null | undefined`).
|
380
|
+
- The type of `Application.clone()` method's `inbox` and `outbox` options
|
381
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
382
|
+
(was `OrderedCollection | null | undefined`).
|
383
|
+
- The return type of `Application.getInbox()` and
|
384
|
+
`Application.getOutbox()` methods is now `OrderedCollection |
|
385
|
+
OrderedCollectionPage | null` (was `OrderedCollection | null`).
|
386
|
+
- The type of `Group()` constructor's `inbox` and `outbox` options is
|
387
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
388
|
+
`OrderedCollection | null | undefined`).
|
389
|
+
- The type of `Group.clone()` method's `inbox` and `outbox` options is
|
390
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
391
|
+
`OrderedCollection | null | undefined`).
|
392
|
+
- The return type of `Group.getInbox()` and `Group.getOutbox()` methods
|
393
|
+
is now `OrderedCollection | OrderedCollectionPage | null` (was
|
394
|
+
`OrderedCollection | null`).
|
395
|
+
- The type of `Organization()` constructor's `inbox` and `outbox` options
|
396
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
397
|
+
(was `OrderedCollection | null | undefined`).
|
398
|
+
- The type of `Organization.clone()` method's `inbox` and `outbox` options
|
399
|
+
is now `OrderedCollection | OrderedCollectionPage | null | undefined`
|
400
|
+
(was `OrderedCollection | null | undefined`).
|
401
|
+
- The return type of `Organization.getInbox()` and
|
402
|
+
`Organization.getOutbox()` methods is now `OrderedCollection |
|
403
|
+
OrderedCollectionPage | null` (was `OrderedCollection | null`).
|
404
|
+
- The type of `Person()` constructor's `inbox` and `outbox` options is
|
405
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
406
|
+
`OrderedCollection | null | undefined`).
|
407
|
+
- The type of `Person.clone()` method's `inbox` and `outbox` options is
|
408
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
409
|
+
`OrderedCollection | null | undefined`).
|
410
|
+
- The return type of `Person.getInbox()` and `Person.getOutbox()` methods
|
411
|
+
is now `OrderedCollection | OrderedCollectionPage | null` (was
|
412
|
+
`OrderedCollection | null`).
|
413
|
+
- The type of `Service()` constructor's `inbox` and `outbox` options is
|
414
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
415
|
+
`OrderedCollection | null | undefined`).
|
416
|
+
- The type of `Service.clone()` method's `inbox` and `outbox` options is
|
417
|
+
now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
|
418
|
+
`OrderedCollection | null | undefined`).
|
419
|
+
- The return type of `Service.getInbox()` and `Service.getOutbox()`
|
420
|
+
methods is now `OrderedCollection | OrderedCollectionPage | null` (was
|
421
|
+
`OrderedCollection | null`).
|
422
|
+
|
423
|
+
[#165]: https://github.com/dahlia/fedify/issues/165
|
424
|
+
|
425
|
+
|
290
426
|
Version 0.15.7
|
291
427
|
--------------
|
292
428
|
|
@@ -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
|
+
}
|
@@ -102,6 +102,7 @@ properties:
|
|
102
102
|
and dropping any activities already seen.
|
103
103
|
range:
|
104
104
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
105
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
105
106
|
|
106
107
|
- singularName: outbox
|
107
108
|
functional: true
|
@@ -120,6 +121,7 @@ properties:
|
|
120
121
|
implementing and deploying the server.
|
121
122
|
range:
|
122
123
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
124
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
123
125
|
|
124
126
|
- singularName: following
|
125
127
|
functional: true
|
package/esm/vocab/group.yaml
CHANGED
@@ -102,6 +102,7 @@ properties:
|
|
102
102
|
and dropping any activities already seen.
|
103
103
|
range:
|
104
104
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
105
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
105
106
|
|
106
107
|
- singularName: outbox
|
107
108
|
functional: true
|
@@ -120,6 +121,7 @@ properties:
|
|
120
121
|
implementing and deploying the server.
|
121
122
|
range:
|
122
123
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
124
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
123
125
|
|
124
126
|
- singularName: following
|
125
127
|
functional: true
|
@@ -102,6 +102,7 @@ properties:
|
|
102
102
|
and dropping any activities already seen.
|
103
103
|
range:
|
104
104
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
105
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
105
106
|
|
106
107
|
- singularName: outbox
|
107
108
|
functional: true
|
@@ -120,6 +121,7 @@ properties:
|
|
120
121
|
implementing and deploying the server.
|
121
122
|
range:
|
122
123
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
124
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
123
125
|
|
124
126
|
- singularName: following
|
125
127
|
functional: true
|
package/esm/vocab/person.yaml
CHANGED
@@ -102,6 +102,7 @@ properties:
|
|
102
102
|
and dropping any activities already seen.
|
103
103
|
range:
|
104
104
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
105
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
105
106
|
|
106
107
|
- singularName: outbox
|
107
108
|
functional: true
|
@@ -120,6 +121,7 @@ properties:
|
|
120
121
|
implementing and deploying the server.
|
121
122
|
range:
|
122
123
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
124
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
123
125
|
|
124
126
|
- singularName: following
|
125
127
|
functional: true
|
package/esm/vocab/service.yaml
CHANGED
@@ -102,6 +102,7 @@ properties:
|
|
102
102
|
and dropping any activities already seen.
|
103
103
|
range:
|
104
104
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
105
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
105
106
|
|
106
107
|
- singularName: outbox
|
107
108
|
functional: true
|
@@ -120,6 +121,7 @@ properties:
|
|
120
121
|
implementing and deploying the server.
|
121
122
|
range:
|
122
123
|
- "https://www.w3.org/ns/activitystreams#OrderedCollection"
|
124
|
+
- "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
|
123
125
|
|
124
126
|
- singularName: following
|
125
127
|
functional: true
|