Release Notes navigation

v0.114-0

Released 2026-06-16 · GitHub release · Full extracted delta

All statements on this page are derived from the source code at the v0.114-0 tag (commit d02095a0), compared against v0.113-0.

Highlights

  • Schema validation is enforced by default. Collection $jsonSchema validators are now enforced on write operations out of the box (documentdb.enableSchemaValidation flipped to on), and bypassDocumentValidation is honored by default (documentdb.enableBypassDocumentValidation flipped to on).
  • The gateway can be configured through environment variables. Seven DOCUMENTDB_* variables (PG URL file, listen address, TLS cert/key/auto-generate/state directory, log level) were added for systemd-managed and container deployments, along with a documentdb-gateway check connectivity-probe subcommand. See Configuration.
  • Unique ordered indexes build without blocking writes. documentdb.enableNonBlockingUniqueIndexBuild (new, on by default) builds unique ordered indexes via CREATE INDEX CONCURRENTLY with post-processing.

Configuration default changes

Six GUC defaults changed in this release:

GUCPreviousv0.114-0
documentdb.enableSchemaValidationoffon
documentdb.enableBypassDocumentValidationoffon
documentdb.enableCollModUniqueoffon
documentdb.enablePrepareUniqueoffon
documentdb.enableUniqueReindexoffon
documentdb.EnableOperatorVariablesInLookupoffon

New configuration settings

30 GUCs were added, most of them feature flags. Notable additions with their defaults:

  • documentdb.enableNonBlockingUniqueIndexBuild (on) — non-blocking unique index builds (see highlights).
  • documentdb.enableCompactVacuumFull (off) — allows compact to run a blocking VACUUM FULL; while off, compact is a no-op.
  • documentdb.enableStrictAddToSetModifierValidation (on) — rejects $position, $slice, and $sort inside $addToSet, matching documented behavior.
  • documentdb.enableCommutativeUpdateMany (off) — commutative writes for updateMany; can deadlock under concurrent same-document updates.
  • documentdb_core.enableBsonSelectivityFromBtreeStats (off) — BSON selectivity estimation from btree statistics.

The extracted delta lists all 30 additions and the 11 GUCs removed in this release (including documentdb.enableSortPushToAccumulator, which existed only in v0.113-0).

Gateway

  • New environment variables: DOCUMENTDB_PG_URL_FILE, DOCUMENTDB_LISTEN_ADDR, DOCUMENTDB_TLS_CERT_FILE, DOCUMENTDB_TLS_KEY_FILE, DOCUMENTDB_TLS_AUTO_GENERATE, DOCUMENTDB_TLS_STATE_DIR, DOCUMENTDB_LOG_LEVEL.
  • New subcommand: documentdb-gateway check [--config <path>] — post-install connectivity probe that validates the PostgreSQL connection and reports the installed extension version.

SQL surface

Seven SQL functions were added, including the dynamic cursor drain function cursor_dynamic_drain_page and six BSON selectivity-estimator functions (bson_eqsel, bson_neqsel, and scalar comparison variants) backing the new btree-statistics selectivity flag.