Skip to content

chore: release v0.15.0#182

Merged
coji merged 2 commits intomainfrom
chore/release-v0.15.0
Mar 30, 2026
Merged

chore: release v0.15.0#182
coji merged 2 commits intomainfrom
chore/release-v0.15.0

Conversation

@coji
Copy link
Copy Markdown
Owner

@coji coji commented Mar 29, 2026

Summary

Release v0.15.0 for both @coji/durably and @coji/durably-react.

Breaking Changes

Added

Fixed

Docs

  • WAL checkpoint in databases.md and llms.md
  • useJobRun lifecycle callbacks (onStart/onComplete/onFail)
  • maxConcurrentRuns in CLAUDE.md, concepts.md
  • waitForRun and coalesce in CLAUDE.md
  • Regenerated llms.txt

Test plan

  • pnpm validate passes (244 tests, 28 tasks)
  • find-stale.sh clean
  • llms.txt regenerated
  • Version bumped in both packages

🤖 Generated with Claude Code

Summary by CodeRabbit

  • 新機能

    • trigger() が詳細な実行結果(run と状態)を返すように
    • coalesce: 'skip' で保留中実行を再利用
    • waitForRun(runId, options?) にタイムアウト・進捗/ログコールバックを追加
    • maxConcurrentRuns による同時実行制御(デフォルト1)
    • React フックに onStart/onComplete/onFail ライフサイクルコールバックを追加
    • ローカル SQLite の自動 WAL チェックポイント
  • 重要な変更

    • React 19+ を前提に useRunActions() の戻り値が変化(isLoading/error の削除、代替の状態フラグ導入)

- CHANGELOG: document all changes since v0.14.0
- Version bump: both packages to 0.15.0
- Docs: WAL checkpoint in databases.md and llms.md
- Docs: useJobRun lifecycle callbacks (onStart/onComplete/onFail)
- Docs: maxConcurrentRuns in CLAUDE.md, concepts.md
- Docs: waitForRun and coalesce in CLAUDE.md
- Regenerate llms.txt

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
durably-demo Ignored Ignored Preview Mar 29, 2026 11:07pm
durably-demo-vercel-turso Ignored Ignored Preview Mar 29, 2026 11:07pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 29, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0498cd2d-a9de-455c-8894-8ee966380ba5

📥 Commits

Reviewing files that changed from the base of the PR and between 3a4c61f and dab36cb.

📒 Files selected for processing (1)
  • CHANGELOG.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • CHANGELOG.md

📝 Walkthrough

Walkthrough

Version 0.15.0 のドキュメンテーション更新。trigger()TriggerResult を返すようになったこと、coalesce: 'skip'concurrencyKey の振る舞い、waitForRun() の追加、maxConcurrentRuns 設定、SQLite WAL チェックポイント自動化、及び React 側のライフサイクルコールバックを記録しました。

Changes

Cohort / File(s) Summary
CHANGELOG & Core Docs
CHANGELOG.md, CLAUDE.md
0.15.0 リリース記載。trigger()TriggerResultcoalesce: 'skip'concurrencyKey の制約、waitForRun()maxConcurrentRuns、WAL メンテナンス等を追加。
Package Manifests
packages/durably/package.json, packages/durably-react/package.json
両パッケージのバージョンを 0.14.00.15.0 に更新。
durably-react API docs
website/api/durably-react/fullstack.md, packages/durably-react/docs/llms.md, website/public/llms.txt
useJobRun(フルスタック例)に onStart/onComplete/onFail コールバックを追加し、オプション表とサンプルを更新。
Guides: concepts & databases
website/guide/concepts.md, website/guide/databases.md
maxConcurrentRuns: 1 の設定例追加、SQLite WAL チェックポイント(idle 時の PRAGMA wal_checkpoint(TRUNCATE))の挙動と条件付き有効化を記載。
Durably package docs
packages/durably/docs/llms.md
SQLite WAL メンテナンスに関する説明を追加。

Sequence Diagram(s)

sequenceDiagram
participant Client
participant API as Durably API
participant Storage as DB/Events
participant Worker

Client->>API: trigger(job, opts)
API->>Storage: persist pending run
alt coalesce: 'skip' and pending exists
API-->>Client: TriggerResult { run, disposition: "coalesced" }
else created
API-->>Client: TriggerResult { run, disposition: "created" }
end
Worker->>Storage: lease/claim pending run (respect maxConcurrentRuns / concurrencyKey)
Worker->>Worker: execute job
Worker->>Storage: emit events (progress, log, complete/fail)
Client->>API: waitForRun(runId, options?) (subscribes to events)
API->>Client: stream events / resolve on complete/fail or timeout
Note over Storage: idle maintenance may run PRAGMA wal_checkpoint(TRUNCATE) for local SQLite
Loading

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

🐰 新しい版をぴょんと描くよ、
触れた API はきちんと整えたよ。
Run は返して、待てるように、
WAL は眠りにそっと磨くよ。
リリースに向けて、にんまりだよ! 🎉

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Linked Issues check ❓ Inconclusive リンク済みissue #145の要件(TypedRun/TypedClientRunの出力型からundefineを除外)はCHANGELOGに記載されていますが、実装の詳細確認ができません。 issue #145の実装内容(型定義の変更と型テストの追加)が実際に含まれているか、コード変更で確認してください。
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PRタイトル「chore: release v0.15.0」はリリースの主な目的を明確かつ簡潔に表現しており、変更セット全体を適切に要約しています。
Out of Scope Changes check ✅ Passed 変更内容はv0.15.0リリースのドキュメント更新とパッケージバージョン変更に限定されており、スコープ外の変更は検出されていません。
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 chore/release-v0.15.0

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.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@CHANGELOG.md`:
- Line 42: The changelog entry for TypedRun / TypedClientRun incorrectly says it
removes "null checks" even though the change only removes `undefined` from the
default `output` type; update the wording to say "undefined checks" (or "checks
for undefined") so it matches the actual type change to `TypedRun` /
`TypedClientRun` output and does not imply `null` was removed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 38256cf6-4b0e-469f-aba1-9e49ecfec7ce

📥 Commits

Reviewing files that changed from the base of the PR and between 811f2b1 and 3a4c61f.

📒 Files selected for processing (10)
  • CHANGELOG.md
  • CLAUDE.md
  • packages/durably-react/docs/llms.md
  • packages/durably-react/package.json
  • packages/durably/docs/llms.md
  • packages/durably/package.json
  • website/api/durably-react/fullstack.md
  • website/guide/concepts.md
  • website/guide/databases.md
  • website/public/llms.txt

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coji coji merged commit 1b95627 into main Mar 30, 2026
5 checks passed
@coji coji deleted the chore/release-v0.15.0 branch March 30, 2026 00:25
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