Skip to content
Documentation

Nibleaf v0.2.1 release notes

See what ships in Nibleaf v0.2.1, which capabilities need configuration, and how to install it or upgrade from v0.1.2.

  • 5 min read
  • Updated

v0.2.1 is the self-host release pinned in the committed manifest. The guided installer, the production Compose file, and the pinned ghcr.io/lord007tn/nibleaf:v0.2.1 image all point to it. It is the first published release since v0.1.2. v0.2.0 was built as an image but never published as a release, so v0.2.1 includes everything in the v0.2.0 notes and supersedes them. The full list of changes, with pull request numbers, is in the repository's CHANGELOG.md and on the GitHub release page.

v0.2.1 also includes security hardening. All self-hosted installations should upgrade.

Everything from v0.2.0:

  • Hybrid search and grounded answers. An optional tenant-filtered Qdrant BM25 and dense-vector path for English, Arabic, and mixed content, with privacy-safe index diagnostics and optional grounded AI answers. The built-in Orama search stays the default. See search and AI operations.
  • Project add-ons with entitlement-aware availability, consent controls, reader actions, and publish checks. See project add-ons.
  • Documentation themes. Harbor, Manuscript, and Signal, with safe template exchange and runnable Git exports. See documentation themes.
  • Usage metering with exact quantities and advisory entitlements. See usage metering.
  • Project integrations with encrypted credentials, confirmations, audit, and key rotation. See integrations.
  • A project-bound MCP endpoint, authenticated with expiring scoped keys.
  • GitBook import. Import a public GitBook Git Sync repository with its sections, URLs, blocks, and images. See migrate documentation.
  • Faster published sites. Readers move between pages without a full reload.

New since v0.2.0:

  • Ask AI chat. Readers ask your published docs questions and get short answers that link to the sections they came from. See Ask AI.
  • Your own AI provider. Connect OpenAI or OpenRouter with your own key for Ask AI and editor AI assist. See connect your own AI provider.
  • AI assistants that can write. Over MCP, an assistant can draft, edit, translate, and publish after a confirmed preview, with sign-in or a personal key. See work on your docs with an AI assistant.
  • Docs-owner insights. Searches that found nothing, reader feedback, AI crawler visits, and slow pages. See documentation analytics.
  • New AI defaults. AI answers and drafts default to GPT-6 Luna. A model you pinned is kept, and no reindex is needed.
  • Larger search embeddings. Hybrid search defaults to openai/text-embedding-3-large at 3072 dimensions, which finds Arabic and mixed-language answers more often. An existing hybrid index needs a one-time rebuild; see install or upgrade.
  • Invitations and Promote. Accepting an invitation always ends in the invited site, whatever the sign-in path. Promote shows what it will change on main's pages before it happens.

Several capabilities ship in the image but stay off until you configure them:

CapabilityDefaultWhat it needs
Hybrid searchOff; built-in search serves readersA Qdrant service through the optional search overlay, an AI provider for embeddings, and an evaluated SEARCH_RUNTIME cutover
Grounded answers and Ask AIOffQdrant through the optional search overlay, an AI provider (the instance provider also needs SEARCH_ANSWER_ENABLED=true), a READY published index, and opt-in for each site
AI writing assistHidden without a providerOPENROUTER_API_KEY, or the site's own AI provider connection
Site AI provider connectionsNot connectedINTEGRATION_CREDENTIAL_ENCRYPTION_KEY on the API and worker
MCP endpointOff (MCP_ENABLED=false)An operator to enable it. Sign-in for MCP clients also needs an HTTPS BETTER_AUTH_URL
ClickHouse analytics and insightsOffA ClickHouse service that you run, plus the credentials, migrations, and ANALYTICS_MODE rollout in the ClickHouse guide. docker-compose.prod.yml does not pass these settings, so add them yourself.

Usage metering does not enable billing or payments, and its entitlements remain advisory.

  • The published image supports linux/amd64 only. The installer stops on other architectures.
  • docker-compose.prod.yml includes neither Qdrant nor ClickHouse.
  • The interface offers 12 locale options, with some strings still in English.

See known limitations for the wider product boundaries.

  • New installation: follow self-hosted installation. Its command verifies the v0.2.1 installer's SHA-256 digest before it runs.

  • From v0.1.2: changing only the image tag does not work. Follow the upgrade guide, which migrates recurring job schedules in two steps and covers the backup, the Compose file, and the new environment settings. Nineteen database migrations run, and they are forward-only.

  • From the v0.2.0 image: no staged step is needed. Back up, replace the Compose file, and pin v0.2.1, as in back up and upgrade.

  • If you set WORKER_QUEUES: add erasure; otherwise, files belonging to projects deleted after the upgrade remain in storage.

  • If you already run hybrid search: v0.1.2 has no hybrid search, so this applies only to an index built by the v0.2.0 image or a source build. After the upgrade, readers get keyword results, and AI answers and Ask AI are paused, until you rebuild the index and switch to the new collection. Queue the rebuild:

    bash
    docker compose exec -T server pnpm --filter @nibleaf/server search:reindex-all
    

    Wait until every site's index is READY with the new settings, then switch the alias:

    bash
    docker compose exec -T -e QDRANT_PREVIOUS_COLLECTION=nibleaf_search_active_v1_1536 -e QDRANT_SWITCH_TO=nibleaf_search_active_v2_3072 server pnpm --filter @nibleaf/qdrant alias:switch
    

    Keep nibleaf_search_active_v1_1536 until you are satisfied. To stay on the previous model or roll back, follow search and AI operations.

  • Something failed: see troubleshooting.

Was this page helpful?