Skip to content

Release 0.35.0: per-session database connections#37

Merged
ahmadnazir merged 1 commit into
masterfrom
release/0.35.0
May 5, 2026
Merged

Release 0.35.0: per-session database connections#37
ahmadnazir merged 1 commit into
masterfrom
release/0.35.0

Conversation

@ahmadnazir

Copy link
Copy Markdown
Member

Each request to build, eval, and sql can now include a connection-id in the request body to target a specific connection pool. When absent, the global connection is used — no changes needed for existing clients.

What changed

  • generate-state, api-build, api-eval, api-sql all accept an optional connection-id
  • Routes extract connection-id from the JSON body and pass it through
  • eval/run-query already threads connection-id through the AST state, so DB dispatch works automatically

Also

  • Added clj -M:fmt fix to AGENTS.md
  • Ran the formatter (no changes needed)

Each request to build/eval/sql can now include a connection-id parameter
to target a specific connection pool. Falls back to the global connection
when absent, so existing clients are unaffected.

Also adds the formatter command to AGENTS.md.
@ahmadnazir ahmadnazir merged commit 10c55b9 into master May 5, 2026
1 check passed
@ahmadnazir ahmadnazir deleted the release/0.35.0 branch May 5, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant