3ngram 1.1.3
3ngram v1.1.3
Patch release: fix the database migrator's role-provisioning step.
Changes
runMigrations()now executesprovision-roles.sqlover the Postgres simple
query protocol instead of the extended protocol, so itsDO $$…$$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 … NOBYPASSRLSin provisioning is now tolerant of managed Postgres
(e.g. Neon) where the provisioning role lacks privilege to change BYPASSRLS;
CREATE ROLE … NOBYPASSRLSalready sets it.
Release artifacts
@3ngram/server@1.1.3,@3ngram/sdk@1.1.3, and3ngram@1.1.3on npm@3ngram/db@0.6.2and@3ngram/core@0.6.3on npmghcr.io/b3dmar/3ngram:1.1.3for 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