Skip to content

Releases: web-platform-dx/baseline-browser-mapping

v2.9.3 - remove `process.loadEnvFile()`

05 Dec 16:21
3553f31

Choose a tag to compare

What's Changed

Full Changelog: v2.9.2...v2.9.3

v2.9.2 - fix browser support bug

04 Dec 14:27
5972583

Choose a tag to compare

What's Changed

v2.9.0 - Reduce frequency of data staleness warnings

03 Dec 15:47
226fd01

Choose a tag to compare

This version introduces a number of changes to data staleness warnings in response to #105 , #107 and #109

  • 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.
  • 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 environment variable.
    • Respects a new BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA environment variable.
  • Adds explanatory text to the README 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.

v2.8.4 - fixes for older node versions

15 Sep 12:56
v2.8.4
756de63

Choose a tag to compare

What's new

  • baseline-browser-mapping is now a dependency of browserslist. The use of spread syntax and optional chaining in the source code caused build problems in older versions of Node.js (spread syntax in <8.3.0 and optional chaining in 14.0.0), so the build targets for baseline-browser-mapping have been changed to ES2017 to ensure compatibility.
  • This release also changes the location of main in package.json to the CommonJS export, which should only be used in older versions of node. Any version of node using that supports ESM build should use the default location(s) in the exports property.

A big thank you to @BrightTan for identifying the issue in browserslist/browserslist#904 !

Full Changelog: v2.8.3...v2.8.4

v2.8.0 - Facebook and Instagram apps

09 Sep 16:05
v2.8.0
dc081f3

Choose a tag to compare

What's Changed

  • Add support for Facebook and Instagram Android apps by @tonypconway in #99

Full Changelog: v2.7.4...v2.8.0

v2.7.4 - Compression improvements

05 Sep 14:31
v2.7.4
3a0bdc6

Choose a tag to compare

What's Changed

Full Changelog: v2.7.3...v2.7.4

v2.7.0 - Opt-in support for KaiOS

26 Aug 11:01
v2.7.0
03ee679

Choose a tag to compare

What's Changed

  • Add support for KaiOS in downstream browsers by @tonypconway in #97
    • This release adds a new config option for both getCompatibleVersions and getAllVersions: includKaiOS. Setting this option to true will include KaiOS versions in the output based on their corresponding Gecko version capabilities. KaiOS has an extra level of opt-in compared to other downstream browsers because its interaction paradigm differs significantly and developers need to be well informed before stating that they support KaiOS.

With thanks to @ai for proposing this change and reviewing along with @rviscomi.
Also a thank you to Jose Briones for providing a test UA from the TCL Flip 4 5G to confirm the Gecko version of KaiOS 4.

Bug fixes

  • Resolves a downstream data issue where an erroneous version of Yandex browser (99.9) had been introduced.

Full Changelog: v2.6.7...v2.7.0

v2.6.6 - data patch

20 Aug 14:49

Choose a tag to compare

v2.6.3 - data patch

11 Aug 09:51

Choose a tag to compare

v2.6.2 - CLI, package size optimizations

08 Aug 11:25
v2.6.2
02c5efd

Choose a tag to compare

What's Changed

  • Feature Add command line interface by @piotr-cz in #66
  • Reduce npm package size by @ai in #94
  • Refactor to simplify exported files, fix tooltips by @tonypconway in #95

New Contributors

Full Changelog: v2.5.9...v2.6.2