Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 09 Feb 14:57
· 6 commits to main since this release
f74539f

Robustness & validation

  • Type coercion for injected parameters — Path and query param values injected into result rows are now coerced to the target column type (bool, int, float, date, timestamp, etc.) instead of always returning strings.
  • Auth mutual exclusivity — Setting both api_key and bearer_token now returns a clear error instead of silently emitting duplicate auth headers.
  • Strict option validation — Invalid headers JSON, non-string header values, and non-numeric page_size values now produce errors instead of being silently ignored.

Schema generation (IMPORT FOREIGN SCHEMA)

  • Full-path table naming — Tables are now named using the full endpoint path (/v1/users → v1_users) to avoid collisions between endpoints like /v1/users and /v2/users.
  • Smarter rowid_column — Prefers id, falls back to the first non-jsonb scalar column, or omits entirely. No longer defaults to attrs.
  • include_attrs option — New server option to omit the attrs jsonb column from generated tables. Set include_attrs 'false' on the server.
  • Deduplicate attrs — The attrs column is no longer appended if the OpenAPI schema already defines a property named attrs.

Pagination

  • Relative URL handling — Query-only pagination links (?page=2) now correctly resolve against base_url + endpoint instead of just base_url.
  • Broader auto-detection — Added next_url field variants (/pagination/next_url, /links/next_url, etc.) to the auto-detection list.

Full Changelog: v0.1.3...v0.1.4