Skip to content

Version Packages#686

Open
daangnbot wants to merge 1 commit intomainfrom
changeset-release/main
Open

Version Packages#686
daangnbot wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@daangnbot
Copy link
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.

Releases

@stackflow/plugin-blocker@0.1.0

Minor Changes

  • c740c5e: Add blockerPlugin and useBlocker hook for navigation blocking

    • useBlocker({ shouldBlock, onBlocked }) hook to declare blocking policies per activity
    • Blocking set model: multiple blockers can block a navigation, all must proceed() for it to execute
    • Only blockers from active (isActive: true) activities are evaluated
    • onBlocked notifications are serialized in navigation occurrence order (no re-entrancy)
    • Error isolation: one blocker's onBlocked throwing does not prevent other blockers from being notified
    • Plugin-level onError option for custom error handling (defaults to console.error)
    • Blocker cleanup on component unmount; previously captured proceed remains callable

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 17, 2026

Deploying stackflow-demo with  Cloudflare Pages  Cloudflare Pages

Latest commit: 107de52
Status: ✅  Deploy successful!
Preview URL: https://2c906d87.stackflow-demo.pages.dev
Branch Preview URL: https://changeset-release-main.stackflow-demo.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 17, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
stackflow-docs 107de52 Commit Preview URL Mar 19 2026, 04:09 AM

@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b1739140-8bbc-498a-a299-540a33abe582

📥 Commits

Reviewing files that changed from the base of the PR and between f14304f and 107de52.

📒 Files selected for processing (4)
  • .changeset/add-plugin-blocker.md
  • docs/components/ChangelogContent.mdx
  • extensions/plugin-blocker/CHANGELOG.md
  • extensions/plugin-blocker/package.json
💤 Files with no reviewable changes (1)
  • .changeset/add-plugin-blocker.md
✅ Files skipped from review due to trivial changes (2)
  • extensions/plugin-blocker/package.json
  • extensions/plugin-blocker/CHANGELOG.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/components/ChangelogContent.mdx

📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Released @stackflow/plugin-blocker v0.1.0 adding navigation blocking.
    • Introduced a useBlocker hook for per-activity blocking policies.
    • Multiple blockers must approve before navigation proceeds.
    • Errors in one blocker won’t prevent others from running.
    • Blockers are cleaned up when activity components unmount.
  • Documentation

    • Changelog entries added documenting the release and behavior.

Walkthrough

Finalizes release of @stackflow/plugin-blocker v0.1.0: removes the pending changeset, adds changelog entries in docs and the package, and bumps the package version.

Changes

Cohort / File(s) Summary
Release metadata
.changeset/add-plugin-blocker.md
Removed the pending changeset file documenting the planned release.
Documentation & Changelog
docs/components/ChangelogContent.mdx, extensions/plugin-blocker/CHANGELOG.md
Added changelog entries for @stackflow/plugin-blocker@0.1.0 describing blockerPlugin and useBlocker hook behavior (per-activity blockers, blocking-set model, active-activity evaluation, serialized onBlocked notifications, error isolation, plugin onError, cleanup semantics).
Package version
extensions/plugin-blocker/package.json
Bumped package version from 0.0.1 to 0.1.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Version Packages' is generic and vague, lacking specificity about the actual change (releasing @stackflow/plugin-blocker@0.1.0 with blocker plugin and useBlocker hook). Consider using a more descriptive title that reflects the specific package release, such as 'Release @stackflow/plugin-blocker@0.1.0 with blocker plugin and useBlocker hook'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description check ✅ Passed The description is well-related to the changeset, providing comprehensive details about the @stackflow/plugin-blocker release, including the new blockerPlugin and useBlocker hook features with specific behavioral documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch changeset-release/main
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 17, 2026

  • @stackflow/demo

    yarn add https://pkg.pr.new/daangn/stackflow/@stackflow/plugin-blocker@686.tgz
    

commit: f14304f

@github-actions github-actions bot force-pushed the changeset-release/main branch from f14304f to 107de52 Compare March 19, 2026 03:51
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