Kategorie: � SDK Publishing
Version: v1.3.0
Status: ✅ Produktionsreif
Letztes Update: 22. Dezember 2025
- 📋 Übersicht
- SDK Feature Matrix
- Publishing Process
- Registry-Spezifische Guides
- Best Practices
- Troubleshooting
- Siehe auch
- Changelog
Vollständiger Publishing Guide für alle ThemisDB Client SDKs. Alle SDKs werden im clients/ Verzeichnis gepflegt und haben Feature-Parität.
Alle SDKs unterstützen:
| Feature | Beschreibung | Status |
|---|---|---|
| CRUD Operations | Create, Read, Update, Delete | Alle SDKs |
| AQL Queries | Query execution mit Parametern | Alle SDKs |
| Transactions | ACID mit Isolation Levels | JS, Python, Rust |
| Graph API | traverse, shortestPath, neighbors | Alle SDKs |
| Vector API | vectorSearch, vectorUpsert, vectorDelete | Alle SDKs |
| Batch Operations | Batch get/put/delete | Alle SDKs |
| Topology-Aware | Automatic shard routing | Alle SDKs |
| TLS/mTLS | Secure connections | Alle SDKs |
- Alle Tests passing
- Feature parity verifiziert
- Version numbers aktualisiert
- CHANGELOG aktualisiert
- README mit neuen Features
- Breaking changes dokumentiert
- Create release branch
- Update version numbers
- Run full test suite
- Build packages
- Publish to registries
- Tag release in Git
- Update documentation
Package: @themisdb/client
cd clients/javascript
# Build
npm install
npm run build
# Test
npm test
# Publish
npm publish --access public
# Beta Release
npm publish --tag betaInstallation:
npm install @themisdb/clientPackage: themisdb-client
cd clients/python
# Setup
python -m venv venv
source venv/bin/activate
# Build
pip install build twine
python -m build
# Test Upload
twine upload --repository testpypi dist/*
# Production Upload
twine upload dist/*Installation:
pip install themisdb-clientPackage: themisdb
cd clients/rust
# Pre-checks
cargo fmt -- --check
cargo clippy -- -D warnings
cargo test
# Publish
cargo publishInstallation:
[dependencies]
themisdb = "1.0.0"Alle SDKs sollten gleiche Major Version haben:
@themisdb/client@1.0.0themisdb-client==1.0.0themisdb = "1.0.0"
Vor Release sicherstellen dass alle SDKs:
- Gleiche API haben
- Gleiche Features unterstützen
- Kompatible Error Handling
- Ähnliche Performance
- README aktuell
- API docs generiert
- Examples getestet
- Migration guides vorhanden
Problem: Package build schlägt fehl
Lösung:
# Clean build artifacts
rm -rf dist/ build/ *.egg-info
# Rebuild
python -m build
npm run build
cargo clean && cargo buildProblem: Tests scheitern vor Release
Lösung:
# Start ThemisDB
docker-compose up -d
# Run tests
npm test
pytest
cargo test- Aktualisierung auf v1.3.0 Template
- Feature Matrix erweitert
- Registry Guides aktualisiert
- Best Practices Sektion
- Alle Links aktualisiert
- Initial Publishing Guide
- NPM, PyPI, crates.io Coverage