Skip to content

Version 0.5.0 - Litestream v0.5.2 Upgrade

Latest

Choose a tag to compare

@Tobi-De Tobi-De released this 02 Nov 15:15
· 8 commits to main since this release

What's Changed

  • Upgraded to Litestream v0.5.0 with support for LTX (transaction log) and MCP (Model Context Protocol) server
  • Automatic binary installation - Litestream binary is now auto-downloaded on first use for Linux, macOS, and Windows
  • Removed init command - Configuration is now generated dynamically when running commands
  • Removed config_file and extend_dbs settings* - The dbs config is enought now.
  • Explicit database selection - Databases must be explicitly listed in dbs configuration (no auto-discovery)
# settings.py
DATABASES = {
    "default": {"ENGINE": "django.db.backends.sqlite3", "NAME": "db.sqlite3"},
    "cache": {"ENGINE": "django.db.backends.sqlite3", "NAME": "cache.sqlite3"},
}

# dbs key is now required and only the default database will be replicated, replica config will be auto-generated
LITESTREAM = {
    "dbs": [{"path": "default"}] 
}

Checkout the Litestream migration guide for details on the new features and changes in Litestream v0.5.0.