Bump version to 1.1.4 across all components
CI / test (push) Has been cancelled
CI / verify (push) Has been cancelled
Clients CI / build-server (push) Has been cancelled
Clients CI / test-python (push) Has been cancelled
Clients CI / test-javascript (push) Has been cancelled
Clients CI / test-nim (push) Has been cancelled
Clients CI / test-rust (push) Has been cancelled
CI / test (push) Has been cancelled
CI / verify (push) Has been cancelled
Clients CI / build-server (push) Has been cancelled
Clients CI / test-python (push) Has been cancelled
Clients CI / test-javascript (push) Has been cancelled
Clients CI / test-nim (push) Has been cancelled
Clients CI / test-rust (push) Has been cancelled
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ FROM debian:bookworm-slim
|
|||||||
|
|
||||||
LABEL maintainer="BaraDB Team"
|
LABEL maintainer="BaraDB Team"
|
||||||
LABEL description="BaraDB — Multimodal Database Engine"
|
LABEL description="BaraDB — Multimodal Database Engine"
|
||||||
LABEL version="1.1.0"
|
LABEL version="1.1.4"
|
||||||
|
|
||||||
# Инсталираме runtime зависимости
|
# Инсталираме runtime зависимости
|
||||||
# libpcre3 — нужна за Nim regex (зарежда се динамично)
|
# libpcre3 — нужна за Nim regex (зарежда се динамично)
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ FROM alpine:3.19
|
|||||||
|
|
||||||
LABEL maintainer="BaraDB Team"
|
LABEL maintainer="BaraDB Team"
|
||||||
LABEL description="BaraDB — Multimodal Database Engine (source build)"
|
LABEL description="BaraDB — Multimodal Database Engine (source build)"
|
||||||
LABEL version="1.1.0"
|
LABEL version="1.1.4"
|
||||||
|
|
||||||
# Инсталираме runtime зависимости
|
# Инсталираме runtime зависимости
|
||||||
RUN apk add --no-cache ca-certificates su-exec wget pcre
|
RUN apk add --no-cache ca-certificates su-exec wget pcre
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
**A multimodal database engine written in Nim — 100% native, zero dependencies.**
|
**A multimodal database engine written in Nim — 100% native, zero dependencies.**
|
||||||
|
|
||||||
[](baradadb.nimble)
|
[](baradadb.nimble)
|
||||||
[](docs/index.md)
|
[](docs/index.md)
|
||||||
[](https://github.com/katehonz/barabaDB)
|
[](https://github.com/katehonz/barabaDB)
|
||||||
|
|
||||||
@@ -1456,7 +1456,7 @@ nim c -d:release -r benchmarks/bench_all.nim
|
|||||||
| Protocol (binary + HTTP + WS + pool + auth + ratelimit) | ✅ | 100% | v1.0.0 |
|
| Protocol (binary + HTTP + WS + pool + auth + ratelimit) | ✅ | 100% | v1.0.0 |
|
||||||
| Schema (inheritance + computed + migrations) | ✅ | 100% | v1.0.0 |
|
| Schema (inheritance + computed + migrations) | ✅ | 100% | v1.0.0 |
|
||||||
| Vector engine (HNSW + IVF-PQ + quant + SIMD + metadata) | ✅ | 100% | v1.0.0 |
|
| Vector engine (HNSW + IVF-PQ + quant + SIMD + metadata) | ✅ | 100% | v1.0.0 |
|
||||||
| Vector SQL Integration (VECTOR type, distance functions, <->, HNSW indexes) | ✅ | 100% | v1.1.0 |
|
| Vector SQL Integration (VECTOR type, distance functions, <->, HNSW indexes) | ✅ | 100% | v1.1.4 |
|
||||||
| Graph engine (all algorithms + pattern matching) | ✅ | 100% | v1.0.0 |
|
| Graph engine (all algorithms + pattern matching) | ✅ | 100% | v1.0.0 |
|
||||||
| FTS (BM25 + TF-IDF + fuzzy + regex + multi-language) | ✅ | 100% | v1.0.0 |
|
| FTS (BM25 + TF-IDF + fuzzy + regex + multi-language) | ✅ | 100% | v1.0.0 |
|
||||||
| CLI shell | ✅ | 100% | v1.0.0 |
|
| CLI shell | ✅ | 100% | v1.0.0 |
|
||||||
@@ -1464,13 +1464,13 @@ nim c -d:release -r benchmarks/bench_all.nim
|
|||||||
| Cross-modal queries | ✅ | 100% | v1.0.0 |
|
| Cross-modal queries | ✅ | 100% | v1.0.0 |
|
||||||
| Backup & Recovery | ✅ | 100% | v1.0.0 |
|
| Backup & Recovery | ✅ | 100% | v1.0.0 |
|
||||||
| Client SDKs (JS, Python, Nim, Rust) | ✅ | 100% | v1.0.0 |
|
| Client SDKs (JS, Python, Nim, Rust) | ✅ | 100% | v1.0.0 |
|
||||||
| Graph SQL Integration (CREATE GRAPH, GRAPH_TABLE, Cypher) | ✅ | 100% | v1.1.2 |
|
| Graph SQL Integration (CREATE GRAPH, GRAPH_TABLE, Cypher) | ✅ | 100% | v1.1.4 |
|
||||||
| Hybrid RAG Search (vector + FTS + RRF reranking) | ✅ | 100% | v1.1.2 |
|
| Hybrid RAG Search (vector + FTS + RRF reranking) | ✅ | 100% | v1.1.4 |
|
||||||
| AI Chunking & Auto-Embedding (`chunk()`, `embed_text()`) | ✅ | 100% | v1.1.2 |
|
| AI Chunking & Auto-Embedding (`chunk()`, `embed_text()`) | ✅ | 100% | v1.1.4 |
|
||||||
| NL→SQL (`nl_to_sql()`, `schema_prompt()`) | ✅ | 100% | v1.1.2 |
|
| NL→SQL (`nl_to_sql()`, `schema_prompt()`) | ✅ | 100% | v1.1.4 |
|
||||||
| MCP Server (STDIO JSON-RPC for AI agents) | ✅ | 100% | v1.1.2 |
|
| MCP Server (STDIO JSON-RPC for AI agents) | ✅ | 100% | v1.1.4 |
|
||||||
| LangChain Vector Store (Python + JS) | ✅ | 100% | v1.1.2 |
|
| LangChain Vector Store (Python + JS) | ✅ | 100% | v1.1.4 |
|
||||||
| Production Hardening (prop tests, fuzz tests, thread safety) | ✅ | 100% | v1.1.2 |
|
| Production Hardening (prop tests, fuzz tests, thread safety) | ✅ | 100% | v1.1.4 |
|
||||||
|
|
||||||
## Current Limitations
|
## Current Limitations
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
# Package
|
# Package
|
||||||
version = "1.1.2"
|
version = "1.1.4"
|
||||||
author = "BaraDB Team"
|
author = "BaraDB Team"
|
||||||
description = "BaraDB — Multimodal database written in Nim"
|
description = "BaraDB — Multimodal database written in Nim"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "baradb",
|
"name": "baradb",
|
||||||
"version": "1.1.2",
|
"version": "1.1.4",
|
||||||
"description": "Official JavaScript/Node.js client for BaraDB — Multimodal Database Engine",
|
"description": "Official JavaScript/Node.js client for BaraDB — Multimodal Database Engine",
|
||||||
"main": "baradb.js",
|
"main": "baradb.js",
|
||||||
"types": "baradb.d.ts",
|
"types": "baradb.d.ts",
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Official Nim client for **BaraDB** — a multimodal database engine.
|
|||||||
Add to your `.nimble` file:
|
Add to your `.nimble` file:
|
||||||
|
|
||||||
```nim
|
```nim
|
||||||
requires "baradb >= 1.1.0"
|
requires "baradb >= 1.1.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
Or clone locally:
|
Or clone locally:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Package
|
# Package
|
||||||
|
|
||||||
version = "1.1.2"
|
version = "1.1.4"
|
||||||
author = "BaraDB Team"
|
author = "BaraDB Team"
|
||||||
description = "Official Nim client for BaraDB — async binary protocol client"
|
description = "Official Nim client for BaraDB — async binary protocol client"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ from .core import (
|
|||||||
ResultFormat,
|
ResultFormat,
|
||||||
)
|
)
|
||||||
|
|
||||||
__version__ = "1.1.2"
|
__version__ = "1.1.4"
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"Client",
|
"Client",
|
||||||
"QueryBuilder",
|
"QueryBuilder",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "baradb"
|
name = "baradb"
|
||||||
version = "1.1.2"
|
version = "1.1.4"
|
||||||
description = "Official Python client for BaraDB — Multimodal Database Engine"
|
description = "Official Python client for BaraDB — Multimodal Database Engine"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = { text = "Apache-2.0" }
|
license = { text = "Apache-2.0" }
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "baradb"
|
name = "baradb"
|
||||||
version = "1.1.2"
|
version = "1.1.4"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["BaraDB Team <team@baradb.dev>"]
|
authors = ["BaraDB Team <team@baradb.dev>"]
|
||||||
description = "Official async Rust client for BaraDB — binary protocol client"
|
description = "Official async Rust client for BaraDB — binary protocol client"
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ strip build/baradadb
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/baradadb --version
|
./build/baradadb --version
|
||||||
# المتوقع: BaraDB v1.1.0 — Multimodal Database Engine
|
# المتوقع: BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
```
|
```
|
||||||
|
|
||||||
## تشغيل الاختبارات
|
## تشغيل الاختبارات
|
||||||
@@ -237,7 +237,7 @@ docker-compose up -d
|
|||||||
أضف إلى ملف `.nimble` الخاص بك:
|
أضف إلى ملف `.nimble` الخاص بك:
|
||||||
|
|
||||||
```nim
|
```nim
|
||||||
requires "barabadb >= 1.1.0"
|
requires "barabadb >= 1.1.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
استخدم في الكود:
|
استخدم في الكود:
|
||||||
@@ -258,7 +258,7 @@ db.close()
|
|||||||
./build/baradadb
|
./build/baradadb
|
||||||
|
|
||||||
# المخرجات المتوقعة:
|
# المخرجات المتوقعة:
|
||||||
# BaraDB v1.1.0 — Multimodal Database Engine
|
# BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
# BaraDB TCP listening on 127.0.0.1:9472
|
# BaraDB TCP listening on 127.0.0.1:9472
|
||||||
|
|
||||||
# الاختبار عبر HTTP API
|
# الاختبار عبر HTTP API
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
### Добавки
|
### Добавки
|
||||||
|
|
||||||
- **Client SDKs v1.1.0** — Пълнофункционални клиенти за всички езици:
|
- **Client SDKs v1.1.4** — Пълнофункционални клиенти за всички езици:
|
||||||
- JavaScript: TypeScript дефиниции, package.json, примери, unit и integration тестове
|
- JavaScript: TypeScript дефиниции, package.json, примери, unit и integration тестове
|
||||||
- Python: Преструктуриран като пакет (`baradb/` с `__init__.py` и `core.py`), pyproject.toml, примери, тестове (query builder, wire protocol, integration)
|
- Python: Преструктуриран като пакет (`baradb/` с `__init__.py` и `core.py`), pyproject.toml, примери, тестове (query builder, wire protocol, integration)
|
||||||
- Nim: Примери, integration тестове, README
|
- Nim: Примери, integration тестове, README
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
### Промени
|
### Промени
|
||||||
|
|
||||||
- **Версията е вдигната до 1.1.0** във всички компоненти (сървър, Docker изображения, клиенти, CLI)
|
- **Версията е вдигната до 1.1.0** във всички компоненти (сървър, Docker изображения, клиенти, CLI)
|
||||||
- **README** — Версионният badge е обновен; всички feature таблици вече реферират v1.1.0
|
- **README** — Версионният badge е обновен; всички feature таблици вече реферират v1.1.4
|
||||||
- **TLA+ Формална Верификация** — Добавени `crossmodal.tla`, `backup.tla`, `recovery.tla`; symmetry reduction във всички 9 спецификации
|
- **TLA+ Формална Верификация** — Добавени `crossmodal.tla`, `backup.tla`, `recovery.tla`; symmetry reduction във всички 9 спецификации
|
||||||
- **Чист build** — 0 компилаторни предупреждения на Nim 2.2.10
|
- **Чист build** — 0 компилаторни предупреждения на Nim 2.2.10
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -129,7 +129,7 @@ asyncio.run(main())
|
|||||||
|
|
||||||
```nim
|
```nim
|
||||||
# Във вашия .nimble файл
|
# Във вашия .nimble файл
|
||||||
requires "barabadb >= 1.1.0"
|
requires "barabadb >= 1.1.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Вградена Употреба
|
### Вградена Употреба
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ raft_peers = "node2:9001,node3:9001"
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
BaraDB v1.1.0 — Multimodal Database Engine
|
BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
|
|
||||||
Употреба:
|
Употреба:
|
||||||
baradadb [опции]
|
baradadb [опции]
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ docker compose logs -f
|
|||||||
docker build -t baradb:latest .
|
docker build -t baradb:latest .
|
||||||
|
|
||||||
# С конкретна версия
|
# С конкретна версия
|
||||||
docker build -t baradb:1.1.0 .
|
docker build -t baradb:1.1.4 .
|
||||||
```
|
```
|
||||||
|
|
||||||
## Стартиране
|
## Стартиране
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ strip build/baradadb
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/baradadb --version
|
./build/baradadb --version
|
||||||
# Очакван резултат: BaraDB v1.1.0 — Multimodal Database Engine
|
# Очакван резултат: BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
```
|
```
|
||||||
|
|
||||||
## Стартиране на Тестове
|
## Стартиране на Тестове
|
||||||
@@ -234,7 +234,7 @@ docker-compose up -d
|
|||||||
Добавете към вашия `.nimble` файл:
|
Добавете към вашия `.nimble` файл:
|
||||||
|
|
||||||
```nim
|
```nim
|
||||||
requires "barabadb >= 1.1.0"
|
requires "barabadb >= 1.1.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
Използване в кода:
|
Използване в кода:
|
||||||
@@ -255,7 +255,7 @@ db.close()
|
|||||||
./build/baradadb
|
./build/baradadb
|
||||||
|
|
||||||
# Очакван изход:
|
# Очакван изход:
|
||||||
# BaraDB v1.1.0 — Multimodal Database Engine
|
# BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
# BaraDB TCP listening on 127.0.0.1:9472
|
# BaraDB TCP listening on 127.0.0.1:9472
|
||||||
|
|
||||||
# Тестване с HTTP API
|
# Тестване с HTTP API
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ curl http://localhost:9470/health
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"status": "healthy",
|
"status": "healthy",
|
||||||
"version": "1.1.0",
|
"version": "1.1.4",
|
||||||
"uptime_seconds": 86400,
|
"uptime_seconds": 86400,
|
||||||
"checks": {
|
"checks": {
|
||||||
"storage": "ok",
|
"storage": "ok",
|
||||||
|
|||||||
+1
-1
@@ -119,7 +119,7 @@ GET /health
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"status": "healthy",
|
"status": "healthy",
|
||||||
"version": "1.1.0",
|
"version": "1.1.4",
|
||||||
"uptime_seconds": 86400
|
"uptime_seconds": 86400
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ Alle bemerkenswerten Änderungen an BaraDB werden in dieser Datei dokumentiert.
|
|||||||
|
|
||||||
### Hinzugefügt
|
### Hinzugefügt
|
||||||
|
|
||||||
- **Client SDKs v1.1.0** — Vollständige Clients für alle Sprachen:
|
- **Client SDKs v1.1.4** — Vollständige Clients für alle Sprachen:
|
||||||
- JavaScript: TypeScript Definitionen, package.json, Beispiele, Unit & Integration Tests
|
- JavaScript: TypeScript Definitionen, package.json, Beispiele, Unit & Integration Tests
|
||||||
- Python: Umstrukturiert als proper Package (`baradb/` mit `__init__.py` und `core.py`), pyproject.toml, Beispiele, Tests
|
- Python: Umstrukturiert als proper Package (`baradb/` mit `__init__.py` und `core.py`), pyproject.toml, Beispiele, Tests
|
||||||
- Nim: Beispiele, Integration Tests, README
|
- Nim: Beispiele, Integration Tests, README
|
||||||
@@ -81,7 +81,7 @@ Alle bemerkenswerten Änderungen an BaraDB werden in dieser Datei dokumentiert.
|
|||||||
### Geändert
|
### Geändert
|
||||||
|
|
||||||
- **Version auf 1.1.0 erhöht** über alle Komponenten
|
- **Version auf 1.1.0 erhöht** über alle Komponenten
|
||||||
- **README** — Version Badge aktualisiert; alle Feature-Tabellen referenzieren jetzt v1.1.0
|
- **README** — Version Badge aktualisiert; alle Feature-Tabellen referenzieren jetzt v1.1.4
|
||||||
- **TLA+ Formal Verification** — `crossmodal.tla`, `backup.tla`, `recovery.tla` hinzugefügt; Symmetrie-Reduktion in allen 9 Specs
|
- **TLA+ Formal Verification** — `crossmodal.tla`, `backup.tla`, `recovery.tla` hinzugefügt; Symmetrie-Reduktion in allen 9 Specs
|
||||||
- **Clean build** — 0 Compiler Warnings auf Nim 2.2.10
|
- **Clean build** — 0 Compiler Warnings auf Nim 2.2.10
|
||||||
|
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ raft_peers = "node2:9001,node3:9001"
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
BaraDB v1.1.0 — Multimodal Database Engine
|
BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
baradadb [options]
|
baradadb [options]
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ docker compose up -d
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/baradadb --version
|
./build/baradadb --version
|
||||||
# BaraDB v1.1.2 — Multimodal Database Engine
|
# BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
|
|
||||||
./build/baramcp --data-dir ./data &
|
./build/baramcp --data-dir ./data &
|
||||||
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' | ./build/baramcp
|
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' | ./build/baramcp
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ All notable changes to BaraDB are documented in this file.
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- **Client SDKs v1.1.0** — Full-featured clients for all languages:
|
- **Client SDKs v1.1.4** — Full-featured clients for all languages:
|
||||||
- JavaScript: TypeScript definitions, package.json, examples, unit & integration tests
|
- JavaScript: TypeScript definitions, package.json, examples, unit & integration tests
|
||||||
- Python: Restructured as proper package (`baradb/` with `__init__.py` and `core.py`), pyproject.toml, examples, tests (query builder, wire protocol, integration)
|
- Python: Restructured as proper package (`baradb/` with `__init__.py` and `core.py`), pyproject.toml, examples, tests (query builder, wire protocol, integration)
|
||||||
- Nim: Examples, integration tests, README
|
- Nim: Examples, integration tests, README
|
||||||
@@ -81,7 +81,7 @@ All notable changes to BaraDB are documented in this file.
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- **Version bumped to 1.1.0** across all components (server, Docker images, clients, CLI)
|
- **Version bumped to 1.1.0** across all components (server, Docker images, clients, CLI)
|
||||||
- **README** — Version badge updated; all feature tables now reference v1.1.0
|
- **README** — Version badge updated; all feature tables now reference v1.1.4
|
||||||
- **TLA+ Formal Verification** — Added `crossmodal.tla`, `backup.tla`, `recovery.tla`; symmetry reduction in all 9 specs
|
- **TLA+ Formal Verification** — Added `crossmodal.tla`, `backup.tla`, `recovery.tla`; symmetry reduction in all 9 specs
|
||||||
- **Clean build** — 0 compiler warnings on Nim 2.2.10
|
- **Clean build** — 0 compiler warnings on Nim 2.2.10
|
||||||
|
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ raft_peers = "node2:9001,node3:9001"
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
BaraDB v1.1.0 — Multimodal Database Engine
|
BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
baradadb [options]
|
baradadb [options]
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ strip build/baradadb
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/baradadb --version
|
./build/baradadb --version
|
||||||
# Expected: BaraDB v1.1.0 — Multimodal Database Engine
|
# Expected: BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running Tests
|
## Running Tests
|
||||||
@@ -259,7 +259,7 @@ db.close()
|
|||||||
./build/baradadb
|
./build/baradadb
|
||||||
|
|
||||||
# Expected output:
|
# Expected output:
|
||||||
# BaraDB v1.1.0 — Multimodal Database Engine
|
# BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
# BaraDB TCP listening on 127.0.0.1:9472
|
# BaraDB TCP listening on 127.0.0.1:9472
|
||||||
|
|
||||||
# Test with HTTP API
|
# Test with HTTP API
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ strip build/baradadb
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/baradadb --version
|
./build/baradadb --version
|
||||||
# انتظار: BaraDB v1.1.0 — Multimodal Database Engine
|
# انتظار: BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
```
|
```
|
||||||
|
|
||||||
## اجرای تستها
|
## اجرای تستها
|
||||||
@@ -259,7 +259,7 @@ db.close()
|
|||||||
./build/baradadb
|
./build/baradadb
|
||||||
|
|
||||||
# خروجی مورد انتظار:
|
# خروجی مورد انتظار:
|
||||||
# BaraDB v1.1.0 — Multimodal Database Engine
|
# BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
# BaraDB TCP listening on 127.0.0.1:9472
|
# BaraDB TCP listening on 127.0.0.1:9472
|
||||||
|
|
||||||
# تست با HTTP API
|
# تست با HTTP API
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ raft_peers = "node2:9001,node3:9001"
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
BaraDB v1.1.0 — Multimodal Database Engine
|
BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
baradadb [options]
|
baradadb [options]
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ strip build/baradadb
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/baradadb --version
|
./build/baradadb --version
|
||||||
# Ожидается: BaraDB v1.1.0 — Multimodal Database Engine
|
# Ожидается: BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
```
|
```
|
||||||
|
|
||||||
## Запуск тестов
|
## Запуск тестов
|
||||||
@@ -259,7 +259,7 @@ db.close()
|
|||||||
./build/baradadb
|
./build/baradadb
|
||||||
|
|
||||||
# Ожидаемый вывод:
|
# Ожидаемый вывод:
|
||||||
# BaraDB v1.1.0 — Multimodal Database Engine
|
# BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
# BaraDB TCP listening on 127.0.0.1:9472
|
# BaraDB TCP listening on 127.0.0.1:9472
|
||||||
|
|
||||||
# Проверка через HTTP API
|
# Проверка через HTTP API
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ strip build/baradadb
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/baradadb --version
|
./build/baradadb --version
|
||||||
# Beklenen: BaraDB v1.1.0 — Multimodal Database Engine
|
# Beklenen: BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
```
|
```
|
||||||
|
|
||||||
## Testleri Çalıştırma
|
## Testleri Çalıştırma
|
||||||
@@ -237,7 +237,7 @@ docker-compose up -d
|
|||||||
`.nimble` dosyanıza ekleyin:
|
`.nimble` dosyanıza ekleyin:
|
||||||
|
|
||||||
```nim
|
```nim
|
||||||
requires "barabadb >= 1.1.0"
|
requires "barabadb >= 1.1.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
Kodunuzda kullanın:
|
Kodunuzda kullanın:
|
||||||
@@ -258,7 +258,7 @@ db.close()
|
|||||||
./build/baradadb
|
./build/baradadb
|
||||||
|
|
||||||
# Beklenen çıktı:
|
# Beklenen çıktı:
|
||||||
# BaraDB v1.1.0 — Multimodal Database Engine
|
# BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
# BaraDB TCP listening on 127.0.0.1:9472
|
# BaraDB TCP listening on 127.0.0.1:9472
|
||||||
|
|
||||||
# HTTP API ile test et
|
# HTTP API ile test et
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ raft_peers = "node2:9001,node3:9001"
|
|||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
BaraDB v1.1.0 — Multimodal Database Engine
|
BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
baradadb [options]
|
baradadb [options]
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ strip build/baradadb
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
./build/baradadb --version
|
./build/baradadb --version
|
||||||
# 预期输出: BaraDB v1.1.0 — Multimodal Database Engine
|
# 预期输出: BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
```
|
```
|
||||||
|
|
||||||
## 运行测试
|
## 运行测试
|
||||||
@@ -259,7 +259,7 @@ db.close()
|
|||||||
./build/baradadb
|
./build/baradadb
|
||||||
|
|
||||||
# 预期输出:
|
# 预期输出:
|
||||||
# BaraDB v1.1.0 — Multimodal Database Engine
|
# BaraDB v1.1.4 — Multimodal Database Engine
|
||||||
# BaraDB TCP listening on 127.0.0.1:9472
|
# BaraDB TCP listening on 127.0.0.1:9472
|
||||||
|
|
||||||
# 使用 HTTP API 测试
|
# 使用 HTTP API 测试
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ This directory contains TLA+ specifications for core BaraDB distributed-systems
|
|||||||
- Java Runtime Environment (JRE) 8+ — the bundled `tla2tools.jar` contains TLC and SANY.
|
- Java Runtime Environment (JRE) 8+ — the bundled `tla2tools.jar` contains TLC and SANY.
|
||||||
- Or [TLA+ Toolbox](https://lamport.azurewebsites.net/tla/toolbox.html) (GUI + TLC model checker).
|
- Or [TLA+ Toolbox](https://lamport.azurewebsites.net/tla/toolbox.html) (GUI + TLC model checker).
|
||||||
|
|
||||||
## Verified State Space (v1.1.0)
|
## Verified State Space (v1.1.4)
|
||||||
|
|
||||||
| Spec | States Generated | Distinct States | Depth |
|
| Spec | States Generated | Distinct States | Depth |
|
||||||
|------|-----------------|-----------------|-------|
|
|------|-----------------|-----------------|-------|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ run_tlc() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo "=============================================="
|
echo "=============================================="
|
||||||
echo " BaraDB Formal Verification Suite v1.1.0"
|
echo " BaraDB Formal Verification Suite v1.1.4"
|
||||||
echo " Running TLC model checker on all specs"
|
echo " Running TLC model checker on all specs"
|
||||||
echo "=============================================="
|
echo "=============================================="
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import ../query/lexer
|
|||||||
import ../query/parser
|
import ../query/parser
|
||||||
|
|
||||||
const
|
const
|
||||||
Version = "1.1.2"
|
Version = "1.1.4"
|
||||||
Prompt = "bara> "
|
Prompt = "bara> "
|
||||||
ContinuationPrompt = " .. > "
|
ContinuationPrompt = " .. > "
|
||||||
|
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ proc queryHandler(server: HttpServer): RequestHandler =
|
|||||||
proc healthHandler(): RequestHandler =
|
proc healthHandler(): RequestHandler =
|
||||||
return proc(request: Request) {.gcsafe.} =
|
return proc(request: Request) {.gcsafe.} =
|
||||||
let ctx = newContext(request)
|
let ctx = newContext(request)
|
||||||
ctx.json(%*{"status": "ok", "version": "1.1.2"})
|
ctx.json(%*{"status": "ok", "version": "1.1.4"})
|
||||||
|
|
||||||
proc metricsHandler(server: HttpServer): RequestHandler =
|
proc metricsHandler(server: HttpServer): RequestHandler =
|
||||||
return proc(request: Request) {.gcsafe.} =
|
return proc(request: Request) {.gcsafe.} =
|
||||||
@@ -521,7 +521,7 @@ function showTab(idx){
|
|||||||
}
|
}
|
||||||
setInterval(() => { if(document.querySelectorAll('.panel')[4].classList.contains('active')) loadMetrics() }, 5000)
|
setInterval(() => { if(document.querySelectorAll('.panel')[4].classList.contains('active')) loadMetrics() }, 5000)
|
||||||
</script>
|
</script>
|
||||||
<div class='status' style='text-align:center;padding:10px'>BaraDB v1.1.0 — Multimodal Database Engine</div>
|
<div class='status' style='text-align:center;padding:10px'>BaraDB v1.1.4 — Multimodal Database Engine</div>
|
||||||
</body></html>"""
|
</body></html>"""
|
||||||
request.respond(200, @[("Content-Type", "text/html; charset=utf-8")], html)
|
request.respond(200, @[("Content-Type", "text/html; charset=utf-8")], html)
|
||||||
|
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ proc exportOtlp*(tracer: Tracer, endpoint: string = "http://localhost:4318/v1/tr
|
|||||||
{"key": "service.name", "value": {"stringValue": "baradadb"}}
|
{"key": "service.name", "value": {"stringValue": "baradadb"}}
|
||||||
]},
|
]},
|
||||||
"scopeSpans": [{
|
"scopeSpans": [{
|
||||||
"scope": {"name": "baradadb-tracer", "version": "1.1.2"},
|
"scope": {"name": "baradadb-tracer", "version": "1.1.4"},
|
||||||
"spans": otlpSpans
|
"spans": otlpSpans
|
||||||
}]
|
}]
|
||||||
}]
|
}]
|
||||||
|
|||||||
@@ -503,7 +503,7 @@ proc handleInitialize(params: JsonNode): JsonNode =
|
|||||||
"protocolVersion": "2024-11-05",
|
"protocolVersion": "2024-11-05",
|
||||||
"serverInfo": {
|
"serverInfo": {
|
||||||
"name": "BaraDB MCP Server",
|
"name": "BaraDB MCP Server",
|
||||||
"version": "1.1.2"
|
"version": "1.1.4"
|
||||||
},
|
},
|
||||||
"capabilities": {
|
"capabilities": {
|
||||||
"tools": {}
|
"tools": {}
|
||||||
@@ -690,7 +690,7 @@ proc processMessage(raw: string): string =
|
|||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
proc init*(dataDir: string = "./data"): McpServerCtx =
|
proc init*(dataDir: string = "./data"): McpServerCtx =
|
||||||
logToStderr("BaraDB MCP Server v1.1.2 initializing...")
|
logToStderr("BaraDB MCP Server v1.1.4 initializing...")
|
||||||
let db = newLSMTree(dataDir)
|
let db = newLSMTree(dataDir)
|
||||||
let ctx = newExecutionContext(db)
|
let ctx = newExecutionContext(db)
|
||||||
ctx.txnManager = newTxnManager()
|
ctx.txnManager = newTxnManager()
|
||||||
|
|||||||
+1
-1
@@ -86,7 +86,7 @@ proc main() =
|
|||||||
# Init structured logger from config
|
# Init structured logger from config
|
||||||
let logLvl = parseEnum[LogLevel]("ll" & capitalizeAscii(config.logLevel))
|
let logLvl = parseEnum[LogLevel]("ll" & capitalizeAscii(config.logLevel))
|
||||||
defaultLogger = newLogger(logLvl, config.logFile)
|
defaultLogger = newLogger(logLvl, config.logFile)
|
||||||
info("BaraDB v1.1.0 — Multimodal Database Engine")
|
info("BaraDB v1.1.4 — Multimodal Database Engine")
|
||||||
|
|
||||||
# Security check: warn if JWT secret is not configured
|
# Security check: warn if JWT secret is not configured
|
||||||
if config.jwtSecret.len == 0:
|
if config.jwtSecret.len == 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user