Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: web-platform-dx/baseline-browser-mapping
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.8.32
Choose a base ref
...
head repository: web-platform-dx/baseline-browser-mapping
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.9.0
Choose a head ref
  • 2 commits
  • 16 files changed
  • 2 contributors

Commits on Nov 28, 2025

  1. Configuration menu
    Copy the full SHA
    6d43e5a View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2025

  1. Reduce frequency of data staleness warnings (#108)

    * Data staleness warnings are now only shown if the `getCompatibleVersions()` or `getAllVersions()` functions are called - previously they were shown whenever the module was loaded, which meant many `browserslist` consumers were seeing the warning despite not targeting Baseline, especially those who were consuming `browserslist` in a pre-compiled format via `next.js`.
    * Adds new conditions for these warnings to be displayed which should only warn users for whom data freshness is critical:
      * The feature cut off data must be within the last two months, i.e. `widelyAvailableOnDate: today + >2 years and 4 months` or `newly available` in a `browserslist` query.
      * The module data must be more than 2 months old.
      * None of the suppression mechanisms below are in use.
    * Introduces suppression options for these warning via the `options` objects and environment variables:
      * Adds a new `suppressWarnings` boolean to the `getCompatibleVersions()` and `getAllVersions()` 
      * Respects the existing [`BROWSERSLIST_IGNORE_OLD_DATA`](browserslist/browserslist@0ae7155) environment variable.
      * Respects a new `BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA` environment variable.
    * Adds explanatory text to the docs for how to avoid such warnings when reproducible builds are a requirement.
    * Change warning text to be package manager agnostic and mention the possibility of pre-compiled data.
    
    Fixes: #105 #107 #109
    tonypconway authored Dec 3, 2025
    Configuration menu
    Copy the full SHA
    226fd01 View commit details
    Browse the repository at this point in the history
Loading