@fedify/fedify 0.13.0-dev.310 → 0.13.0-dev.312
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +19 -0
- package/esm/federation/middleware.js +216 -472
- package/esm/vocab/announce.yaml +1 -0
- package/esm/vocab/create.yaml +1 -0
- package/esm/vocab/delete.yaml +6 -1
- package/esm/vocab/question.yaml +12 -2
- package/esm/vocab/update.yaml +1 -0
- package/esm/vocab/vocab.js +79 -1
- package/package.json +1 -1
- package/types/federation/middleware.d.ts +12 -106
- package/types/federation/middleware.d.ts.map +1 -1
- package/types/vocab/vocab.d.ts +6 -0
- package/types/vocab/vocab.d.ts.map +1 -1
package/CHANGES.md
CHANGED
@@ -8,6 +8,12 @@ Version 0.13.0
|
|
8
8
|
|
9
9
|
To be released.
|
10
10
|
|
11
|
+
- Added `voters` property to `Question` class in Activity Vocabulary API.
|
12
|
+
|
13
|
+
- Added `Question.voters` property.
|
14
|
+
- `new Question()` constructor now accepts `voters` option.
|
15
|
+
- `Question.clone()` method now accepts `voters` option.
|
16
|
+
|
11
17
|
- Removed the singular actor key pair dispatcher APIs which were deprecated
|
12
18
|
in version 0.10.0.
|
13
19
|
|
@@ -20,11 +26,24 @@ To be released.
|
|
20
26
|
- Removed `Context.getActorKey()` method.
|
21
27
|
Use `Context.getActorKeyPairs()` method instead.
|
22
28
|
|
29
|
+
- The `Federation` is no more a class, but an interface, which has been
|
30
|
+
planned since version 0.10.0. [[#69]]
|
31
|
+
|
32
|
+
- `new Federation()` constructor is removed. Use `createFederation()`
|
33
|
+
function instead.
|
34
|
+
- Removed `Federation.sendActivity()` method.
|
35
|
+
Use `Context.sendActivity()` method instead.
|
36
|
+
- Removed `Federation` class.
|
37
|
+
- Added `Federation` interface.
|
38
|
+
- Removed `FederationParameters` interface.
|
39
|
+
|
23
40
|
- Added more log messages using the [LogTape] library. Currently the below
|
24
41
|
logger categories are used:
|
25
42
|
|
26
43
|
- `["fedify", "webfinger", "server"]`
|
27
44
|
|
45
|
+
[#69]: https://github.com/dahlia/fedify/issues/69
|
46
|
+
|
28
47
|
|
29
48
|
Version 0.12.0
|
30
49
|
--------------
|