In order to give you the most effective error grouping, BugSnag automatically parses your JavaScript within certain grouping algorithms, provided we have access to your JavaScript bundles. Read more below about upgrading the version of ECMAScript that BugSnag targets when parsing code for your web JavaScript projects.
ECMAScript is a scripting language standard that enables JavaScript code to be executed on web pages across different web browsers. ECMAScript is backwards-compatible, meaning that older versions of ECMAScript can be parsed by newer parsers.
Updating the version of ECMAScript that BugSnag targets during parsing could cause regrouping of your errors if we previously failed to parse your JavaScript (for example because your app was built with a newer version of ECMAScript than BugSnag was configured to target).
To get the best grouping results, we always recommend updating to the latest ECMAScript version. You can update this by going to Project Settings > JavaScript parsing and selecting the option to update to the latest version:
You can also opt into automatic updates of your ECMAScript version. This will mean that BugSnag will automatically update the version used for parsing your project JavaScript when a new version is available. This could potentially lead to new error groupings, which can in turn trigger notifications for any configured integrations.