Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 19 Oct 17:56
· 25 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.1.2. See CHANGELOG.md for details.

Write guards with max-affected, query plans, and per-request time zones.

Added

  • Prefer: handling=strict refuses unknown or invalid preferences (FBRST130); the default
    lenient ignores them, as before.
  • Prefer: max-affected=n (with handling=strict, as in PostgREST): a PATCH or DELETE that
    would change more than n rows fails with FBRST131 and is rolled back.
  • Query plans: with db-plan-enabled = true, Accept: application/vnd.pgrst.plan (+text or
    +json) returns Firebird's explained plan of every statement a GET/HEAD request runs,
    including embeds and counts, instead of the data.
  • Prefer: timezone=<IANA name> (Firebird 4+): TIME/TIMESTAMP WITH TIME ZONE values are
    returned in that zone, and the Firebird session runs in it (SET TIME ZONE, reset before the
    connection is reused). Unknown zones are ignored, or refused with handling=strict.
  • examples/bookstore-fb4.sql adds a meetings table with time zone columns for Firebird 4+.
  • The release workflow can also publish the Docker image to Docker Hub, a Homebrew cask and a
    Scoop manifest, each once its secret is configured (see RELEASING.md).

Changed

  • Release notes are taken from the version's section of CHANGELOG.md, also for a release first
    drafted on GitHub. RELEASING.md describes the release steps.