Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 18:22
· 23 commits to main since this release

Binaries for Linux, macOS, Windows and FreeBSD are attached below. The Docker image is
ghcr.io/mariuz/firebirdrest:0.2.0. See CHANGELOG.md for details.

SQL schemas for Firebird 6, chosen per request with Accept-Profile and Content-Profile.
Schema support is experimental: it is tested against the Firebird 6 snapshot and may change
if Firebird 6 changes before its release. Existing setups keep working as before: Firebird 3-5
are unaffected, and Firebird 6 without db-schemas serves PUBLIC as it did.

Added

  • SQL schemas (Firebird 6, experimental): db-schemas lists the schemas to expose, the first
    being the default (public when unset). Requests pick one with Accept-Profile (reads) or Content-Profile
    (writes), as in PostgREST; responses carry Content-Profile, and unexposed schemas get 406
    (FBRST106). Each schema has its own cache and OpenAPI description, statements use
    schema-qualified names, and embedding follows foreign keys within the schema.
    examples/bookstore-fb6.sql adds an inventory schema. db-pre-request accepts schema.proc.

Fixed

  • On Firebird 6 the schema cache matches system-table rows by schema as well as by name (domains,
    constraints, indexes, routine parameters), instead of relying on names being unique.