Skip to content

Releases

v4.2.2

Choose a tag to compare

@agneum agneum released this 11 Nov 09:17

New Features

  • UI: snapshot, clone and branch pages show a Data lag row in the Summary section, e.g. 2 hours 3 minutes (!1227, #805)

Improvements and Fixes

  • Creating a clone with "restricted": true no longer fails when a database name needs quoting, such as app.24, APP_24_12 or a name with spaces (!1233, #816)
  • Physical mode: when Postgres in the sync instance stops responding for 30 seconds, the engine saves diagnostics and restarts the sync container instead of snapshotting stale data indefinitely (!1218, #799)
  • After a config reload, scheduled snapshots and logical refreshes update dataStateAt in /status again instead of leaving it frozen until a restart (!1229, #813)
  • A config reload during a logical refresh on a multi-pool instance no longer leaves the refreshed pool marked empty with its snapshots hidden; pool state is guarded against concurrent reloads (!1230, #814)
  • A panic in a background goroutine no longer terminates the engine, and a clone caught mid-operation gets a final status instead of staying in a transient one (!1231)
  • Logical restore with skipPolicies: true works for explicit databases: entries, root-level directory dumps, custom-format files and a single-file dumpLocation (!1211, #797)
  • Logical restore discovers plain-text SQL dumps, and an explicit databases: {postgres: {}} entry no longer adds --create (!1213, #798)
  • With backupName: LATEST, WAL-G errors such as missing credentials or unreachable storage are reported instead of a generic failure, and an empty backup list says so (!1223, #802)
  • A failed clone upgrade keeps pg_upgrade output in upgrade/logs/pg_upgrade_output.d and reports the postmaster error on undo (!1207, #793)

Security

  • /admin/* routes accept only the shared verificationToken; personal tokens (platform.enablePersonalTokens) keep working on all other routes but no longer grant admin access (breaking change for clients that called admin routes with a personal token) (!1226, #806)
  • Binaries are built with the latest Go 1.27 patch release (up from 1.26.8), fixing CVE-2026-78667, CVE-2026-97031, CVE-2026-111943 and other standard library CVEs; klauspost/compress is bumped to 1.18.7 and OpenTelemetry modules to 1.45.0 (!1212, !1224, #803)
  • The UI and Swagger UI images run on nginx 1.30.6 (up from 1.29), which fixes 17 nginx advisories from 2026 (!1228, #807)
  • dompurify is bumped to 3.4.17, and the UI dev dependencies vite, vitest and happy-dom are bumped to clear pnpm audit findings (!1225)

Internal

  • The e2e suite rebuilds source clusters per job, no longer hangs on failure and runs on a dedicated runner (!1214, !1217)
  • The Trivy scan of feature-branch images no longer blocks feature pipelines; the master scan still does (!1212)

Full diff

Diff between versions 4.2.1 and 4.2.2

v4.2.1

Choose a tag to compare

@agneum agneum released this 08 Oct 14:02

Improvements and Fixes

  • Clone major upgrade no longer fails at the check stage on instances that mount TLS certificates or other files into clones: the upgrade container now gets the volumes from databaseContainer.containerConfig (!1206, #792)
  • The "Upgrade clone" button stays visible when clone upgrade is unavailable (for example, provision.pgUpgradeImage is not set); it is disabled and shows the engine's reason in a tooltip (!1205)
  • Creating a clone for a restricted user no longer fails with cannot alter partition ... with an incomplete detach when the snapshot holds a partition with a pending DETACH PARTITION ... CONCURRENTLY; the detach is finalized in the clone (!1208, #795)
  • Clone state (sessions.json) is written atomically, and the engine refuses to start on an unreadable state file; a crash in the middle of a write could previously lead to every clone being destroyed on the next start (!1198, #783)
  • A panic in a background job or an HTTP handler no longer terminates the engine, and data races in WebSocket token cleanup and webhook reload are fixed (!1198, !1199, #783, #784)
  • Config reload is synchronized across engine services, fixing data races between a reload and in-flight requests; two concurrent full refreshes can no longer both start, and a clone being provisioned keeps its database config across a reload (!1202, #788)
  • A rotated verificationToken takes effect on config reload instead of requiring a restart (!1199, #29)
  • A Postgres start timeout is reported as an error instead of success, and POST /observation/stop no longer hangs when the observation session ended with an error (!1199, #784)
  • The pool is activated and branching is initialized when there are no retrieval jobs or the snapshot already exists (!1199, #784)
  • --extra-config and --tags values without = make dblab return an error instead of panicking (!1199, #784)
  • Not-found and bad-request API errors return 404/400 instead of 500; percent-encoded snapshot IDs are accepted; POST /snapshot returns the snapshot model with correct sizes; an empty deleteAt is rejected with 400; the log of a branch named snapshot is reachable (!1197, #782)
  • The OpenAPI spec matches the engine's routes and models, including 7 previously undocumented operations (!1196)
  • The Logs tab no longer leaks WebSocket connections and auto-scrolls again, and a render error shows a message instead of a blank page (!1203, #787)

Security

  • An empty provision.upgradeImageAllowList now allows clone upgrades only to images from the repository of the clone image instead of any repository; set ["*"] to restore the previous behavior (breaking change of the default) (!1200, #786)
  • Host, user, database and table names are shell-quoted in logical dump and restore commands (!1200, #786)
  • Physical-mode envs values (WAL-G and pgBackRest credentials) are masked in the config view and in GET /admin/config; the configuration editor keeps the stored values on save (!1200, #786)
  • The HTTP server has read and idle timeouts and a 1 MiB request body limit (413 PAYLOAD_TOO_LARGE), and the API client applies a request timeout (!1200, #786)
  • Binaries are built with Go 1.26.8 (up from 1.26.7), and golang.org/x/crypto is bumped to v0.57.0 (!1201)
  • moment is bumped to 2.31.0 (CVE-2026-17495) and dompurify to 3.4.16, with raised floors for fast-uri, brace-expansion, browserslist, js-yaml and other transitive UI dependencies (!1210)

Internal

  • Release tags are gated on the e2e matrix (PG 10-18) and the integration suite; publish jobs run only after the tests pass (!1201)
  • ESLint and unit tests run for every UI package, including @postgres.ai/shared (!1203, #787)

Full diff

Diff between versions 4.2.0 and 4.2.1

v4.2.0

Choose a tag to compare

@agneum agneum released this 11 Sep 02:54

New Features

  • Simplified install: the UI Configuration tab opens in a new Simple mode — paste a source connection URL and password, and the engine detects the provider (RDS, Aurora, Heroku, Supabase and others), Postgres image and tag, databases, shared_buffers, shared_preload_libraries and query-tuning parameters, then applies the proposed config; Expert mode keeps full control and adds WAL-G and pgBackRest physical-mode fields (!1148, #713)
  • CLI: new dblab local-install command runs the same source detection and applies the proposed logical-mode config from the terminal (!1148, !1192, #774)
  • Clone major upgrade: upgrade an existing clone to a newer PostgreSQL major version in place with pg_upgrade --link, via POST /clone/{id}/upgrade, dblab clone upgrade or the UI; the target version comes from the configured provision.pgUpgradeImage and is reported on /status, and resetting the clone rolls it back (!1180, !1188, #756, #768)
  • Deletion protection and auto-deletion for branches and snapshots: protect a branch or snapshot forever or for a set duration, and let the new retention config section delete unused ones after N minutes (safe-only: anything with clones, children or protection is never removed); new PATCH /branch/{name} and PATCH /snapshot/{id} endpoints and --protected options in dblab branch and dblab snapshot update (!1161, !1166, !1171, #727, #735, #742)
  • Configs: whole-value ${VAR} / $VAR environment placeholders are expanded in engine, CI checker and CLI configs, including retrieval job options such as source passwords and S3, WAL-G and pgBackRest credentials, so secrets no longer have to be stored in plain text (!1140, !1178, #750)
  • Retrieval: new customOptions for WAL-G and pgBackRest physical restore passes extra tool flags (for example --restore-spec or --mask) without switching to customTool (!1182, #760)
  • Teleport (Standard and Enterprise Editions): opt-in platform.bindClonesToUser labels each clone with its owner (dblab_user), so Teleport db_labels rules can limit users to their own clones; covers clones created with a personal token and from the Platform console (!1163, !1173, #731)
  • Teleport: attach custom labels to sidecar db/app resources with the repeatable --label key=value flag or TELEPORT_LABELS; instance ownership moves to a dedicated dblab_instance label (!1162, #730)

Improvements and Fixes

  • Faster clone creation: data ownership is normalized once when a snapshot is prepared, so clones skip the recursive chown -R that dominated provisioning time on large databases (!1169, #737)
  • Retrieval: containerConfig.volume entries are now applied as bind mounts to retrieval containers (single value or list, bind options such as :ro preserved) (!1175, #746)
  • Engine: stop stacking a new dump-directory bind mount on every engine start, which could eventually fail with no space left on device and keep the engine down; the engine now warns at startup about nested or stacked mounts and prints recovery steps (!1191, #775)
  • Engine: failure diagnostics fall back to container logs when no Postgres CSV log exists, and the physical-mode config examples document routing sync and promote container logs to the Docker logging driver (!1146, #711)
  • CLI: list/ls, create, delete/rm and switch are now dblab branch subcommands; previously dblab branch list silently created a branch named list (!1193, #776)
  • UI: show branch data state time in UTC instead of shifting it by the browser's timezone offset (!1194, #777)
  • UI: stop clone status polling after leaving the clone page (!1172, #743)
  • UI: fix snapshot calendar and instance tab colors in the dark theme (!1187, #767)
  • Teleport: map clone ID characters that Teleport rejects in resource names (such as _) to hyphens, so these clones register instead of failing silently (!1189)
  • Standard Edition: fix an engine crash-loop when the Platform billing response has no recognized organization (!1170, #741)

Security

  • Engine: build with Go 1.26.7 (up from 1.26.2), clearing Go standard library CVEs in all shipped binaries (!1147, !1160, !1183, #712, #761)
  • Engine: migrate the Docker client from github.com/docker/docker to the github.com/moby/moby split modules, clearing CVE-2026-34040 and related advisories, and drop the docker/cli dependency (!1176, #748)
  • Engine: bump golang.org/x/crypto to v0.55.0 and golang.org/x/mod to v0.40.0, along with related golang.org/x modules (!1157, !1183, !1184, #706, #764)
  • Images: digest-pin the rds-refresh Alpine base image, and track the docker-cli 29.x series so rebuilds pick up upstream security releases (!1152, !1183, #717)
  • Images: drop the dblab-server *-zfs0.8 variants, which were pinned to end-of-life Alpine 3.12 and ZFS 0.8 and carried unfixable CVEs; hosts still on ZFS 0.8 (stock Ubuntu 18.04/20.04) must upgrade to ZFS 2.x before updating (!1145, #710)
  • CE UI: update vulnerable dependencies — vite 6.4.3, vitest 3.2.7, cypress 15.x (drops extract-zip and enquirer), and raised floors for dompurify, qs, form-data, postcss, js-yaml, ws and others (!1157, !1160, !1179, !1184, #754, #764)

Internal

  • CI: blocking Trivy scans for fixable HIGH/CRITICAL findings in the DBLab Server, CI Checker, RDS Refresh, CLI and CE UI images on MR and default-branch pipelines (!1181, #757)
  • CI: required CE UI unit test job and a production dependency audi...
Read more

v4.1.4

Choose a tag to compare

@agneum agneum released this 01 Sep 09:28

Security

  • Engine: bump the Go toolchain to 1.26.7 and golang.org/x/mod to v0.40.0, and digest-pin the rds-refresh Alpine base image (!1183)
  • Engine: bump golang.org/x/crypto to v0.55.0 (!1184)
  • Engine: track the docker-cli 29.x series instead of an exact -rN pin, so image rebuilds pick up upstream security releases (!1152, !1186)
  • CE UI: bump cypress to 15.x, which drops the extract-zip and enquirer advisories that had no upstream fix (!1184)
  • CE UI: refresh the pnpm overrides for dompurify, qs, nanoid and @babel/core (!1184)
  • CE UI: add the postcss, brace-expansion, form-data, tmp, fast-uri, immutable, js-yaml and ws overrides (!1186)
  • CE UI: pin vite to 6.4.3, fixing a server.fs.deny bypass and an NTLMv2 hash disclosure through launch-editor (!1186)

Internal

  • CI: install google-cloud-cli instead of the retired google-cloud-sdk package, which no longer resolves on Debian trixie (!1183)

Full diff

Diff between versions 4.1.3 and 4.1.4

v4.1.3

Choose a tag to compare

@agneum agneum released this 08 May 12:53

Security

  • Engine: trim Docker runtime image payloads to reduce CVE surface (!1144, #709)
  • CE UI: bump uuid and marked to fix dependency CVEs (!1142)

Full diff

Diff between versions 4.1.2 and 4.1.3

v4.1.2

Choose a tag to compare

@agneum agneum released this 29 Apr 10:26

Security

  • CE UI: refresh Alpine packages in run stage to clear OS CVEs (!1141)

Full diff

Diff between versions 4.1.1 and 4.1.2

v4.1.1

Choose a tag to compare

@agneum agneum released this 24 Apr 07:43

New Features

  • Auto-detect parallelism for pg_dump and pg_restore based on RDS/Aurora instance type in the logical refresh component (!1133)
  • Expose logicalRestore configs in config projection and UI (!1130, #701)
  • CLI --protected flag accepts duration suffixes (m/h/d) for time-limited protection leases (!1132, #702)

Improvements and Fixes

  • Retrieval: pull container image when Docker inspect returns a wrapped not-found error (!1129, #700)
  • UI: fix CreateClone form layout and deletion protection label (!1134, #703)
  • Documented Prometheus metrics endpoint and aligned OpenAPI spec with API version 4.1.0 (!1131)

Security

  • Bumped pgx, pinned Go to 1.26.2, updated Docker base image to docker:29.4.1 (!1139, #706)
  • Bumped backend and UI dependencies and base image to address further CVEs (!1138, #705)

Internal

  • Added CVE audit skill and scheduled GitLab CI jobs for recurring dependency and image scans (!1137, #704)

Full diff

Diff between versions 4.1.0 and 4.1.1

DBLab Engine v4.1.0

Choose a tag to compare

@agneum agneum released this 07 Apr 13:24

New Features

  • Teleport integration (available in Standard and Enterprise Editions only): new dblab teleport serve CLI command and hostssl cert in default pg_hba (!1105)
  • RDS/Aurora logical refresh component (!1070)
  • Built-in databaseRename option for snapshot jobs (!1096)
  • Protection lease concept for time-limited clone protection (!1088, #669)
  • Prometheus exporter for DBLab metrics (!1087, #668)
  • Sync WAL lag Prometheus metric for physical mode (!1093, #673)
  • ARM64/Colima support and UI API proxying fixes (!1077)
  • Redesigned Disks section in UI to group datasets under a shared pool header (!1103, #682)
  • RDS IAM instance identifier added to config projection (!1106)

Improvements and Fixes

  • Fixed UI config page crash on undefined databases and customOptions in formatConfig (!1126, #697)
  • Fixed UI 404 on page refresh at /instance (!1120, #693)
  • Fixed pool name in the snapshot API (!1117)
  • Fixed projection.Store overwriting existing YAML slices and maps (!1111, #687)
  • Added timeout to retrieval activity endpoint to prevent hanging (!1109, #686)
  • Stabilized branch metadata verification and protected branch heads during cleanup (!1097)
  • Fixed tab-delimited ZFS output parsing in branch functions (!1102)
  • Fixed misleading disk space indicator for shared ZFS pools (!1095, #674)
  • Use --snapshot-id instead of branch in CLI clone command snippet (!1094, #657)
  • Set default branch to main for clone creation (!1075, #662)
  • Fixed test errors after PostgreSQL 9.6 removal (!1116, #683)

Security

Internal

  • Migrated UI to Vite and ESLint 9, fixed npm CVEs (!1122, #320, #315, #288, #287, #236, #235, #229)
  • Bumped backend dependencies, added upgrades and CVE fixes implementation plan (!1121)
  • Bumped Node from 22-alpine to 24-alpine and closed remaining Dependabot PRs (!1123)
  • Batch patch-level Go and UI dependency bumps (!1128)
  • Bumped all dependencies (Dependabot consolidation) (!1118, #691)
  • Limited Dependabot to security-only updates (!1127)
  • Ignored major version bumps in Dependabot config (!1125)
  • Updated Dependabot configuration for weekly updates (!1072)
  • Improved unit test coverage from 19% to 26% (!1113)
  • DCF-5: added CI peer review gate (SOC2) (!1108)
  • Enabled GitLab SAST scanning - DCF-712 (!1104)
  • Fixed semgrep-sast job broken by global CI settings - DCF-712
  • Added gitleaks pre-commit hook (!1112)
  • CI: added interruptible jobs, auto-cancel, and reduced MR test matrix (!1091, #670, #671)
  • Added missing artifacts to build-binary-client-master (!1092, #670)
  • Added pre-push testing requirement to CLAUDE.md (!1101)

Full diff

Diff between versions 4.0.4 and 4.1.0

DBLab Engine v4.0.4

Choose a tag to compare

@agneum agneum released this 24 Feb 12:22

Security

Bug Fixes

  • Fixed config page losing shared_preload_libraries value on reload when using SE images (!1085)
  • Fixed logical snapshot cleanup on full-refresh (!1068)
  • Fixed duplicate "ago" suffix in snapshots list timestamps (!1089)
  • Fixed PostgreSQL icon rendering artifact caused by improper SVG path closure (!1082)
  • Fixed dataset names not showing in branch dropdown (!1080)
  • Removed hardcoded placeholder IP address (34.56.78.90) from default configuration (!1046)

Full diff

Diff between versions 4.0.3 and 4.0.4

DBLab Engine v4.0.3

Choose a tag to compare

@agneum agneum released this 08 Dec 10:07

Improvements and Fixes

  • Fixed snapshot creation using the CLI 'snapshot create' command (!1061)
  • Fixed duplicate mount entries in /proc/mounts (!1063)
  • Added timeout to psql activity command and improved connection handling (!1062)
  • Fixed branch list sorting to use dataStateAt field (!1064)
  • Fixed duplicate branches appearing in the CLI list command (!1065)

Internal

  • Updated dependencies to address critical CVE vulnerabilities (!1066)
  • Updated Docker base image and Docker Go SDK to v27.1.1 (!1066)
  • Fixed deprecation linter warnings (!1067)

Full diff

Diff between versions 4.0.2 and 4.0.3