Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.hub
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
HIVEHUB_SERVICE_API_KEY=dev-test-key-for-local-development
TZ=America/Sao_Paulo
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All notable changes to this project will be documented in this file.

## [2.2.0] - 2025-12-11

### Changed
- **Version Synchronization**: Updated all SDKs and server to version 2.2.0
- Python SDK: `vectorizer-sdk` v2.2.0
- TypeScript SDK: `@hivehub/vectorizer-sdk` v2.2.0
- JavaScript SDK: `@hivehub/vectorizer-sdk-js` v2.2.0
- Rust SDK: `vectorizer-sdk` v2.2.0
- C# SDK: `Vectorizer.Sdk` v2.2.0
- Go SDK: `github.com/hivellm/vectorizer-sdk-go` v2.2.0
- n8n Integration: v2.2.0
- LangChain.js Integration: v2.2.0
- Langflow Integration: v2.2.0
- **Documentation Updates**: Updated all SDK READMEs with correct version numbers and package names
- Fixed package name references (@hivellm → @hivehub for TypeScript/JavaScript SDKs)
- Updated installation commands with latest versions
- Synchronized version information across all documentation

## [2.1.0] - 2024-12-10

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vectorizer"
version = "2.1.0"
version = "2.2.0"
edition = "2024"
authors = ["HiveLLM Contributors"]
description = "High-performance, in-memory vector database written in Rust"
Expand Down
30 changes: 18 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,15 @@ A high-performance vector database and search engine built in Rust, designed for
- **🔒 Security**: JWT + API Key authentication with RBAC
- **🔐 Payload Encryption**: Optional ECC-P256 + AES-256-GCM payload encryption with zero-knowledge architecture ([docs](docs/features/encryption/README.md))

## 🎉 Latest Release: v2.1.0 - Payload Encryption
## 🎉 Latest Release: v2.2.0 - Version Synchronization

**New in v2.1.0:**
**New in v2.2.0:**
- Synchronized all SDKs and server to version 2.2.0
- Updated package names: TypeScript/JavaScript SDKs now use `@hivehub` scope
- Comprehensive documentation updates across all SDKs
- All SDKs fully synchronized and tested

**Previous Release (v2.1.0):**
- Added optional ECC-AES payload encryption with zero-knowledge architecture
- ECC-P256 + AES-256-GCM for end-to-end encrypted vector payloads
- Collection-level encryption policies (optional, required, mixed)
Expand Down Expand Up @@ -381,9 +387,9 @@ Comprehensive feature comparison with major vector database solutions:
- **Milvus**: Large-scale deployments requiring advanced scalability features
- **Chroma**: Python-first applications with simple setup requirements

## 🔧 Recent Improvements (v1.8.x)
## 🔧 Recent Improvements (v2.0.0 - v2.2.0)

### New Features (v1.8.3+)
### New Features (v2.0.0+)

- **✅ Dashboard Authentication**: Complete authentication system for the dashboard
- Login page with username/password form and modern UI
Expand All @@ -401,7 +407,7 @@ Comprehensive feature comparison with major vector database solutions:
- Removed internal `Arc<RwLock<>>` wrapper for proper lock management
- Stable concurrent insert operations without blocking

### Quality Improvements (v1.8.1+)
### Quality Improvements (v2.0.0+)

- **✅ Dashboard SPA Routing Fix**: Browser refresh now works on all dashboard routes
- **✅ File Watcher Improvements**: Uses default collection instead of creating empty collections
Expand Down Expand Up @@ -466,14 +472,14 @@ Cursor IDE configuration:

## 📦 Client SDKs

All SDKs are synchronized with server version **1.8.5**:
All SDKs are synchronized with server version **2.2.0**:

- **Python**: `pip install vectorizer-sdk` (v1.8.5)
- **TypeScript**: `npm install @hivellm/vectorizer-sdk` (v1.8.5)
- **Rust**: `cargo add vectorizer-sdk` (v1.8.5)
- **JavaScript**: `npm install @hivellm/vectorizer-sdk-js` (v1.8.5)
- **C#**: `dotnet add package Vectorizer.SDK` (v1.8.5)
- **Go**: `go get github.com/hivellm/vectorizer/sdks/go` (v1.8.5)
- **Python**: `pip install vectorizer-sdk` (v2.2.0)
- **TypeScript**: `npm install @hivehub/vectorizer-sdk` (v2.2.0)
- **Rust**: `cargo add vectorizer-sdk` (v2.2.0)
- **JavaScript**: `npm install @hivehub/vectorizer-sdk-js` (v2.2.0)
- **C#**: `dotnet add package Vectorizer.Sdk` (v2.2.0)
- **Go**: `go get github.com/hivellm/vectorizer-sdk-go` (v2.2.0)

## 🔗 Workflow & LLM Integrations

Expand Down
1 change: 1 addition & 0 deletions dashboard/src/components/ui/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ export default function Checkbox({ id, checked, onChange, label, disabled = fals






37 changes: 17 additions & 20 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.8'
version: "3.8"

services:
vectorizer-dev:
Expand All @@ -8,29 +8,27 @@ services:
args:
- PROFILE=release
- FEATURES=

container_name: vectorizer-dev

ports:
- "15002:15002" # MCP + REST API
- "15003:15003" # Additional port
- "15002:15002" # MCP + REST API
- "15003:15003" # Additional port

volumes:
# Persistent data
- ./vectorizer-data:/vectorizer/data
- ./vectorizer-storage:/vectorizer/storage
- ./vectorizer-snapshots:/vectorizer/snapshots
- ./vectorizer-dashboard:/vectorizer/dashboard

- ./data:/vectorizer/data
- ./dashboard:/vectorizer/dashboard

# Workspace configuration for Docker
- ./workspace.docker.yml:/vectorizer/workspace.yml:ro

# Mount entire monorepo for development
- ../../:/workspace:ro

# Mount logs for debugging
- ./logs:/vectorizer/.logs

environment:
- VECTORIZER_HOST=0.0.0.0
- VECTORIZER_PORT=15002
Expand All @@ -44,23 +42,22 @@ services:
- VECTORIZER_ADMIN_USERNAME=admin
- VECTORIZER_ADMIN_PASSWORD=admin
- VECTORIZER_JWT_SECRET=dev-secret-key

restart: unless-stopped

healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:15002/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s

# For development, allow more resources
deploy:
resources:
limits:
cpus: '8.0'
cpus: "8.0"
memory: 8G
reservations:
cpus: '4.0'
cpus: "4.0"
memory: 4G

8 changes: 1 addition & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:

volumes:
# Persistent data
- ./vectorizer-data:/vectorizer/data
- ./data:/vectorizer/data
- ./../../:/workspace:ro

# Workspace configuration for Docker (paths are /workspace/*)
Expand Down Expand Up @@ -53,9 +53,3 @@ services:
reservations:
cpus: "2.0"
memory: 2G
# Create named volumes (optional, for better management)
# volumes:
# vectorizer-data:
# vectorizer-storage:
# vectorizer-snapshots:

2 changes: 1 addition & 1 deletion scripts/docker-build.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Script to build Docker image
# Usage: .\scripts\docker-build.ps1 -Tag 2.0.0
# Usage: .\scripts\docker-build.ps1 -Tag 2.1.0

param(
[Parameter(Mandatory=$false)]
Expand Down
68 changes: 68 additions & 0 deletions scripts/docker-hub-up.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#!/usr/bin/env pwsh
# Start Vectorizer with HiveHub integration

param(
[switch]$Build,
[switch]$Logs
)

$ErrorActionPreference = "Stop"

Write-Host "🚀 Starting Vectorizer with HiveHub Integration" -ForegroundColor Cyan

# Check if .env.hub exists
if (-not (Test-Path ".env.hub")) {
Write-Host "⚠️ .env.hub not found. Creating from template..." -ForegroundColor Yellow
Copy-Item ".env.hub.example" ".env.hub"
Write-Host "❗ Please edit .env.hub and set your HIVEHUB_SERVICE_API_KEY" -ForegroundColor Red
Write-Host " Then run this script again." -ForegroundColor Red
exit 1
}

# Check if API key is set
$envContent = Get-Content ".env.hub" -Raw
if ($envContent -match "HIVEHUB_SERVICE_API_KEY=your-service-api-key-here") {
Write-Host "❗ Please set your HIVEHUB_SERVICE_API_KEY in .env.hub" -ForegroundColor Red
Write-Host " Get your API key from: https://hivehub.cloud/dashboard/api-keys" -ForegroundColor Yellow
exit 1
}

# Build if requested
if ($Build) {
Write-Host "🔨 Building Docker image..." -ForegroundColor Yellow
docker-compose -f docker-compose.hub.yml build
if ($LASTEXITCODE -ne 0) {
Write-Host "❌ Build failed" -ForegroundColor Red
exit 1
}
}

# Start container
Write-Host "▶️ Starting container..." -ForegroundColor Green
docker-compose --env-file .env.hub -f docker-compose.hub.yml up -d

if ($LASTEXITCODE -ne 0) {
Write-Host "❌ Failed to start container" -ForegroundColor Red
exit 1
}

Write-Host "✅ Container started successfully!" -ForegroundColor Green
Write-Host ""
Write-Host "📊 Service Information:" -ForegroundColor Cyan
Write-Host " REST API: http://localhost:15002" -ForegroundColor White
Write-Host " Dashboard: http://localhost:15002" -ForegroundColor White
Write-Host " Health: http://localhost:15002/health" -ForegroundColor White
Write-Host " Metrics: http://localhost:15002/prometheus/metrics" -ForegroundColor White
Write-Host " gRPC: localhost:15003" -ForegroundColor White
Write-Host ""

# Show logs if requested
if ($Logs) {
Write-Host "📝 Following logs (Ctrl+C to stop):" -ForegroundColor Cyan
docker logs -f vectorizer-hub
} else {
Write-Host "💡 Tip: Use -Logs flag to follow logs" -ForegroundColor Yellow
Write-Host " Example: .\scripts\docker-hub-up.ps1 -Logs" -ForegroundColor Gray
Write-Host ""
Write-Host " Or manually: docker logs -f vectorizer-hub" -ForegroundColor Gray
}
4 changes: 2 additions & 2 deletions scripts/docker-push.ps1
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Script to push Docker image to Docker Hub
# Usage: .\scripts\docker-push.ps1 -Tag 2.0.0
# Usage: .\scripts\docker-push.ps1 -Tag 2.1.0
#
# For building with attestations (recommended for better Docker Scout score):
# .\scripts\docker-build.ps1 -Tag 2.0.0 -Push
# .\scripts\docker-build.ps1 -Tag 2.1.0 -Push

param(
[Parameter(Mandatory=$false)]
Expand Down
4 changes: 2 additions & 2 deletions sdks/csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
High-performance C# SDK for Vectorizer vector database.

**Package**: `Vectorizer.Sdk`
**Version**: 1.5.1
**Version**: 2.2.0
**NuGet**: https://www.nuget.org/packages/Vectorizer.Sdk

## Features
Expand Down Expand Up @@ -49,7 +49,7 @@ dotnet add package Vectorizer.Sdk
Install-Package Vectorizer.Sdk

# Or specific version
dotnet add package Vectorizer.Sdk --version 1.5.1
dotnet add package Vectorizer.Sdk --version 2.2.0
```

## Quick Start
Expand Down
2 changes: 1 addition & 1 deletion sdks/csharp/Vectorizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<RepositoryUrl>https://github.com/hivellm/vectorizer</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>icon.png</PackageIcon>
<Version>2.1.0</Version>
<Version>2.2.0</Version>
<!-- SourceLink Configuration -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
Expand Down
4 changes: 2 additions & 2 deletions sdks/go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
High-performance Go SDK for Vectorizer vector database.

**Package**: `github.com/hivellm/vectorizer-sdk-go`
**Version**: 1.5.1
**Version**: 2.2.0

## Features

Expand Down Expand Up @@ -44,7 +44,7 @@ High-performance Go SDK for Vectorizer vector database.
go get github.com/hivellm/vectorizer-sdk-go

# Or specific version
go get github.com/hivellm/vectorizer-sdk-go@v1.5.1
go get github.com/hivellm/vectorizer-sdk-go@v2.2.0
```

## Quick Start
Expand Down
2 changes: 1 addition & 1 deletion sdks/go/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package vectorizer

// Version is the current version of the Vectorizer Go SDK
const Version = "2.1.0"
const Version = "2.2.0"
Loading
Loading