question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RFC] Support only last n browser versions

See original GitHub issue

Current state

We transpile for the following targets:

ie 11
edge >= 14
firefox >= 52
chrome >= 49 // this should be 41 which is used by the google crawler
safari >= 10
node 8.0

Proposal

We use every major release to update the list to include only the last 31 versions and use this snapshot throughout the lifetime of the release. For v4 this would mean

ie 11
edge >= 16
firefox >= 65
chrome >= 71
safari >= 11
node 10.0

1 Somewhat arbitrary. Used the default “last 2 versions” from browserslist and relaxed it by 1.

Rationale

  1. This is transpilation only. We can still support layout quirks in older browsers. If it is really important for app authors to support older versions they can always transpile node_modules. We can include a guide in our docs.
  2. Firefox, edge and safari (and chrome) are evergreen browsers meaning users automatically get updates. Usage numbers for outdated versions of these evergreen browsers is very low.
  3. Transpilation adds a considerable amount of bundle bloat. E.g. transform-destructuring accounts for around 2-3% of our bundle.
  4. Once google updates their crawler to use a newer chrome version we can think about publishing a separate IE11 bundle. Edit: crawler runs on chrome 74 which means it already matches last 3 versions.

/cc @mui-org/community-partners @mui-org/core-contributors

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:9
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
joshwoodingcommented, Apr 26, 2019

This looks good to me, the market share we lose is probably very little and the benefits look to outweigh the very little cost 👍

2reactions
oliviertassinaricommented, May 8, 2019

Today, we are happy to announce that Googlebot now runs the latest Chromium rendering engine (74 at the time of this post) when rendering pages for Search. Moving forward, Googlebot will regularly update its rendering engine to ensure support for latest web platform features.

https://webmasters.googleblog.com/2019/05/the-new-evergreen-googlebot.html

Read more comments on GitHub >

github_iconTop Results From Across the Web

rfcs/0685-new-browser-support-policy.md at master - GitHub
Within a version of a browser, we only support the most recent patch release. Drawbacks. The proposed policy makes Safari the new "lowest...
Read more >
RFC: drop legacy browsers, allow modern syntax - HackMD
We drop support for legacy runtimes and only support last two versions of evergreen (desktop) browsers and NodeJS LTS versions.
Read more >
Version history for TLS/SSL support in web browsers - Wikipedia
Version history for TLS/SSL support in web browsers tracks the implementation of Transport Layer Security protocol versions in major web browsers.
Read more >
RFC 6265: HTTP State Management Mechanism
1. The Expires Attribute If the attribute-name case-insensitively matches the string "Expires", the user agent MUST process the cookie-av as follows. · 2....
Read more >
RFC 2616 HTTP/1.1 - IETF
A client sends a request to the server in the form of a request method, URI, and protocol version, followed by a MIME-like...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found