@fedify/fedify 1.2.5 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGES.md CHANGED
@@ -3,6 +3,72 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
+ Version 1.2.7
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.2.6
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.2.5
7
73
  -------------
8
74
 
@@ -127,6 +193,72 @@ Released on October 31, 2024.
127
193
  [#118]: https://github.com/dahlia/fedify/issues/118
128
194
 
129
195
 
196
+ Version 1.1.7
197
+ -------------
198
+
199
+ Released on November 22, 2024.
200
+
201
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
202
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
203
+
204
+
205
+ Version 1.1.6
206
+ -------------
207
+
208
+ Released on November 19, 2024.
209
+
210
+ - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
211
+ able to be set to an `OrderedCollectionPage` object, even though it is
212
+ a subtype of `OrderedCollection` according to Activity Vocabulary
213
+ specification. [[#165]]
214
+
215
+ - The type of `Application()` constructor's `inbox` and `outbox` options
216
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
217
+ (was `OrderedCollection | null | undefined`).
218
+ - The type of `Application.clone()` method's `inbox` and `outbox` options
219
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
220
+ (was `OrderedCollection | null | undefined`).
221
+ - The return type of `Application.getInbox()` and
222
+ `Application.getOutbox()` methods is now `OrderedCollection |
223
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
224
+ - The type of `Group()` constructor's `inbox` and `outbox` options is
225
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
226
+ `OrderedCollection | null | undefined`).
227
+ - The type of `Group.clone()` method's `inbox` and `outbox` options is
228
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
229
+ `OrderedCollection | null | undefined`).
230
+ - The return type of `Group.getInbox()` and `Group.getOutbox()` methods
231
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
232
+ `OrderedCollection | null`).
233
+ - The type of `Organization()` constructor's `inbox` and `outbox` options
234
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
235
+ (was `OrderedCollection | null | undefined`).
236
+ - The type of `Organization.clone()` method's `inbox` and `outbox` options
237
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
238
+ (was `OrderedCollection | null | undefined`).
239
+ - The return type of `Organization.getInbox()` and
240
+ `Organization.getOutbox()` methods is now `OrderedCollection |
241
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
242
+ - The type of `Person()` constructor's `inbox` and `outbox` options is
243
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
244
+ `OrderedCollection | null | undefined`).
245
+ - The type of `Person.clone()` method's `inbox` and `outbox` options is
246
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
247
+ `OrderedCollection | null | undefined`).
248
+ - The return type of `Person.getInbox()` and `Person.getOutbox()` methods
249
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
250
+ `OrderedCollection | null`).
251
+ - The type of `Service()` constructor's `inbox` and `outbox` options is
252
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
253
+ `OrderedCollection | null | undefined`).
254
+ - The type of `Service.clone()` method's `inbox` and `outbox` options is
255
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
256
+ `OrderedCollection | null | undefined`).
257
+ - The return type of `Service.getInbox()` and `Service.getOutbox()`
258
+ methods is now `OrderedCollection | OrderedCollectionPage | null` (was
259
+ `OrderedCollection | null`).
260
+
261
+
130
262
  Version 1.1.5
131
263
  -------------
132
264
 
@@ -292,6 +424,72 @@ Released on October 20, 2024.
292
424
  [#150]: https://github.com/dahlia/fedify/issues/150
293
425
 
294
426
 
427
+ Version 1.0.11
428
+ --------------
429
+
430
+ Released on December 22, 2024.
431
+
432
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
433
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
434
+
435
+
436
+ Version 1.0.10
437
+ --------------
438
+
439
+ Released on December 19, 2024.
440
+
441
+ - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
442
+ able to be set to an `OrderedCollectionPage` object, even though it is
443
+ a subtype of `OrderedCollection` according to Activity Vocabulary
444
+ specification. [[#165]]
445
+
446
+ - The type of `Application()` constructor's `inbox` and `outbox` options
447
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
448
+ (was `OrderedCollection | null | undefined`).
449
+ - The type of `Application.clone()` method's `inbox` and `outbox` options
450
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
451
+ (was `OrderedCollection | null | undefined`).
452
+ - The return type of `Application.getInbox()` and
453
+ `Application.getOutbox()` methods is now `OrderedCollection |
454
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
455
+ - The type of `Group()` constructor's `inbox` and `outbox` options is
456
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
457
+ `OrderedCollection | null | undefined`).
458
+ - The type of `Group.clone()` method's `inbox` and `outbox` options is
459
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
460
+ `OrderedCollection | null | undefined`).
461
+ - The return type of `Group.getInbox()` and `Group.getOutbox()` methods
462
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
463
+ `OrderedCollection | null`).
464
+ - The type of `Organization()` constructor's `inbox` and `outbox` options
465
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
466
+ (was `OrderedCollection | null | undefined`).
467
+ - The type of `Organization.clone()` method's `inbox` and `outbox` options
468
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
469
+ (was `OrderedCollection | null | undefined`).
470
+ - The return type of `Organization.getInbox()` and
471
+ `Organization.getOutbox()` methods is now `OrderedCollection |
472
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
473
+ - The type of `Person()` constructor's `inbox` and `outbox` options is
474
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
475
+ `OrderedCollection | null | undefined`).
476
+ - The type of `Person.clone()` method's `inbox` and `outbox` options is
477
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
478
+ `OrderedCollection | null | undefined`).
479
+ - The return type of `Person.getInbox()` and `Person.getOutbox()` methods
480
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
481
+ `OrderedCollection | null`).
482
+ - The type of `Service()` constructor's `inbox` and `outbox` options is
483
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
484
+ `OrderedCollection | null | undefined`).
485
+ - The type of `Service.clone()` method's `inbox` and `outbox` options is
486
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
487
+ `OrderedCollection | null | undefined`).
488
+ - The return type of `Service.getInbox()` and `Service.getOutbox()`
489
+ methods is now `OrderedCollection | OrderedCollectionPage | null` (was
490
+ `OrderedCollection | null`).
491
+
492
+
295
493
  Version 1.0.9
296
494
  -------------
297
495
 
@@ -576,6 +774,76 @@ Released on September 26, 2024.
576
774
  [#137]: https://github.com/dahlia/fedify/issues/137
577
775
 
578
776
 
777
+ Version 0.15.9
778
+ --------------
779
+
780
+ Released on November 22, 2024.
781
+
782
+ - Fixed a bug where `lookupWebFinger()` function had thrown a `TypeError`
783
+ when the *.well-known/webfinger* redirects to a relative URI. [[#166]]
784
+
785
+ [#166]: https://github.com/dahlia/fedify/issues/166
786
+
787
+
788
+ Version 0.15.8
789
+ --------------
790
+
791
+ Released on November 19, 2024.
792
+
793
+ - Fix a bug where `Actor`'s `inbox` and `outbox` properties had not been
794
+ able to be set to an `OrderedCollectionPage` object, even though it is
795
+ a subtype of `OrderedCollection` according to Activity Vocabulary
796
+ specification. [[#165]]
797
+
798
+ - The type of `Application()` constructor's `inbox` and `outbox` options
799
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
800
+ (was `OrderedCollection | null | undefined`).
801
+ - The type of `Application.clone()` method's `inbox` and `outbox` options
802
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
803
+ (was `OrderedCollection | null | undefined`).
804
+ - The return type of `Application.getInbox()` and
805
+ `Application.getOutbox()` methods is now `OrderedCollection |
806
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
807
+ - The type of `Group()` constructor's `inbox` and `outbox` options is
808
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
809
+ `OrderedCollection | null | undefined`).
810
+ - The type of `Group.clone()` method's `inbox` and `outbox` options is
811
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
812
+ `OrderedCollection | null | undefined`).
813
+ - The return type of `Group.getInbox()` and `Group.getOutbox()` methods
814
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
815
+ `OrderedCollection | null`).
816
+ - The type of `Organization()` constructor's `inbox` and `outbox` options
817
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
818
+ (was `OrderedCollection | null | undefined`).
819
+ - The type of `Organization.clone()` method's `inbox` and `outbox` options
820
+ is now `OrderedCollection | OrderedCollectionPage | null | undefined`
821
+ (was `OrderedCollection | null | undefined`).
822
+ - The return type of `Organization.getInbox()` and
823
+ `Organization.getOutbox()` methods is now `OrderedCollection |
824
+ OrderedCollectionPage | null` (was `OrderedCollection | null`).
825
+ - The type of `Person()` constructor's `inbox` and `outbox` options is
826
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
827
+ `OrderedCollection | null | undefined`).
828
+ - The type of `Person.clone()` method's `inbox` and `outbox` options is
829
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
830
+ `OrderedCollection | null | undefined`).
831
+ - The return type of `Person.getInbox()` and `Person.getOutbox()` methods
832
+ is now `OrderedCollection | OrderedCollectionPage | null` (was
833
+ `OrderedCollection | null`).
834
+ - The type of `Service()` constructor's `inbox` and `outbox` options is
835
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
836
+ `OrderedCollection | null | undefined`).
837
+ - The type of `Service.clone()` method's `inbox` and `outbox` options is
838
+ now `OrderedCollection | OrderedCollectionPage | null | undefined` (was
839
+ `OrderedCollection | null | undefined`).
840
+ - The return type of `Service.getInbox()` and `Service.getOutbox()`
841
+ methods is now `OrderedCollection | OrderedCollectionPage | null` (was
842
+ `OrderedCollection | null`).
843
+
844
+ [#165]: https://github.com/dahlia/fedify/issues/165
845
+
846
+
579
847
  Version 0.15.7
580
848
  --------------
581
849
 
@@ -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