# What changed in @opentelemetry/sdk-logs

> 10 changes in @opentelemetry/sdk-logs 0.217 to 3 from its official release notes, upgrade guides and advisories: 5 breaking, 1 security, 1 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/npm/@opentelemetry/sdk-logs/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @opentelemetry/sdk-logs 3

### Breaking changes

- Replace `disabled` with `enabled`; use `enabled: false` to disable a logger. Loggers remain enabled by default. (3.0.0) — [release notes](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v3.0.0)
- The minimum supported Node.js version is now >=22.15.0; Node.js 18 and 20 are no longer supported. (3.0.0) — [release notes](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v3.0.0)
- The `./platform` and `./platform/browser` subpath exports are removed; import from the package root instead. (3.0.0) — [release notes](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v3.0.0)
- Package builds now use a `dist/` directory and an `exports` map; deep imports into build output and importing the package's `package.json` no longer resolve. (3.0.0) — [release notes](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v3.0.0)
- The `browser` field is replaced with `#platform` subpath imports; bundlers without `imports` support fail, and webpack needs 5.54 or later. (3.0.0) — [release notes](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v3.0.0)

### New APIs and options

- Adds the browser-only `disableAutoFlushOnDocumentHide` option. (3.0.0) — [release notes](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v3.0.0)

### Behavior and default changes

- The package is now marked stable. (3.0.0) — [release notes](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v3.0.0)

### Fixes and other changes

- A rejected document-hide flush is now reported to the global error handler. (3.0.0) — [release notes](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v3.0.0)
- Object attribute values with undefined properties are no longer dropped; cleaning removes the undefined properties while retaining the rest of the object. (3.0.0) — [release notes](https://github.com/open-telemetry/opentelemetry-js/releases/tag/v3.0.0)

## @opentelemetry/sdk-logs 0.217

### Security

- Prometheus exporter process crash via malformed HTTP request (0.217.0) — [security advisory](https://github.com/advisories/GHSA-Q7RR-3CGH-J5R3)
