@fedify/fedify 0.15.0-dev.367 → 0.15.0-dev.374

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGES.md CHANGED
@@ -8,6 +8,22 @@ Version 0.15.0
8
8
 
9
9
  To be released.
10
10
 
11
+ - Removed `expand` option of `Object.toJsonLd()` method, which was deprecated
12
+ in version 0.14.0. Use `format: "expand"` option instead.
13
+ - Renamed the short option `-c` for `--compact` of `fedify lookup` command to
14
+ `-C` to avoid conflict with the short option `-c` for `--cache-dir`.
15
+ - Added `-r`/`--raw` option to `fedify lookup` command to output the raw JSON
16
+ object.
17
+
18
+
19
+ Version 0.14.3
20
+ --------------
21
+
22
+ Released on September 1, 2024.
23
+
24
+ - Fixed `fedify inbox` command where it had ignored `-a`/`--accept-follow`
25
+ options when no `-f`/`--follow` option was provided. [[#132]]
26
+
11
27
 
12
28
  Version 0.14.2
13
29
  --------------
@@ -125,6 +141,17 @@ Released on August 27, 2024.
125
141
  [#115]: https://github.com/dahlia/fedify/issues/115
126
142
 
127
143
 
144
+ Version 0.13.4
145
+ --------------
146
+
147
+ Released on September 1, 2024.
148
+
149
+ - Fixed `fedify inbox` command where it had ignored `-a`/`--accept-follow`
150
+ options when no `-f`/`--follow` option was provided. [[#132]]
151
+
152
+ [#132]: https://github.com/dahlia/fedify/issues/132
153
+
154
+
128
155
  Version 0.13.3
129
156
  --------------
130
157
 
@@ -323,6 +323,15 @@ class FederationImpl {
323
323
  if (actor == null)
324
324
  return null;
325
325
  const logger = getLogger(["fedify", "federation", "actor"]);
326
+ if (actor.id == null) {
327
+ logger.warn("Actor dispatcher returned an actor without an id property. " +
328
+ "Set the property with Context.getActorUri(handle).");
329
+ }
330
+ else if (actor.id.href != context.getActorUri(handle).href) {
331
+ logger.warn("Actor dispatcher returned an actor with an id property that " +
332
+ "does not match the actor URI. Set the property with " +
333
+ "Context.getActorUri(handle).");
334
+ }
326
335
  if (this.followingCallbacks != null &&
327
336
  this.followingCallbacks.dispatcher != null) {
328
337
  if (actor.followingId == null) {