@fedify/fedify 1.4.11 → 1.4.12

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.
Files changed (26) hide show
  1. package/CHANGES.md +55 -0
  2. package/esm/deno.js +1 -1
  3. package/esm/federation/handler.js +1 -1
  4. package/esm/vocab/announce.yaml +3 -1
  5. package/esm/vocab/create.yaml +3 -1
  6. package/esm/vocab/delete.yaml +3 -1
  7. package/esm/vocab/question.yaml +3 -1
  8. package/esm/vocab/update.yaml +3 -1
  9. package/esm/vocab/vocab.js +196 -181
  10. package/package.json +1 -1
  11. package/types/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/common.d.ts.map +1 -1
  12. package/types/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/encoding.d.ts.map +1 -1
  13. package/types/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/language.d.ts.map +1 -1
  14. package/types/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/media_type.d.ts.map +1 -1
  15. package/types/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/negotiation.d.ts.map +1 -1
  16. package/types/vocab/vocab.d.ts.map +1 -1
  17. /package/esm/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/common.js +0 -0
  18. /package/esm/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/encoding.js +0 -0
  19. /package/esm/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/language.js +0 -0
  20. /package/esm/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/media_type.js +0 -0
  21. /package/esm/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/negotiation.js +0 -0
  22. /package/types/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/common.d.ts +0 -0
  23. /package/types/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/encoding.d.ts +0 -0
  24. /package/types/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/language.d.ts +0 -0
  25. /package/types/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/_negotiation/media_type.d.ts +0 -0
  26. /package/types/deps/jsr.io/@std/http/{1.0.16 → 1.0.18}/negotiation.d.ts +0 -0
package/CHANGES.md CHANGED
@@ -3,6 +3,17 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
+ Version 1.4.12
7
+ --------------
8
+
9
+ Released on June 30, 2025.
10
+
11
+ - Fixed JSON-LD serialization of the `Question.voters` property to correctly
12
+ serialize as a plain number (e.g., `"votersCount": 123`) instead of as a
13
+ typed literal object (e.g., `"votersCount":{"type":"xsd:nonNegativeInteger",
14
+ "@value":123}`).
15
+
16
+
6
17
  Version 1.4.11
7
18
  --------------
8
19
 
@@ -241,6 +252,17 @@ Released on February 5, 2025.
241
252
  [#195]: https://github.com/fedify-dev/fedify/issues/195
242
253
 
243
254
 
255
+ Version 1.3.19
256
+ --------------
257
+
258
+ Released on June 30, 2025.
259
+
260
+ - Fixed JSON-LD serialization of the `Question.voters` property to correctly
261
+ serialize as a plain number (e.g., `"votersCount": 123`) instead of as a
262
+ typed literal object (e.g., `"votersCount":{"type":"xsd:nonNegativeInteger",
263
+ "@value":123}`).
264
+
265
+
244
266
  Version 1.3.18
245
267
  --------------
246
268
 
@@ -595,6 +617,17 @@ Released on November 30, 2024.
595
617
  [#193]: https://github.com/fedify-dev/fedify/issues/193
596
618
 
597
619
 
620
+ Version 1.2.23
621
+ --------------
622
+
623
+ Released on June 30, 2025.
624
+
625
+ - Fixed JSON-LD serialization of the `Question.voters` property to correctly
626
+ serialize as a plain number (e.g., `"votersCount": 123`) instead of as a
627
+ typed literal object (e.g., `"votersCount":{"type":"xsd:nonNegativeInteger",
628
+ "@value":123}`).
629
+
630
+
598
631
  Version 1.2.22
599
632
  --------------
600
633
 
@@ -997,6 +1030,17 @@ Released on October 31, 2024.
997
1030
  [#118]: https://github.com/fedify-dev/fedify/issues/118
998
1031
 
999
1032
 
1033
+ Version 1.1.23
1034
+ --------------
1035
+
1036
+ Released on June 30, 2025.
1037
+
1038
+ - Fixed JSON-LD serialization of the `Question.voters` property to correctly
1039
+ serialize as a plain number (e.g., `"votersCount": 123`) instead of as a
1040
+ typed literal object (e.g., `"votersCount":{"type":"xsd:nonNegativeInteger",
1041
+ "@value":123}`).
1042
+
1043
+
1000
1044
  Version 1.1.22
1001
1045
  --------------
1002
1046
 
@@ -1440,6 +1484,17 @@ Released on October 20, 2024.
1440
1484
  [#150]: https://github.com/fedify-dev/fedify/issues/150
1441
1485
 
1442
1486
 
1487
+ Version 1.0.26
1488
+ --------------
1489
+
1490
+ Released on June 30, 2025.
1491
+
1492
+ - Fixed JSON-LD serialization of the `Question.voters` property to correctly
1493
+ serialize as a plain number (e.g., `"votersCount": 123`) instead of as a
1494
+ typed literal object (e.g., `"votersCount":{"type":"xsd:nonNegativeInteger",
1495
+ "@value":123}`).
1496
+
1497
+
1443
1498
  Version 1.0.25
1444
1499
  --------------
1445
1500
 
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.4.11",
3
+ "version": "1.4.12",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./mod.ts",
@@ -1,6 +1,6 @@
1
1
  import { getLogger } from "@logtape/logtape";
2
2
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
3
- import { accepts } from "../deps/jsr.io/@std/http/1.0.16/negotiation.js";
3
+ import { accepts } from "../deps/jsr.io/@std/http/1.0.18/negotiation.js";
4
4
  import metadata from "../deno.js";
5
5
  import { verifyRequest } from "../sig/http.js";
6
6
  import { detachSignature, verifyJsonLd } from "../sig/ld.js";
@@ -16,7 +16,9 @@ defaultContext:
16
16
  misskey: "https://misskey-hub.net/ns#"
17
17
  fedibird: "http://fedibird.com/ns#"
18
18
  sensitive: "as:sensitive"
19
- votersCount: "toot:votersCount"
19
+ votersCount:
20
+ "@id": "toot:votersCount"
21
+ "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
20
22
  Emoji: "toot:Emoji"
21
23
  Hashtag: "as:Hashtag"
22
24
  quoteUrl: "as:quoteUrl"
@@ -13,7 +13,9 @@ defaultContext:
13
13
  misskey: "https://misskey-hub.net/ns#"
14
14
  fedibird: "http://fedibird.com/ns#"
15
15
  sensitive: "as:sensitive"
16
- votersCount: "toot:votersCount"
16
+ votersCount:
17
+ "@id": "toot:votersCount"
18
+ "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
17
19
  Emoji: "toot:Emoji"
18
20
  Hashtag: "as:Hashtag"
19
21
  ChatMessage: "http://litepub.social/ns#ChatMessage"
@@ -15,7 +15,9 @@ defaultContext:
15
15
  misskey: "https://misskey-hub.net/ns#"
16
16
  fedibird: "http://fedibird.com/ns#"
17
17
  sensitive: "as:sensitive"
18
- votersCount: "toot:votersCount"
18
+ votersCount:
19
+ "@id": "toot:votersCount"
20
+ "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
19
21
  Emoji: "toot:Emoji"
20
22
  Hashtag: "as:Hashtag"
21
23
  ChatMessage: "http://litepub.social/ns#ChatMessage"
@@ -21,7 +21,9 @@ defaultContext:
21
21
  misskey: "https://misskey-hub.net/ns#"
22
22
  fedibird: "http://fedibird.com/ns#"
23
23
  sensitive: "as:sensitive"
24
- votersCount: "toot:votersCount"
24
+ votersCount:
25
+ "@id": "toot:votersCount"
26
+ "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
25
27
  Emoji: "toot:Emoji"
26
28
  Hashtag: "as:Hashtag"
27
29
  quoteUrl: "as:quoteUrl"
@@ -37,7 +37,9 @@ defaultContext:
37
37
  suspended: "toot:suspended"
38
38
  memorial: "toot:memorial"
39
39
  indexable: "toot:indexable"
40
- votersCount: "toot:votersCount"
40
+ votersCount:
41
+ "@id": "toot:votersCount"
42
+ "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
41
43
  Emoji: "toot:Emoji"
42
44
  Hashtag: "as:Hashtag"
43
45
  schema: "http://schema.org#"