Skip to content

3ngram 1.1.3

Choose a tag to compare

@github-actions github-actions released this 03 Aug 08:06
c59ea4e

3ngram v1.1.3

Patch release: fix the database migrator's role-provisioning step.

Changes

  • runMigrations() now executes provision-roles.sql over the Postgres simple
    query protocol instead of the extended protocol, so its DO $$…$$ block and
    multi-statement body run correctly (previously the provisioning step failed).
  • The migrator substitutes the runtime role from RUNTIME_DB_ROLE (default
    app_user), so a deployment running as a re-provisioned NOBYPASSRLS role is
    granted correctly.
  • ALTER ROLE … NOBYPASSRLS in provisioning is now tolerant of managed Postgres
    (e.g. Neon) where the provisioning role lacks privilege to change BYPASSRLS;
    CREATE ROLE … NOBYPASSRLS already sets it.

Release artifacts

  • @3ngram/server@1.1.3, @3ngram/sdk@1.1.3, and 3ngram@1.1.3 on npm
  • @3ngram/db@0.6.2 and @3ngram/core@0.6.3 on npm
  • ghcr.io/b3dmar/3ngram:1.1.3 for Linux amd64 and arm64
  • BuildKit SBOM plus provenance and GitHub-signed SLSA attestations

The hosted 3ngram dashboard and cloud-operations code are proprietary and are
not included in this repository.

Immutable container reference

ghcr.io/b3dmar/3ngram@sha256:addd8d30bf50fa7911279af673db1352bb2cc7f9dfbbc821bacb2b9e40e082e3