Skip to content

Release v4.4.4#608

Merged
kirtesh-cstk merged 24 commits into
mainfrom
stage_v4
Jun 15, 2026
Merged

Release v4.4.4#608
kirtesh-cstk merged 24 commits into
mainfrom
stage_v4

Conversation

@kirtesh-cstk

Copy link
Copy Markdown
Contributor

No description provided.

kirtesh-cstk and others added 23 commits May 21, 2026 19:09
…aversal

The unload event is deprecated in modern browsers (suppressed since
Chrome 115+ for BFCache compatibility) and was used to notify the parent
frame when a user navigates to a new page in the live preview iframe.

Replaced with the pagehide event, which is the browser-recommended
drop-in replacement — it fires in the same scenarios without blocking
BFCache.

Also deleted src/utils/handlePageTraversal.ts which was dead code
(not imported anywhere) but also contained a deprecated unload listener.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
fix: fixed the sideEffect issue due to setConfigFromParams
fix: added update to stop the double firing of init in vb
Address PR review feedback: the visualBuilderPostMessage send in
setPageContext was fire-and-forget, so a rejected promise would surface
as an unhandled rejection. Add a .catch that logs the failure via
PublicLogger.error.

Also add setPageContext test coverage for the Config write, the
in-iframe send, the non-iframe skip, and the new send-failure path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…r-for-custom-url

feat: add page context helper for custom URL handling in Visual Builder
…nload-event-listeners

fix(VP-556): replace deprecated unload event with pagehide in page traversal
@kirtesh-cstk kirtesh-cstk requested review from a team as code owners June 15, 2026 05:53
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

@contentstackMridul contentstackMridul left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hitesh-shetty-cstk hitesh-shetty-cstk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 67.11% 2508 / 3737
🔵 Statements 65.99% 2548 / 3861
🔵 Functions 64.51% 449 / 696
🔵 Branches 61.4% 1513 / 2464
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/common/inIframe.ts 90.9% 75% 100% 90.9% 15
src/configManager/config.default.ts 66.66% 100% 66.66% 66.66% 99
src/configManager/configManager.ts 100% 100% 100% 100%
src/livePreview/onPageTraversal.ts 25% 0% 50% 25% 6-13
src/livePreview/eventManager/postMessageEvent.hooks.ts 100% 98.36% 90% 100%
src/preview/contentstack-live-preview-HOC.ts 94.11% 86.2% 100% 94.11% 81, 245-249
src/types/types.ts 100% 100% 100% 100%
src/visualBuilder/index.ts 53.38% 26.76% 31.25% 53.38% 113-116, 121-130, 136-206, 214-247, 257-278, 335-337, 341, 395-398, 103-109
src/visualBuilder/utils/getVisualBuilderRedirectionUrl.ts 92% 85.71% 100% 92% 43, 46
src/visualBuilder/utils/resolvePageContext.ts 100% 100% 100% 100%
Generated in workflow #843 for commit e6ae2f6 by the Vitest Coverage Report Action

@kirtesh-cstk kirtesh-cstk merged commit 6f3d798 into main Jun 15, 2026
9 checks passed
@kirtesh-cstk kirtesh-cstk deleted the stage_v4 branch June 15, 2026 06:04
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.

3 participants