mdn / yari

The platform code behind MDN Web Docs
Mozilla Public License 2.0
1.16k stars 486 forks source link

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

Open captainbrosset opened 6 days ago

captainbrosset commented 6 days ago

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

pransh15 commented 6 days ago

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

pransh15 commented 6 days ago

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

captainbrosset commented 1 day ago

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.

caugner commented 16 hours ago

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