Skip to content

0.1.61

Choose a tag to compare

@github-actions github-actions released this 04 Jun 04:53
· 8 commits to main since this release
cli-v0.1.61
33f3792

Changelog

You can install any of these versions: npm install -g @onequery/cli@<version>

[0.1.61] - 2026-06-04

🚀 Features

  • Enable Markdown negotiation for agents VLN-719 (#258)
  • Add Vercel source provider (#259)
  • (source-api) Add clarity and cloudflare web analytics (#261)
  • (landing) Add connector SEO pages VLN-725 (#267)
  • (landing) Centralize SEO metadata generation (#268)
  • (connectors) Add Slack source connector (#270)
  • (landing) Add comparison pages (#272)

🪲 Bug Fixes

  • (landing) Load Google tag via Partytown (#253)
  • Bind provider fetch to global scope (#257)
  • (web) Avoid OpenClaw autoplay reflow (#260)
  • (landing) Prerender with workerd (#264)
  • (landing) Stabilize logo and social assets (#266)
  • Normalize display source keys (#271)
  • (landing) Streamline lead capture and crawler routes (#269)

💼 Other

  • Refactor query runtime boundaries (#250)

One-Line Summary

Split database query execution out of server into explicit runtime
packages so local Node and Workers environments use the right
dependencies.

User-Facing Changes

  • Query execution now composes through dedicated query runtime packages
    instead of server-owned query internals.
  • Local Node query execution keeps Postgres, MySQL, MotherDuck,
    Snowflake, BigQuery, D1, Laminar, and Athena connector support behind
    explicit provider registries.
  • Workers-safe query code no longer imports Polyglot SQL or Node
    provider SDKs.

Why This Changed

The previous server-owned query implementation mixed pure query
contracts, SQL validation, provider drivers, runtime composition, and
server connector broker concerns. That made it easy for Workers-unsafe
dependencies such as Polyglot SQL or Node database SDKs to leak into the
wrong runtime and made local CLI query failures harder to reason about.

How It Changed

  • Added @onequery/query as the pure query kernel for credentials,
    drivers, errors, rows, timeouts, and service orchestration.
  • Added @onequery/sql-polyglot as the sole owner of @polyglot-sql/sdk
    and SQL read-only validation.
  • Added @onequery/query-workers for Workers-safe BigQuery, Cloudflare
    D1, and Laminar drivers with injected SQL validation.
  • Added @onequery/query-node for Node provider drivers and Node runtime
    composition.
  • Kept server as a composition boundary that injects the Athena
    connector broker port instead of owning query execution.
  • Removed legacy server query exports and provider-specific server
    tester shims.
  • Added query boundary checks to prevent root provider barrels,
    Polyglot/provider SDK leakage, and legacy server query exports from
    returning.
  • Synced with origin/main and preserved the Postgres TLS verification
    fallback behavior inside @onequery/query-node instead of reviving the
    legacy server query test surface.

Bug Fixes

  • Prevents query runtime packages from depending on server control-plane
    code or importing environment-specific provider SDKs in the wrong
    package.
  • Prevents @onequery/server from becoming a compatibility layer for
    query internals.
  • Keeps Postgres sslMode=prefer retry behavior for certificate
    verification failures, including Node TLS error codes such as
    SELF_SIGNED_CERT_IN_CHAIN.
  • Fixes workspace-dev self-host runtime asset staging for the
    @onequery/sql-polyglot bundle owner.

Extra Context / Decisions

The query-node and query-workers package roots intentionally expose only
runtime and registry composition. Provider internals remain available
through explicit package subpaths where they are deliberately part of
the runtime package API.

Verification

  • rtk bun run query:boundaries
  • rtk bun run --cwd packages/query-node test --
    src/providers/node-drivers.test.ts
  • rtk bun run --cwd packages/self-host-runtime test --
    src/dev-entrypoint.test.ts
  • rtk bunx turbo test --json --filter=@onequery/self-host-runtime
  • rtk bunx turbo typecheck --json --filter=@onequery/query-node
    --filter=@onequery/query-workers --filter=@onequery/server
    --filter=@onequery/cli-server
  • rtk bunx turbo test --json --filter=@onequery/query-node
    --filter=@onequery/query-workers --filter=@onequery/server
    --filter=@onequery/cli-server
  • rtk bun run typecheck:root
  • rtk bun run format
  • rtk bun lint --format json
  • rtk bun lint --format json --type-aware
  • pre-push lefthook lint-full

Video / Screenshot

  • N/A
  • Revert "Refactor query runtime boundaries (#250)" (#252)

Summary

  • Reverts 1c72430 (#250)
  • Restores the query runtime layout that existed before the split into
    query packages

Verification

  • rtk bunx turbo typecheck --json
  • pre-push lint-full hook passed during rtk git push
  • Use Buffa register_types option for Rust proto generation (#254)

Summary

  • Configure Rust Buf generation with Buffa's official
    register_types=false option.
  • Remove the custom post-generation script that stripped generated
    register_types exports.
  • Return connectrpc::ServiceStream directly from the supervisor status
    watch handler.

Verification

  • rtk just regen-rust-proto
  • rtk just fmt
  • rtk cargo check --tests -p onequery-gateway -p onequery-proto-cli -p onequery-proto-runtime
  • rtk cargo test -p onequery-gateway
  • rtk just check-proto
  • pre-push lint-full hook
  • Expand built with libraries (#255)
  • Stop publishing landing bundle visualizer (#256)
  • (landing) Add OneQuery documentation (#262)
  • (landing) Optimize docs page SEO metadata (#265)