npm / @opentelemetry/sdk-logs
@opentelemetry/sdk-logs
What changed in @opentelemetry/sdk-logs 0.217 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
5 breaking1 security1 new APIs and options1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@opentelemetry/sdk-logs 39 changes
Breaking changes 5
Replace
disabledwithenabled; useenabled: falseto disable a logger. Loggers remain enabled by default.The minimum supported Node.js version is now >=22.15.0; Node.js 18 and 20 are no longer supported.
The
./platformand./platform/browsersubpath exports are removed; import from the package root instead.Package builds now use a
dist/directory and anexportsmap; deep imports into build output and importing the package'spackage.jsonno longer resolve.The
browserfield is replaced with#platformsubpath imports; bundlers withoutimportssupport fail, and webpack needs 5.54 or later.
New APIs and options 1
Adds the browser-only
disableAutoFlushOnDocumentHideoption.
Behavior and default changes 1
The package is now marked stable.
Fixes and other changes 2
A rejected document-hide flush is now reported to the global error handler.
Object attribute values with undefined properties are no longer dropped; cleaning removes the undefined properties while retaining the rest of the object.
@opentelemetry/sdk-logs 0.2171 changes
Security 1
Prometheus exporter process crash via malformed HTTP request