dimgigov
abb382c419
feat(clients): sync all client drivers with current wire protocol
...
- Python: fix column types read order, add auth/ping/query_params, proper recv
- JavaScript: wire up real TCP socket, add auth/ping/query_params, WireValue class
- Rust: add WireValue enum with structured types, fix type fidelity for ARRAY/OBJECT/VECTOR, add auth/query_params, fix ping/error parsing
- Nim: add missing MsgKind values, makeQueryParamsMessage, auth/ping, fix forward decl
All clients now support AUTH (0x09), QUERY_PARAMS (0x03), PING (0x08)
and align with server.nim + wire.nim protocol definitions.
2026-05-07 22:38:09 +03:00
dimgigov
eaa5760fd4
feat: JSON/JSONB validation, multi-column indexes, CTE execution, wire protocol column types
...
- Add fkJson to wire protocol with serialization/deserialization
- Validate JSON/JSONB on INSERT/UPDATE via std/json
- Send real column type metadata in wire protocol responses
- Update all 4 clients (Nim, Python, JS, Rust) for JSON and columnTypes
- Implement multi-column index parser (CREATE INDEX idx ON t(a, b))
- Add ciColumns to AST nkCreateIndex
- Build composite index keys as table.col1.col2 with val1|val2
- Support multi-column exact match in SELECT for AND chains
- Implement non-recursive CTE execution via ctx.cteTables materialization
- Add tkRecursive token and parse WITH RECURSIVE
- Fix test isolation: use temp dirs for JOIN, migration, and RLS tests
- All tests passing (0 failures)
2026-05-07 10:27:40 +03:00
dimgigov
9b7ed1fca8
chore: change default ports to non-standard ones (9472, 9470, 9471)
2026-05-06 23:23:29 +03:00
dimgigov
8993cdc6f3
docs: expand README and documentation for production release
...
- Update README.md status from 'educational proof-of-concept' to 'production-ready'
- Fix binary size: 286KB -> 3.3MB
- Update test count: 162/35 -> 262/56
- Add sections: benchmarks, Docker, clients, security, config, monitoring, backup, cross-modal queries, troubleshooting
- Expand project structure with all 49 modules and ~14,100 LOC
- Add 10 new docs: performance, deployment, configuration, clients, security, monitoring, backup, crossmodal, troubleshooting, changelog
- Expand docs/en: architecture, baraql, installation, protocol
- Update docs/bg: architecture, installation
- Update docs/index.md with new links
- Update .gitignore for __pycache__, rust/target, nim binaries
2026-05-06 17:19:16 +03:00
dimgigov
f9f77b3a18
feat: production blockers — JOINs, deadlock detection, TLS, parameterized queries
...
- JOIN execution: INNER/LEFT/RIGHT/FULL/CROSS with column disambiguation
- Deadlock detection: wait-for graph wired into TxnManager.write()
- TLS/SSL: OpenSSL via std/net for TCP wire protocol, auto self-signed certs
- Parameterized queries: ? placeholders with WireValue binding
- Wire protocol: mkQueryParams message support
- HTTP /query endpoint accepts JSON params array
- Nim client: query(sql, params) overload
- Tests: 262 passing (15 new)
All PLAN.md production blockers resolved.
2026-05-06 16:42:53 +03:00
dimgigov
5b31b5b56c
feat: ROADMAP 100% complete — Go + Rust clients, all 12 phases green
...
ROADMAP.md: 0 unchecked items, 98/98 tasks completed
Status table: all 12 phases at 100%
New client libraries:
- Go (): Full binary protocol client
Client, QueryBuilder, QueryResult, Config
Thread-safe with sync.Mutex
- Rust (): Cargo project with lib.rs
Client, QueryBuilder, Config with builder pattern
Full binary protocol implementation
All 12 phases:
1. Core (LSM + B-Tree + compaction + cache + mmap) ✅ 100%
2. BaraQL (lexer + parser + AST + IR + codegen + adaptive + UDF) ✅ 100%
3. Multimodal (KV + graph + vector + columnar + cross-modal) ✅ 100%
4. Transactions (MVCC + deadlock + WAL + 2PC + saga + recovery) ✅ 100%
5. Protocol (binary + HTTP + WS + pool + auth + ratelimit + TLS) ✅ 100%
6. Schema (inheritance + computed + migrations + diff) ✅ 100%
7. Vector (HNSW + IVF-PQ + quant + SIMD + metadata + batch) ✅ 100%
8. Graph (BFS/DFS/Dijkstra/PageRank/Louvain/Cypher/pattern) ✅ 100%
9. FTS (BM25 + TF-IDF + fuzzy + regex + multilang) ✅ 100%
10. Clients (Nim + Python + JS + Go + Rust + CLI + import/export) ✅ 100%
11. Cluster (Raft + sharding + replication + gossip + dist txn) ✅ 100%
12. Optimizations (SIMD + mmap + zerocopy + adaptive + benchmarks) ✅ 100%
214 tests, 48 suites, 0 failures.
2026-05-06 02:51:35 +03:00