@fedify/fedify 1.3.0-dev.502 → 1.3.0-dev.507

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGES.md CHANGED
@@ -33,6 +33,63 @@ To be released.
33
33
  [#162]: https://github.com/dahlia/fedify/issues/162
34
34
 
35
35
 
36
+ Version 1.2.6
37
+ -------------
38
+
39
+ Released on December 19, 2024.
40
+
41
+ - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
42
+ able to be set to an `OrderedCollectionPage` object, even though it is
43
+ a subtype of `OrderedCollection` according to Activity Vocabulary
44
+ specification. [[#165]]
45
+
46
+ - The type of `Application()` constructor's `inbox` and `outbox` options
47
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
48
+ (was `OrderedCollection | null | undefined`).
49
+ - The type of `Application.clone()` method's `inbox` and `outbox` options
50
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
51
+ (was `OrderedCollection | null | undefined`).
52
+ - The return type of `Application.getInbox()` and
53
+ `Application.getOutbox()` methods is now `OrderedCollection |
54
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
55
+ - The type of `Group()` constructor's `inbox` and `outbox` options is
56
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
57
+ `OrderedCollection | null | undefined`).
58
+ - The type of `Group.clone()` method's `inbox` and `outbox` options is
59
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
60
+ `OrderedCollection | null | undefined`).
61
+ - The return type of `Group.getInbox()` and `Group.getOutbox()` methods
62
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
63
+ `OrderedCollection | null`).
64
+ - The type of `Organization()` constructor's `inbox` and `outbox` options
65
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
66
+ (was `OrderedCollection | null | undefined`).
67
+ - The type of `Organization.clone()` method's `inbox` and `outbox` options
68
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
69
+ (was `OrderedCollection | null | undefined`).
70
+ - The return type of `Organization.getInbox()` and
71
+ `Organization.getOutbox()` methods is now `OrderedCollection |
72
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
73
+ - The type of `Person()` constructor's `inbox` and `outbox` options is
74
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
75
+ `OrderedCollection | null | undefined`).
76
+ - The type of `Person.clone()` method's `inbox` and `outbox` options is
77
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
78
+ `OrderedCollection | null | undefined`).
79
+ - The return type of `Person.getInbox()` and `Person.getOutbox()` methods
80
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
81
+ `OrderedCollection | null`).
82
+ - The type of `Service()` constructor's `inbox` and `outbox` options is
83
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
84
+ `OrderedCollection | null | undefined`).
85
+ - The type of `Service.clone()` method's `inbox` and `outbox` options is
86
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
87
+ `OrderedCollection | null | undefined`).
88
+ - The return type of `Service.getInbox()` and `Service.getOutbox()`
89
+ methods is now `OrderedCollection | OrderedCollectionPage | null` (was
90
+ `OrderedCollection | null`).
91
+
92
+
36
93
  Version 1.2.5
37
94
  -------------
38
95
 
@@ -157,6 +214,63 @@ Released on October 31, 2024.
157
214
  [#118]: https://github.com/dahlia/fedify/issues/118
158
215
 
159
216
 
217
+ Version 1.1.6
218
+ -------------
219
+
220
+ Released on November 19, 2024.
221
+
222
+ - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
223
+ able to be set to an `OrderedCollectionPage` object, even though it is
224
+ a subtype of `OrderedCollection` according to Activity Vocabulary
225
+ specification. [[#165]]
226
+
227
+ - The type of `Application()` constructor's `inbox` and `outbox` options
228
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
229
+ (was `OrderedCollection | null | undefined`).
230
+ - The type of `Application.clone()` method's `inbox` and `outbox` options
231
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
232
+ (was `OrderedCollection | null | undefined`).
233
+ - The return type of `Application.getInbox()` and
234
+ `Application.getOutbox()` methods is now `OrderedCollection |
235
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
236
+ - The type of `Group()` constructor's `inbox` and `outbox` options is
237
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
238
+ `OrderedCollection | null | undefined`).
239
+ - The type of `Group.clone()` method's `inbox` and `outbox` options is
240
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
241
+ `OrderedCollection | null | undefined`).
242
+ - The return type of `Group.getInbox()` and `Group.getOutbox()` methods
243
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
244
+ `OrderedCollection | null`).
245
+ - The type of `Organization()` constructor's `inbox` and `outbox` options
246
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
247
+ (was `OrderedCollection | null | undefined`).
248
+ - The type of `Organization.clone()` method's `inbox` and `outbox` options
249
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
250
+ (was `OrderedCollection | null | undefined`).
251
+ - The return type of `Organization.getInbox()` and
252
+ `Organization.getOutbox()` methods is now `OrderedCollection |
253
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
254
+ - The type of `Person()` constructor's `inbox` and `outbox` options is
255
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
256
+ `OrderedCollection | null | undefined`).
257
+ - The type of `Person.clone()` method's `inbox` and `outbox` options is
258
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
259
+ `OrderedCollection | null | undefined`).
260
+ - The return type of `Person.getInbox()` and `Person.getOutbox()` methods
261
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
262
+ `OrderedCollection | null`).
263
+ - The type of `Service()` constructor's `inbox` and `outbox` options is
264
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
265
+ `OrderedCollection | null | undefined`).
266
+ - The type of `Service.clone()` method's `inbox` and `outbox` options is
267
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
268
+ `OrderedCollection | null | undefined`).
269
+ - The return type of `Service.getInbox()` and `Service.getOutbox()`
270
+ methods is now `OrderedCollection | OrderedCollectionPage | null` (was
271
+ `OrderedCollection | null`).
272
+
273
+
160
274
  Version 1.1.5
161
275
  -------------
162
276
 
@@ -322,6 +436,63 @@ Released on October 20, 2024.
322
436
  [#150]: https://github.com/dahlia/fedify/issues/150
323
437
 
324
438
 
439
+ Version 1.0.10
440
+ --------------
441
+
442
+ Released on December 19, 2024.
443
+
444
+ - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
445
+ able to be set to an `OrderedCollectionPage` object, even though it is
446
+ a subtype of `OrderedCollection` according to Activity Vocabulary
447
+ specification. [[#165]]
448
+
449
+ - The type of `Application()` constructor's `inbox` and `outbox` options
450
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
451
+ (was `OrderedCollection | null | undefined`).
452
+ - The type of `Application.clone()` method's `inbox` and `outbox` options
453
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
454
+ (was `OrderedCollection | null | undefined`).
455
+ - The return type of `Application.getInbox()` and
456
+ `Application.getOutbox()` methods is now `OrderedCollection |
457
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
458
+ - The type of `Group()` constructor's `inbox` and `outbox` options is
459
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
460
+ `OrderedCollection | null | undefined`).
461
+ - The type of `Group.clone()` method's `inbox` and `outbox` options is
462
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
463
+ `OrderedCollection | null | undefined`).
464
+ - The return type of `Group.getInbox()` and `Group.getOutbox()` methods
465
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
466
+ `OrderedCollection | null`).
467
+ - The type of `Organization()` constructor's `inbox` and `outbox` options
468
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
469
+ (was `OrderedCollection | null | undefined`).
470
+ - The type of `Organization.clone()` method's `inbox` and `outbox` options
471
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
472
+ (was `OrderedCollection | null | undefined`).
473
+ - The return type of `Organization.getInbox()` and
474
+ `Organization.getOutbox()` methods is now `OrderedCollection |
475
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
476
+ - The type of `Person()` constructor's `inbox` and `outbox` options is
477
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
478
+ `OrderedCollection | null | undefined`).
479
+ - The type of `Person.clone()` method's `inbox` and `outbox` options is
480
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
481
+ `OrderedCollection | null | undefined`).
482
+ - The return type of `Person.getInbox()` and `Person.getOutbox()` methods
483
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
484
+ `OrderedCollection | null`).
485
+ - The type of `Service()` constructor's `inbox` and `outbox` options is
486
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
487
+ `OrderedCollection | null | undefined`).
488
+ - The type of `Service.clone()` method's `inbox` and `outbox` options is
489
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
490
+ `OrderedCollection | null | undefined`).
491
+ - The return type of `Service.getInbox()` and `Service.getOutbox()`
492
+ methods is now `OrderedCollection | OrderedCollectionPage | null` (was
493
+ `OrderedCollection | null`).
494
+
495
+
325
496
  Version 1.0.9
326
497
  -------------
327
498
 
@@ -606,6 +777,65 @@ Released on September 26, 2024.
606
777
  [#137]: https://github.com/dahlia/fedify/issues/137
607
778
 
608
779
 
780
+ Version 0.15.8
781
+ --------------
782
+
783
+ Released on November 159, 2024.
784
+
785
+ - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
786
+ able to be set to an `OrderedCollectionPage` object, even though it is
787
+ a subtype of `OrderedCollection` according to Activity Vocabulary
788
+ specification. [[#165]]
789
+
790
+ - The type of `Application()` constructor's `inbox` and `outbox` options
791
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
792
+ (was `OrderedCollection | null | undefined`).
793
+ - The type of `Application.clone()` method's `inbox` and `outbox` options
794
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
795
+ (was `OrderedCollection | null | undefined`).
796
+ - The return type of `Application.getInbox()` and
797
+ `Application.getOutbox()` methods is now `OrderedCollection |
798
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
799
+ - The type of `Group()` constructor's `inbox` and `outbox` options is
800
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
801
+ `OrderedCollection | null | undefined`).
802
+ - The type of `Group.clone()` method's `inbox` and `outbox` options is
803
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
804
+ `OrderedCollection | null | undefined`).
805
+ - The return type of `Group.getInbox()` and `Group.getOutbox()` methods
806
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
807
+ `OrderedCollection | null`).
808
+ - The type of `Organization()` constructor's `inbox` and `outbox` options
809
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
810
+ (was `OrderedCollection | null | undefined`).
811
+ - The type of `Organization.clone()` method's `inbox` and `outbox` options
812
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
813
+ (was `OrderedCollection | null | undefined`).
814
+ - The return type of `Organization.getInbox()` and
815
+ `Organization.getOutbox()` methods is now `OrderedCollection |
816
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
817
+ - The type of `Person()` constructor's `inbox` and `outbox` options is
818
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
819
+ `OrderedCollection | null | undefined`).
820
+ - The type of `Person.clone()` method's `inbox` and `outbox` options is
821
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
822
+ `OrderedCollection | null | undefined`).
823
+ - The return type of `Person.getInbox()` and `Person.getOutbox()` methods
824
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
825
+ `OrderedCollection | null`).
826
+ - The type of `Service()` constructor's `inbox` and `outbox` options is
827
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
828
+ `OrderedCollection | null | undefined`).
829
+ - The type of `Service.clone()` method's `inbox` and `outbox` options is
830
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
831
+ `OrderedCollection | null | undefined`).
832
+ - The return type of `Service.getInbox()` and `Service.getOutbox()`
833
+ methods is now `OrderedCollection | OrderedCollectionPage | null` (was
834
+ `OrderedCollection | null`).
835
+
836
+ [#165]: https://github.com/dahlia/fedify/issues/165
837
+
838
+
609
839
  Version 0.15.7
610
840
  --------------
611
841
 
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.3.0-dev.502+58ce0c02",
3
+ "version": "1.3.0-dev.507+369ed297",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -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
+ }
@@ -106,6 +106,7 @@ properties:
106
106
  and dropping any activities already seen.
107
107
  range:
108
108
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
109
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
109
110
 
110
111
  - singularName: outbox
111
112
  functional: true
@@ -124,6 +125,7 @@ properties:
124
125
  implementing and deploying the server.
125
126
  range:
126
127
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
128
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
127
129
 
128
130
  - singularName: following
129
131
  functional: true
@@ -106,6 +106,7 @@ properties:
106
106
  and dropping any activities already seen.
107
107
  range:
108
108
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
109
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
109
110
 
110
111
  - singularName: outbox
111
112
  functional: true
@@ -124,6 +125,7 @@ properties:
124
125
  implementing and deploying the server.
125
126
  range:
126
127
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
128
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
127
129
 
128
130
  - singularName: following
129
131
  functional: true
@@ -106,6 +106,7 @@ properties:
106
106
  and dropping any activities already seen.
107
107
  range:
108
108
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
109
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
109
110
 
110
111
  - singularName: outbox
111
112
  functional: true
@@ -124,6 +125,7 @@ properties:
124
125
  implementing and deploying the server.
125
126
  range:
126
127
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
128
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
127
129
 
128
130
  - singularName: following
129
131
  functional: true
@@ -106,6 +106,7 @@ properties:
106
106
  and dropping any activities already seen.
107
107
  range:
108
108
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
109
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
109
110
 
110
111
  - singularName: outbox
111
112
  functional: true
@@ -124,6 +125,7 @@ properties:
124
125
  implementing and deploying the server.
125
126
  range:
126
127
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
128
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
127
129
 
128
130
  - singularName: following
129
131
  functional: true
@@ -106,6 +106,7 @@ properties:
106
106
  and dropping any activities already seen.
107
107
  range:
108
108
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
109
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
109
110
 
110
111
  - singularName: outbox
111
112
  functional: true
@@ -124,6 +125,7 @@ properties:
124
125
  implementing and deploying the server.
125
126
  range:
126
127
  - "https://www.w3.org/ns/activitystreams#OrderedCollection"
128
+ - "https://www.w3.org/ns/activitystreams#OrderedCollectionPage"
127
129
 
128
130
  - singularName: following
129
131
  functional: true