Skip to content

Commit

Permalink
Merge pull request #1088 from NullVoxPopuli/update-safari-support-pre…
Browse files Browse the repository at this point in the history
…pare-ember-v6

Update the browser support policy page
  • Loading branch information
mansona committed May 9, 2024
2 parents 2607cd5 + b84f392 commit 17d01eb
Showing 1 changed file with 61 additions and 126 deletions.
187 changes: 61 additions & 126 deletions app/templates/browser-support.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,64 @@
<section aria-labelledby="section-browser-support-policy">
<h1 id="section-browser-support-policy">Ember.js Browser Support Policy</h1>

<h2>Ember 5.0.0</h2>
<p>
For evergreen browsers, the minimum version of the browser that we support can be
determined at the time of every minor release, following this formula:
</p>

<div class="layout my-3">
<div class="card">
<div class="card__content">
<p>
Whichever browser version is greater/more recent out of the following,
given that the owning entity (e.g.: Apple, Google, Mozilla) still supports the version
</p>

<ol>
<li>
The lowest/least recent version that fulfills any one of these properties:
<ul>
<li>It is the latest version of the browser.</li>
<li>It is the latest LTS/extended support version of the browser (such as Firefox ESR).</li>
<li>It has at least <em>0.25%</em> of global marketshare usage across mobile and
desktop, based on <a href="https://gs.statcounter.com/">statcounter</a>.</li>
</ul>
</li>
<li>
The minimum version supported in the previous release
</li>
</ol>
</div>
</div>
</div>

<p>Supported evergreen browsers are <strong>Google Chrome</strong> and <strong>Mozilla Firefox</strong> for desktop, mobile, and testing. Additionally, <strong>Microsoft Edge</strong> is supported for desktop.</p>

<p>
In Ember 5.0.0, the framework supports the following major browsers:
Currently we support one non-evergreen browser: <strong>Apple Safari</strong> on desktop and mobile.
Support is locked at a specific major version, and
we support all major versions above that version.
</p>

<p class="mb-3">
Note: Within a major version of a browser, we only support the most recent patch release.
</p>

<EsNote @mascot='zoey'>
As of
the RFC <a href="https://rfcs.emberjs.com/id/0984-update-browser-support-policy">Treat Safari as an Evergreen Browser</a>,
at version 6.0.0 of Ember, Safari will be considered evergreen so the minimum supported Safari version will change based on the above formula.
</EsNote>

<p class="mt-3">
Other browsers may work with Ember.js, but are not explicitly supported. If you
would like to add support for a new browser, please <a href="https://github.com/emberjs/rfcs">submit an RFC for discussion</a>!
</p>

<h2>Browser Support by Major Ember Version</h2>

<h3>Ember 5.x</h3>

<ul class="list-unstyled layout my-3">
<EsCard class="lg:col-2">
<div class="text-center text-md">Desktop</div>
Expand Down Expand Up @@ -36,11 +88,7 @@
</EsCard>
</ul>

<h2>Ember 4.0.0</h2>

<p>
In Ember 4.0.0, the framework supports the following major browsers:
</p>
<h3>Ember 4.x</h3>

<ul class="list-unstyled layout my-3">
<EsCard class="lg:col-2">
Expand Down Expand Up @@ -69,138 +117,25 @@
</EsCard>
</ul>

<h2>Ember 3.0.0</h2>
<h3>Ember 3.x</h3>

<p>
Ember currently targets Internet Explorer 11 as a baseline for support. This means that generally all modern and relatively recent browsers will work with Ember, since browsers are backwards compatible by design. Ember runs tests against the latest desktop versions of the following browsers:
The first Ember major version to be covered by the <a href="https://rfcs.emberjs.com/id/0685-new-browser-support-policy">New Browser Support Policy</a> was 4.0.0. The following browser support numbers are not official and are estimated based on the CI testing matrix for the 3.x series.
</p>

<div class="layout my-3">
<div class="card lg:col-2 lg:start-3">
<div class="card__content">
<ul>
<li>Google Chrome</li>
<li>Mozilla Firefox</li>
<li>Microsoft Edge</li>
<li>Google Chrome >= 62</li>
<li>Mozilla Firefox >= 57</li>
<li>Microsoft Edge >= 14</li>
<li>Internet Explorer 11</li>
<li>Safari</li>
<li>Safari >= 8</li>
</ul>
</div>
</div>
</div>

<p>
Other browsers may work with Ember.js, but are not explicitly supported. If you
would like to add support for a new browser, please <a href="https://github.com/emberjs/rfcs">submit an RFC or RFC issue for discussion</a>!
</p>


<p>
We determine support on a browser-by-browser basis. Browsers are categorized as
either <em>evergreen</em> or <em>non-evergreen</em>. The categorization is as follows:
</p>

<h3 class="text-center">Evergreen</h3>

<ul class="list-unstyled layout my-3">
<EsCard class="lg:col-2">
<div class="text-center text-md">Desktop</div>
<ul>
<li>Google Chrome</li>
<li>Mozilla Firefox</li>
<li>Microsoft Edge</li>
</ul>
</EsCard>
<EsCard class="lg:col-2">
<div class="text-center text-md">Mobile</div>
<ul>
<li>Google Chrome</li>
<li>Mozilla Firefox</li>
</ul>
</EsCard>
<EsCard class="lg:col-2">
<div class="text-center text-md">Testing</div>
<ul>
<li>Google Chrome</li>
<li>Mozilla Firefox</li>
</ul>
</EsCard>
</ul>

<h3 class="text-center">Non-evergreen</h3>

<div class="layout">
<ul class="list-unstyled layout lg:col-4 lg:start-2 my-3">
<EsCard class="lg:col-3">
<div class="text-center text-md">Desktop</div>
<ul>
<li>Safari</li>
</ul>
</EsCard>
<EsCard class="lg:col-3">
<div class="text-center text-md">Mobile</div>
<ul>
<li>Safari</li>
</ul>
</EsCard>
</ul>
</div>

<p>
For evergreen browsers, the minimum version of the browser that we support is
determined at the time of every minor release, following this formula:
</p>

<div class="layout my-3">
<div class="card">
<div class="card__content">
<p>Whichever browser version is greater/more recent out of:</p>

<ol>
<li>
The lowest/least recent version that fulfills any one of these properties:
<ul>
<li>It is the latest version of the browser.</li>
<li>It is the latest LTS/extended support version of the browser (such as Firefox ESR).</li>
<li>It has at least <em>0.25%</em> of global marketshare usage across mobile and
desktop, based on <a href="https://gs.statcounter.com/">statcounter</a>.</li>
</ul>
</li>
<li>
The minimum version supported in the previous release
</li>
</ol>
</div>
</div>
</div>

<p>
To simplify, the supported version either moves forward or stays the same for
each release based on overall usage and LTS/current release versions.
</p>

<p>
For non-evergreen browsers, support is locked at a specific major version, and
we support all major versions above that version:
</p>

<div class="layout">
<ul class="list-unstyled layout lg:col-4 lg:start-2 my-3">
<EsCard class="lg:col-3">
<div class="text-center text-md">Desktop</div>
<ul>
<li>Safari: 12</li>
</ul>
</EsCard>
<EsCard class="lg:col-3">
<div class="text-center text-md">Mobile</div>
<ul>
<li>Safari: 12</li>
</ul>
</EsCard>
</ul>
</div>

Within a version of a browser, we only support the most recent patch release.
</section>
</div>

0 comments on commit 17d01eb

Please sign in to comment.