Skip to content

Releases: miantiao-me/Slite

Release list

v0.3.1

Choose a tag to compare

@miantiao-me miantiao-me released this 27 Sep 06:00

Highlights

Syncs the features and fixes from Sink 0.3.1.

  • Added a built-in MCP server at /api/mcp, protected by the site token, with tools for managing links, checking links, and querying analytics (including heatmaps)
  • Added an opt-in reverse proxy mode for links, enabled with NUXT_PUBLIC_LINK_PROXY_ENABLED; proxied content runs on the Slite origin, so only proxy fully trusted targets
  • Made the maximum target URL length configurable with NUXT_PUBLIC_MAX_URL_LENGTH (default: 16384) and added POST /api/link/search for exact searches on long URLs
  • Rejected reserved slugs when creating, importing, or upserting links
  • NUXT_PUBLIC_HOME_URL now also applies to in-app navigation to /
  • Shared the analytics query builders between the REST API and MCP tools, and generated OpenAPI request schemas from the shared validation contracts
  • Unauthorized API responses now include WWW-Authenticate: Bearer

Upgrade notes

  • NUXT_HOME_URL is deprecated in favor of NUXT_PUBLIC_HOME_URL. The old variable still works for now.
  • A SQLite migration adds the proxy column to links and runs automatically on startup. Stop the running instance and back up /data before upgrading.

v0.3.0

Choose a tag to compare

@miantiao-me miantiao-me released this 15 Sep 12:06

Highlights

  • Replaced Cloudflare D1 and KV with local SQLite as the authoritative link storage
  • Added an in-memory link cache powered by unstorage
  • Moved image uploads and backups to unstorage filesystem storage
  • Moved analytics storage and queries to DuckDB
  • Replaced the Cloudflare runtime with a local Node.js and Docker deployment model
  • Preserved compatibility with Sink's features and API contracts wherever practical

Slite runs as a single local process with persistent data stored under /data. Existing Sink Cloudflare deployments require a separate data migration before switching to Slite.