Skip to content

Commit

Permalink
docs: [Browser] Define the support browser runtimes #4168
Browse files Browse the repository at this point in the history
  • Loading branch information
MSNev committed Oct 2, 2024
1 parent 3007d3e commit 038a425
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,17 @@ Note that versions of Node.JS v8 prior to `v8.12.0` will NOT work, because OpenT
> Client instrumentation for the browser is **experimental** and mostly **unspecified**. If you are interested in
> helping out, get in touch with the [Client Instrumentation SIG][client-instrumentation-sig].
There is currently no list of officially supported browsers. OpenTelemetry is developed using standard web
technologies and aims to work in currently supported versions of major browsers.
Rather that define versions of specific browsers / runtimes, OpenTelemetry sets the minimum supported version based on the
underlying Language features used.

The current minumum language feature support is set as [ECMAScript 2020](https://www.w3schools.com/jS/js_2020.asp) that are available
in all modern browsers / runtimes.

This means that if you are targeting or your end-users are using a browser / runtime that does not support ES2020, you will need
to either transpile your code to ensure compatibility or provide any necessary polyfill's for the missing features. Any support
issues that arise from using a browser or runtime that does not support ES2020 will be closed as "won't fix".

This minimum support level is subject to change as the project evolves and as the underlying language features evolve.

## Package Version Compatibility

Expand Down

0 comments on commit 038a425

Please sign in to comment.