Skip to content

docs: add v0.17 upgrade guide and update migration docs#831

Merged
alexluong merged 1 commit intofeat/refactor-docsfrom
docs/upgrade-v0.16.1
Apr 13, 2026
Merged

docs: add v0.17 upgrade guide and update migration docs#831
alexluong merged 1 commit intofeat/refactor-docsfrom
docs/upgrade-v0.16.1

Conversation

@alexluong
Copy link
Copy Markdown
Collaborator

@alexluong alexluong commented Apr 13, 2026

Summary

  • Adds upgrade guide for v0.17 covering the migration workflow breaking change (server now refuses to start with pending migrations)
  • Updates the migration guide to reflect the unified outpost migrate CLI
  • Adds v0.17 to nav.json changelog section

Upgrade guide covers

  • Explanation of the new explicit migration requirement
  • Recommended deployment flow (outpost migrate apply --yes before outpost serve)
  • Deployment examples: Docker Compose, Kubernetes init container, CI/CD pipeline
  • Upgrade checklist

Migration guide changes

  • Removed "auto-apply at startup" language
  • Removed references to cleanup, init --current, --all flag
  • Updated examples to use --yes instead of --all

Test plan

  • Verify upgrade guide renders correctly on docs site
  • Verify migration guide renders correctly on docs site
  • Verify nav.json changelog section shows v0.17 entry

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

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

Project Deployment Actions Updated (UTC)
outpost-docs Ready Ready Preview, Comment Apr 13, 2026 9:31pm
outpost-website Ready Ready Preview, Comment Apr 13, 2026 9:31pm

Request Review

@alexluong alexluong force-pushed the docs/upgrade-v0.16.1 branch from 162f455 to d27dba4 Compare April 13, 2026 19:37
@alexluong alexluong force-pushed the docs/upgrade-v0.16.1 branch 2 times, most recently from c98ff6c to edf95cf Compare April 13, 2026 19:44
@alexluong alexluong force-pushed the docs/upgrade-v0.16.1 branch from edf95cf to c9de2d8 Compare April 13, 2026 19:45
@alexluong alexluong force-pushed the docs/upgrade-v0.16.1 branch from c9de2d8 to 38a7eab Compare April 13, 2026 19:46
@alexluong alexluong force-pushed the docs/upgrade-v0.16.1 branch from 38a7eab to 79b7638 Compare April 13, 2026 19:50
@alexluong alexluong force-pushed the docs/upgrade-v0.16.1 branch from 79b7638 to ee80c7a Compare April 13, 2026 20:00
@alexluong alexluong changed the title docs: add v0.16.1 upgrade guide and update migration docs docs: add v0.17 upgrade guide and update migration docs Apr 13, 2026
Comment on lines +24 to +97
### Recommended deployment flow

The simplest approach is to always run migrations before starting the server:

```bash
outpost migrate apply --yes
outpost serve
```

How you integrate this depends on your deployment setup. Below are some common patterns.

### Docker Compose

Use a `migrate` service that runs before the main service:

```yaml
services:
outpost-migrate:
image: hookdeck/outpost
command: ["migrate", "apply", "--yes"]
env_file: .env
depends_on:
redis:
condition: service_healthy

outpost:
image: hookdeck/outpost
command: ["serve"]
env_file: .env
depends_on:
outpost-migrate:
condition: service_completed_successfully
```

### Kubernetes

Use an init container on the Outpost deployment:

```yaml
spec:
initContainers:
- name: migrate
image: hookdeck/outpost
command: ["outpost", "migrate", "apply", "--yes"]
envFrom:
- secretRef:
name: outpost-config
containers:
- name: outpost
image: hookdeck/outpost
command: ["outpost", "serve"]
envFrom:
- secretRef:
name: outpost-config
```

Alternatively, run migrations as a separate Kubernetes Job before rolling out the new version.

### CI/CD pipeline

Add a migration step before deploying the new version:

```bash
# 1. Run migrations against production databases
docker run --rm --env-file .env \
hookdeck/outpost migrate apply --yes

# 2. Deploy the new version
# (your deploy command here)
```

### Other approaches

The examples above are recommendations — run migrations however fits your infrastructure. The only requirement is that `outpost migrate apply` completes before `outpost serve` starts. Some teams prefer a wrapper script in their entrypoint, others run it as a pre-deploy hook. Any approach works as long as migrations finish first.
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Would love some feedback here + whether this is important for migration.mdoc as well?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems worthwhile yes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alexluong alexluong force-pushed the docs/upgrade-v0.16.1 branch from ee80c7a to a730991 Compare April 13, 2026 21:30
@alexluong alexluong merged commit 06a8db8 into feat/refactor-docs Apr 13, 2026
4 of 5 checks passed
@alexluong alexluong deleted the docs/upgrade-v0.16.1 branch April 13, 2026 22:45
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.

2 participants