Skip to content

Commit 48a36b6

Browse files
fix: restore v2.0 doc paths and update blog posts for v2
After reverting docs default back to 1.x (commit 4754215), restore correct v2.0 paths in cross-references: - docs/migration.md: /docs/configuration → /docs/2.0/configuration - docs/sdks/python.md: /docs/configuration → /docs/2.0/configuration Update blog posts with v2 changes: - blog/2022-11-19-waterline-ui.md: Add v2 banner, update package name laravel-workflow/waterline → durable-workflow/waterline - blog/2026-02-07-building-a-durable-ai-travel-agent-with-laravel.md: Update method names execute() → handle() for v2 API Fixes #275 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 1420a1d commit 48a36b6

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

blog/2022-11-19-waterline-ui.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ authors:
99
tags: [ui, horizon, queues, workflows]
1010
---
1111

12+
:::info V2 Update
13+
This post was written for Durable Workflow v1. For v2, the package name has changed from `durable-workflow/waterline` to `durable-workflow/waterline`. See the [migration guide](/docs/2.0/migration/) for details.
14+
:::
15+
1216
One of the pros to using workflows is that it makes monitoring easy. Using Waterline makes it even easier!
1317

1418
![dashboard](https://miro.medium.com/max/1400/1*2FP4crjpM8C48kAnqAjv5A.webp)
@@ -27,10 +31,10 @@ If you’re familiar with Horizon then installing Waterline will be like déjà
2731

2832
## Installation
2933

30-
You can find the official [documentation](https://github.com/laravel-workflow/waterline) here but setup is simple.
34+
You can find the official [documentation](https://github.com/durable-workflow/waterline) here but setup is simple.
3135

3236
```bash
33-
composer require laravel-workflow/waterline
37+
composer require durable-workflow/waterline
3438

3539
php artisan waterline:publish
3640
```

blog/2026-02-07-building-a-durable-ai-travel-agent-with-laravel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ The `TravelAgentActivity` bridges the AI agent and the workflow:
193193
```php
194194
class TravelAgentActivity extends Activity
195195
{
196-
public function execute($messages)
196+
public function handle($messages)
197197
{
198198
BookHotel::$pending = [];
199199
BookFlight::$pending = [];
@@ -245,7 +245,7 @@ class AiWorkflow extends Workflow
245245
return $this->outbox->nextUnsent();
246246
}
247247

248-
public function execute($injectFailure = null)
248+
public function handle($injectFailure = null)
249249
{
250250
$messages = [];
251251

docs/migration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ v2 configuration is backward compatible. If you published `config/workflow.php`
9696
- `projection_rebuild` — history rebuild strategies
9797
- `history_budget` — event count limits for continue-as-new
9898

99-
These have sensible defaults. Only configure them if you need non-default behavior. See [Configuration](/docs/configuration/options/) for details.
99+
These have sensible defaults. Only configure them if you need non-default behavior. See [Configuration](/docs/2.0/configuration/options/) for details.
100100

101101
**Environment variables:**
102102

@@ -144,7 +144,7 @@ Expected output:
144144
✓ All backend capabilities present
145145
```
146146

147-
If any check fails, see [Backend Requirements](/docs/installation/#requirements) for driver prerequisites.
147+
If any check fails, see [Backend Requirements](/docs/2.0/installation/#requirements) for driver prerequisites.
148148

149149
**2. Verify v2 workflows start successfully**
150150

@@ -412,7 +412,7 @@ php artisan workflow:v2:doctor --strict
412412

413413
### Configuration
414414

415-
v2 introduces several new configuration options. See the [Configuration](/docs/configuration/options/) section for details on:
415+
v2 introduces several new configuration options. See the [Configuration](/docs/2.0/configuration/options/) section for details on:
416416

417417
- Durable type aliases
418418
- Task repair policy

docs/sdks/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The SDK targets the same durable model as the PHP package — instance IDs, run
1111
## Requirements
1212

1313
- Python 3.10 or later
14-
- A running [Durable Workflow server](/docs/configuration/worker-protocol)
14+
- A running [Durable Workflow server](/docs/2.0/configuration/worker-protocol)
1515

1616
## Installation
1717

0 commit comments

Comments
 (0)