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: f14304f
Status: ✅  Deploy successful!
Preview URL: https://b4c8fcd5.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 f14304f Commit Preview URL Mar 17 2026, 03:07 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: 6f82a82b-c719-44cf-9e19-76792fe569e7

📥 Commits

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

📒 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

📝 Walkthrough

Summary by CodeRabbit

  • New Features
    • Released @stackflow/plugin-blocker@0.1.0 with navigation blocking capabilities
    • useBlocker hook enables per-activity blocking policies
    • All blockers must approve before navigation proceeds
    • Isolated error handling prevents one blocker's failure from affecting others

Walkthrough

The changes finalize the release of the @stackflow/plugin-blocker package version 0.1.0. A changeset file is removed and replaced with actual changelog entries in the package CHANGELOG and documentation, alongside a version bump in package.json.

Changes

Cohort / File(s) Summary
Release Finalization
.changeset/add-plugin-blocker.md
Removed changeset documentation file as the blocker plugin release is being finalized.
Changelog & Version Updates
docs/components/ChangelogContent.mdx, extensions/plugin-blocker/CHANGELOG.md, extensions/plugin-blocker/package.json
Added version 0.1.0 changelog entry documenting blockerPlugin and useBlocker hook features (navigation blocking, policy declarations, blocking set model, error isolation, cleanup behavior). Version bumped from 0.0.1 to 0.1.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Version Packages' clearly summarizes the main purpose of this PR - a version release automation action that updates package versions and publishes to npm.
Description check ✅ Passed The description is directly related to the changeset, detailing the release of @stackflow/plugin-blocker@0.1.0 and explaining the blocker plugin and useBlocker hook features being released.
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.

Tip

CodeRabbit can use OpenGrep to find security vulnerabilities and bugs across 17+ programming languages.

OpenGrep is compatible with Semgrep configurations. Add an opengrep.yml or semgrep.yml configuration file to your project to enable OpenGrep analysis.

@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

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