From 7a79b621320bf9e9f3948e1cb57ce81f2c6d6fd7 Mon Sep 17 00:00:00 2001 From: Phil Ricketts <812139+replete@users.noreply.github.com> Date: Wed, 7 Aug 2024 15:12:57 +0100 Subject: [PATCH] Update README with browser support info --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c36c17..6ecd33b 100644 --- a/README.md +++ b/README.md @@ -183,6 +183,18 @@ html.bm-show::after { } ``` +## Browser Support + +With browserlist, we're targeting `">= 2%, last 2 years"`. This project is tested with BrowserStack. The earliest versions tested working are: + +- Chrome/Edge/Opera: 85+ (released June 2020) +- Firefox: 98+ (released March 2022) +- Safari Desktop+iOS: 15.4+ (released March 2022) + - I couldn't easily test 15.0-15.3, 14.1 is broken though +- Samsung Internet: 14+ (released April 2021) + +Currently if this is used in a browser that breaks interactivity (e.g. Safari 14.1, released April 2021), the site is unusable. It might be worth catching errors for unsupported browsers and removing the UI altogether for these extreme edge cases of users not updating their browsers. + ## Globals - `biscuitman` – configuration object, must be `window.biscuitman` (`biscuitman.create(options)` for ESM version) - `Consent` – object for accessing consents (override: `global` in config) @@ -253,8 +265,6 @@ Jest is set up with puppeteer to run some integration tests. We're using `@swc/j `npm run coverage` - run jest tests with coverage saved to `/coverage/` -This project is tested with BrowserStack. - ## Support development