Skip to content

Commit 3f0926e

Browse files
authored
fix(docs): Correct supported browsers due to globalThis (#13788)
Before the v8 release we decided to use `globalThis` to simplify access the global object across all platforms and contexts. `globalThis` is not ES2018 but we didn't consider this when the minimum supported browser versions were documented.
1 parent 0c560a5 commit 3f0926e

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

CHANGELOG.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1160,12 +1160,12 @@ with full support for ESM-based node apps using **Node.js 18.19.0 or higher**.
11601160
[**ES2018+**](https://caniuse.com/?feats=mdn-javascript_builtins_regexp_dotall,js-regexp-lookbehind,mdn-javascript_builtins_regexp_named_capture_groups,mdn-javascript_builtins_regexp_property_escapes,mdn-javascript_builtins_symbol_asynciterator,mdn-javascript_functions_method_definitions_async_generator_methods,mdn-javascript_grammar_template_literals_template_literal_revision,mdn-javascript_operators_destructuring_rest_in_objects,mdn-javascript_operators_destructuring_rest_in_arrays,promise-finally)
11611161
compatible browsers. New minimum browser versions:
11621162

1163-
- Chrome 63
1163+
- Chrome 71
11641164
- Edge 79
1165-
- Safari/iOS Safari 12
1166-
- Firefox 58
1167-
- Opera 50
1168-
- Samsung Internet 8.2
1165+
- Safari 12.1, iOS Safari 12.2
1166+
- Firefox 65
1167+
- Opera 58
1168+
- Samsung Internet 10
11691169

11701170
For more details, please see the
11711171
[version support section in our migration guide](./MIGRATION.md#1-version-support-changes).

MIGRATION.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,20 @@ higher. Lower versions may continue to work, but may not support all features (e
2424
applies to `@sentry/node` and all of our node-based server-side sdks (`@sentry/nextjs`, `@sentry/serverless`, etc.). We
2525
no longer test against Node 8, 10, or 12 and cannot guarantee that the SDK will work as expected on these versions.
2626

27-
**Browser**: Our browser SDKs (`@sentry/browser`, `@sentry/react`, `@sentry/vue`, etc.) now require ES2018+ compatible
28-
browsers. This means that we no longer support IE11 (end of an era). This also means that the Browser SDK requires the
29-
fetch API to be available in the environment.
27+
**Browser**: Our browser SDKs (`@sentry/browser`, `@sentry/react`, `@sentry/vue`, etc.) now require ES2018+
28+
compatibility plus support for
29+
[`globalThis`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis). This means
30+
that we no longer support IE11 (end of an era). This also means that the Browser SDK requires the fetch API to be
31+
available in the environment.
3032

3133
New minimum supported browsers:
3234

33-
- Chrome 63
35+
- Chrome 71
3436
- Edge 79
35-
- Safari/iOS Safari 12
36-
- Firefox 58
37-
- Opera 50
38-
- Samsung Internet 8.2
37+
- Safari 12.1, iOS Safari 12.2
38+
- Firefox 65
39+
- Opera 58
40+
- Samsung Internet 10
3941

4042
For IE11 support please transpile your code to ES5 using babel or similar and add required polyfills.
4143

0 commit comments

Comments
 (0)