What's Changed in 2.11.0
- feat: Adds a new
getTimeline()method for getting the series of minimum browser changes, either grouped by date or by browser. - refactor: Substantial refactoring of the data compression process that replaces the full list of browsers from
@mdn/browser-compat-dataanddownstream-browsers.jsonand features fromweb-features(in their very pared down form) with a change-list timeline that reflects which versions supported Baseline (newly available) on a given date. Thanks to @swwind for the idea! - refactor: Some common functions have been moved to a
util.tsmodule for use in other scripts. - fix: Removes
process.exit()calls when unsupported option combinations are passed to getCompatibleVersions() andgetAllVersions()in favour of throwing anError. There is a small security risk withprocess.exit()calls that sites accepting unsanitised inputs could be the subject of attacks. Unsupported config options now throw and Error which should allow for more graceful handling. Thanks to @bnbdr for flagging this as vulnerability CVE-2026-45819 .
Fixes #134
Full Changelog: v2.10.44...v2.11.0