From 0d949baa2f55d6a65c7f9c56624082c8ae30afde Mon Sep 17 00:00:00 2001 From: Ben Scott Date: Mon, 12 Jul 2021 12:31:09 -0700 Subject: [PATCH 1/2] Update browserslist to match shopify/browserslist-config v3.0.0 - Desktop Safari version is "last 3 safari versions" - mappping to Safari 13.1 - ios Safari version is "ios >= 13.4" - mapping to ios_saf 13.4-13.7 --- package.json | 9 +++++---- yarn.lock | 13 ++++--------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index a26d5884ba9..1302150ca7f 100644 --- a/package.json +++ b/package.json @@ -156,12 +156,13 @@ }, "browserslist": [ "last 3 chrome versions", - "last 3 chromeandroid versions", "last 3 firefox versions", "last 3 opera versions", - "last 2 edge versions", - "safari >= 10", - "ios >= 10" + "last 3 edge versions", + "last 3 safari versions", + "last 3 chromeandroid versions", + "last 1 firefoxandroid versions", + "ios >= 13.4" ], "prettier": "@shopify/prettier-config", "stylelint": { diff --git a/yarn.lock b/yarn.lock index 1ee7514d6de..9befef8bdb8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6322,15 +6322,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001010, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001135: - version "1.0.30001151" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001151.tgz#1ddfde5e6fff02aad7940b4edb7d3ac76b0cb00b" - integrity sha512-Zh3sHqskX6mHNrqUerh+fkf0N72cMxrmflzje/JyVImfpknscMnkeJrlFGJcqTmaa0iszdYptGpWMJCRQDkBVw== - -caniuse-lite@^1.0.30001173: - version "1.0.30001177" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001177.tgz#2c3b384933aafda03e29ccca7bb3d8c3389e1ece" - integrity sha512-6Ld7t3ifCL02jTj3MxPMM5wAYjbo4h/TAQGFTgv1inihP1tWnWp8mxxT4ut4JBEHLbpFXEXJJQ119JCJTBkYDw== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001010, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001135, caniuse-lite@^1.0.30001173: + version "1.0.30001243" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001243.tgz#d9250155c91e872186671c523f3ae50cfc94a3aa" + integrity sha512-vNxw9mkTBtkmLFnJRv/2rhs1yufpDfCkBZexG3Y0xdOH2Z/eE/85E4Dl5j1YUN34nZVsSp6vVRFQRrez9wJMRA== capital-case@^1.0.3: version "1.0.3" From fd1a98f71df47d766465f6c2c422832e947a3e00 Mon Sep 17 00:00:00 2001 From: Ben Scott Date: Mon, 12 Jul 2021 12:35:59 -0700 Subject: [PATCH 2/2] changelog --- UNRELEASED.md | 1 + 1 file changed, 1 insertion(+) diff --git a/UNRELEASED.md b/UNRELEASED.md index 2ec5de018c5..1fe7c367b6a 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -6,6 +6,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f - Updated `react` and `react-dom` to version 16.14.0. This is now the minimum version of React required to use the `@shopify/polaris` library. - Dropping support for node 10.x +- Dropped support for Desktop Safari versions less than 13.1, and ios Safari versions less than 13.6. ([#4304](https://github.com/Shopify/polaris-react/pull/4304)) - Made `autoComplete` prop in `TextField` a required string ([#4267](https://github.com/Shopify/polaris-react/pull/4267)). If you do not want the browser to autofill a user's information (for example an email input which is a customer's email, but not the email of the user who is entering the information), we recommend setting `autoComplete` to `"off"`. ### Enhancements