yari icon indicating copy to clipboard operation
yari copied to clipboard

web-features baseline status is not sync'd with BCD

Open captainbrosset opened this issue 1 year ago • 4 comments

Summary

On https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/difference#browser_compatibility, compare the BCD table and baseline status:

Capture d’écran 2024-06-26 à 07 45 32 Capture d’écran 2024-06-26 à 07 45 58

The method became available in Firefox 127, therefore making it "baseline low".

However, Yari uses 0.8.6 of web-features, which is 2 weeks old and which, indeed, shows Firefox as missing.

This is not Yari's fault because there hasn't been a new release of web-features since then, but I'm opening the issue here because this is where it manifests for users. We should discuss about the release cadence for web-features, and the strategy for yari to bump the version it depends on.

Pinging @ddbeck on this.

URL

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/difference

Reproduction steps

  1. Open the page
  2. Look at the Baseline banner
  3. Look at the BCD table

Expected behavior

The banner, and BCD table, should always match.

Actual behavior

They differ.

Device

Desktop

Browser

Firefox

Browser version

Stable

Operating system

Mac OS

Screenshot

No response

Anything else?

No response

Validations

captainbrosset avatar Jun 26 '24 05:06 captainbrosset

Hello @captainbrosset 🫡 Thanks for submitting this. I've been following the conversation on Mastodon, and I'll share this with the team.

pransh15 avatar Jun 26 '24 09:06 pransh15

I have an update! We are aware of the issue and are discussing tackling it in the coming days. 🙌

pransh15 avatar Jun 26 '24 10:06 pransh15

web-features 0.9.0 is now available: https://github.com/web-platform-dx/web-features/releases/tag/v0.9.0. Updating to it should fix the issue on MDN.

captainbrosset avatar Jul 01 '24 16:07 captainbrosset

This is somewhat related to https://github.com/mdn/yari/issues/6488.

caugner avatar Jul 02 '24 10:07 caugner

This should no longer be an issue with our new rari build system, which updates web-features at build time:

https://github.com/mdn/rari/blob/986b933ac43480fc0202f3b4c2ae3d8bce6d8aaf/crates/rari-deps/src/web_features.rs#L8-L18

caugner avatar Mar 14 '25 20:03 caugner