@fedify/fedify 1.2.0-dev.456 → 1.2.0-dev.462

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/CHANGES.md +54 -1
  2. package/esm/federation/handler.js +1 -1
  3. package/esm/runtime/contexts.js +3367 -0
  4. package/esm/runtime/docloader.js +4 -3
  5. package/esm/vocab/application.yaml +10 -0
  6. package/esm/vocab/group.yaml +10 -0
  7. package/esm/vocab/lookup.js +1 -1
  8. package/esm/vocab/organization.yaml +10 -0
  9. package/esm/vocab/person.yaml +10 -0
  10. package/esm/vocab/service.yaml +10 -0
  11. package/esm/vocab/update.yaml +17 -9
  12. package/esm/vocab/vocab.js +433 -9
  13. package/package.json +1 -1
  14. package/types/deps/jsr.io/@std/async/{1.0.6 → 1.0.7}/delay.d.ts.map +1 -1
  15. package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/common.d.ts.map +1 -1
  16. package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/encoding.d.ts.map +1 -1
  17. package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/language.d.ts.map +1 -1
  18. package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/media_type.d.ts.map +1 -1
  19. package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/negotiation.d.ts.map +1 -1
  20. package/types/runtime/contexts.d.ts.map +1 -1
  21. package/types/runtime/docloader.d.ts.map +1 -1
  22. package/types/vocab/vocab.d.ts +25 -0
  23. package/types/vocab/vocab.d.ts.map +1 -1
  24. /package/esm/deps/jsr.io/@std/async/{1.0.6 → 1.0.7}/delay.js +0 -0
  25. /package/esm/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/common.js +0 -0
  26. /package/esm/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/encoding.js +0 -0
  27. /package/esm/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/language.js +0 -0
  28. /package/esm/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/media_type.js +0 -0
  29. /package/esm/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/negotiation.js +0 -0
  30. /package/types/deps/jsr.io/@std/async/{1.0.6 → 1.0.7}/delay.d.ts +0 -0
  31. /package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/common.d.ts +0 -0
  32. /package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/encoding.d.ts +0 -0
  33. /package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/language.d.ts +0 -0
  34. /package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/_negotiation/media_type.d.ts +0 -0
  35. /package/types/deps/jsr.io/@std/http/{1.0.8 → 1.0.9}/negotiation.d.ts +0 -0
package/CHANGES.md CHANGED
@@ -21,12 +21,41 @@ To be released.
21
21
  - Added `formatSemVer()` function.
22
22
  - Added `parseSemVer()` function.
23
23
 
24
+ - Added `followedMessage` property to `Actor` type in Activity Vocabulary API.
25
+
26
+ - Added `Application.followedMessage` property.
27
+ - `new Application()` constructor now accepts `followedMessage` option.
28
+ - `Application.clone()` method now accepts `followedMessage` option.
29
+ - Added `Group.followedMessage` property.
30
+ - `new Group()` constructor now accepts `followedMessage` option.
31
+ - `Group.clone()` method now accepts `followedMessage` option.
32
+ - Added `Organization.followedMessage` property.
33
+ - `new Organization()` constructor now accepts `followedMessage` option.
34
+ - `Organization.clone()` method now accepts `followedMessage` option.
35
+ - Added `Person.followedMessage` property.
36
+ - `new Person()` constructor now accepts `followedMessage` option.
37
+ - `Person.clone()` method now accepts `followedMessage` option.
38
+ - Added `Service.followedMessage` property.
39
+ - `new Service()` constructor now accepts `followedMessage` option.
40
+ - `Service.clone()` method now accepts `followedMessage` option.
41
+
24
42
  - Added more log messages using the [LogTape] library. Currently the below
25
43
  logger categories are used:
26
44
 
27
45
  - `["fedify", "nodeinfo", "client"]`
28
46
 
29
47
 
48
+ Version 1.1.2
49
+ -------------
50
+
51
+ Released on October 27, 2024.
52
+
53
+ - Fixed default document loaders' incorrect handling of relative URIs in
54
+ `Link` headers with `rel=alternate`. [[#155] by Emelia Smith]
55
+ - The `fetchDocumentLoader()` function now preloads the following JSON-LD
56
+ context: <http://schema.org/>.
57
+
58
+
30
59
  Version 1.1.1
31
60
  -------------
32
61
 
@@ -136,6 +165,17 @@ Released on October 20, 2024.
136
165
  [#150]: https://github.com/dahlia/fedify/issues/150
137
166
 
138
167
 
168
+ Version 1.0.6
169
+ -------------
170
+
171
+ Released on October 27, 2024.
172
+
173
+ - Fixed default document loaders' incorrect handling of relative URIs in
174
+ `Link` headers with `rel=alternate`. [[#155] by Emelia Smith]
175
+ - The `fetchDocumentLoader()` function now preloads the following JSON-LD
176
+ context: <http://schema.org/>.
177
+
178
+
139
179
  Version 1.0.5
140
180
  -------------
141
181
 
@@ -364,6 +404,19 @@ Released on September 26, 2024.
364
404
  [#137]: https://github.com/dahlia/fedify/issues/137
365
405
 
366
406
 
407
+ Version 0.15.4
408
+ --------------
409
+
410
+ Released on October 27, 2024.
411
+
412
+ - Fixed default document loaders' incorrect handling of relative URIs in
413
+ `Link` headers with `rel=alternate`. [[#155] by Emelia Smith]
414
+ - The `fetchDocumentLoader()` function now preloads the following JSON-LD
415
+ context: <http://schema.org/>.
416
+
417
+ [#155]: https://github.com/dahlia/fedify/pull/155
418
+
419
+
367
420
  Version 0.15.3
368
421
  --------------
369
422
 
@@ -1922,4 +1975,4 @@ Version 0.1.0
1922
1975
 
1923
1976
  Initial release. Released on March 8, 2024.
1924
1977
 
1925
- <!-- cSpell: ignore Dogeon Fabien Wressell -->
1978
+ <!-- cSpell: ignore Dogeon Fabien Wressell Emelia -->
@@ -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.8/negotiation.js";
3
+ import { accepts } from "../deps/jsr.io/@std/http/1.0.9/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";