server-v0.0.8

juanfont/headscaleserver-v0.0.8Aug 17, 2026by Dhravya

Upgrading?

AI Summary

This release is an emergency patch addressing a critical data loss issue where upgrading from 0.0.7 RC wiped search vectors, making documents unsearchable. It introduces an automatic background repair mechanism to detect and restore missing vectors during server startup.

Key Highlights

  • Emergency patch for stores upgraded from 0.0.7 RC
  • Automatic repair on boot detects missing vectors and re-embeds them in the background
  • Fixes migration issues that silently wiped search vectors

New Features

  • Automatic repair/healing of search vectors
  • Background re-embedding of damaged data

Full Release Notes

Emergency patch for stores upgraded from a 0.0.7 release candidate.

- **Upgrading an rc store to 0.0.7 silently wiped search vectors** (#1524): the migration adoption step pruned the pgvector embedding columns, so pre-existing documents stayed listed but returned no search results while new documents worked. The adoption heal no longer touches columns.
- **Automatic repair**: on boot, 0.0.8 detects rows whose vectors are missing while their text survives and re-embeds them in the background — stores already damaged by the 0.0.7 upgrade heal themselves on the first start, no manual steps.
- The migration test matrix now seeds real vectors into its legacy-store fixtures and asserts they survive upgrades.

If you upgraded from 0.0.7-rc.x to 0.0.7 and lost search results: install 0.0.8 and start the server — you should see `[vector-backfill] Restored search vectors …` once it finishes.

Related Repositories