Pular para o conteúdo
Kitbay
SkillOficial

upgrade-browser-sdk-v7

MITAtualizado em 9 de nov. de 2026185Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

  • 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