@fedify/fedify 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. package/CHANGES.md +22 -0
  2. package/esm/federation/handler.js +1 -1
  3. package/esm/vocab/application.yaml +4 -1
  4. package/esm/vocab/group.yaml +4 -1
  5. package/esm/vocab/organization.yaml +4 -1
  6. package/esm/vocab/person.yaml +4 -1
  7. package/esm/vocab/service.yaml +4 -1
  8. package/esm/vocab/vocab.js +427 -160
  9. package/esm/webfinger/handler.js +1 -1
  10. package/package.json +1 -1
  11. package/types/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/common.d.ts.map +1 -1
  12. package/types/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/encoding.d.ts.map +1 -1
  13. package/types/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/language.d.ts.map +1 -1
  14. package/types/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/media_type.d.ts.map +1 -1
  15. package/types/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/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.7 → 1.0.8}/_negotiation/common.js +0 -0
  18. /package/esm/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/encoding.js +0 -0
  19. /package/esm/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/language.js +0 -0
  20. /package/esm/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/media_type.js +0 -0
  21. /package/esm/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/negotiation.js +0 -0
  22. /package/types/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/common.d.ts +0 -0
  23. /package/types/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/encoding.d.ts +0 -0
  24. /package/types/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/language.d.ts +0 -0
  25. /package/types/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/_negotiation/media_type.d.ts +0 -0
  26. /package/types/deps/jsr.io/@std/http/{1.0.7 → 1.0.8}/negotiation.d.ts +0 -0
package/CHANGES.md CHANGED
@@ -3,6 +3,28 @@
3
3
  Fedify changelog
4
4
  ================
5
5
 
6
+ Version 1.0.4
7
+ -------------
8
+
9
+ Released on October 17, 2024.
10
+
11
+ - Fixed a bug where `Actor.aliasId` and `Actor.aliasIds` properties had been
12
+ represented as `as:alsoKnownAs` property instead of `alsoKnownAs` property
13
+ in compacted JSON-LD objects.
14
+
15
+ - Improved compatibility with Bridgy Fed for Bluesky where it puts
16
+ an invalid URI with the format `at://...` in the `alsoKnownAs` property.
17
+
18
+
19
+ Version 1.0.3
20
+ -------------
21
+
22
+ Released on October 17, 2024.
23
+
24
+ - Improved compatibility with some implementations (e.g., Nexkey) where
25
+ some `CryptographicKey` objects are incorrectly typed in JSON-LD objects.
26
+
27
+
6
28
  Version 1.0.2
7
29
  -------------
8
30
 
@@ -1,6 +1,6 @@
1
1
  import * as dntShim from "../_dnt.shims.js";
2
2
  import { getLogger } from "@logtape/logtape";
3
- import { accepts } from "../deps/jsr.io/@std/http/1.0.7/negotiation.js";
3
+ import { accepts } from "../deps/jsr.io/@std/http/1.0.8/negotiation.js";
4
4
  import { verifyRequest } from "../sig/http.js";
5
5
  import { detachSignature, verifyJsonLd } from "../sig/ld.js";
6
6
  import { doesActorOwnKey } from "../sig/owner.js";
@@ -11,7 +11,10 @@ defaultContext:
11
11
  - "https://w3id.org/security/data-integrity/v1"
12
12
  - "https://www.w3.org/ns/did/v1"
13
13
  - "https://w3id.org/security/multikey/v1"
14
- - manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
14
+ - alsoKnownAs:
15
+ "@id": "as:alsoKnownAs"
16
+ "@type": "@id"
17
+ manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
15
18
  toot: "http://joinmastodon.org/ns#"
16
19
  featured:
17
20
  "@id": "toot:featured"
@@ -11,7 +11,10 @@ defaultContext:
11
11
  - "https://w3id.org/security/data-integrity/v1"
12
12
  - "https://www.w3.org/ns/did/v1"
13
13
  - "https://w3id.org/security/multikey/v1"
14
- - manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
14
+ - alsoKnownAs:
15
+ "@id": "as:alsoKnownAs"
16
+ "@type": "@id"
17
+ manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
15
18
  toot: "http://joinmastodon.org/ns#"
16
19
  featured:
17
20
  "@id": "toot:featured"
@@ -11,7 +11,10 @@ defaultContext:
11
11
  - "https://w3id.org/security/data-integrity/v1"
12
12
  - "https://www.w3.org/ns/did/v1"
13
13
  - "https://w3id.org/security/multikey/v1"
14
- - manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
14
+ - alsoKnownAs:
15
+ "@id": "as:alsoKnownAs"
16
+ "@type": "@id"
17
+ manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
15
18
  toot: "http://joinmastodon.org/ns#"
16
19
  featured:
17
20
  "@id": "toot:featured"
@@ -11,7 +11,10 @@ defaultContext:
11
11
  - "https://w3id.org/security/data-integrity/v1"
12
12
  - "https://www.w3.org/ns/did/v1"
13
13
  - "https://w3id.org/security/multikey/v1"
14
- - manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
14
+ - alsoKnownAs:
15
+ "@id": "as:alsoKnownAs"
16
+ "@type": "@id"
17
+ manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
15
18
  toot: "http://joinmastodon.org/ns#"
16
19
  featured:
17
20
  "@id": "toot:featured"
@@ -11,7 +11,10 @@ defaultContext:
11
11
  - "https://w3id.org/security/data-integrity/v1"
12
12
  - "https://www.w3.org/ns/did/v1"
13
13
  - "https://w3id.org/security/multikey/v1"
14
- - manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
14
+ - alsoKnownAs:
15
+ "@id": "as:alsoKnownAs"
16
+ "@type": "@id"
17
+ manuallyApprovesFollowers: "as:manuallyApprovesFollowers"
15
18
  toot: "http://joinmastodon.org/ns#"
16
19
  featured:
17
20
  "@id": "toot:featured"