Skip to content

v0.9.1

Choose a tag to compare

@github-actions github-actions released this 06 Nov 12:12
· 66 commits to main since this release
b445f4d

Upgrade notes:

  • If your network adapter refuses POST requests, pages with API or analytics calls stay partial.
    Forward the page's own POST, PUT, PATCH, DELETE and OPTIONS requests with their body, like
    examples/controlled-scanner.ts now does.

Changed

  • The fixes of impressum-link and privacy-policy-link suggest labels in the language the page
    declares in <html lang>: "Legal notice" and "Privacy policy" on an English site, "Impresszum"
    and "Adatkezelési tájékoztató" on a Hungarian one, "Impressum" and "Datenschutzerklärung" on a
    German one. Without a declared language the region decides. The BGH two-click ruling is only
    cited with --region de (#96)
  • The example adapter in examples/controlled-scanner.ts forwards the page's own POST, PUT,
    PATCH, DELETE and OPTIONS requests with their body instead of refusing them. Refused API and
    analytics calls made every page with one partial. The controlled-scanning docs explain why an
    adapter should do the same (#98)

Fixed

  • A crawled link that redirects to another site is no longer scanned as one of the site's pages.
    It is listed in offSiteRedirects and doesn't count against --max-pages (#95)
  • impressum-link no longer takes a deeper page such as /blocks/contact for the contact page.
    A contact page is /kontakt, /contact, /contact-us or /kapcsolat at the top of the site
    or under a language prefix, or a link labelled as one. "Kapcsolat" is recognised (#97)