Skip to content

Commit 073e0b7

Browse files
committed
Merge tag '1.0.18' into 1.1-maintenance
Fedify 1.0.18
2 parents ce00a09 + dd51a0f commit 073e0b7

File tree

9 files changed

+42
-10
lines changed

9 files changed

+42
-10
lines changed

CHANGES.md

+24
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ Version 1.1.15
88

99
To be released.
1010

11+
- Added the following default context to `Application`, `Group`,
12+
`Organization`, `Person`, and `Service` classes:
13+
14+
~~~~ json
15+
{
16+
"Emoji": "http://joinmastodon.org/ns#Emoji"
17+
}
18+
~~~~
19+
1120

1221
Version 1.1.14
1322
--------------
@@ -336,6 +345,21 @@ Released on October 20, 2024.
336345
[#150]: https://github.com/dahlia/fedify/issues/150
337346

338347

348+
Version 1.0.18
349+
--------------
350+
351+
Released on February 25, 2025.
352+
353+
- Added the following default context to `Application`, `Group`,
354+
`Organization`, `Person`, and `Service` classes:
355+
356+
~~~~ json
357+
{
358+
"Emoji": "http://joinmastodon.org/ns#Emoji"
359+
}
360+
~~~~
361+
362+
339363
Version 1.0.17
340364
--------------
341365

src/codegen/__snapshots__/class.test.ts.snap

+10-10
Large diffs are not rendered by default.

src/federation/handler.test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ test("handleActor()", async () => {
212212
value: "schema:value",
213213
misskey: "https://misskey-hub.net/ns#",
214214
isCat: "misskey:isCat",
215+
Emoji: "toot:Emoji",
215216
},
216217
],
217218
id: "https://example.com/users/someone",
@@ -316,6 +317,7 @@ test("handleActor()", async () => {
316317
value: "schema:value",
317318
misskey: "https://misskey-hub.net/ns#",
318319
isCat: "misskey:isCat",
320+
Emoji: "toot:Emoji",
319321
},
320322
],
321323
id: "https://example.com/users/someone",

src/vocab/application.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defaultContext:
1919
"@id": "as:movedTo"
2020
"@type": "@id"
2121
toot: "http://joinmastodon.org/ns#"
22+
Emoji: "toot:Emoji"
2223
featured:
2324
"@id": "toot:featured"
2425
"@type": "@id"

src/vocab/group.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defaultContext:
1919
"@id": "as:movedTo"
2020
"@type": "@id"
2121
toot: "http://joinmastodon.org/ns#"
22+
Emoji: "toot:Emoji"
2223
featured:
2324
"@id": "toot:featured"
2425
"@type": "@id"

src/vocab/organization.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defaultContext:
1919
"@id": "as:movedTo"
2020
"@type": "@id"
2121
toot: "http://joinmastodon.org/ns#"
22+
Emoji: "toot:Emoji"
2223
featured:
2324
"@id": "toot:featured"
2425
"@type": "@id"

src/vocab/person.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defaultContext:
1919
"@id": "as:movedTo"
2020
"@type": "@id"
2121
toot: "http://joinmastodon.org/ns#"
22+
Emoji: "toot:Emoji"
2223
featured:
2324
"@id": "toot:featured"
2425
"@type": "@id"

src/vocab/service.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ defaultContext:
1919
"@id": "as:movedTo"
2020
"@type": "@id"
2121
toot: "http://joinmastodon.org/ns#"
22+
Emoji: "toot:Emoji"
2223
featured:
2324
"@id": "toot:featured"
2425
"@type": "@id"

src/vocab/vocab.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ test("Person.toJsonLd()", async () => {
605605
suspended: "toot:suspended",
606606
toot: "http://joinmastodon.org/ns#",
607607
value: "schema:value",
608+
Emoji: "toot:Emoji",
608609
},
609610
],
610611
alsoKnownAs: "https://example.com/alias",

0 commit comments

Comments
 (0)