Skip to content

deps: bump BareDOM 2.9.0 → 3.0.0#56

Merged
avanelsas merged 1 commit into
mainfrom
feature/baredom-3.0.0
May 12, 2026
Merged

deps: bump BareDOM 2.9.0 → 3.0.0#56
avanelsas merged 1 commit into
mainfrom
feature/baredom-3.0.0

Conversation

@avanelsas
Copy link
Copy Markdown
Owner

Summary

Routine consumer-side bump. BareDOM's 3.0.0 release is the addition of the x-trace-history debugger dock and its supporting internal hooks (dispatch / state-mutation / lifecycle / component-id tracking); the major version reflects internal-API additions, not a public-surface break. Bareforge compiles clean — all four PR-readiness gates pass against 3.0.0.

No scaffolding needed

`x-trace-history` is not a consumer component — quoting its own namespace docstring:

Unlike component exports, this module exposes no public-api map: the dock is not a consumer-facing component, has no model.cljs under components/, and contributes nothing to custom-elements.json. Its surface is the JS API at window.BareDOM.traceHistory.* (typed in dist/x-trace-history.d.ts).

It self-activates on import and only renders when the URL flag `?baredom-trace-history` is present. Nothing for Bareforge's palette or inspector to onboard.

Lockstep

Both edits made in the same commit as required by CLAUDE.md (and enforced by `test/bareforge/meta/versions_test.cljs`):

  • `deps.edn` BareDOM dep — `2.9.0` → `3.0.0`
  • `src/bareforge/meta/versions.cljs` `baredom-version` — `"2.9.0"` → `"3.0.0"`

Notable BareDOM bugfix worth manual smoke

PR #127 in BareDOM 3.0.0: "fix(x-select): don't stomp slotted <option selected> default". Bareforge PR #55 (recently merged) routed every inspector x-select through a host-`value` mirror because the `` path wasn't being honoured. The new BareDOM behaviour is orthogonal to our fix, but the inspector enum pickers (placement, variant, size, type) are worth a quick eyeball.

Test plan

  • `clj-kondo --lint src test scripts` — 0 errors, 0 warnings
  • `cljfmt check` — clean
  • `npx shadow-cljs compile test` — 0 failures, 0 errors (lockstep test exercises the version pair)
  • `npx shadow-cljs release app` — 0 warnings
  • App loads at http://localhost:8765 with no console errors against 3.0.0
  • Drop an x-button, x-card, x-typography — render correctly
  • Inspector enum pickers (variant / size / type / placement) show current or default values (PR Inspector + chrome bug-fix pass #55 behaviour preserved)
  • Drag from palette → no text-selection leakage (PR Inspector + chrome bug-fix pass #55 behaviour preserved)
  • Free-drag a node → x / y display cleanly (PR Inspector + chrome bug-fix pass #55 behaviour preserved)

🤖 Generated with Claude Code

The major version reflects internal API additions in BareDOM (dispatch
hooks, state-mutation hooks, lifecycle hooks, component-id tracking)
introduced to wire the new x-trace-history debugger dock, plus an
x-select bugfix ("don't stomp slotted <option selected> default",
PR #127). Public consumer surface is unchanged; Bareforge compiles
clean and all four PR-readiness gates pass against 3.0.0.

No new consumer components — x-trace-history is the only new export,
and it is explicitly a dev-only debugger dock (its own ns docstring:
"the dock is not a consumer-facing component, has no model.cljs
under components/, contributes nothing to custom-elements.json").
It self-activates on import and only renders when the URL flag
?baredom-trace-history is present. Nothing for Bareforge's palette
or inspector to scaffold.

Lockstep with src/bareforge/meta/versions.cljs preserved per CLAUDE.md
and enforced by test/bareforge/meta/versions_test.cljs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avanelsas avanelsas merged commit 26678c1 into main May 12, 2026
1 check passed
@avanelsas avanelsas deleted the feature/baredom-3.0.0 branch May 12, 2026 17:30
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