RocheDB v0.4.0
RocheDB v0.4.0
RocheDB v0.4.0 adds TLS transport support and repository-level CI coverage.
Release:
https://github.com/puffball1567/rochedb/releases/tag/v0.4.0
Main Changes
- Added optional TLS transport for
roched, RocheDB Nim clients, CLI commands,
and the C ABI. - Added
roche_connect_auth_tlsas an additive C ABI entry point. - Added TLS CLI flags:
--tls--tls-ca=FILE--tls-server-name=NAME--tls-insecure-skip-verify
- Added TLS server flags:
--tls-cert=FILE--tls-key=FILE--tls-ca=FILE--tls-server-name=NAME--tls-insecure-skip-verify
- Added
docs/tls-transport.md. - Added a TLS smoke test that verifies:
- TLS health check;
- authenticated JSON put/get over TLS;
- plain clients are rejected by a TLS listener.
- Added GitHub Actions CI for:
- Nim semantic checks;
- SSL-enabled semantic checks;
- C ABI contract coverage;
- core tests;
- CLI, cluster, recovery, and universe smoke tests;
- TLS transport smoke tests.
Build Note
TLS support requires building RocheDB with Nim's SSL support:
nim c -d:ssl -d:release -o:bin/roched src/roched.nim
nim c -d:ssl -d:release -o:bin/roche src/rochecli.nimWithout -d:ssl, non-TLS operation remains available.
Verification
Before release, the following checks passed locally or in GitHub Actions:
nim check src/rochedb.nimnim check src/rochecli.nimnim check src/roched.nimnim check src/rochedb_capi.nimnim check -d:ssl src/rochecli.nimnim check -d:ssl src/roched.nimnim check -d:ssl src/rochedb_capi.nim- C ABI contract test
scripts/cluster_tls_smoke.shscripts/test_all_smoke.sh- GitHub Actions CI jobs added in this release