Upgrade to WollyCMS 0.3
WollyCMS 0.3 updates the supported runtime and dependency baseline, adds Astro 7 support, and includes editor, content-delivery, scheduling, and security fixes.
Before upgrading
Section titled “Before upgrading”- Back up the database and media storage.
- Confirm the current installation starts successfully.
- Use Node.js 22 LTS.
- Review local extensions or direct imports from undocumented package paths.
Upgrade the server
Section titled “Upgrade the server”npm install @wollycms/server@^0.3.0npm run migrateWollyCMS 0.3 does not add a new database migration relative to the last 0.2 npm release, but running the migration command remains the supported upgrade step.
Restart the server and verify:
curl http://localhost:4321/api/healthThen log in to /admin and check the dashboard, Pages, and Media.
Upgrade the Astro integration
Section titled “Upgrade the Astro integration”npm install @wollycms/astro@^0.3.0The package supports Astro 5, 6, and 7. New Astro projects should use Astro 7. The responsive image component is exported as:
---import SpacelyImage from '@wollycms/astro/components/SpacelyImage.astro';---The former WollyImage.astro package entry remains as a compatibility alias.
Docker
Section titled “Docker”Pull the versioned image, then recreate the container:
docker pull ghcr.io/wollycms/wollycms:0.3.0docker compose up -dDo not remove database or media volumes during the upgrade.
Cloudflare Workers
Section titled “Cloudflare Workers”Build the admin and Worker from the 0.3 release, apply D1 migrations, and deploy:
npm cinpm run build:adminnpm run build:workernpx wrangler d1 migrations apply <database-name> --remotenpx wrangler deployVerify /api/health, a content API request, the admin UI, and media URLs after
deployment.