Skip to content

v0.5.4

Choose a tag to compare

@github-actions github-actions released this 11 Oct 07:57
· 72 commits to main since this release

New

  • serve.json: keep an app's settings next to its code. Every new deploy applies it before the build: build, deploy, health check, resources, volumes and files, scheduled tasks, variables, HTTP options and the uptime check. The file wins on deploy; a change made in the dashboard lasts until the next deploy, and a redeploy keeps it. Fields the file sets carry a serve.json mark, and Settings → General shows the file with a button to put its values back. See https://serve.bd/docs/serve-json/.
  • serve.json has blocks per environment (environments.production) and for pull request previews, plain variable values, secrets Serve generates once and keeps, required variables that stop a deploy before the build, and tasks for stacks from Git. Secrets, host access, servers, domains, login walls and IP rules stay in the dashboard.
  • A broken serve.json stops the deploy before the build and lists every problem with its place, like deploy: unknown setting "replica". Editors get autocomplete from "$schema": "https://serve.bd/schema/serve.json".
  • serve config pull writes a service's settings as a serve.json, and serve config validate checks one the way a deploy does. Download serve.json in Settings → General does the same.
  • Path redirects (/old to /new or another address) for apps, in nginx, Caddy and Traefik. They are set in serve.json and through the API.
  • Automatic builds without a Dockerfile use Railpack, which detects the framework: Vite, Astro, Create React App, Angular and React Router as static sites with working client-side routes, Next.js, Nuxt and Node servers, and Python, Go, PHP, Ruby, Java and Rust. SvelteKit with the Node adapter and NestJS's start:prod start correctly. Apps that were already deploying with Automatic keep Nixpacks.

Fixed

  • Scheduled tasks, backups and instance backups start at the start of their minute, like cron, instead of up to a minute late.
  • An HTTP uptime check of a service without a domain waits for one instead of marking the service down.
  • During maintenance with an allow list, Caddy shows the maintenance page to everyone when the app is not running, like nginx and Traefik.

Polished

  • Problems in a service's header show their reason, like why it is down.
  • Browser tabs show the page name only; sign-in pages keep the product name.
  • The Lavalink template keeps application.yml as a file mount, edited in Persistent storage, without a setup container.

Commits

  • 04d045ec Lavalink template: application.yml is a file mount, edited in Persistent storage; no setup container
  • 0ab9fd75 Tab titles: the page name only; sign-in pages keep the product name
  • 50f55ac3 Worker: cron schedules tick at the start of each minute, like cron
  • 6530b170 serve.json: app settings and scheduled tasks kept in the repository
  • 69c2993b serve.json: environments, previews, variables, HTTP options, uptime check, stacks, CLI
  • 119ff98c Builds: Automatic without a Dockerfile uses Railpack
  • f9d5f956 Merge branch 'zero-config'
  • 5ca3cd69 Uptime: an HTTP check without a domain waits instead of marking the service down; problems show their reason

Compare: v0.5.3 → v0.5.4