@fedify/fedify 0.10.0 → 0.11.0-dev.228
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.
- package/CHANGES.md +26 -0
- package/FEDERATION.md +1 -0
- package/README.md +4 -4
- package/esm/runtime/contexts.js +629 -0
- package/esm/runtime/docloader.js +17 -5
- package/esm/vocab/actor.js +2 -2
- package/esm/vocab/lookup.js +3 -3
- package/esm/vocab/offer.yaml +13 -0
- package/esm/vocab/vocab.js +129 -0
- package/package.json +1 -1
- package/types/runtime/contexts.d.ts +3 -0
- package/types/runtime/contexts.d.ts.map +1 -0
- package/types/runtime/docloader.d.ts +9 -5
- package/types/runtime/docloader.d.ts.map +1 -1
- package/types/vocab/actor.d.ts +2 -2
- package/types/vocab/lookup.d.ts +3 -3
- package/types/vocab/vocab.d.ts +149 -0
- package/types/vocab/vocab.d.ts.map +1 -1
package/CHANGES.md
CHANGED
|
@@ -3,6 +3,32 @@
|
|
|
3
3
|
Fedify changelog
|
|
4
4
|
================
|
|
5
5
|
|
|
6
|
+
Version 0.11.0
|
|
7
|
+
--------------
|
|
8
|
+
|
|
9
|
+
To be released.
|
|
10
|
+
|
|
11
|
+
- Frequently used JSON-LD contexts are now preloaded. [[74]]
|
|
12
|
+
|
|
13
|
+
- The `fetchDocumentLoader()` function now preloads the following JSON-LD
|
|
14
|
+
contexts:
|
|
15
|
+
|
|
16
|
+
- <https://www.w3.org/ns/activitystreams>
|
|
17
|
+
- <https://w3id.org/security/v1>
|
|
18
|
+
- <https://w3id.org/security/data-integrity/v1>
|
|
19
|
+
- <https://www.w3.org/ns/did/v1>
|
|
20
|
+
- <https://w3id.org/security/multikey/v1>
|
|
21
|
+
|
|
22
|
+
- The default `rules` for `kvCache()` function are now 5 minutes for all
|
|
23
|
+
URLs.
|
|
24
|
+
|
|
25
|
+
- Added `Offer` class to Activity Vocabulary API.
|
|
26
|
+
[[#65], [#76]]
|
|
27
|
+
|
|
28
|
+
[#74]: https://github.com/dahlia/fedify/issues/74
|
|
29
|
+
[#76]: https://github.com/dahlia/fedify/pull/76
|
|
30
|
+
|
|
31
|
+
|
|
6
32
|
Version 0.10.0
|
|
7
33
|
--------------
|
|
8
34
|
|
package/FEDERATION.md
CHANGED
|
@@ -57,6 +57,7 @@ lists the activity types that Fedify provides:
|
|
|
57
57
|
- [`Follow`](https://jsr.io/@fedify/fedify/doc/vocab/~/Follow)
|
|
58
58
|
- [`Ignore`](https://jsr.io/@fedify/fedify/doc/vocab/~/Ignore)
|
|
59
59
|
- [`Like`](https://jsr.io/@fedify/fedify/doc/vocab/~/Like)
|
|
60
|
+
- [`Offer`](https://jsr.io/@fedify/fedify/doc/vocab/~/Offer)
|
|
60
61
|
- [`Question`](https://jsr.io/@fedify/fedify/doc/vocab/~/Question)
|
|
61
62
|
- [`Reject`](https://jsr.io/@fedify/fedify/doc/vocab/~/Reject)
|
|
62
63
|
- [`Remove`](https://jsr.io/@fedify/fedify/doc/vocab/~/Remove)
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Fedify: an ActivityPub server framework
|
|
|
8
8
|
[![npm][npm badge]][npm]
|
|
9
9
|
[![GitHub Actions][GitHub Actions badge]][GitHub Actions]
|
|
10
10
|
[![Matrix][Matrix badge]][Matrix]
|
|
11
|
-
[![Follow @hongminhee@
|
|
11
|
+
[![Follow @hongminhee@fosstodon.org][@hongminhee@fosstodon.org badge]][@hongminhee@fosstodon.org]
|
|
12
12
|
|
|
13
13
|
> [!NOTE]
|
|
14
14
|
> Looking for a quick demo? Here it is: [Fedify Demo] on Deno Playground.
|
|
@@ -54,8 +54,8 @@ join our [Matrix chat space][Matrix] or [GitHub Discussions]. Or tag
|
|
|
54
54
|
[GitHub Actions badge]: https://github.com/dahlia/fedify/actions/workflows/build.yaml/badge.svg
|
|
55
55
|
[Matrix]: https://matrix.to/#/#fedify:matrix.org
|
|
56
56
|
[Matrix badge]: https://img.shields.io/matrix/fedify%3Amatrix.org
|
|
57
|
-
[@hongminhee.
|
|
58
|
-
[@hongminhee.
|
|
57
|
+
[@hongminhee@fosstodon.org badge]: https://fedi-badge.deno.dev/@hongminhee@fosstodon.org/followers.svg
|
|
58
|
+
[@hongminhee@fosstodon.org]: https://fosstodon.org/@hongminhee
|
|
59
59
|
[Fedify Demo]: https://dash.deno.com/playground/fedify-demo
|
|
60
60
|
[ActivityPub]: https://www.w3.org/TR/activitypub/
|
|
61
61
|
[fediverse]: https://en.wikipedia.org/wiki/Fediverse
|
|
@@ -129,7 +129,7 @@ Fedify is an ESM-only package, so you need to add `"type": "module"` to the
|
|
|
129
129
|
{
|
|
130
130
|
"type": "module",
|
|
131
131
|
"dependencies": {
|
|
132
|
-
"@fedify/fedify": "^0.
|
|
132
|
+
"@fedify/fedify": "^0.11.0"
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
~~~~
|