@fedify/fedify 1.0.9 → 1.0.10

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,63 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
+ Version 1.0.10
7
+ --------------
8
+
9
+ Released on December 19, 2024.
10
+
11
+ - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
12
+ able to be set to an `OrderedCollectionPage` object, even though it is
13
+ a subtype of `OrderedCollection` according to Activity Vocabulary
14
+ specification. [[#165]]
15
+
16
+ - The type of `Application()` constructor's `inbox` and `outbox` options
17
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
18
+ (was `OrderedCollection | null | undefined`).
19
+ - The type of `Application.clone()` method's `inbox` and `outbox` options
20
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
21
+ (was `OrderedCollection | null | undefined`).
22
+ - The return type of `Application.getInbox()` and
23
+ `Application.getOutbox()` methods is now `OrderedCollection |
24
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
25
+ - The type of `Group()` constructor's `inbox` and `outbox` options is
26
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
27
+ `OrderedCollection | null | undefined`).
28
+ - The type of `Group.clone()` method's `inbox` and `outbox` options is
29
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
30
+ `OrderedCollection | null | undefined`).
31
+ - The return type of `Group.getInbox()` and `Group.getOutbox()` methods
32
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
33
+ `OrderedCollection | null`).
34
+ - The type of `Organization()` constructor's `inbox` and `outbox` options
35
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
36
+ (was `OrderedCollection | null | undefined`).
37
+ - The type of `Organization.clone()` method's `inbox` and `outbox` options
38
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
39
+ (was `OrderedCollection | null | undefined`).
40
+ - The return type of `Organization.getInbox()` and
41
+ `Organization.getOutbox()` methods is now `OrderedCollection |
42
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
43
+ - The type of `Person()` constructor's `inbox` and `outbox` options is
44
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
45
+ `OrderedCollection | null | undefined`).
46
+ - The type of `Person.clone()` method's `inbox` and `outbox` options is
47
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
48
+ `OrderedCollection | null | undefined`).
49
+ - The return type of `Person.getInbox()` and `Person.getOutbox()` methods
50
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
51
+ `OrderedCollection | null`).
52
+ - The type of `Service()` constructor's `inbox` and `outbox` options is
53
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
54
+ `OrderedCollection | null | undefined`).
55
+ - The type of `Service.clone()` method's `inbox` and `outbox` options is
56
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
57
+ `OrderedCollection | null | undefined`).
58
+ - The return type of `Service.getInbox()` and `Service.getOutbox()`
59
+ methods is now `OrderedCollection | OrderedCollectionPage | null` (was
60
+ `OrderedCollection | null`).
61
+
62
+
6
63
  Version 1.0.9
7
64
  -------------
8
65
 
@@ -287,6 +344,65 @@ Released on September 26, 2024.
287
344
  [#137]: https://github.com/dahlia/fedify/issues/137
288
345
 
289
346
 
347
+ Version 0.15.8
348
+ --------------
349
+
350
+ Released on November 159, 2024.
351
+
352
+ - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
353
+ able to be set to an `OrderedCollectionPage` object, even though it is
354
+ a subtype of `OrderedCollection` according to Activity Vocabulary
355
+ specification. [[#165]]
356
+
357
+ - The type of `Application()` constructor's `inbox` and `outbox` options
358
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
359
+ (was `OrderedCollection | null | undefined`).
360
+ - The type of `Application.clone()` method's `inbox` and `outbox` options
361
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
362
+ (was `OrderedCollection | null | undefined`).
363
+ - The return type of `Application.getInbox()` and
364
+ `Application.getOutbox()` methods is now `OrderedCollection |
365
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
366
+ - The type of `Group()` constructor's `inbox` and `outbox` options is
367
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
368
+ `OrderedCollection | null | undefined`).
369
+ - The type of `Group.clone()` method's `inbox` and `outbox` options is
370
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
371
+ `OrderedCollection | null | undefined`).
372
+ - The return type of `Group.getInbox()` and `Group.getOutbox()` methods
373
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
374
+ `OrderedCollection | null`).
375
+ - The type of `Organization()` constructor's `inbox` and `outbox` options
376
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
377
+ (was `OrderedCollection | null | undefined`).
378
+ - The type of `Organization.clone()` method's `inbox` and `outbox` options
379
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
380
+ (was `OrderedCollection | null | undefined`).
381
+ - The return type of `Organization.getInbox()` and
382
+ `Organization.getOutbox()` methods is now `OrderedCollection |
383
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
384
+ - The type of `Person()` constructor's `inbox` and `outbox` options is
385
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
386
+ `OrderedCollection | null | undefined`).
387
+ - The type of `Person.clone()` method's `inbox` and `outbox` options is
388
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
389
+ `OrderedCollection | null | undefined`).
390
+ - The return type of `Person.getInbox()` and `Person.getOutbox()` methods
391
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
392
+ `OrderedCollection | null`).
393
+ - The type of `Service()` constructor's `inbox` and `outbox` options is
394
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
395
+ `OrderedCollection | null | undefined`).
396
+ - The type of `Service.clone()` method's `inbox` and `outbox` options is
397
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
398
+ `OrderedCollection | null | undefined`).
399
+ - The return type of `Service.getInbox()` and `Service.getOutbox()`
400
+ methods is now `OrderedCollection | OrderedCollectionPage | null` (was
401
+ `OrderedCollection | null`).
402
+
403
+ [#165]: https://github.com/dahlia/fedify/issues/165
404
+
405
+
290
406
  Version 0.15.7
291
407
  --------------
292
408
 
@@ -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
@@ -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
@@ -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