diff --git a/README.md b/README.md index 635bc02c..97007004 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,25 @@ router.setRoutes([ ``` ## Browser support + +A specific version of Vaadin Router supports the same browsers as the Vaadin platform major version which includes that version of Vaadin Router. +See [Vaadin platform release notes](https://github.com/vaadin/platform/releases) for details on included Vaadin Router version and supported technologies. +The Supported Technologies section is typically listed in the release notes of the first publicly available release of a Vaadin platform major version +(for example [Vaadin 18.0.1](https://github.com/vaadin/platform/releases/tag/18.0.1) since 18.0.0 was skipped). + +### Desktop browsers + +Evergreen versions of the following browsers +- Chrome, Firefox, Firefox ESR, Safari and Edge (Chromium) + +### Mobile browsers + +Built-in browsers in the following mobile operating systems: +- Safari starting from iOS 13 (Safari 13 or newer) +- Google Chrome evergreen on Android (requiring Android 4.4 or newer) + +### Sauce Labs test status + [![Sauce Test Status](https://saucelabs.com/browser-matrix/vaadin-router.svg)](https://saucelabs.com/u/vaadin-router) ### Big Thanks diff --git a/package.json b/package.json index 7b00d98c..7934281d 100644 --- a/package.json +++ b/package.json @@ -55,15 +55,13 @@ } ], "browserslist": [ - "last 2 Chrome major versions", - "last 2 Android major versions", - "last 2 Firefox major versions", - "last 2 Edge major versions", - "last 2 Safari major versions", - "last 2 iOS major versions", - "Safari 9", - "iOS 9", - "IE 11" + "last 1 Chrome major versions", + "last 1 Firefox major versions", + "Firefox ESR", + "last 1 Edge major versions", + "Safari >= 13", + "iOS >= 13", + "last 1 ChromeAndroid major versions" ], "dependencies": { "@vaadin/vaadin-usage-statistics": "^2.1.0", @@ -78,7 +76,7 @@ "@types/form-data": "^2.5.0", "bower": "^1.8.8", "browser-sync": "^2.26.14", - "browserslist": "^4.14.5", + "browserslist": "^4.16.3", "bundlesize": "^0.18.0", "eslint": "^7.19.0", "eslint-config-vaadin": "0.2.7", diff --git a/wct.conf.js b/wct.conf.js index fe43fb71..6787e61b 100644 --- a/wct.conf.js +++ b/wct.conf.js @@ -13,14 +13,14 @@ module.exports = { { deviceName: 'Android GoogleAPI Emulator', platformName: 'Android', - platformVersion: '10.0', + platformVersion: '11.0', browserName: 'chrome', browserVersion: 'latest' }, { deviceName: 'Android GoogleAPI Emulator', platformName: 'Android', - platformVersion: '9.0', + platformVersion: '10.0', browserName: 'chrome', browserVersion: 'latest-1' }, @@ -29,23 +29,22 @@ module.exports = { 'Windows 10/firefox@latest', 'Windows 10/firefox@latest-1', + // last Firefox ESR version (desktop) + // SauceLabs doesn't have ESR versions so testing + // the regular release of the same major version here + 'Windows 10/firefox@78.0', + // last 2 Edge major versions (desktop) 'Windows 10/microsoftedge@latest', 'Windows 10/microsoftedge@latest-1', // last 2 Safari major versions (desktop) + 'macOS 11.00/safari@latest', 'macOS 10.15/safari@latest', - 'macOS 10.14/safari@latest', // last 2 iOS major versions (mobile Safari) 'iOS Simulator/iphone@latest', 'iOS Simulator/iphone@latest-1', - - // Safari 9 on desktop and mobile - 'OS X 10.11/safari@9.0', - - // IE11 - 'Windows 7/internet explorer@11', ]; } diff --git a/yarn.lock b/yarn.lock index dcad0509..3f2a7502 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3004,6 +3004,17 @@ browserslist@^4.15.0: escalade "^3.1.1" node-releases "^1.1.67" +browserslist@^4.16.3: + version "4.16.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.3.tgz#340aa46940d7db878748567c5dea24a48ddf3717" + integrity sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw== + dependencies: + caniuse-lite "^1.0.30001181" + colorette "^1.2.1" + electron-to-chromium "^1.3.649" + escalade "^3.1.1" + node-releases "^1.1.70" + browserstack@^1.2.0: version "1.5.3" resolved "https://registry.yarnpkg.com/browserstack/-/browserstack-1.5.3.tgz#93ab48799a12ef99dbd074dd595410ddb196a7ac" @@ -3212,6 +3223,11 @@ caniuse-lite@^1.0.30001165: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001166.tgz#ca73e8747acfd16a4fd6c4b784f1b995f9698cf8" integrity sha512-nCL4LzYK7F4mL0TjEMeYavafOGnBa98vTudH5c8lW9izUjnB99InG6pmC1ElAI1p0GlyZajv4ltUdFXvOHIl1A== +caniuse-lite@^1.0.30001181: + version "1.0.30001181" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001181.tgz#4f0e5184e1ea7c3bf2727e735cbe7ca9a451d673" + integrity sha512-m5ul/ARCX50JB8BSNM+oiPmQrR5UmngaQ3QThTTp5HcIIQGP/nPBs82BYLE+tigzm3VW+F4BJIhUyaVtEweelQ== + capture-stack-trace@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" @@ -4408,6 +4424,11 @@ electron-to-chromium@^1.3.621: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.627.tgz#4acdbbbbe31eb605fba8380063fd9c8a7e5ca4a0" integrity sha512-O5IVRS4sCxP2+vECAp7uHkaI8V+dKYpuCyBcLn+hqVAOy/RONd8zx+6eH7TuWSTBYs/oUrzBXkNMZuVsQd58kQ== +electron-to-chromium@^1.3.649: + version "1.3.649" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.649.tgz#3aa8be052d4d268ede45d8e98d0cd60ffefad607" + integrity sha512-ojGDupQ3UMkvPWcTICe4JYe17+o9OLiFMPoduoR72Zp2ILt1mRVeqnxBEd6s/ptekrnsFU+0A4lStfBe/wyG/A== + emitter-component@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/emitter-component/-/emitter-component-1.1.1.tgz#065e2dbed6959bf470679edabeaf7981d1003ab6" @@ -8082,6 +8103,11 @@ node-releases@^1.1.67: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.67.tgz#28ebfcccd0baa6aad8e8d4d8fe4cbc49ae239c12" integrity sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg== +node-releases@^1.1.70: + version "1.1.70" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.70.tgz#66e0ed0273aa65666d7fe78febe7634875426a08" + integrity sha512-Slf2s69+2/uAD79pVVQo8uSiC34+g8GWY8UH2Qtqv34ZfhYrxpYpfzs9Js9d6O0mbDmALuxaTlplnBTnSELcrw== + node-status-codes@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/node-status-codes/-/node-status-codes-1.0.0.tgz#5ae5541d024645d32a58fcddc9ceecea7ae3ac2f"