News for hackers. Stuff that matters.
Re:Baseline: a unified view of stable web features by jrmg on Thursday May 11, 2023 @09:46PM (#35910883)
The source data seems to be here:

https://github.com/web-platform-dx/feature-set

There’s a bunch of YAML files in the ‘feature-group-definitions’ directory and the ‘leaf node’ ones have ‘is_baseline’ keys in a ‘status’ dictionary. See e.g. https://github.com/web-platform-dx/feature-set/blob/main/fea...

I am very much struggling to find anywhere that actually lists versions currently counted as ‘baseline’, or any definition of what a ‘major version’ is though.

Re:Baseline: a unified view of stable web features by simonw on Thursday May 11, 2023 @10:36PM (#35911246)
Yeah I dug around in the YAML but couldn't quite see how to derive what I wanted to know from it.

There's a JSON version of that data available here: https://cdn.jsdelivr.net/npm/web-features/index.json

Re:Baseline: a unified view of stable web features by foolip on Friday May 12, 2023 @04:09AM (#35913375)
I'm one of the people working on https://github.com/web-platform-dx/feature-set. Only 4 features are only marked as Baseline currently, for a minimal initial launch on MDN. The ambition is to cover the whole web platform, and at that point a list of all Baseline features could be generated.
Re:Baseline: a unified view of stable web features by simonw on Friday May 12, 2023 @12:25PM (#35918391)
That explains it! I just found "is_baseline": true four times in https://cdn.jsdelivr.net/npm/web-features/index.json - I hadn't spotted it in there, which is why I was confused as to how it was being exposed.
Re:Baseline: a unified view of stable web features by simonw on Friday May 12, 2023 @02:06PM (#35919819)