@fedify/fedify 0.15.7 → 0.15.9

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 CHANGED
@@ -3,6 +3,76 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
+ Version 0.15.9
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
+ [#166]: https://github.com/dahlia/fedify/issues/166
15
+
16
+
17
+ Version 0.15.8
18
+ --------------
19
+
20
+ Released on November 19, 2024.
21
+
22
+ - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
23
+ able to be set to an `OrderedCollectionPage` object, even though it is
24
+ a subtype of `OrderedCollection` according to Activity Vocabulary
25
+ specification. [[#165]]
26
+
27
+ - The type of `Application()` constructor's `inbox` and `outbox` options
28
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
29
+ (was `OrderedCollection | null | undefined`).
30
+ - The type of `Application.clone()` method's `inbox` and `outbox` options
31
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
32
+ (was `OrderedCollection | null | undefined`).
33
+ - The return type of `Application.getInbox()` and
34
+ `Application.getOutbox()` methods is now `OrderedCollection |
35
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
36
+ - The type of `Group()` constructor's `inbox` and `outbox` options is
37
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
38
+ `OrderedCollection | null | undefined`).
39
+ - The type of `Group.clone()` method's `inbox` and `outbox` options is
40
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
41
+ `OrderedCollection | null | undefined`).
42
+ - The return type of `Group.getInbox()` and `Group.getOutbox()` methods
43
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
44
+ `OrderedCollection | null`).
45
+ - The type of `Organization()` constructor's `inbox` and `outbox` options
46
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
47
+ (was `OrderedCollection | null | undefined`).
48
+ - The type of `Organization.clone()` method's `inbox` and `outbox` options
49
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
50
+ (was `OrderedCollection | null | undefined`).
51
+ - The return type of `Organization.getInbox()` and
52
+ `Organization.getOutbox()` methods is now `OrderedCollection |
53
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
54
+ - The type of `Person()` constructor's `inbox` and `outbox` options is
55
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
56
+ `OrderedCollection | null | undefined`).
57
+ - The type of `Person.clone()` method's `inbox` and `outbox` options is
58
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
59
+ `OrderedCollection | null | undefined`).
60
+ - The return type of `Person.getInbox()` and `Person.getOutbox()` methods
61
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
62
+ `OrderedCollection | null`).
63
+ - The type of `Service()` constructor's `inbox` and `outbox` options is
64
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
65
+ `OrderedCollection | null | undefined`).
66
+ - The type of `Service.clone()` method's `inbox` and `outbox` options is
67
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
68
+ `OrderedCollection | null | undefined`).
69
+ - The return type of `Service.getInbox()` and `Service.getOutbox()`
70
+ methods is now `OrderedCollection | OrderedCollectionPage | null` (was
71
+ `OrderedCollection | null`).
72
+
73
+ [#165]: https://github.com/dahlia/fedify/issues/165
74
+
75
+
6
76
  Version 0.15.7
7
77
  --------------
8
78
 
@@ -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
+ }
@@ -97,6 +97,7 @@ properties:
97
97
  and dropping any activities already seen.
98
98
  range:
99
99
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
100
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
100
101
 
101
102
  - singularName: outbox
102
103
  functional: true
@@ -115,6 +116,7 @@ properties:
115
116
  implementing and deploying the server.
116
117
  range:
117
118
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
119
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
118
120
 
119
121
  - singularName: following
120
122
  functional: true
@@ -97,6 +97,7 @@ properties:
97
97
  and dropping any activities already seen.
98
98
  range:
99
99
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
100
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
100
101
 
101
102
  - singularName: outbox
102
103
  functional: true
@@ -115,6 +116,7 @@ properties:
115
116
  implementing and deploying the server.
116
117
  range:
117
118
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
119
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
118
120
 
119
121
  - singularName: following
120
122
  functional: true
@@ -97,6 +97,7 @@ properties:
97
97
  and dropping any activities already seen.
98
98
  range:
99
99
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
100
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
100
101
 
101
102
  - singularName: outbox
102
103
  functional: true
@@ -115,6 +116,7 @@ properties:
115
116
  implementing and deploying the server.
116
117
  range:
117
118
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
119
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
118
120
 
119
121
  - singularName: following
120
122
  functional: true
@@ -97,6 +97,7 @@ properties:
97
97
  and dropping any activities already seen.
98
98
  range:
99
99
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
100
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
100
101
 
101
102
  - singularName: outbox
102
103
  functional: true
@@ -115,6 +116,7 @@ properties:
115
116
  implementing and deploying the server.
116
117
  range:
117
118
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
119
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
118
120
 
119
121
  - singularName: following
120
122
  functional: true
@@ -97,6 +97,7 @@ properties:
97
97
  and dropping any activities already seen.
98
98
  range:
99
99
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
100
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
100
101
 
101
102
  - singularName: outbox
102
103
  functional: true
@@ -115,6 +116,7 @@ properties:
115
116
  implementing and deploying the server.
116
117
  range:
117
118
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
119
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
118
120
 
119
121
  - singularName: following
120
122
  functional: true