Knowledge Sync (OIKB) Release Notes
The current version of Knowledge Sync (OIKB) is 1.0.3, released 2026-10-16. All products and their versions: Product Versions.
| Current Version | Released | Install | Source |
|---|---|---|---|
| 1.0.3 | 2026-10-16 | ghcr.io/hrida-ai/hrida-oikb | hrida-oikb/CHANGELOG.md |
Next Release
Not released yet.
Added
- Document records. A file can carry its title, version, effective date, link, author, status (
currentorsuperseded) 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.yamlor.meta.json, never uploaded), and fromdocumentsrules per source in.hrida-oikb.yaml.hrida-oikb validatechecks 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.yamlor with--to folder:<path>/--to s3://bucket/prefixon 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.--tois a new name for--kb-id; hrida-ai-studio stays the default. patternin adocumentsrule reads record fields, such asfamilyandversion, out of a file's path with a regular expression.supersede-older: trueon a source marks every file of afamilybut the newest assuperseded(latesteffective_date, else highestversion). hrida-ai-studio leaves superseded documents out of answers unless the Knowledge Base allows them.routeon 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 recognizedafter installing. The Windows zip only contained the exe, so unzipping it put nothing onPATH. It now includesinstall.cmd: it copieshrida-oikb.exeto%LOCALAPPDATA%\Programs\hrida-oikband adds that folder to the user'sPATH(no administrator rights; run it again to upgrade;-InstallDirfor another folder).uninstall.cmdremoves both. Only that onePATHentry is changed. The README explains the standalone exe's versioned file name. - The release workflow tests the installer on Windows before releasing: install,
hrida-oikbfound from a new window, reinstall, uninstall.
Changed
- Releases are automatic. Every change merged to
mainthat 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 inpyproject.tomlandsrc/hrida_oikb/__init__.pybefore merging. - The Docker image's
latesttag now means the newest release: each release publishes theX.Y.Z,X.Yandlatesttags, and pushes tomainpublishsha-<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 asunhealthy. They now use Python. Update your copy ofdocker-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, andhrida-oikb-<version>-windows-x64.zip, a deployment package with the exe, an example config and a quick-start README. python -m hrida_oikbruns the CLI, for when pip's scripts folder isn't onPATH.SHA256SUMSwith every release, to check downloads.
Fixed
- On Windows, commands crashed with
UnicodeEncodeErrorwhen 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/metricsendpoints. Doubles as an OpenAPI tool server for hrida-ai-studio (Settings → Connections → Tool Server).hrida-oikb init— interactive wizard that generates.hrida-oikb.yamlin 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 (--jsonsupported).hrida-oikb ls,status,reset,configutility commands.- Declarative
.hrida-oikb.yamlconfig with globaldefaults:key, per-entry overrides, and deep merge for nested keys (filter,notify). .hrida-oikbignore— gitignore-style file exclusion.filter.include/filter.excludeglob 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=truereturns added/modified/deleted counts without uploading. - Webhook endpoints:
/webhooks/github,/webhooks/gitlab,/webhooks/slack,/webhooks/confluencefor real-time sync triggers. - Webhook failure notifications —
notifykey in.hrida-oikb.yamlPOSTs a JSON payload (Slack-compatibletextfield) on sync error. Supportson: error(default) oron: always. - API key authentication for daemon endpoints (
HRIDA_OIKB_API_KEYenv var; Docker secrets_FILEsuffix supported)./healthremains public. - Cron expression support —
interval: "0 6 * * 1-5"alongside simple intervals (30m,1h). Auto-detected. - Structured JSON logging —
--log-format jsonorLOG_FORMAT=json. Outputsts,level,logger,msg, and optionalsource/kb_id/duration_msfields. 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.
--concurrencyflag forhrida-oikb sync— opt-in parallel uploads (also configurable per-entry).namekey for.hrida-oikb.yamlentries — 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 withSHAREPOINT_CERTIFICATE_PASSWORD. Install thesharepoint-certextra (see the README).
Changed
.hrida-oikb.yamltop-level key renamed fromsync:tosources:(backward compatible).- Daemon sync endpoint changed from
/sync/{source}to/sync/{identifier}— acceptsnameorkb-id(UUID). - Renamed CLI flag
--kbto--kb-idacross all commands. - Renamed
.hrida-oikb.yamlconfig key fromkbtokb-id. - FastAPI and uvicorn promoted to core dependencies.
Removed
- Breaking:
routeskey in.hrida-oikb.yaml. Use multiple entries withfilter.includeinstead — 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.excludefrom.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.
validatenow appliesdefaults:and env var interpolation before checking entries (previously checked raw YAML only).docker-compose.yamlupdated from stalewatchmode to productiondaemonmode with healthcheck,LOG_FORMAT=json, andHRIDA_OIKB_API_KEYsupport.- Empty-source message now respects
--quietflag.