Skip to content

v1.20.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 13:39

This release updates the scraping engine to html2rss 0.37.0, adds an ORCID works feed to the config catalog, and tightens how allowed_urls wildcards and static feed parameters are handled.

Highlights

  • New ORCID works feed in the config catalog. Pass the parameter orcid_id to list a researcher's publications from their public ORCID record. (#1297)
  • Feeds built from JSON sources can now select keys named title (and similar names such as script). Existing lowercase selectors keep matching. (#1297)
  • html2rss 0.37.0 brings multi-page auto-source scraping (max_pages), item exclusion rules, a page outline when a scrape returns zero items, a timezone option for Botasaurus, and an operator opt-in for private-network targets (HTML2RSS_ALLOW_PRIVATE_NETWORKS=1; the default stays blocked). Details: https://github.com/html2rss/html2rss/releases/tag/v0.37.0 (#1297)

Fixes

  • allowed_urls wildcards now match scheme, host, and port separately, so a wildcard can only widen the part of the URL it sits in. Patterns that cannot be matched safely fail closed instead of matching too much. (#1293)
  • Static feeds (GET /<name>) only pass on request parameters that the feed config declares under parameters, and only string values. Undeclared or non-string parameters no longer reach the scraper or the feed cache. (#1292)
  • Account tokens are now compared by digest in constant time. Existing feed tokens stay valid. (#1284)
  • A log line with malformed JSON no longer raises an error in the logger. It is logged as plain text. (#1279)
  • The development reloader now watches the right files, so code and config changes reload in dev. (#1279)
  • Frontend dependency override for cross-spawn fixes a reported advisory in the dev tooling. (#1296)

Behavior changes

Check these before upgrading.

  • allowed_urls patterns: these forms no longer match anything: no scheme (*example.com/*), a wildcard port, IPv6 literal hosts, and non-ASCII (IDN) hosts. https://*example.com/* no longer matches a.b.example.com; use https://*.example.com/* for subdomains. * and exact URLs work as before. (#1293)
  • Static feeds: a request that relied on a parameter the feed config does not declare now gets the feed's default output. Reordering keys under parameters in a feed config changes cache keys and costs one cold fetch per cached variant. (#1292)
  • Production boot: an admin account with a CHANGE_ME placeholder token now fails with the "Placeholder tokens for users" message instead of the access_token message. The admin token still comes from HTML2RSS_ACCESS_TOKEN. (#1282)
  • Botasaurus: proxies must now use http://. Other proxy schemes are rejected. (#1297)
  • JSON sources are parsed as XML: use lowercase key names in selectors, and do not rely on :scope for JSON items. (#1297)

Maintenance

Internal cleanups, mutation-test coverage, Reek enforcement, and dependency bumps: #1273, #1274, #1275, #1277, #1278, #1280, #1281, #1283, #1285, #1286, #1287, #1290, #1291, #1294.

Full Changelog: v1.19.2...v1.20.0