@fedify/fedify 1.5.3 → 1.5.4

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 +66 -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.5.4
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.5.3
7
18
  -------------
8
19
 
@@ -166,6 +177,17 @@ Released on March 28, 2025.
166
177
  [multibase]: https://github.com/multiformats/js-multibase
167
178
 
168
179
 
180
+ Version 1.4.12
181
+ --------------
182
+
183
+ Released on June 30, 2025.
184
+
185
+ - Fixed JSON-LD serialization of the `Question.voters` property to correctly
186
+ serialize as a plain number (e.g., `"votersCount": 123`) instead of as a
187
+ typed literal object (e.g., `"votersCount":{"type":"xsd:nonNegativeInteger",
188
+ "@value":123}`).
189
+
190
+
169
191
  Version 1.4.11
170
192
  --------------
171
193
 
@@ -404,6 +426,17 @@ Released on February 5, 2025.
404
426
  [#195]: https://github.com/fedify-dev/fedify/issues/195
405
427
 
406
428
 
429
+ Version 1.3.19
430
+ --------------
431
+
432
+ Released on June 30, 2025.
433
+
434
+ - Fixed JSON-LD serialization of the `Question.voters` property to correctly
435
+ serialize as a plain number (e.g., `"votersCount": 123`) instead of as a
436
+ typed literal object (e.g., `"votersCount":{"type":"xsd:nonNegativeInteger",
437
+ "@value":123}`).
438
+
439
+
407
440
  Version 1.3.18
408
441
  --------------
409
442
 
@@ -758,6 +791,17 @@ Released on November 30, 2024.
758
791
  [#193]: https://github.com/fedify-dev/fedify/issues/193
759
792
 
760
793
 
794
+ Version 1.2.23
795
+ --------------
796
+
797
+ Released on June 30, 2025.
798
+
799
+ - Fixed JSON-LD serialization of the `Question.voters` property to correctly
800
+ serialize as a plain number (e.g., `"votersCount": 123`) instead of as a
801
+ typed literal object (e.g., `"votersCount":{"type":"xsd:nonNegativeInteger",
802
+ "@value":123}`).
803
+
804
+
761
805
  Version 1.2.22
762
806
  --------------
763
807
 
@@ -1160,6 +1204,17 @@ Released on October 31, 2024.
1160
1204
  [#118]: https://github.com/fedify-dev/fedify/issues/118
1161
1205
 
1162
1206
 
1207
+ Version 1.1.23
1208
+ --------------
1209
+
1210
+ Released on June 30, 2025.
1211
+
1212
+ - Fixed JSON-LD serialization of the `Question.voters` property to correctly
1213
+ serialize as a plain number (e.g., `"votersCount": 123`) instead of as a
1214
+ typed literal object (e.g., `"votersCount":{"type":"xsd:nonNegativeInteger",
1215
+ "@value":123}`).
1216
+
1217
+
1163
1218
  Version 1.1.22
1164
1219
  --------------
1165
1220
 
@@ -1603,6 +1658,17 @@ Released on October 20, 2024.
1603
1658
  [#150]: https://github.com/fedify-dev/fedify/issues/150
1604
1659
 
1605
1660
 
1661
+ Version 1.0.26
1662
+ --------------
1663
+
1664
+ Released on June 30, 2025.
1665
+
1666
+ - Fixed JSON-LD serialization of the `Question.voters` property to correctly
1667
+ serialize as a plain number (e.g., `"votersCount": 123`) instead of as a
1668
+ typed literal object (e.g., `"votersCount":{"type":"xsd:nonNegativeInteger",
1669
+ "@value":123}`).
1670
+
1671
+
1606
1672
  Version 1.0.25
1607
1673
  --------------
1608
1674
 
package/esm/deno.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
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#"