diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 771c5a2..7f74feb 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { "packages/sweetlink": "1.26.4", - "packages/devbar": "1.18.2" + "packages/devbar": "1.18.3" } diff --git a/packages/devbar/CHANGELOG.md b/packages/devbar/CHANGELOG.md index 46a9144..ce5c1fb 100644 --- a/packages/devbar/CHANGELOG.md +++ b/packages/devbar/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.18.3](https://github.com/ytspar/devbar/compare/devbar-v1.18.2...devbar-v1.18.3) (2026-07-17) + + +### Bug Fixes + +* **devbar:** retry badge-hide injection for quiescent captures ([#35](https://github.com/ytspar/devbar/issues/35)) ([fc8bb93](https://github.com/ytspar/devbar/commit/fc8bb93f6ed1503c48a9bbd43deb85e413153cd8)) + ## [1.18.2](https://github.com/ytspar/devbar/compare/devbar-v1.18.1...devbar-v1.18.2) (2026-07-17) diff --git a/packages/devbar/package.json b/packages/devbar/package.json index 98c9cad..85517a1 100644 --- a/packages/devbar/package.json +++ b/packages/devbar/package.json @@ -1,6 +1,6 @@ { "name": "@ytspar/devbar", - "version": "1.18.2", + "version": "1.18.3", "type": "module", "private": false, "description": "Development toolbar and utilities with Sweetlink integration - pure vanilla JS, no framework dependencies", diff --git a/packages/playground/src/release-notes.json b/packages/playground/src/release-notes.json index 5436858..16ecd39 100644 --- a/packages/playground/src/release-notes.json +++ b/packages/playground/src/release-notes.json @@ -1,5 +1,6 @@ { "devbar": { + "1.18.3": "Retry the badge-hide shadow-root injection for quiescent captures (DEV-6497). `suppressFrameworkDevIndicators` dropped its injection when the `nextjs-portal` element was present but its shadow root had not attached yet: the light-DOM MutationObserver sees the portal insertion (shadow still null) but never the later shadow attach — a shadow-DOM mutation it cannot observe — so on a *quiescent* captured page (no further mutations to self-heal) the resting Next.js badge leaked into the screenshot, the exact failure the badge-hide prevents. It now retries for a bounded number of animation frames (`setTimeout` fallback) when the portal is present but its shadow root is not ready, then gives up so a never-attaching portal cannot spin forever.", "1.18.2": "Hide the framework's own floating dev indicator (the Next.js dev-tools \"N\" badge) while it is benign — but never while it is signalling an error. Next renders the badge inside a `nextjs-portal` **shadow root**, fixed to a bottom corner; at rest it duplicates the devbar, sits on top of page content, and pollutes screenshots — and shadow-DOM encapsulation means no capture pipeline can hide it from the outside (a main-document `