Skip to main content

Knowledge Sync (OIKB) Release Notes

Every Knowledge Sync (OIKB) release and what changed in it.

The current version of Knowledge Sync (OIKB) is 1.0.3, released 2026-10-16. All products and their versions: Product Versions.

Current VersionReleasedInstallSource
1.0.32026-10-16ghcr.io/hrida-ai/hrida-oikbhrida-oikb/CHANGELOG.md

Next Release​

Not released yet.

Added​

  • Document records. A file can carry its title, version, effective date, link, author, status (current or superseded) and family to the Knowledge Base, which indexes them and shows them in citations. Records come from the source system (Confluence: title, version, link; S3: link), from a sidecar file next to a local file (policy.pdf.meta.yaml or .meta.json, never uploaded), and from documents rules per source in .hrida-oikb.yaml. hrida-oikb validate checks the rules. Needs a hrida-ai-studio version that indexes document records.
  • Export targets. A source can be written to a local folder (target: folder) or an S3 bucket (target: s3) instead of a hrida-ai-studio Knowledge Base, chosen per source in .hrida-oikb.yaml or with --to folder:<path> / --to s3://bucket/prefix on the command line. The export holds the files, each file's document record as a sidecar, and a manifest; it is incremental, only touches files it wrote, and needs no hrida-ai-studio URL or API key. --to is a new name for --kb-id; hrida-ai-studio stays the default.
  • pattern in a documents rule reads record fields, such as family and version, out of a file's path with a regular expression.
  • supersede-older: true on a source marks every file of a family but the newest as superseded (latest effective_date, else highest version). hrida-ai-studio leaves superseded documents out of answers unless the Knowledge Base allows them.
  • route on a source sends each file to one of several Knowledge Bases, by a glob on its path or by fields of its record. Access is then set per Knowledge Base. A routed source runs as one sync per Knowledge Base.
  • Document records from more sources: SharePoint (link, last author), GitHub, Google Drive and S3 (link), Notion (title, link), next to Confluence.
  • A test suite (tests/): the document record, sidecars, rules, superseding, routing, and the sync engine against an in-memory Knowledge Base.

Changed​

  • A file whose document record changes is uploaded again on the next sync, even when its content is the same. Confluence, Notion, SharePoint, GitHub, Google Drive and S3 sources upload every file once more on the first sync after upgrading, because their files now carry a record.

1.0.3​

Released 2026-10-16.

Fixed​

  • Windows: 'hrida-oikb' is not recognized after installing. The Windows zip only contained the exe, so unzipping it put nothing on PATH. It now includes install.cmd: it copies hrida-oikb.exe to %LOCALAPPDATA%\Programs\hrida-oikb and adds that folder to the user's PATH (no administrator rights; run it again to upgrade; -InstallDir for another folder). uninstall.cmd removes both. Only that one PATH entry is changed. The README explains the standalone exe's versioned file name.
  • The release workflow tests the installer on Windows before releasing: install, hrida-oikb found from a new window, reinstall, uninstall.

Changed​

  • Releases are automatic. Every change merged to main that touches the package (src/, packaging/, pyproject.toml, Dockerfile) is released as the next patch version, with the ## [Unreleased] entries of this file as its notes (or the commit subjects when there are none). For a minor or major release, set the version in pyproject.toml and src/hrida_oikb/__init__.py before merging.
  • The Docker image's latest tag now means the newest release: each release publishes the X.Y.Z, X.Y and latest tags, and pushes to main publish sha-<commit> images only.

1.0.2​

Released 2026-10-14.

Fixed​

  • Docker image: connector libraries included. The image now installs every optional connector (S3, R2, GCS, Azure, Dropbox, Google Drive / Gmail / Sites, web, Oracle, SharePoint certificate auth). Before, those sources failed in Docker with a "missing library" message. Build with --build-arg OIKB_EXTRAS= for a smaller image with only the built-in connectors.
  • Docker healthcheck. The Compose files checked health with curl, which the image doesn't have, so the container always showed as unhealthy. They now use Python. Update your copy of docker-compose-oikb-prod.yaml.
  • The image build now runs a smoke test (version, connector libraries, healthcheck) before pushing.

1.0.1​

Released 2026-10-14.

Added​

  • Windows executable — every release now includes hrida-oikb-<version>-windows-x64.exe, a standalone executable with all connectors that needs no Python, and hrida-oikb-<version>-windows-x64.zip, a deployment package with the exe, an example config and a quick-start README.
  • python -m hrida_oikb runs the CLI, for when pip's scripts folder isn't on PATH.
  • SHA256SUMS with every release, to check downloads.

Fixed​

  • On Windows, commands crashed with UnicodeEncodeError when output went to Git Bash, a pipe or a file (the ✓/✗ marks couldn't be encoded). Output is now UTF-8 there.
  • Connector "missing library" messages now name the library to install instead of a public PyPI package.

1.0.0​

Released 2026-05-28.

First stable release. Consolidates all 0.x capabilities into a production-ready package.

Added​

  • 45 connectors across every major category: local filesystem, GitHub, GitLab, Bitbucket, S3, GCS, Azure Blob, Dropbox, Cloudflare R2, Google Drive, SharePoint, Confluence, Notion, BookStack, Discourse, GitBook, Guru, Document360, Slab, Outline, Google Sites, DokuWiki, Jira, Linear, Zendesk, Freshdesk, Asana, ClickUp, Airtable, ServiceNow, ProductBoard, Slack, Discord, Microsoft Teams, Gmail, Salesforce, HubSpot, Egnyte, Oracle Cloud Storage, XenForo, Zulip, Gong, Fireflies, and Web Crawler.
  • hrida-oikb sync — incremental sync with SHA-256 / ETag diffing. Only uploads changed files.
  • hrida-oikb diff — dry-run preview of pending changes.
  • hrida-oikb watch — debounced filesystem monitoring via watchdog.
  • hrida-oikb daemon — long-lived scheduler with FastAPI server, /health, /history, and /metrics endpoints. Doubles as an OpenAPI tool server for hrida-ai-studio (Settings → Connections → Tool Server).
  • hrida-oikb init — interactive wizard that generates .hrida-oikb.yaml in 4 prompts.
  • hrida-oikb validate / validate --deep — config validation with optional live connectivity check against hrida-ai-studio.
  • hrida-oikb history — view sync history from local SQLite database (--json supported).
  • hrida-oikb ls, status, reset, config utility commands.
  • Declarative .hrida-oikb.yaml config with global defaults: key, per-entry overrides, and deep merge for nested keys (filter, notify).
  • .hrida-oikbignore — gitignore-style file exclusion.
  • filter.include / filter.exclude glob patterns for selective sync scope.
  • filter.max-size — skip files exceeding a configurable size limit (e.g. 50mb).
  • Environment variable interpolation in .hrida-oikb.yaml — ${VAR} and ${VAR:-default} syntax across all string values.
  • Per-KB sync locking — prevents overlapping syncs; duplicate webhook triggers are skipped with a log message.
  • Dry-run via API — POST /sync/{id}?dry_run=true returns added/modified/deleted counts without uploading.
  • Webhook endpoints: /webhooks/github, /webhooks/gitlab, /webhooks/slack, /webhooks/confluence for real-time sync triggers.
  • Webhook failure notifications — notify key in .hrida-oikb.yaml POSTs a JSON payload (Slack-compatible text field) on sync error. Supports on: error (default) or on: always.
  • API key authentication for daemon endpoints (HRIDA_OIKB_API_KEY env var; Docker secrets _FILE suffix supported). /health remains public.
  • Cron expression support — interval: "0 6 * * 1-5" alongside simple intervals (30m, 1h). Auto-detected.
  • Structured JSON logging — --log-format json or LOG_FORMAT=json. Outputs ts, level, logger, msg, and optional source/kb_id/duration_ms fields. Compatible with Datadog, Splunk, ELK, CloudWatch, and Loki.
  • Prometheus metrics at GET /metrics — hrida-oikb_sync_total, hrida-oikb_sync_duration_seconds, hrida-oikb_files_uploaded_total, hrida-oikb_files_deleted_total, hrida-oikb_sync_errors_total, hrida-oikb_info. All counters labeled by source.
  • Status dashboard at GET / — monospace page rendered client-side from /health. Shows source name, status, last sync time, duration, file counts, and next sync. Polls every 10 s. Zero JS dependencies.
  • Rich progress bars — spinner during scan/diff, progress bar during uploads.
  • Upload retry with exponential backoff — transient 5xx errors retry up to 3 times.
  • --concurrency flag for hrida-oikb sync — opt-in parallel uploads (also configurable per-entry).
  • name key for .hrida-oikb.yaml entries — target syncs by name via CLI (--name wiki) or API (POST /sync/wiki).
  • Messaging connectors (Slack, Discord, Teams) split messages by day for incremental sync.
  • Context manager support for OikbClient.
  • Docker image with multi-arch support (amd64 + arm64).
  • GitHub Actions workflows for Docker builds (GHCR) and PyPI releases.
  • SharePoint: certificate-based authentication via SHAREPOINT_CERTIFICATE_PATH — supports encrypted PEM keys with SHAREPOINT_CERTIFICATE_PASSWORD. Install the sharepoint-cert extra (see the README).

Changed​

  • .hrida-oikb.yaml top-level key renamed from sync: to sources: (backward compatible).
  • Daemon sync endpoint changed from /sync/{source} to /sync/{identifier} — accepts name or kb-id (UUID).
  • Renamed CLI flag --kb to --kb-id across all commands.
  • Renamed .hrida-oikb.yaml config key from kb to kb-id.
  • FastAPI and uvicorn promoted to core dependencies.

Removed​

  • Breaking: routes key in .hrida-oikb.yaml. Use multiple entries with filter.include instead — each entry maps one source to one KB.
  • No-op optional extras that only re-declared httpx (already a core dep). Remaining extras with real dependencies: s3, gcs, azure, dropbox, r2, gdrive, gmail, gsites, web, oracle, sharepoint-cert.

Fixed​

  • Daemon now correctly applies filter.include/filter.exclude from .hrida-oikb.yaml (previously silently ignored).
  • Connector HTTP clients are properly closed after each sync.
  • GitHub connector caches default-branch lookup — eliminates redundant API calls per file.
  • validate now applies defaults: and env var interpolation before checking entries (previously checked raw YAML only).
  • docker-compose.yaml updated from stale watch mode to production daemon mode with healthcheck, LOG_FORMAT=json, and HRIDA_OIKB_API_KEY support.
  • Empty-source message now respects --quiet flag.
Hrida.ai is proprietary software of Zlabs Innovation. See the license for terms. © 2026 Zlabs Innovation.