Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .changeset/smoodev-1067d-otel-native-client.md

This file was deleted.

20 changes: 20 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @smooai/observability

## 0.4.0

### Minor Changes

- 365b90c: OTel-first node Client (SMOODEV-1067d).

The Node Client no longer wraps a Smoo-native HTTP transport β€” it emits to OpenTelemetry natively. Every `captureException` / `captureMessage` becomes a span event on the active OTel span (or a synthetic one if none is active), with `SpanStatusCode.ERROR` for exceptions and OTLP-shaped attributes (`enduser.id`, `enduser.org_id`, `service.version`, `deployment.environment.name`, `smoo.tag.*`, `smoo.event_id`, `smoo.level`). The OTel SDK handles batching, retry, and wire format; the Smoo SDK does not run a parallel HTTP pipeline on Node.

`@smooai/logger` is now optional. The Smoo SDK has no compile-time dependency on it. When present, its CONTEXT global feeds OTel baggage (see `@smooai/observability-otel`). When absent, the OTel ambient context (W3C trace context propagation, baggage) is the single source of correlation truth β€” winston / pino / bunyan / console users get the same trace-id flowing through logs, traces, and Smoo error groups by reading `readOtelCorrelation()`.

Breaking changes (`@smooai/observability` 0.3 β†’ 0.4):
- `makeNodeTransport` (re-exported from the `node` entry) removed β€” no longer needed; OTel SDK is the transport.
- `Client._registerTransport` is now a no-op on Node when a capture handler is registered (which happens by default in `Client.init`). Browser is unchanged.
- New seam `Client._registerCaptureHandler(handler | null)` for advanced consumers who want to plug in their own non-OTel capture path.

Breaking changes (`@smooai/observability-otel` 0.1 β†’ 0.2):
- `bridgeClientToOtel()` removed. There's nothing to bridge β€” the Smoo Client already emits to OTel natively on Node. `setupOtelSdk()` and `readOtelCorrelation()` remain.

Tests: 33 green on core (was 24), 5 on otel package. Typecheck + build clean.

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smooai/observability",
"version": "0.3.0",
"version": "0.4.0",
"description": "Smoo AI Observability core SDK β€” browser + Node error capture with batched transport",
"license": "MIT",
"repository": {
Expand Down
8 changes: 8 additions & 0 deletions packages/next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @smooai/observability-next

## 0.4.0

### Patch Changes

- Updated dependencies [365b90c]
- @smooai/observability@0.4.0
- @smooai/observability-react@0.4.0

## 0.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smooai/observability-next",
"version": "0.3.0",
"version": "0.4.0",
"description": "Next.js wrapper for @smooai/observability β€” RootErrorBoundary, withSmooObservability(), build-time sourcemap upload",
"license": "MIT",
"repository": {
Expand Down
25 changes: 25 additions & 0 deletions packages/otel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# @smooai/observability-otel

## 0.3.0

### Minor Changes

- 365b90c: OTel-first node Client (SMOODEV-1067d).

The Node Client no longer wraps a Smoo-native HTTP transport β€” it emits to OpenTelemetry natively. Every `captureException` / `captureMessage` becomes a span event on the active OTel span (or a synthetic one if none is active), with `SpanStatusCode.ERROR` for exceptions and OTLP-shaped attributes (`enduser.id`, `enduser.org_id`, `service.version`, `deployment.environment.name`, `smoo.tag.*`, `smoo.event_id`, `smoo.level`). The OTel SDK handles batching, retry, and wire format; the Smoo SDK does not run a parallel HTTP pipeline on Node.

`@smooai/logger` is now optional. The Smoo SDK has no compile-time dependency on it. When present, its CONTEXT global feeds OTel baggage (see `@smooai/observability-otel`). When absent, the OTel ambient context (W3C trace context propagation, baggage) is the single source of correlation truth β€” winston / pino / bunyan / console users get the same trace-id flowing through logs, traces, and Smoo error groups by reading `readOtelCorrelation()`.

Breaking changes (`@smooai/observability` 0.3 β†’ 0.4):
- `makeNodeTransport` (re-exported from the `node` entry) removed β€” no longer needed; OTel SDK is the transport.
- `Client._registerTransport` is now a no-op on Node when a capture handler is registered (which happens by default in `Client.init`). Browser is unchanged.
- New seam `Client._registerCaptureHandler(handler | null)` for advanced consumers who want to plug in their own non-OTel capture path.

Breaking changes (`@smooai/observability-otel` 0.1 β†’ 0.2):
- `bridgeClientToOtel()` removed. There's nothing to bridge β€” the Smoo Client already emits to OTel natively on Node. `setupOtelSdk()` and `readOtelCorrelation()` remain.

Tests: 33 green on core (was 24), 5 on otel package. Typecheck + build clean.

### Patch Changes

- Updated dependencies [365b90c]
- @smooai/observability@0.4.0

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/otel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smooai/observability-otel",
"version": "0.2.0",
"version": "0.3.0",
"description": "OpenTelemetry foundation for @smooai/observability β€” Node SDK setup, auto-instrumentations, OTLP export, and bridge to the core Client",
"license": "MIT",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @smooai/observability-react

## 0.4.0

### Patch Changes

- Updated dependencies [365b90c]
- @smooai/observability@0.4.0

## 0.3.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smooai/observability-react",
"version": "0.3.0",
"version": "0.4.0",
"description": "React bindings for @smooai/observability β€” ErrorBoundary + useErrorHandler",
"license": "MIT",
"repository": {
Expand Down
Loading