KDX CLI v2026.2.1
Bug fixes for project-scoped resource syncing and OpenAPI spec parsing:Bug Fixes:- Project-Scoped Resource Sync: Fixed an issue where syncing project-scoped resources (e.g., task templates) would fail with “TaskTemplate must have a project” errors. The PUT payload now correctly includes the project reference for project-scoped resources, mirroring the existing pattern for organization-scoped resources.
- OpenAPI Schema Parsing: The CLI now gracefully handles missing
$refschema references in the server’s OpenAPI specification. When broken references are encountered (e.g., a missingValidationFailedResponse), the CLI patches in empty object stubs and retries parsing instead of failing.
- Task template and other project-scoped resource syncing now works correctly with
kdx sync pushandkdx sync deploy - CLI operations no longer fail when the platform’s OpenAPI spec contains missing schema definitions
brew upgrade kdxKDX CLI v2026.2.0
Document Command Overhaul, Knowledge Management & Module Downloads:Version Scheme Change: The CLI version now aligns with the platform release cycle (2026.2.x), replacing the previous 0.x/8.x numbering.Document Command Rewrite: Allkdx document commands have been rewritten to use the native kodexa-document Go library via a new DocumentAdapter, providing significantly improved performance and richer output including node IDs and type information.New Document Subcommands:kdx document stats- Document statistics summarykdx document schema- Display document schemakdx document tags- List and inspect tagskdx document features- List and inspect featureskdx document node- Inspect individual nodeskdx document text- Extract text contentkdx document page- Page-level operationskdx document find- Multi-criteria search across nodeskdx document spatial find- Spatial search by coordinateskdx document spatial bbox- Bounding box querieskdx document data objects- List data objectskdx document data attributes- List data attributeskdx document data exceptions- List data exceptionskdx document audit- View audit trail entries
kdx knowledge attach- Attach files to knowledge setskdx knowledge download- Download knowledge set itemsattachmentPathsupport inkdx syncfor knowledge items
kdx get module <slug> --download- Download module implementation packages directly
- Project-scoped resources with auto-pull for task templates
- Graceful handling of missing files in pull operations
brew upgrade kdxKDX CLI v0.6.0
Content Object Access & Extended Store Commands:New Features:-
Document Family Content Commands: New
kdx document-family contentsubcommand for direct access to content objects (kddb files) within document families:kdx document-family content list- List all content objects with IDs, timestamps, and labelskdx document-family content download- Download kddb files directly, bypassing DFM export timeouts--latestflag - Automatically select the most recent content object--outputflag - Specify custom output filename
-
Store Upload & Watch Commands: New commands for document upload and processing workflows:
kdx store upload- Upload files (PDF, images, documents) to document storeskdx store watch- Monitor document processing progress with real-time status updates--labelflag - Wait for specific processing labels (PREPARED, FIRST-PASS, LABELED, PROCESSED)--timeoutflag - Configure wait timeout for long-running processing
- Project Create Organization Lookup: Fixed organization resolution when creating projects from templates
- Dynamic API Flags: Improved handling of dynamic flags for
kdx runoperations - Document Family Data Export: Fixed data export to always use latest content object
brew upgrade kdxv8 Documentation Preview
Pre-release documentation for upcoming v8 CLI and SDK releases:CLI v8 - Document Commands (Preview):Newkdx document command suite for working with local KDDB files without requiring a platform connection:kdx document info- Display document summary with metadata and statisticskdx document print- Pretty print document structure as an ASCII tree with depth limiting and feature displaykdx document select- Query nodes by type using selector syntaxkdx document natives list/extract- List and extract embedded files (PDFs, images, etc.)kdx document external list/get/set/delete- Manage key-value external data storekdx document metadata get/set- View and modify document metadata
- Native Documents: Store and retrieve binary files within KDDB documents
- External Data: Flexible key-value store for custom data and processing results
- Metadata: Document properties including UUID, version, and custom fields
- Content Nodes: Hierarchical document structure with types and content
- Selectors: XPath-like query syntax for finding nodes
These features are in preview and will be included in the upcoming v8 release of the KDX CLI and Kodexa Document SDKs.
Kodexa Document SDK v8.0.0
New SDK Documentation & Version 8 Libraries:New Documentation:- SDK Documentation Tab: Added a dedicated SDK section to the developer portal with comprehensive guides for Python and TypeScript
- Python Getting Started: Complete guide covering installation, document creation, node manipulation, selectors, features, tags, and saving
- TypeScript Getting Started: Full guide including WASM initialization, async patterns, memory management, and browser/Node.js setup
- High-performance document processing via Go backend with CFFI bindings
- ~100x faster in-memory mode for processing pipelines
- Full support for KDDB format, hierarchical nodes, features, tags, and XPath-like selectors
- Context manager support for automatic resource cleanup
- WebAssembly-powered SDK for Node.js and modern browsers
- ~5x faster than pure JavaScript implementations
- Full async API with TypeScript type safety
- Works with both file-based and in-browser SQLite
- Create, load, and save KDDB documents
- Hierarchical ContentNode tree structure
- XPath-like selector queries
- Features (key-value metadata) and Tags (annotations with confidence)
- JSON and binary export formats
KDX CLI v0.5.2
Stability & User Experience Improvements:Bug Fixes:- Increased Client Timeout: Extended HTTP client timeout from 60 seconds to 10 minutes (600s) to prevent premature failures during long-running deployment operations, particularly beneficial for large manifest deployments, multiple resource/module deployments, and deployments to slow or distant environments
- Improved Branch Mapping Error Handling: Changed behavior when no branch mapping is found - now displays informational message and exits gracefully instead of returning error, providing better UX when working on unmapped branches
- Better CI/CD Integration: Non-disruptive behavior when working on unmapped branches doesn’t fail pipelines unnecessarily
- Clearer User Feedback: Informational messages clearly distinguish between configuration issues and actual errors
- Enhanced Reliability: Deployments that previously failed due to timeout will now complete successfully
- Prevents deployment timeouts for operations with large manifests or multiple resources
- Better user experience when working with selective branch mapping configurations
- More reliable long-running deployment operations
Kodexa Sync Action v2.2.0
Built-in Slack Notifications & GitHub Job Summary:New Features:- Slack Notifications: Send rich deployment summaries to Slack automatically with
slack-channel-idandslack-tokeninputs - GitHub Job Summary: Add deployment summary to workflow run with
annotate-summary: true - Renamed Input:
workers→threadsto match kdx-cli flag naming
- 🚀 Deployment status (or 🔍 for dry runs)
- Repository and branch information
- Resource counts (created, updated, unchanged)
- Direct link to the GitHub Actions run
KDX CLI v0.5.0
Tag-Based Deployments & Enhanced GitOps:Major Features:- Tag-Based Deployment Mappings: Deploy using git tags in addition to branches, enabling release-driven workflows with
tag_mappingsconfiguration supporting semantic versions, release candidates, and preview tags - Manual Deployment Overrides: New
--branchand--tagflags provide explicit control over deployment routing without requiring git operations, perfect for CI/CD, testing, and rollback scenarios - JSON Deployment Reports: Generate structured JSON reports of deployment actions with
--json-report <path>for CI/CD integration - Parallel Resource Deployment: New
--threads <n>flag for configuring parallel threads during resource deployment - significantly faster for large deployments - Resource Filtering: Filter resources during deployment with
--filter <pattern>for selective deployments
- Enhanced Error Messages: Clear, actionable error messages with hints when mappings are not found
- Better User Feedback: Deployment mode indicators showing whether using branch detection, tag detection, or manual override
- Improved Mapping Resolution: Support for multiple overlapping mappings, enabling sophisticated multi-environment deployment strategies
KDX CLI v0.4.1
Enhanced Debugging, Error Handling & Sync Improvements:New Features:- Enhanced Client Debugging: Added detailed API request/response logging when debug mode is enabled, providing comprehensive information for troubleshooting
- Improved Module Syncing: Updated module syncing to build and display full slugs with organization prefixes, improving clarity in logs and progress reporting
- Enhanced Deployment Output: Deployment command now includes the environment URL in planned deployment messages, providing clearer context for users
- Alternate Extension Support: Added support for both
.yamland.ymlextensions when reading resource files, with improved error hints showing all attempted file paths
- Better Error Messages: Error messages now reference full slugs with organization prefixes, making it easier to identify and debug issues
- Improved Error Handling: Enhanced deployment error handling to capture and report errors without terminating the process immediately
- Robust Payload Handling: New utility function to safely extract string values from interface types
- Debug Mode Formatting: Conditionally display full response bodies based on debug mode for cleaner output in normal operation
- Fixed gofmt formatting in
resource_types_test.go
KDX CLI v0.3.0
Knowledge Sets & Immutable Resources:New Features:- Knowledge Set Support: New
knowledgesetresource type with full CRUD operations, including example configurations for financial knowledge sets and full support in metadata API and sync operations - Immutable Resource Types: Added support for immutable resources (
featuretypeandfeatureinstance) that cannot be modified once created, maintaining database integrity. Sync operations automatically skip updates for immutable resources with appropriate warnings
