Skip to content

Changelog

All notable changes to Vertebra are documented on this page.

Unreleased

Added

  • Standalone optional PyO3 native wheel vertebra-sqlite (vertebra._sqlite, [sqlite]) with bundled modern SQLite 3.45+, GIL_USED = False compatibility on free-threaded Python 3.14t/3.15t, single-writer / multi-reader WAL OS worker pool, SQLite 3.45+ binary JSONB, fast < 50ms InterruptHandle query cancellation, online backup_to and restore_from, and zero-copy VTBARROW ArrowCursor streaming (select_to_arrow) and load_from_arrow.
  • Delayed-commit SyncSQLitePipeline and AsyncSQLitePipeline (driver.pipeline()) supporting batch statement execution with nested SAVEPOINT isolation.
  • Dual-mode MCP version negotiation (SUPPORTED_PROTOCOL_VERSIONS = ("2026-07-28", "2025-11-25", "2025-06-18", "2025-03-26")), MCPSessionStore, legacy initialize / ping / logging/setLevel / 2025-03-26 JSON-RPC batch arrays, DELETE /mcp, and structured -32022 negotiation payloads (#109).
  • Server-initiated GET /mcp SSE notification streams (McpHttpResponse.stream across native App, ASGI, Starlette, WSGI, Flask, and Django), Last-Event-ID replay, level-gated MCPCore.log, progress event relay, authorized resources/subscribe, notify_resource_updated, and 2026-07-28 subscriptions/listen (#109, #112).
  • SKILLS_EXTENSION (io.modelcontextprotocol/skills) filtering/URI resolution across SkillCatalog and framework mounts (#111), plus SEP-1865 UI_EXTENSION (io.modelcontextprotocol/ui) metadata (McpIcon, ToolSpec.meta, ToolRegistry.validate_ui_links, MCPCore.validate()) and app-only tool filtering (#110).
  • Google Cloud IapIdentitySource ES256 signed JWT header verification (vertebra-core[iap]), OidcTokenSource (AsyncGcpIdTokenCache + 401 single retry) for vtb ai mcp bridge --audience, incremental cancellable run_stdio_server, and resolve_app_mcp_core / is_litestar_mcp_app discovery in vtb ai mcp serve --app (#114).
  • Tool.authorize single-pass guard splitting (-32004 / -32005), Mcp-Param-* header validation (-32020), and single-use expiring confirmation consumption (ConfirmationGate.consume_call_approval).
  • SyncGcsBearerSecretProvider and AsyncGcsBearerSecretProvider in vertebra.storage wrapping SyncGcpTokenCache and AsyncGcpTokenCache (from_config, token_cache, generation, needs_refresh, invalidate) for DuckDBSecretConfig(secret_type="gcs", value_provider=...) OAuth2 bearer-token rotation.
  • Shared-memory connection broker lifecycle hardening across Rust and Python: ShmOwnerHeader stale-owner reclamation, LeaseState::Quarantined / LeaseQuarantinedError, authenticated Unix domain socket SCM_RIGHTS attachment (BrokerAttachServer, BrokerAttachClient, 0700/0600 permission checks, VERTEBRA_BROKER_SECRET), BrokerHost (vtb broker serve, vtb broker status, ShutdownReport) crash ROLLBACK cleanup, and BrokerEngineCapsule ABI v1 (BrokerEngineDiscovery, BrokerEngineRegistry) across vertebra._postgres, vertebra._mysql, vertebra._oracle, vertebra._mssql, vertebra._duckdb, and vertebra._sqlite.
  • Standalone PEP 249 vertebra.db.dbapi (SyncDBAPIConnection, AsyncDBAPIConnection, SyncDBAPIModule, AsyncDBAPIModule), isolated SQLAlchemyAsyncDBAPI (vertebra.extensions.sqlalchemy.async_adapter), partitioned SQLAlchemy pooling (BrokerPool, AsyncBrokerPool, broker_creator), and DbPoolMetricSample quarantine counters (quarantined, total_quarantined, total_disposed).
  • Native standalone vertebra-redis (vertebra._redis, vertebra-core[redis]) PyO3 extension module with RESP2/RESP3 wire protocol support, atomic/non-atomic pipeline batching, CLIENT TRACKING L1 cache invalidations, Sentinel primary discovery, and Cluster hash-slot routing.
  • SyncRedisDriver and AsyncRedisDriver (vertebra.db.adapters.redis) with connection pooling, transaction pipelines, and pub/sub notification sources (SyncRedisNotificationSource, AsyncRedisNotificationSource).
  • Native standalone vertebra-valkey (vertebra._valkey, vertebra-core[valkey]) PyO3 extension module with RESP2/RESP3 wire protocol support, Valkey 9.0 hash-field expiration (hexpire, hpexpire, hexpireat, hpexpireat, httl, hpttl, hpersist), CLIENT CAPA redirect, atomic/non-atomic pipeline batching, CLIENT TRACKING L1 cache invalidations, Sentinel primary discovery, and Cluster hash-slot routing.
  • SyncValkeyDriver and AsyncValkeyDriver (vertebra.db.adapters.valkey) with connection pooling, transaction pipelines, and pub/sub notification sources (SyncValkeyNotificationSource, AsyncValkeyNotificationSource).
  • Cut RedisQueueBackend (vertebra.framework.queues.redis) over to vertebra._redis native Streams/ZSETs and extracted self-contained ValkeyQueueBackend (vertebra.framework.queues.valkey) cut over to vertebra._valkey native Streams/ZSETs.
  • Split NotificationSource into @runtime_checkable SyncNotificationSource and AsyncNotificationSource across capabilities.py, driver, adapters.postgres (SyncPostgresListener, SyncPostgresNotificationSource), and adapters.oracle (SyncOracleListener, SyncOracleNotificationSource).
  • Cache-line-aligned seqlock shared-memory ShmCache and ShmCacheStats (vertebra._vertebra), Advanced Alchemy SyncCacheBackend and AsyncCacheBackend (shm://, memory://, valkey://, redis://, file://), dogpile.cache backends (vertebra.shm, vertebra.memory, vertebra.valkey, vertebra.redis, vertebra.file, create_dogpile_region), and Django CacheBackend (vertebra.extensions.django.cache.CacheBackend).
  • Per-engine SQLAlchemy 2.1 dialects (vertebra.extensions.sqlalchemy.dialects.{postgresql,sqlite,mysql,oracle,mssql,duckdb,bigquery,spanner}), split Alembic DefaultImpl subclasses and Operations (vertebra.extensions.sqlalchemy.alembic), register_alembic_autogenerate_hooks(), and Django 6.0+ DatabaseWrapper backends (postgresql, sqlite3, mysql, oracle, and spanner via django-google-spanner).
  • SyncAwsRdsDialer, AsyncAwsRdsDialer, SyncAwsAuroraDsqlDialer, and AsyncAwsAuroraDsqlDialer (vertebra.db, vertebra.db.dialer) for Amazon RDS, Aurora, RDS Proxy, and Aurora DSQL with verify-full TLS, the bundled AWS RDS Global Root CA bundle (aws_rds_root_ca_pem()), and connection_kwargs() for PostgreSQLConfig and MySQLConfig. AwsRdsIamTokenProvider and AwsAuroraDsqlIamTokenProvider resolve explicit keys, AWS_* environment variables, shared ~/.aws profiles, Web Identity STS, ECS and Pod Identity endpoints, and EC2 IMDSv2 without an AWS SDK (#67).
  • SyncAzureEntraDialer and AsyncAzureEntraDialer for Azure Database for PostgreSQL, Azure Database for MySQL, and Azure SQL with verify-full TLS, including the matching scope and Entra authority for Azure Government and Azure China hostnames. AzureEntraTokenProvider supports service principal credentials, Workload Identity Federation (AZURE_FEDERATED_TOKEN_FILE), App Service and Container Apps Managed Identity (IDENTITY_ENDPOINT), and VM IMDS without an Azure SDK (#68).
  • vertebra.agent.okf (OkfDocument, OkfBundle, OkfSource, OkfValidationError) for parsing, validating, digesting, and exporting OKF v0.2 bundles as directories or reproducible ZIP archives, and SyncKnowledgeCatalogClient / AsyncKnowledgeCatalogClient (vertebra.agent.knowledge_catalog) for Dataplex entry groups, context-set resolution, entry CRUD, digest-aware sync_bundle, and search_entries / search_entries_page over gcp_http2_request_sync / gcp_http2_request_async. sync_bundle(delete_stale=True) removes only entries it wrote, and a failed sync raises CatalogSyncError carrying a CatalogSyncSummary of what completed (#116).
  • ArrowCursor.__arrow_c_schema__(), lazy ArrowCursor.__arrow_c_stream__(), ArrowCursor.from_ipc_bytes(), columns, and to_pylist() on vertebra._vertebra.ArrowCursor and vertebra.db.ArrowCursor, so Polars, DuckDB, DataFusion, and other Arrow PyCapsule consumers read query results without pyarrow (#128).
  • EventLoopMetricSample and EventLoopRecorder (vertebra.telemetry) for per-shard scheduling lag and active-task counts, with optional opentelemetry.metrics instruments (vertebra.loop.lag_ms, vertebra.loop.active_tasks) through the new [opentelemetry] extra and zuvloop telemetry callbacks. Workers sample their loops when VERTEBRA_LOOP_TELEMETRY=1 (VERTEBRA_LOOP_TELEMETRY_INTERVAL seconds, default 1.0), or through EventLoopPool.attach_recorder() and run_worker(loop_recorder=...). LoopTaskSnapshot, capture_loop_task_snapshots(), and format_task_call_graphs() back the new /taskz diagnostic page using Python 3.14 asyncio.capture_call_graph (#130).
  • Streaming CSV output and overwrite=False on SQLSpec ObjectStoreBackend.write_arrow_* and write_arrow_cursor_*, plus an Arrow storage pipeline benchmark in tools.benchmarks.micro comparing direct streaming with buffered writes (#100).
  • Native PEP 249-shaped cursors on the eight SQL extensions (vertebra._postgres, vertebra._mysql, vertebra._sqlite, vertebra._duckdb, vertebra._oracle, vertebra._mssql, vertebra._bigquery, vertebra._spanner) through client.cursor(), and OracleConfig.enable_reset_relay.
  • Bounded jittered exponential retry support (connector_retry_count=3, connector_retry_delay=0.5, connector_retry_max_delay=5.0) on CloudSQLConfig, AlloyDBConfig, SyncCloudSQLDialer / AsyncCloudSQLDialer, SyncAlloyDBDialer / AsyncAlloyDBDialer, PostgreSQLConfig, MySQLConfig, MSSQLConfig, and SQLSpec adapter driver_features (PostgresDriverFeatures, MySQLDriverFeatures, MSSQLDriverFeatures), exporting is_transient_connector_error(), calculate_connector_backoff_seconds(), and validate_connector_retry_config() from vertebra.db.dialer.

Changed

  • OracleSyncADKArtifactStore, OracleAsyncADKArtifactStore, PostgresSyncADKArtifactStore, and PostgresAsyncADKArtifactStore accept session_id and version positionally in get_artifact_reference(), matching the other SQLSpec adapters. OracleSyncADKMemoryStore.delete_entries_older_than() and OracleAsyncADKMemoryStore.delete_entries_older_than() default scope to None, which deletes across scopes as "all" did.
  • create_event_loop() attaches asyncio.eager_task_factory on every loop backend (uvloop, winloop, rloop, zuvloop, and asyncio), and vertebra.utils.sync_tools.run_() creates its loop through create_event_loop() so it honors VERTEBRA_LOOP and free-threaded loop quarantine (#129).
  • EventLoopPool names shard tasks vertebra.loop.shard.{idx}.task.{seq} and WorkerRunner names tasks vertebra.worker.runner and vertebra.worker.lane.{lane}.{seq} (#130).
  • With an AWS or Azure token provider on a remote host, PostgreSQLConfig and MySQLConfig default to verify-full and reject SSL modes that can fall back to plaintext (disable, allow, prefer); explicit require and verify-ca stay allowed. MSSQLConfig with an Entra token provider rejects unencrypted or login-only encryption and trust_server_certificate=True on remote hosts. Both PostgreSQL and MySQL apply the Azure database scope to an unscoped AzureEntraTokenProvider and attach the bundled AWS RDS root CAs for remote AwsRdsIamTokenProvider hosts. token_provider and CA settings pass through PEP 249 connect_args, SQLAlchemy +vtb URLs, and SQLSpec derive_pool (#67, #68).
  • MySQLConfig.ssl_mode is None until set and no longer rewritten at construction; canonical_ssl_mode reports the effective mode, including a mode given in the DSN.
  • SyncObjectStore and AsyncObjectStore raise ImproperConfigurationError at construction for incomplete Azure service principal or SAS options, partial OCI API signing fields, and blank or unreadable explicit GCS credential options.
  • ArrowCursor.to_polars() passes the cursor to Polars through the Arrow C Stream capsule instead of building a pyarrow.Table (#128).
  • Cut SyncSQLiteDriver and AsyncSQLiteDriver over from stdlib sqlite3 to native vertebra._sqlite (ensure_module), replacing per-query thread offloading with native async completion task dispatch.
  • Consolidated MCPCore well-known discovery and SkillCatalog / UI validation wiring across AgentPlugin, Starlette, FastAPI, Flask, Django, and litestar-mcp>=0.20.0 (create_mcp_plugin) (#110, #111).
  • DuckDBSecretConfig rejects persistent=True with dynamic value_provider callables and validates refresh_interval_seconds as a positive finite number; SyncDuckDBDriver and AsyncDuckDBDriver invalidate dynamic secret providers on (HTTP 401) / (HTTP 403) httpfs errors and close the underlying _client if startup initialization fails.
  • ProxySyncDriver and ProxyAsyncDriver (vertebra.extensions.sqlspec) inherit SyncDriverAdapterBase and AsyncDriverAdapterBase with aligned upstream method signatures and ArrowResult returns, and _BaseSQLSpecProvider replaces inspect.signature / suppressed exits with @runtime_checkable broker Protocols and fail-loud lease quarantine (#98); create_sync_alchemy_config and create_async_alchemy_config wire BrokerPool / AsyncBrokerPool when a broker is provided.
  • SQLSpec, SQLAlchemy, and vertebra.db.dbapi run statements through the native cursor; broker leases are taken per connection checkout and embedded engines take none; and the DB-API exception names are the native vertebra.db driver classes, so InterfaceError is a subclass of DatabaseError and Error is DatabaseError.
  • Raised the minimum sqlspec dependency floor to >=0.74.1, switched cached statement executor registration in BaseSyncDriver and BaseAsyncDriver to set_cached_statement_executor(..., owner=...), normalized bool and empty-string lastrowid values to None inside BaseSyncDriver._normalize_last_inserted_id(), aligned resolve_last_inserted_id() across BigQuery*Driver, Spanner*Driver, and Proxy*Driver, migrated all eight extension reconcile.py modules onto public sqlspec.extensions.events.resolve_backend_name and sqlspec.extensions.adk configuration helpers, switched ObjectStoreRegistry and register_storage_alias() to StorageRegistry.register_backend("vertebra", ObjectStoreBackend) and pre-configured instance aliases, thinned all eight sync and async data_dictionary.py modules (mysql, sqlite, postgres, oracle, spanner, duckdb, mssql, and bigquery) onto shared sqlspec.data_dictionary.dialects.<dialect>.dictionary base classes, and removed unused sqlite_index_rows_to_metadata.
  • Optimized GitHub Actions CI and release pipelines around build-once wheel artifacts (tools/scripts/build_ci_wheels.py), reusable composite Rust/Python setup actions (.github/actions/setup-rust-build, .github/actions/setup-python-env), ubuntu-slim runners for non-native lint/docs/TS jobs, Cargo [profile.ci] and [profile.release] thin LTO (lto = "thin", codegen-units = 4), uv sync --no-install-local across non-building jobs, pull-request matrix tiering (full-ci and macos opt-in labels, full coverage on main pushes and nightly schedule when commits landed), intra-run ephemeral artifact cleanup, closed-PR cache cleanup (.github/workflows/cache-cleanup.yml), and opt-in sccache remote cache configuration (vars.SCCACHE_BACKEND).
  • Raised the minimum advanced-alchemy dependency floor to >=1.13.0b3, adopting late-bound SQLAlchemy engine factory lookup (for OpenTelemetry SQLAlchemyInstrumentor().instrument() compatibility on single-engine and routed configs) and AES-256-GCM cursor token encryption behind the optional cryptography extra.

Fixed

  • Fixed SQLiteCore.initialization_pragmas to validate pragma values directly without suppressed native call defects, removing legacy sqlite_initialization_pragmas binding from vertebra-py and _vertebra.pyi.
  • SyncOracleNotificationSource and AsyncOracleNotificationSource execute an idle SELECT 1 FROM DUAL session liveness probe whenever an OracleNotifyConfig.wait_timeout_seconds poll cycle yields no queued messages so dropped connections trigger reconnect backoff immediately.
  • A single-loop inline EventLoopPool.stop() cancels tracked tasks, runs shutdown_asyncgens(), and closes the loop, matching multi-shard pools (#129).
  • ArrowCursor.to_pyarrow() and to_arrow_table() raise ValueError after release(), and to_pylist() raises ValueError for a dictionary key outside the dictionary values (#128).
  • A corrupt Arrow IPC stream raises ValueError from ArrowCursor (or an Arrow error through the C stream interface) instead of terminating the process.
  • MySQL ssl_ca, ssl_cert, and ssl_key given as inline PEM text load from memory; previously they were treated as file paths and the connection failed.

Removed

  • Removed legacy RESP3 bindings (encode_resp_command, encode_hello3_handshake, crc16_xmodem, redis_hash_slot, parse_cluster_redirect) from src/rs/vertebra-py and src/py/vertebra/_vertebra.pyi, and deleted src/rs/vertebra-db/src/resp3.
  • Deleted empty compatibility alias MCPService(MCPCore) and --name flag on vtb ai mcp serve (#114).
  • Removed in-memory fallback broker transports (SyncInMemoryBrokerTransport, AsyncInMemoryBrokerTransport, use_shm=False), duplicate embedded PEP 249 classes inside vertebra.extensions.sqlalchemy.dialects, and unsupported Django database backend stubs (bigquery, duckdb, mssql).
  • Removed Python and native client symbols superseded by native cursors: SyncDBAPICursor, AsyncDBAPICursor, is_read_only_sql, is_insert_sql, coerce_dbapi_rows_and_desc, NATIVE_CURSOR_ENGINES, query_with_columns, protocol members execute_with_description, execute_tuples, and select on SyncSQLDriverProtocol / AsyncSQLDriverProtocol, adapter helpers (DuckDBCore.normalize_parameters, DuckDBCore.param_len, PostgreSQLCore.normalize_parameters, PostgreSQLCore.project_query_rows, OracleCore.split_out_bind_parameters, OracleCore.is_dml_or_plsql), vertebra._vertebra.classify_sql_statement, and unused native client query methods (fetch_all on SyncSQLiteClient/AsyncSQLiteClient; fetch_all, fetch_one, fetch_optional, execute_tuples, execute_with_description, and select_value on SyncDuckDBClient/AsyncDuckDBClient; execute_with_description, fetch_all, fetch_one, fetch_optional, fetch_many, and select_value on SyncMySQLClient/AsyncMySQLClient; execute_with_description, query, fetch_all, fetch_one, fetch_optional, and select_value on SyncMSSQLClient/AsyncMSSQLClient; and query and query_one on SyncOracleClient/AsyncOracleClient).

0.3.0

Release introducing shared-memory vector embeddings, zero-copy PEP 3118 vector views, binary database vector codecs, active Google Cloud ADC credential refresh, and the vtb ai CLI. It also adds co-located background worker lanes, dynamic A2A AgentInterface origin URL resolution, updated isometric axial vertebrae branding, and expanded topic documentation.

Added

  • Shared-Memory Vector Primitives & PEP 3118 Views (vertebra-core, vertebra._vertebra):
  • Cache-line-aligned POSIX shared-memory VectorSlab (VTBVSLAB header), set-associative seqlock VectorCache, SimilarityMatch, StaticEmbedderCore, Matryoshka mrl_truncate_and_normalize_f32, quantize_f32_to_int8, quantize_f32_to_binary, and SIMD top_k_* kernels (PR #64).
  • Zero-copy PEP 3118 VectorView and VectorBatchView with .truncate(), .quantize(), .top_k(), .to_pgvector_bytes(), .to_oracle_bytes(), .to_sqlite_blob(), and .to_arrow_shm() (PR #64).
  • Binary Database Vector Codecs (vertebra-db, vertebra.extensions.sqlalchemy):
  • PostgreSQL pgvector binary wire codecs (encode_pgvector_f32, decode_pgvector_f32, encode_pgvector_f16, decode_pgvector_f16, encode_pgvector_bit, decode_pgvector_bit), Oracle 26ai 0xDB binary VECTOR codecs (encode_oracle_vector_f32, decode_oracle_vector_f32, encode_oracle_vector_int8, encode_oracle_vector_binary), and SQLAlchemy Vector bind/result pushdown (PR #64).
  • Google-First, SQL Pushdown & Local Shared-Memory Embedders (vertebra.embeddings, vertebra-http):
  • Native HTTP/2 gRPC packed-f32 framing (encode_gemini_embed_grpc_frame, decode_gemini_embed_grpc_frame_to_batch), Embedder, VertexEmbedder, GeminiEmbedder, PushdownEmbedder (wrapping adapter-owned BigQueryEmbeddingPushdown, SpannerEmbeddingPushdown, PostgresEmbeddingPushdown, and OracleEmbeddingPushdown), RemoteEmbedder, EmbeddingError, and create_embedding_grpc_service (PR #64, PR #75, PR #76).
  • EmbeddingBroker (1x RAM model hosting across workers, BackendFactory, token-budgeted length-sorted dynamic batching, and 3.14t/3.15t subprocess GIL quarantine), GemmaEmbedder, FastEmbedder (FastEmbedder.build_backend), StaticEmbedder, and ModelSpec catalog (PR #64, PR #76).
  • Active Google Cloud ADC Credential Refresh & Non-Blocking Storage (vertebra-core, vertebra-storage, vertebra.storage, vertebra.db.adapters.duckdb):
  • GcpTokenSnapshot, GcpAuthSource, SyncGcpTokenCache, AsyncGcpTokenCache, and RefreshingGcpCredentialProvider with caller-supplied default OAuth scopes, proxy environment support, 300s proactive refresh skew, single-flight refresh deduplication, generation-checked 401 invalidation, and automatic DuckDB CREATE OR REPLACE SECRET token rotation in SyncDuckDBDriver and AsyncDuckDBDriver (PR #64, PR #77).
  • Standalone Google Cloud Native Wheels & Adapter Capabilities (vertebra-bigquery, vertebra-spanner, vertebra.db):
  • Standalone optional PyO3 wheels vertebra-bigquery (vertebra._bigquery, [bigquery]) and vertebra-spanner (vertebra._spanner, [spanner]) powered by official google-cloud-bigquery and google-cloud-spanner crates, zero-copy ShmCapsule VTBARROW cursors (select_to_arrow, load_from_arrow), SpannerConfig.admin_endpoint REST DDL, ca_pem custom CA support, and multi-base exceptions (GoogleCloudError, GoogleCloudAuthError, SpannerError, SpannerAbortedError, BigQueryError, BigQueryRowError, TaskPanicError) (PR #71, PR #77).
  • Per-engine adapter packages under vertebra.db.adapters.<engine>, native statement pipelining (SyncPipelineCapable, AsyncPipelineCapable, driver.pipeline()), adapter-owned ToolProvider implementations (BigQueryToolProvider, SpannerToolProvider) consumed via vertebra.agent.tools.build_tools, SpannerQueueBackend, and ChannelBus (PR #71, PR #72, PR #73, PR #76).
  • vtb ai CLI, Co-Located Workers & Dynamic A2A Discovery (vertebra.cli, vertebra.agent.a2a):
  • vtb ai models list|pull|stage|warm and vtb ai mcp serve|bridge in vertebra.cli.ai (PR #64).
  • Co-located WorkerRunner execution in vtb run and vtb dev (--with-workers, --queues, --lane-concurrency, [tool.vertebra.workers]) and --oneshot / --payload in vtb workers run (PR #64).
  • Automatic default AgentInterface synthesis on AgentCard and dynamic request-origin URL resolution (Forwarded, X-Forwarded-Proto, X-Forwarded-Host, Host with Vary headers) in A2AHttpHandler and A2AService (PR #64).
  • Object Storage Content Integrity, Streaming Arrow & Wheel Isolation (vertebra-storage, vertebra.storage, vertebra.extensions):
  • PutConditionalOptions, PutResult, and ObjectMeta SHA-256, Castagnoli CRC32C, and MD5 receipts (checksum=True), write-time digest verification (expected_sha256, expected_crc32c, expected_md5), verified reads (get, get_file, get_stream, open_reader with expected_sha256), and vertebra.typing.IntegrityError (StorageError::Integrity).
  • SQLSpec ObjectStoreBackend.supports_direct_arrow_write, normalized format_hint / compression / write_options Arrow streaming (write_arrow_*, write_arrow_cursor_*), Advanced Alchemy save_object / save_object_async integrity arguments plus save_arrow / save_arrow_async, and DjangoStorage content.{sha256,crc32c,md5} digest forwarding.
  • Companion wheel/sdist verifier tools/scripts/verify_storage_wheel.py ({storage,bigquery,spanner,bundler}-wheel-check Makefile targets, release.yaml non-leakage checks) and Criterion put_checksum micro-benchmark (put_memory_default, put_memory_checksum).

Changed

  • Database tool providers live under vertebra.db.adapters.<engine> and implement the shared ToolProvider protocol, consumed generically via vertebra.agent.tools.build_tools(provider) (PR #72, PR #76).
  • Engine-neutral ChangeFeed bounds its spill cache, PostgreSQL notification settings live on PostgresNotifyConfig, Spanner change-stream sources live on vertebra.db.adapters.spanner, and ChannelBus in vertebra.server._channels powers realtime channel fan-out (PR #71, PR #73).
  • SQLSpec statement stacks use SyncPipelineCapable / AsyncPipelineCapable (driver.pipeline()) or transactional/sequential execution (PR #73).
  • TenantScopeConfig.setting_name replaces guc_name; generic tenant fragments use ANSI placeholders and optional CAST, while PostgreSQL and Oracle adapters own session SQL and BigQuery/Spanner reject unsupported session-level tenant predicates upfront (PR #73, PR #76).
  • Replaced blocking runtime().block_on(...) calls in vertebra-storage async PyO3 operations with non-blocking Tokio spawn_rust_task execution (TaskCompletionCallback) (PR #64).
  • Replaced top-level vtb mcp CLI command group with vtb ai mcp (serve and bridge) (PR #64).
  • Updated brand logo and icon assets (docs/assets/) to an isometric axial vertebrae mark (#EDB641), pinned persistent VERTEBRA / <Current Page> header context in docs/stylesheets/extra.css, and split usage documentation into 14 focused topic guides under docs/usage/ (PR #64).
  • Updated .github/dependabot.yml to use native bun and uv package ecosystems with grouped minor/patch updates and open-pull-requests-limit: 1, gated CI test matrices on lint with fail-fast: true in .github/workflows/ci.yml, and upgraded workspace dependencies via make upgrade (anyio, bump-my-version, platformdirs, pytest-databases, python-dateutil, sqlparse, crc32fast) (PR #64).
  • Browser WebMCP exposure is opt-in per tool (mcp_tool(webmcp=True), Tool(webmcp=True)), and build_webmcp_manifest emits only explicitly opted-in tools (PR #75, PR #76).
  • VertebraConfig.swap_memory_channels and VertebraConfig.swap_memory_response_cache default to False; KeyValueStore, Litestar MemoryStore, and Starlette CacheStore prefix Redis/Valkey keys with key_prefix (default "vertebra"), and SQLAlchemyCacheBackend prefixes Redis/Valkey keys with key_prefix (default "vtb:aa:") (PR #75, PR #76).
  • SyncSpannerClient.partitioned_query and AsyncSpannerClient.partitioned_query return rows while SyncSpannerDriver.select_to_arrow and AsyncSpannerDriver.select_to_arrow materialize the ArrowCursor (PR #77).

Fixed

  • Fixed dorny/paths-filter@v4 shallow-clone git fetch failure on push events to main by setting fetch-depth: 2 in .github/workflows/ci.yml, and removed failing git push commit step from .github/workflows/benchmark.yml (PR #64).
  • Scoped [tool.bumpversion.files] search/replace in pyproject.toml to version = "{current_version}" so make release does not rewrite dependency version floors, and automated uv.lock and Cargo.lock synchronization in Makefile release/pre-release targets (PR #64).
  • DatabaseRegistry.parse_url accepts spangres:// URLs, and SyncSpannerChangeStreamSource and AsyncSpannerChangeStreamSource bind positional $1..$4 parameters in Spangres mode (PR #75, PR #76).
  • MCPService, AgentRuntime, and vertebra.agent.tools.build_tools enforce ConfirmationGate approval binding to the tool name, caller identity, and canonical argument hash (_meta["vertebra/confirmationToken"], JSON-RPC error -32003); MCPHttpHandler rejects mismatched Mcp-Name headers and routing headers on JSON-RPC batches; JSONRPCRouter preserves handler TypeError failures (PR #75, PR #76).
  • KeyValueStore.delete_all, Litestar MemoryStore.delete_all, Starlette CacheStore.delete_all, and SQLAlchemyCacheBackend.clear / clear_async delete only their prefix via SCAN + UNLINK; sub-second expiries use PX milliseconds; expires_in returns None for keys without expiry (PR #75, PR #76).
  • PushdownEmbedder and adapter-owned BigQueryEmbeddingPushdown, SpannerEmbeddingPushdown, PostgresEmbeddingPushdown, and OracleEmbeddingPushdown validate SQL identifiers, preserve input offset ordering (ORDER BY idx), propagate driver errors, and raise EmbeddingError on empty or malformed vector rows (PR #75, PR #76).
  • EmbeddingBroker runs the configured model in the free-threaded sidecar via BackendFactory or backend_fn, and FastEmbedder defers TextEmbedding initialization to worker execution (PR #75, PR #76).
  • EventLoopPool.stop delivers task cancellation, runs shutdown_asyncgens, and closes loops after shard threads exit; buffered sharded ASGI mounts honor VERTEBRA_ASGI_BATCH_TIMEOUT (default 30s, 0/none disables) and return 504 Gateway Timeout (PR #75, PR #76).
  • Cancelled async Rust database tasks abort cleanly via AbortHandle, background panics surface as TaskPanicError, and gcloud CLI token refreshes run non-blocking with 30s timeouts. BigQuery REST queries with warnings succeed, BigQuery job/table URLs percent-encode path segments, and optional native wheel manifests (vertebra-bundler, vertebra-storage, vertebra-bigquery, vertebra-spanner) package isolated module files (PR #77).
  • Create-only copy(..., overwrite=False) and rename(..., overwrite=False) enforce destination non-existence on S3/B2 via conditional multipart completion and on R2 via cf-copy-destination-if-none-match: *, and write_batches_sync / write_batches_async abort active multipart uploads cleanly on mid-stream RecordBatchReader errors.

0.2.0

Comprehensive release introducing zero-copy serialization bridges, real-time database channels, Advanced Alchemy object storage and cache services, bidirectional Protobuf/gRPC tooling, multi-framework extensions, OpenAPI documentation portals, WebMCP auto-registration, and modernized repository security tooling.

Added

  • Zero-Copy C-API Serialization & Row Hydration (_zero_copy.py, vertebra.server):
  • Direct C-API decoding into msgspec.Struct without intermediate Python allocations via Request.decode_msgspec, WsgiInput.decode_msgspec, and AsgiScope.decode_msgspec (PR #58).
  • Vectorized row hydration via hydrate_rows_vectorcall and thread-local scratch arenas in _zero_copy.py for high-throughput batch query results (PR #58).
  • Direct struct-to-wire response serialization via encode_msgspec_response (PR #58).
  • Database Channels & Multi-Node Synchronization (vertebra.db, vertebra.server):
  • Database-backed multi-node channel transport via DatabaseChannelDriver, DatabaseChannelConfig, DatabaseChannelSubscription, and DatabaseChannelPublisher supporting PostgreSQL LISTEN/NOTIFY, MySQL advisory locks, SQLite WAL triggers, and message queuing (PR #58).
  • Advanced Alchemy Storage & Cache Integrations (vertebra.extensions.advanced_alchemy):
  • Object storage repository service bridge via ObjectStorageBackend, ObjectStorageConfig, and ObjectStorageFileService (PR #58).
  • Async cache manager for repository query caching via AsyncCacheManager and AsyncCacheConfig (PR #58).
  • Zero-copy service mixin via ZeroCopyServiceMixin providing vectorized ORM-to-wire DTO transformations (PR #58).
  • Bidirectional Protobuf/gRPC Tooling & Binary Framing (vertebra.server._proto, _lpm):
  • Protobuf parser and code generation via ProtobufParser, ProtobufPythonGenerator, ProtobufTypeScriptGenerator, and route-to-proto inspection via ProtobufGenerator.from_routes (PR #58).
  • Length-prefixed message (LPM) binary framing (encode_lpm_frame, decode_lpm_frame) for gRPC and streaming RPC transports (PR #58).
  • Multi-Framework Extensions (vertebra.extensions):
  • Native Vertebra server integration and lifecycle management across Starlette (StarletteExtension), FastAPI (FastAPIExtension), Flask (FlaskExtension), and Django (DjangoExtension) (PR #58).
  • Six native Django database backends with Arrow acceleration via DatabaseWrapperMixin, ArrowQuerySetMixin, VertebraPostgresBackend, VertebraMysqlBackend, VertebraSqliteBackend, VertebraOracleBackend, VertebraMssqlBackend, and VertebraDuckdbBackend (PR #58).
  • OpenAPI & Interactive Documentation Portals (vertebra.server._openapi, _docs_portal):
  • Unified interactive API documentation via OpenAPIPortal and DocsPortal supporting Scalar, Swagger UI, ReDoc, Stoplight Elements, and RapiDoc (PR #58).
  • AsyncAPI 3.0 specification generation and Model Context Protocol (MCP) server manifest discovery endpoints (/.well-known/mcp.json) (PR #58).
  • WebMCP Auto-Registration & Browser Discovery (@vertebra/client/webmcp, vertebra.server._webmcp):
  • Client and server WebMCP discovery via registerWebMCPTools, WebMCPManifest, and /.well-known/webmcp.json (PR #58).
  • CI Modernization, Dependabot & Security Automation:
  • Automated weekly dependency update configuration via Dependabot (.github/dependabot.yml) for GitHub Actions, Cargo, npm, and pip ecosystems (PR #58).
  • Automated GitHub Actions security workflow (.github/workflows/security.yml, .github/zizmor.yml) with Zizmor analysis and GitHub Advanced Security SARIF reporting (PR #58).

Changed

  • Decoupled vertebra.extensions.litestar from internal vertebra.framework.* modules, routing shared routing primitives through vertebra.server._routing (RouteMatch, RouteEntry, compile_route_pattern, match_path) (PR #58).
  • Removed redundant framework optional dependency extra from pyproject.toml now that msgspec>=0.18 is a core runtime dependency (PR #58).
  • Modernized all GitHub Actions workflows (.github/workflows/*.yml) to latest major versions (actions/checkout@v7, astral-sh/setup-uv@v7, dorny/paths-filter@v4, actions/upload-artifact@v7, actions/download-artifact@v8, softprops/action-gh-release@v3, pypa/cibuildwheel@v4.3.5) on Node 24 runners with credential persistence hardening (PR #58).
  • Upgraded workspace dependencies via make upgrade (including pytest-databases) (PR #58).

Fixed

  • Handled dynamic code object syntax errors in coverage xml generation by enabling ignore_errors = true in pyproject.toml (PR #58).
  • Restored @vertebra/client/router export documentation parity in docs/reference/typescript-client.md (PR #58).
  • Fixed TypeScript WebMCPManifest vs RegisterWebMCPOptions options typing union resolution in src/ts/vertebra-client/src/webmcp.ts for DTS builds (PR #58).
  • Fixed wheel bundle sync fallback handling when local distribution wheels are present in debug environments (PR #58).

0.1.0

Initial release of Vertebra (vertebra-core on PyPI with bundled @vertebra/client).

Added

  • Rust HTTP Ingress & Shared-Memory IPC (vertebra-core, vertebra-http):
  • Hyper HTTP/1.1 and HTTP/2 server, ALPN TLS, optional HTTP/3 over QUIC, gRPC wire framing, WebSocket, and Server-Sent Events (SSE).
  • Lock-free SPSC and MPMC shared-memory ring buffers (ShmHeader, SpscRing, MpmcRing, TieredRingSet) and embedded BatchBridge with adaptive futex/ulock and eventfd signaling.
  • Opt-in BackpressureController with bounded in-flight permits, queue timeouts, and sliding-window circuit breaking.
  • Python Application Framework & Multi-Protocol Runners (vertebra.framework, vertebra.server):
  • App, Controller, Router, Route, Procedure, ProcedureRouter, Container/DependencyGraph/Provide/Inject dependency injection, Guard/SecurityConfig, OpenAPIConfig, LiveState, and QueueService/CronScheduler.
  • Multi-protocol worker execution supporting native RequestBatch handlers, ASGI 3.0 (AsgiRunner), RSGI 1.6 (RsgiAdapter), and PEP 3333 WSGI (WsgiAdapter) across isolated worker lanes (fast, async, cpu, blocking).
  • Free-Threaded Python Support (3.14t / 3.15t):
  • Native PyO3 extensions (vertebra._vertebra, vertebra._bundler, vertebra._storage) compiled with gil_used = false and PEP 561 .pyi type stubs.
  • Frontend Bundler, QuickJS SSR & TypeScript SDK (vertebra-bundler, @vertebra/client):
  • Embedded Rolldown/Oxc bundler (Bundler, BundleConfig) and pooled QuickJS server-side rendering engine (SyncEmbeddedSSRClient, AsyncEmbeddedSSRClient, SSRConfig) with Inertia v3 and HTMX integration.
  • @vertebra/client TypeScript SDK providing HttpClient, SseClient, WebSocketClient, LiveStateClient, ApexRegion, WASMClient, ArrowStreamClient, McpClient, A2aClient, and framework adapters for React, Vue, Svelte, Angular, HTMX, and Vite.
  • Native Storage, Database Drivers & Telemetry (vertebra.storage, vertebra.db, vertebra.telemetry):
  • Multicloud and local object storage (SyncObjectStore, AsyncObjectStore) backed by Rust object_store (S3, GCS with ADC, Azure, R2, OCI, HTTP, Local, Memory) with presigned URLs and PyArrow range readers.
  • Native database drivers (PostgreSQLConfig, MySQLConfig, SQLiteConfig, SyncSQLiteDriver, AsyncSQLiteDriver) with OpenTelemetry sqlcommenter trace propagation.
  • Agent Protocols (vertebra.agent):
  • Model Context Protocol (MCPRegistry, MCPConfig, MCPSkillsConfig, MCPTaskConfig, run_stdio_http_bridge) and Agent-to-Agent (A2AService, A2AConfig, AgentCard) support plus AgentRuntime and WorkflowEngine.
  • CLI & Packaging (vertebra.cli, vertebra.build):
  • vtb CLI (run, dev, init, build, js, mcp, workers) and standalone/single-file binary builders (StandaloneBuilder, OnefileBuilder, BuildOrchestrator).