Unverified Commit 599b5a7b authored by Hong Minhee's avatar Hong Minhee
Browse files

Merge tag '1.2.3'

Fedify 1.2.3
parents cfe509f3 d139bcf0
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -33,6 +33,15 @@ To be released.
[#162]: https://github.com/dahlia/fedify/issues/162


Version 1.2.3
-------------

Released on November 6, 2024.

 -  The `fedify node` subcommand now can recognize multiple values of
    the `rel` attribute in the `<link>` HTML elements.


Version 1.2.2
-------------

+2 −1
Original line number Diff line number Diff line
@@ -237,7 +237,8 @@ async function getFaviconUrl(
        ? value.slice(1, -1)
        : value;
    }
    if (attrs.rel !== "icon" && attrs.rel !== "apple-touch-icon") continue;
    const rel = attrs.rel?.toLowerCase()?.trim()?.split(/\s+/) ?? [];
    if (!rel.includes("icon") && !rel.includes("apple-touch-icon")) continue;
    if ("sizes" in attrs && attrs.sizes.match(/\d+x\d+/)) {
      const [w, h] = attrs.sizes.split("x").map((v) => Number.parseInt(v));
      if (w < 38 || h < 19) continue;