# Public API compatibility

Root baseline: `v0.5.1`

OpenTelemetry baseline: `otelrecorder/v0.5.1`

## github.com/mgurevin/recorder

```text
Incompatible changes:
- OnEntryCompleted: changed from func(context.Context, *Entry) to func(context.Context, *Entry, EntryDisposition)
Compatible changes:
- Config.OnHeadSamplingDecision: added
- EntryDisposition: added
- EntryDispositionDiscard: added
- EntryDispositionKeep: added
- OnHeadSamplingDecision: added
```

## github.com/mgurevin/recorder/hario

No API changes.

## github.com/mgurevin/recorder/hartest

No API changes.

## github.com/mgurevin/recorder/otelrecorder

```text
Incompatible changes:
- (*Exporter).OnEntryCompleted: changed from func(context.Context, *github.com/mgurevin/recorder.Entry) to func(context.Context, *github.com/mgurevin/recorder.Entry, github.com/mgurevin/recorder.EntryDisposition)
```

