Skip to content

Release commits on the dist branch, modulepreload lists, paused results

Choose a tag to compare

@github-actions github-actions released this 24 Nov 03:24
· 9 commits to main since this release
  • Release - release commits (source plus the built .min.js files) are now on the dist branch instead of belonging to no branch; the first one also takes in the 0.0.38 and 0.0.39 release commits. main stays source only. Pin to a tag (@0.0.40) or a dist commit, not to a commit SHA from main: for those jsDelivr minifies on its own and api.min.js imports "./storage.js" again.
  • api.js (Changed) - while the rate-limit pause is active and nothing is stored (or staleIfError is off), the result has paused: true and cached: false. In 0.0.38 and 0.0.39 it said cached: true, although no data came from the cache.
  • tools/module-deps.py (new) - lists the modules that import others, with all their dependencies and ready-made <link rel="modulepreload"> lines; the docs now show the list. Without preloading, every level of imports adds one round trip (about 150 ms on mobile networks); on the landing page preloading moves the first API request about 300 ms earlier.
  • crootjs.d.ts - results have paused?: boolean.