Reference
Changelog
CoreSDK version history
Changelog
All notable changes to CoreSDK are documented here. CoreSDK follows Semantic Versioning.
v0.1.0 — 2026-03-19
Initial public release of CoreSDK.
Features
Authentication
- JWT verification via JWKS with automatic key rotation and caching
- Configurable
aud,iss, andexpvalidation with clock-skew leeway - Support for RS256, RS384, RS512, ES256, ES384, and EdDSA algorithms
- Per-request JWT introspection middleware for Axum, Actix-web, Express, FastAPI, and
net/http
Authorization & Policy
- Embedded OPA engine for zero-network-hop policy evaluation
- Rego policy hot-reload from local directory (
CORESDK_POLICY_DIR) - Remote OPA bundle support with configurable polling interval
- Deny-by-default mode (
policy_default_allow = false) core policy testCLI command for local policy unit testscore policy pushfor deploying policy bundles to CoreSDK Cloud
Multi-Tenancy
- Tenant ID extraction from configurable JWT claim (
CORESDK_TENANT_CLAIM) - Per-tenant rate limiting (requests per minute, configurable burst)
- Tenant provisioning via
core tenant createCLI and REST API - Tenant-scoped audit log and trace filtering
Observability
- OpenTelemetry traces, metrics, and logs via OTLP gRPC
trace_idpropagation in all RFC 9457 error responsescore trace tailCLI for live trace streaming- Configurable sampling rate (
CORESDK_OTEL_SAMPLE_RATE)
Audit Log
- Structured audit events for every auth and policy decision
- Export to stdout, S3, GCS, or a local file
core audit exportCLI with time-range and event-type filtering
Configuration
coresdk.tomlfile-based config withCoreSDK::from_file()- Full environment variable coverage for all options (see Environment Variables)
- Fluent builder API for Rust; keyword-argument constructors for Python, Node, and Go
CLI (core)
core init— project scaffolding for Rust, Python, Node, Gocore policy test— Rego unit test runnercore policy push— policy bundle deploymentcore trace tail— live OTEL trace streamingcore tenant create— tenant provisioningcore audit export— audit log export
Error Handling
- RFC 9457
application/problem+jsonerror responses - Typed error codes:
jwt-missing,jwt-invalid,jwt-expired,jwt-unknown-key,policy-denied,tenant-not-found,rate-limit-exceeded,internal-error - Custom
ErrorMappertrait for overriding default error shapes
SDK language support
- Rust (native, first-class)
- Python (
coresdk-py) - Node / TypeScript (
@coresdk/sdk) - Go (
github.com/coresdk/sdk-go)
Roadmap
v0.2.0 — planned
- mTLS support — client certificate authentication alongside JWT
- Policy dry-run mode — evaluate a request against policies without enforcing the decision
- Audit log streaming — push audit events to Kafka or Kinesis in real time
- Per-tenant policy overrides — allow tenants to supply their own supplementary Rego rules
core tenant listandcore tenant deleteCLI commands- WASM policy runtime — run Rego policies compiled to WASM for edge deployments
- Dashboard UI — web interface for trace exploration, tenant management, and audit log search
v1.0.0 — planned
- Stable API with long-term support guarantee
- Distributed rate limiting — Redis-backed counter for multi-instance deployments
- Policy versioning — atomic bundle versioning with rollback support
- SOC 2 Type II audit controls baked in
- FIPS 140-2 compliant cryptography option
- gRPC middleware support (in addition to HTTP)
- Helm chart for Kubernetes deployment of the CoreSDK sidecar
- Terraform provider for tenant and policy management as code