How to target last 2 versions of FF ESR?
See original GitHub issueHow can I target the last 2 versions of FF ESR? If I use last 2 versions
, I only get FF 52 and 53; I would expect to get FF 45, 52, 53:
- 53 is latest FF
- 52 is previous version of FF, plus latest FF ESR
- 45 is previous FF ESR
Using the demo at http://browserl.ist it does not seem possible to write a query that pulls in “the last two versions of Firefox ESR”.
This is important because there’s always a qualification period during which the previous ESR version and the next ESR version overlap, so they’re both active and supported for a time (such as right now). Also, institutions/enterprises are notoriously slow to upgrade, so it would be nice to be able to target N versions back, based on the target audience.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:12 (7 by maintainers)
Top Results From Across the Web
"Last 2 versions" considered harmful
"last 2 versions" considered harmful. There comes a time in every developer's life when they come to realize their thoughtleaders misled them.
Read more >Target Browsers - CodeKit
To do that, open the Target Browsers section of Project Settings: ... The default is >0.25%, last two versions, Firefox ESR, not dead....
Read more >Browserslist
Display target browsers from a Browserslist config. ... with the defaults query which is a shortcut for > 0.5%, last 2 versions, Firefox...
Read more >Browser configuration | webhint documentation
browserslist.defaults = [ '> 0.5%', 'last 2 versions', 'Firefox ESR', ' ...
Read more >Firefox version history - Wikipedia
All variants, 100%, 3.04%. Firefox was created by Dave Hyatt and Blake Ross as an experimental branch of the Mozilla ... Firefox 102...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Because I want to use a semantic query string such as “last N versions”. Using hard coded values means I need to update my list of browsers whenever there’s a new ESR release.
Maybe this is our point of confusion. ESR is not just a support level: it is a distinct software baseline. Here’s the repo for ESR 45: https://hg.mozilla.org/releases/mozilla-esr45/ It is definitely a separate piece of software. When the Mozilla Foundation stops supporting a particular ESR release, the tag does not disappear from the repo. (Go up a level and you can go all the way back to the ESR 10 baseline.) It’s still an ESR, just an unsupported one – the same way that Microsoft no longer supports IE 8.
It’s simple: organizations and enterprises are slow to upgrade and do not follow the Mozilla schedule. There’s likely a number of intranets that are still running ESR 38 because they haven’t upgraded their infrastructure. Those computers are locked down and cannot be autoupdated by users. Organizations running ESR 38 at this point are just a little slow and are just under a year out of date. That doesn’t seem like a good reason to punish those users.
I don’t think this requires a new version in the code. You’re already aliasing ESR to a particular Firefox version. Why not just alias it to a list and make it synthetic browser version in order to support the queries with browserlist? If you were tracking bugs, this wouldn’t be right; however, you’re tracking browser capabilities and ESR freezes those upon first release, so this approach sounds correct.
And I was surprised to see browsers that are primarily used in China (it’s not my target market). People will adjust the same way they did with how the 2.0 release changed the
last 2 versions
results.