Zum Inhalt springen
Kitbay

upgrade-browser-sdk-v7

MITAktualisiert am 9. Nov. 2026185GitHub-Sterne

A Datadog skill that walks through upgrading the Datadog Browser SDK from version 6 to version 7.

Was der Skill vermittelt

A Datadog skill that walks through upgrading the Datadog Browser SDK from version 6 to version 7. The agent updates the package or CDN version, adds crossorigin="anonymous" to CDN script tags, deletes options removed in version 7 such as allowFallbackToLocalStorage and trackBfcacheViews, and rewrites changed calls including forwardErrorsToLogs, startDurationVital and stopDurationVital and the plugin strategy field. It then reviews behaviour changes and infrastructure settings and finishes with a list of frequent errors and a verification checklist.

Funktionen

  • Bump Browser SDK packages or CDN paths from v6 to v7
  • Remove options dropped in v7
  • Rewrite changed Logs and RUM API calls
  • Add the crossorigin attribute to CDN scripts