4 ms·
The source data seems to be here: https://github.com/web-platform-dx/feature-set https://github.com/web-platform-dx/feature-set There’s a bunch of YAML files
by jrmg 3y ago
The source data seems to be here:
https://github.com/web-platform-dx/feature-set 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/feature-group-definitions/cascade-layers.yml 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.
- simonw 3y agoYeah 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 https://cdn.jsdelivr.net/npm/web-features/index.json
- foolip 3y agoI'm one of the people working on https://github.com/web-platform-dx/feature-set 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.
- simonw 3y agoThat explains it! I just found "is_baseline": true four times in https://cdn.jsdelivr.net/npm/web-features/index.json 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.
- simonw 3y agoWrote about this in a TIL: https://til.simonwillison.net/datasette/baseline https://til.simonwillison.net/datasette/baseline