') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); Version Packages (beta) by github-actions[bot] · Pull Request #2364 · vercel/workflow · GitHub
Skip to content

Version Packages (beta) - #2364

Merged
pranaygp merged 1 commit into
mainfrom
changeset-release/main
Jun 12, 2026
Merged

Version Packages (beta)#2364
pranaygp merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@workflow/core@5.0.0-beta.15

Minor Changes

  • #1853303b6da Thanks @TooTallNate! - Add opt-in wire-level framing for byte streams (type: 'bytes') so consumers can identify chunk boundaries — a prerequisite for transparent auto-reconnect. The framing decision is gated on a new framedByteStreams capability and recorded per-stream in the serialized ref (framing: 'framed-v1'); legacy raw streams continue to work unchanged.

  • #237301c8c08 Thanks @pranaygp! - Replace hook.hasConflict (a Promise<boolean> property) with hook.getConflict(), a method returning a promise that suspends the workflow to commit hook registration and resolves with the conflicting Run when another active hook owns the token (or null once the hook is registered), without waiting for hook payload data. Code using await hook.hasConflict should migrate to const conflict = await hook.getConflict() and branch on conflict !== null.

  • #2226ae8d6fe Thanks @pranaygp! - Allow passing initial run attributes through start(), and speed up workflow-level setAttribute calls by using native events for recording attributes.

Patch Changes

  • #1925b3279f8 Thanks @VaguelySerious! - V2 suspension processing: unify wait + step queue dispatch into a single parallel batch. The runtime now queues every pending operation (non-inline steps + wait timer) in one Promise.all and then inline-executes one owned step (if any). The asymmetric { timeoutSeconds } return contract for waits is dropped from suspension processing; waits become normal queue continuations with delaySeconds, deduplicated per wait so repeated suspension passes don't accumulate delayed messages. Continuation delays are clamped to 23h (VQS's message-retention bound) with longer waits chained across hop-keyed messages, so multi-day sleep()s work on every world. This restores inline step execution for Promise.race(step, sleep) workflows without any of the carve-outs the prior fix needed: even when the inline step blocks the handler, the wait continuation fires in parallel and drives the next replay. As part of the same change, world-local's queue now honors delaySeconds (matches world-vercel / world-postgres), and its close() aborts pending delayed deliveries and retry sleeps so dev-server/test shutdown isn't held open by wait timers.

  • Updated dependencies [b3279f8, f2a7bde, ae8d6fe]:

    • @workflow/world-local@5.0.0-beta.16
    • @workflow/world@5.0.0-beta.9
    • @workflow/world-vercel@5.0.0-beta.14
    • @workflow/errors@5.0.0-beta.7

workflow@5.0.0-beta.15

Minor Changes

  • #1853303b6da Thanks @TooTallNate! - Add opt-in wire-level framing for byte streams (type: 'bytes') so consumers can identify chunk boundaries — a prerequisite for transparent auto-reconnect. The framing decision is gated on a new framedByteStreams capability and recorded per-stream in the serialized ref (framing: 'framed-v1'); legacy raw streams continue to work unchanged.

  • #237301c8c08 Thanks @pranaygp! - Replace hook.hasConflict (a Promise<boolean> property) with hook.getConflict(), a method returning a promise that suspends the workflow to commit hook registration and resolves with the conflicting Run when another active hook owns the token (or null once the hook is registered), without waiting for hook payload data. Code using await hook.hasConflict should migrate to const conflict = await hook.getConflict() and branch on conflict !== null.

  • #2226ae8d6fe Thanks @pranaygp! - Allow passing initial run attributes through start(), and speed up workflow-level setAttribute calls by using native events for recording attributes.

Patch Changes

  • Updated dependencies [303b6da, b3279f8, 01c8c08, ae8d6fe]:
    • @workflow/core@5.0.0-beta.15
    • @workflow/cli@5.0.0-beta.15
    • @workflow/next@5.0.0-beta.15
    • @workflow/nitro@5.0.0-beta.15
    • @workflow/typescript-plugin@5.0.0-beta.4
    • @workflow/errors@5.0.0-beta.7
    • @workflow/astro@5.0.0-beta.15
    • @workflow/nest@5.0.0-beta.15
    • @workflow/rollup@5.0.0-beta.15
    • @workflow/sveltekit@5.0.0-beta.15
    • @workflow/nuxt@5.0.0-beta.15

@workflow/world@5.0.0-beta.9

Minor Changes

  • #2226ae8d6fe Thanks @pranaygp! - Allow passing initial run attributes through start(), and speed up workflow-level setAttribute calls by using native events for recording attributes.

@workflow/world-local@5.0.0-beta.16

Minor Changes

  • #2226ae8d6fe Thanks @pranaygp! - Allow passing initial run attributes through start(), and speed up workflow-level setAttribute calls by using native events for recording attributes.

Patch Changes

  • #1925b3279f8 Thanks @VaguelySerious! - V2 suspension processing: unify wait + step queue dispatch into a single parallel batch. The runtime now queues every pending operation (non-inline steps + wait timer) in one Promise.all and then inline-executes one owned step (if any). The asymmetric { timeoutSeconds } return contract for waits is dropped from suspension processing; waits become normal queue continuations with delaySeconds, deduplicated per wait so repeated suspension passes don't accumulate delayed messages. Continuation delays are clamped to 23h (VQS's message-retention bound) with longer waits chained across hop-keyed messages, so multi-day sleep()s work on every world. This restores inline step execution for Promise.race(step, sleep) workflows without any of the carve-outs the prior fix needed: even when the inline step blocks the handler, the wait continuation fires in parallel and drives the next replay. As part of the same change, world-local's queue now honors delaySeconds (matches world-vercel / world-postgres), and its close() aborts pending delayed deliveries and retry sleeps so dev-server/test shutdown isn't held open by wait timers.

  • #2295f2a7bde Thanks @TooTallNate! - Fix world-local and world-postgres turning duplicate processing of the same hook_created (same runId, hookId, and token) into a self-conflict; both worlds now treat same-entity duplicates as idempotent (matching step_created), and recover crash-orphaned token claims (world-local) and hook rows (world-postgres) by completing the partial write instead of incorrectly suppressing it.

  • Updated dependencies [ae8d6fe]:

    • @workflow/world@5.0.0-beta.9
    • @workflow/errors@5.0.0-beta.7

@workflow/world-postgres@5.0.0-beta.14

Minor Changes

  • #2226ae8d6fe Thanks @pranaygp! - Allow passing initial run attributes through start(), and speed up workflow-level setAttribute calls by using native events for recording attributes.

Patch Changes

  • #2295f2a7bde Thanks @TooTallNate! - Fix world-local and world-postgres turning duplicate processing of the same hook_created (same runId, hookId, and token) into a self-conflict; both worlds now treat same-entity duplicates as idempotent (matching step_created), and recover crash-orphaned token claims (world-local) and hook rows (world-postgres) by completing the partial write instead of incorrectly suppressing it.

  • Updated dependencies [b3279f8, f2a7bde, ae8d6fe]:

    • @workflow/world-local@5.0.0-beta.16
    • @workflow/world@5.0.0-beta.9
    • @workflow/errors@5.0.0-beta.7

@workflow/world-vercel@5.0.0-beta.14

Minor Changes

  • #2226ae8d6fe Thanks @pranaygp! - Allow passing initial run attributes through start(), and speed up workflow-level setAttribute calls by using native events for recording attributes.

Patch Changes

  • Updated dependencies [ae8d6fe]:
    • @workflow/world@5.0.0-beta.9
    • @workflow/errors@5.0.0-beta.7

@workflow/ai@5.0.0-beta.9

Patch Changes

@workflow/astro@5.0.0-beta.15

Patch Changes

  • Updated dependencies []:
    • @workflow/builders@5.0.0-beta.15
    • @workflow/rollup@5.0.0-beta.15
    • @workflow/vite@5.0.0-beta.15

@workflow/builders@5.0.0-beta.15

Patch Changes

@workflow/cli@5.0.0-beta.15

Patch Changes

  • Updated dependencies [303b6da, b3279f8, f2a7bde, 01c8c08, ae8d6fe]:
    • @workflow/core@5.0.0-beta.15
    • @workflow/world-local@5.0.0-beta.16
    • @workflow/world@5.0.0-beta.9
    • @workflow/world-vercel@5.0.0-beta.14
    • @workflow/builders@5.0.0-beta.15
    • @workflow/web@5.0.0-beta.15
    • @workflow/errors@5.0.0-beta.7

@workflow/nest@5.0.0-beta.15

Patch Changes

  • Updated dependencies []:
    • @workflow/builders@5.0.0-beta.15

@workflow/next@5.0.0-beta.15

Patch Changes

@workflow/nitro@5.0.0-beta.15

Patch Changes

  • Updated dependencies [303b6da, b3279f8, 01c8c08, ae8d6fe]:
    • @workflow/core@5.0.0-beta.15
    • @workflow/builders@5.0.0-beta.15
    • @workflow/web@5.0.0-beta.15
    • @workflow/rollup@5.0.0-beta.15
    • @workflow/vite@5.0.0-beta.15

@workflow/nuxt@5.0.0-beta.15

Patch Changes

  • Updated dependencies []:
    • @workflow/nitro@5.0.0-beta.15

@workflow/rollup@5.0.0-beta.15

Patch Changes

  • Updated dependencies []:
    • @workflow/builders@5.0.0-beta.15

@workflow/sveltekit@5.0.0-beta.15

Patch Changes

  • Updated dependencies []:
    • @workflow/builders@5.0.0-beta.15
    • @workflow/rollup@5.0.0-beta.15
    • @workflow/vite@5.0.0-beta.15

@workflow/vite@5.0.0-beta.15

Patch Changes

  • Updated dependencies []:
    • @workflow/builders@5.0.0-beta.15

@workflow/vitest@5.0.0-beta.15

Patch Changes

  • Updated dependencies [303b6da, b3279f8, f2a7bde, 01c8c08, ae8d6fe]:
    • @workflow/core@5.0.0-beta.15
    • @workflow/world-local@5.0.0-beta.16
    • @workflow/world@5.0.0-beta.9
    • @workflow/builders@5.0.0-beta.15
    • @workflow/rollup@5.0.0-beta.15

@workflow/web-shared@5.0.0-beta.15

Patch Changes

  • #2383d81b929 Thanks @mitul-s! - Animate in-progress segments in the timeline

  • #23818262c2d Thanks @mitul-s! - Render queued span time in the trace timeline as a lead-in connector into the active bar instead of a filled gray box.

  • Updated dependencies [303b6da, b3279f8, 01c8c08, ae8d6fe]:

    • @workflow/core@5.0.0-beta.15
    • @workflow/world@5.0.0-beta.9

@workflow/world-testing@5.0.0-beta.15

Patch Changes

  • Updated dependencies [303b6da, b3279f8, 01c8c08, ae8d6fe]:
    • @workflow/core@5.0.0-beta.15
    • workflow@5.0.0-beta.15
    • @workflow/world@5.0.0-beta.9
    • @workflow/cli@5.0.0-beta.15

@workflow/web@5.0.0-beta.15

@github-actions
github-actionsBot requested a review from a team as a code ownerJune 11, 2026 17:20
@vercel

vercelBot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 34d26a8 to 564a47cCompareJune 11, 2026 18:03
@github-actionsgithub-actionsBot reopened this Jun 11, 2026
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 1aed149 to f2a7bdeCompareJune 11, 2026 21:05
@github-actionsgithub-actionsBot reopened this Jun 11, 2026
@github-actions
github-actionsBotforce-pushed the changeset-release/main branch from 1690ffe to b3279f8CompareJune 11, 2026 21:06
@github-actionsgithub-actionsBot reopened this Jun 11, 2026
@github-actions

Copy link
Copy Markdown
ContributorAuthor

No backport to stable for 58ddc62 (AI decision).

This is a changesets-generated "Version Packages (beta)" commit that only bumps pre-release version numbers, updates CHANGELOGs, and records consumed changesets in .changeset/pre.json. Release plumbing like this is explicitly excluded from backporting; the stable branch has its own independent versioning via its own "Version Packages" PRs.

To override, re-run the Backport to stable workflow manually via workflow_dispatch and paste this commit SHA into the ref input:

58ddc62d02d0133c3b484b13297f246a008e4529

Sign up for freeto 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

@pranaygp