Repository navigation
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_idto 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 asscript). 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, atimezoneoption 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_urlswildcards 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 underparameters, 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-spawnfixes a reported advisory in the dev tooling. (#1296)
Behavior changes
Check these before upgrading.
allowed_urlspatterns: 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 matchesa.b.example.com; usehttps://*.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
parametersin a feed config changes cache keys and costs one cold fetch per cached variant. (#1292) - Production boot: an admin account with a
CHANGE_MEplaceholder token now fails with the "Placeholder tokens for users" message instead of theaccess_tokenmessage. The admin token still comes fromHTML2RSS_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
:scopefor 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