Releases: web-platform-dx/baseline-browser-mapping
Releases · web-platform-dx/baseline-browser-mapping
v2.9.3 - remove `process.loadEnvFile()`
What's Changed
- Remove process.loadEnfFile() from main script by @tonypconway in #112
Full Changelog: v2.9.2...v2.9.3
v2.9.2 - fix browser support bug
What's Changed
- Fix browser support bug by @tonypconway in #111
Full Changelog: v2.9.1...v2.9.2
v2.9.0 - Reduce frequency of data staleness warnings
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()orgetAllVersions()functions are called - previously they were shown whenever the module was loaded, which meant manybrowserslistconsumers were seeing the warning despite not targeting Baseline, especially those who were consumingbrowserslistin a pre-compiled format vianext.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 monthsornewly availablein abrowserslistquery. - The module data must be more than 2 months old.
- The feature cut off data must be within the last two months, i.e.
- Introduces suppression options for these warning via the
optionsobjects and environment variables:- Adds a new
suppressWarningsboolean to thegetCompatibleVersions()andgetAllVersions() - Respects the existing
BROWSERSLIST_IGNORE_OLD_DATAenvironment variable. - Respects a new
BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATAenvironment variable.
- Adds a new
- 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
What's new
baseline-browser-mappingis now a dependency ofbrowserslist. 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 forbaseline-browser-mappinghave been changed to ES2017 to ensure compatibility.- This release also changes the location of
maininpackage.jsonto 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 theexportsproperty.
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
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
What's Changed
- Reduces module size by removing web-features IDs by @tonypconway in #98
Full Changelog: v2.7.3...v2.7.4
v2.7.0 - Opt-in support for KaiOS
What's Changed
- Add support for KaiOS in downstream browsers by @tonypconway in #97
- This release adds a new config option for both
getCompatibleVersionsandgetAllVersions:includKaiOS. Setting this option totruewill 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.
- This release adds a new config option for both
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
Full Changelog: v2.6.3...v2.6.6
v2.6.3 - data patch
Full Changelog: v2.6.2...v2.6.3
v2.6.2 - CLI, package size optimizations
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