News for hackers. Stuff that matters.
Re:Baseline: a unified view of stable web features by chrismorgan on Thursday May 11, 2023 @09:19PM (#35910666)
> The Web Platform Baseline consists of features natively supported in the core browser set for at least two major versions.

I don’t even know what “two major versions” means. Or why it would be reasonable to consider as a baseline.

For Safari: we’re currently at 16.4 (March 2023); does “two major versions” mean from Safari 15 (September 2021), or from Safari 16.3 (January 2023)? I’m going to guess 16.3.

For Firefox: so this just ignores Firefox ESR? It’s at 102.11.0, while regular is at 113.0. (That is, it’s at nine versions/nine months ago.)

For everyone else: you know that’s permanently as little as about five weeks ago, right? Put bluntly: that’s stupid, nothing like what a baseline should be.

By the sound of it, this may be genuinely ignoring 25–35% of users, and declaring features “baseline” not supported by the browsers used by fully 15–25% of users. (Numbers taken from quick estimation based on https://caniuse.com/usage-table which mostly uses StatCounter’s woefully misleading and wrong numbers because I’m lazy, but I think my error bars are large enough that they’d hold up to more rigorous calculation using other data sets too.)

My only hope here is that “two major versions” means Safari 15. Then all up it’d mean roughly “since September 1–2 years ago” rather than “mostly 5–10 weeks ago”, and that 15–25% would drop to under 5% for most features in the delta, half by simple coincidence.

(Aside: I really wish browser makers would switch to some form of calendar versioning, e.g. YY.MM. There was a great opportunity about now when Firefox caught up to Chromium due to a slightly faster cadence.)

Re:Baseline: a unified view of stable web features by waboremo on Thursday May 11, 2023 @09:51PM (#35910909)
Major versions are always the first number before the first decimal point. So Safari 15 and Safari 16. You can check the linked feature set repo linked in the article and see that for the features, they're only checking that first group of digits. "15" "16" (sticking to the safari example).
Re:Baseline: a unified view of stable web features by chrismorgan on Thursday May 11, 2023 @10:14PM (#35911099)
Safari has a radically different approach to numbering to all the rest (even though it’s them that changed, not it). It’s bumping its “major” number once per year, whereas Chromium and Firefox are bumping theirs 10–12 times per year. Unless they have radically different deployment strategies, “major versions” is clearly useless as a consistent concept across browsers. But despite Safari being tied to the OS version, when you take everything together (hardware support for their OSes, OS upgrade frequency) it’s only a little different, nowhere near the 10× difference in importance of a “major version”.

All up, I say “two major versions” is obviously a completely unsuitable definition to use. It needs to treat Safari differently, e.g. “two major versions of Safari and twelve major versions of all other browsers” (which would catch Firefox ESR) or “thirteen months of browser support” (which would be less for Safari most of the time, but really, consider the deployment cadence and it’s probably not so different, though maybe you’d bump it to fourteen or fifteen months, I dunno).

Re:Baseline: a unified view of stable web features by waboremo on Thursday May 11, 2023 @11:58PM (#35911735)
Major versions isn't a useless consistent concept because it's the strategy all browser developers use to determine when major features are added (vs bug/security fixes). Which is what Baseline is for, feature adoption.

So if Safari is adding a slew of major features once per year, and Firefox 6x per year, it doesn't matter. We have a baseline of what features as developers we can now implement without worrying about which browser version supports this or that. We see the baseline, we add the feature.

Last two major versions has been utilized (unofficially) by most people through Browserlist. It's been both suitable and productive.

Re:Baseline: a unified view of stable web features by chrismorgan on Friday May 12, 2023 @12:42AM (#35911997)
This is nonsense. Safari adds major features in point releases: just look through some of https://developer.apple.com/documentation/safari-release-not... and see. Some of the biggest features get held for the next “major” number bump, certainly, but most point releases include at least as much as most major number bumps in Firefox or Chromium.

In my experience, people haven’t tended to use just “last two versions” with Browserlist: IE has normally been special-cased historically, and Safari has regularly been special-cased in some way, and Safari has actually been the salvation of the “last two versions” strategy because it dragged the baseline down to a more acceptable place, where “last two versions” of only Firefox and Chromium would regularly be disastrous. It has long been a really poorly-thought-out mechanism.

The other point you’re missing is user adoption. “At least one year” for Safari is one thing, but “five weeks” for everyone else is pretty crazy when you look at actual update statistics.

Re:Baseline: a unified view of stable web features by atopal on Friday May 12, 2023 @04:42AM (#35913564)
The issue with Safari is that it's tied to the operating system on iOS. That's an issue with minor releases, but even more so with major releases, where you can't get Safari 16 for iOS 15. That naturally means slower uptake compared to Chrome or Firefox which will update the browser in the background seamlessly.

I'm hoping that we'll be able to identify better usage data and a better understanding of developer expectations to refine this definition.

Re:Baseline: a unified view of stable web features by 2h on Thursday May 11, 2023 @10:30PM (#35911214)
100% agree. This is such an idiotic standard, they might as well stop lying and just say the truth: "if you're not on auto update, fuck you".

What's worse is people copycat this "baseline", and if you try to argue sanity, they just say "sure it's what Chrome/Firefox recommend" without knowing or caring that they are only supporting months old browsers now. It's madness.

Re:Baseline: a unified view of stable web features by simonw on Thursday May 11, 2023 @10:56PM (#35911357)
Given how security critical a web browser is, why wouldn't you be running auto update for it?
Re:Baseline: a unified view of stable web features by tambourine_man on Thursday May 11, 2023 @11:10PM (#35911422)
Because your OS doesn’t support a newer version.

Chrome 109 is the last version to support Windows 8.

There are a lot of people on systems even older than that.

Re:Baseline: a unified view of stable web features by dialogbox on Thursday May 11, 2023 @11:35PM (#35911583)
IMO, this kind of pressure is needed and helpful to let people upgrade the vulnerable OS versions. Without it, people may stay forever with Windows XP.
Re:Baseline: a unified view of stable web features by userbinator on Friday May 12, 2023 @12:19AM (#35911842)
Fuck that and the rest of the e-waste-generating degenerate corporate-authoritarian brainless drones.
Re:Baseline: a unified view of stable web features by bruce511 on Friday May 12, 2023 @01:41AM (#35912349)
I hear you, I'm not a fan of just throwing things away.

But internet-connected devices are a special case which deserves consideration.

Unfortunately Operating Systems, and the software that runs on them is imperfect. People are spending a lot of energy finding, and creating exploits based on, those imperfections.

An old car can be used almost infinitum, if there's any danger it's likely to be to itself, or at worst very local to others.

However an exploited old machine on a LAN, is dangerous to the entire LAN. And beyond.

There are hardware iterations that create a specific cut-off, but I don't think Windows 10 was one. (As i recall, if it could run Windows 8 it could run Windows 10 AND the upgrade was/is free.)

Yes there is -really- old hardware out there running XP, even DOS, but I'd argue its not something you should expose to the Internet, even as a client.

Running old browers, and related software, to browse the modern Web, is a very risky game with a very large penalty for failure.

In that context I'm happy to build sites targeting "current software".

Re:Baseline: a unified view of stable web features by badsectoracula on Friday May 12, 2023 @01:55AM (#35912446)
> e-waste-generating degenerate corporate-authoritarian brainless drones.

If it is e-waste you are worried about you can always use Linux to keep your older machines useful as that both allows them to run better than Windows with a lightweight DE while also using the latest versions of the available software with all the security fixes.

You also get to have more control of how your computer will behave too.

Re:Baseline: a unified view of stable web features by replygirl on Thursday May 11, 2023 @11:48PM (#35911647)
This hypothetical project gets a lot of revenue from people with 10 year old computers to justify a decrease in productivity for 0.56% higher potential reach
Re:Baseline: a unified view of stable web features by waboremo on Thursday May 11, 2023 @11:51PM (#35911673)
Windows 8 and 8.1 is already EOL. No regular consumer should still be on it.
Re:Baseline: a unified view of stable web features by glandium on Friday May 12, 2023 @01:39AM (#35912328)
There are still more people using Firefox on Windows 7 than using Firefox on macOS (or if that's not the case anymore, the flip would have been recent).
Re:Baseline: a unified view of stable web features by noirscape on Friday May 12, 2023 @06:06AM (#35914139)
I ran tech support for the elderly a couple years ago. There was a ridiculous amount of people who were still on Windows 7 because they bought their laptop in 2012 and only use it to exchange emails with their grandkids, do their banking and read the news. They never bought anything new or did any major upgrades because their system doesn't "feel old" so they see no use for it.

This is also why XPs complete ESR support ended in 2019. What I just said about people also applies to certain organizations like governments, who'd rather pay through the nose for that ESR support than upgrade.

That's just the reality of it all. There's a reason why Android is so extremely pushy with installing updates to Chrome et al. in the background (and why Androids old OS depreciation process is so slow) - users just flat out don't update their software or their hardware if they don't feel the need to.

EOL from a company means nothing. People will absolutely stick on years old hardware if they can help it as long as it works for them, and you're going to still be the one on the hook unless it's truly ancient tech. (We're currently at the point where if someone uses Vista, you could probably tell them to update? Keep in mind that Vista got EOLed in 2016. Windows 7 is kinda heading in that direction, but I'm not seeing that happen until another 2 to 3 years have passed at least).

Re:Baseline: a unified view of stable web features by tambourine_man on Friday May 12, 2023 @08:52AM (#35915490)
Exactly. The bubble these people in my replies are in and aren't even aware is surprising.
Re:Baseline: a unified view of stable web features by mr_toad on Thursday May 11, 2023 @11:26PM (#35911522)
Enterprise, because reasons.
Re:Baseline: a unified view of stable web features by 2h on Thursday May 11, 2023 @11:03PM (#35911390)
Yes, well said. We should just force updates upon users. Block all websites unless user is on latest version, and close the source code to prevent compiling older versions.

Can't be too careful.

Re:Baseline: a unified view of stable web features by userbinator on Friday May 12, 2023 @12:19AM (#35911844)
Fuck "security", it's all about user-hostility. Plenty of us do NOT want more of that crap shoved down our throats.
Re:Baseline: a unified view of stable web features by dialogbox on Friday May 12, 2023 @12:29AM (#35911915)
Without the "security", you won't even know if someone secretly shoved down your throats that craps. If you live in a world which doesn't need the "security", congrets. But it's critical to the most of us.
Re:Baseline: a unified view of stable web features by KyeRussell on Friday May 12, 2023 @04:14AM (#35913408)
Be an iota more specific than that. An iota. If you can, with a straight face, I’ll eat my hat.

The argument of “this doesn’t cater for the super-minority of nerdy power user ideologues”, that’s honestly not going to roll commercially, sorry. If we are talking about the regular adoption curve, enterprises holding things back, or literally just…anything more than you and RMS, I just don’t see that as remotely relevant.

Re:Baseline: a unified view of stable web features by replygirl on Thursday May 11, 2023 @11:50PM (#35911668)
To be fair, if you don't click the button in the corner and you're not airgapped, what two words better capture my response to the liability of supporting you?
[dead]
Re:Baseline: a unified view of stable web features by replygirl on Thursday May 11, 2023 @11:55PM (#35911708)
Care to point out the errors in my grammar?
Re:Baseline: a unified view of stable web features by saagarjha on Friday May 12, 2023 @05:29AM (#35913886)
Liability? If you’re a web developer you want people to update so they can have new APIs. That they’re going to be pwned by a 1-click n-day is probably not something you would feel liability for.
Re:Baseline: a unified view of stable web features by atopal on Friday May 12, 2023 @04:44AM (#35913574)
Looking at browser usage for the last two major versions is misleading. That would only be true in a parallel release of a web platform feature in every browser, but that's basically never the case, and it's not the same for every feature. A feature like subgrid was launched years ago in Firefox, last year in Safari and will be launched later this year in Chromium. So, by the time it's in Baseline, it will be in two versions back for Chromium browsers, but 20+ versions back for Firefox and over a year old in Safari.