Skip to content

chore: release v0.2.0 - #17

Merged
Fiona2016 merged 1 commit into
publishfrom
release/v0.2.0
Aug 8, 2026
Merged

chore: release v0.2.0#17
Fiona2016 merged 1 commit into
publishfrom
release/v0.2.0

Conversation

@Fiona2016

Copy link
Copy Markdown
Collaborator

Bumps the package version to 0.2.0 and corrects CHANGELOG.md so each released section describes what that version actually shipped.

Changelog corrections

[0.1.0] is a published section, and it had drifted — it carried the setUser / getUser / clearUser entry, which landed after the v0.1.0 tag. It is restored here to the exact text the tag carries (verified byte-identical), and the entry moves to [0.2.0].

[0.2.0] was missing five changes that ship on it. Two are silent data loss that a reader of these notes needs to know about:

  • Native crash reports have never reached the intake, on any released version. The crash date came from the dump file's fs.Stats, which carries sub-millisecond precision, and the intake decodes date as an int64 — the whole event fails. The intake answers 202 before it decodes, so nothing surfaced on the SDK side.
  • Main-process resource events had the same defect, from dividing a nanosecond dd-trace span start by 1e6.

The other three: addError's startTime rounding, the SDK-owned bridge preload with its getAnonymousId() / getSessionId() accessors, and the usr.anonymous_id stamp on main-process events.

Verification

Run locally on the release commit — the same gates the publish workflow runs:

  • yarn typecheck — clean
  • yarn build — clean; 0.2.0 is stamped into dist/ via __SDK_VERSION__, and dist/preload.js is present
  • yarn test:unit — 37 files, 689 tests, all passing
  • yarn format:check — clean across all tracked files

Also confirmed the workflow's release-notes awk extracts the [0.2.0] section and stops at [0.1.0].

After merge

Tag the merge commit v0.2.0 and run the Publish workflow from that tag, per the flow documented at the top of .github/workflows/publish.yml.

Bump the package version and correct the changelog so the released sections
describe what each version actually shipped.

`[0.1.0]` had drifted: it carried the `setUser` / `getUser` / `clearUser`
entry, which landed after the v0.1.0 tag. That section is published, so it
is restored to the text the tag carries and the entry moves to `[0.2.0]`.

`[0.2.0]` was missing five changes that shipped on it, two of them silent
data loss that a reader of these notes needs to know about:

- Native crash reports never reached the intake, on any released version:
  the crash date came from the dump file's `fs.Stats` and was fractional,
  and the intake decodes `date` as an int64.
- Main-process `resource` events had the same defect, from dividing a
  nanosecond span start by 1e6.

The other three are `addError`'s `startTime` rounding, the SDK-owned bridge
preload with its anonymous-id and session-id accessors, and the
`usr.anonymous_id` stamp on main-process events.
@Fiona2016
Fiona2016 merged commit a6dc189 into publish Aug 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant