Repository navigation
What's Changed in dbt UI v0.2.0
This release fixes security and behaviour bugs, makes project environments survive container upgrades, and adds a documentation website.
Upgrade notes
- The backend API now listens only on the server itself (127.0.0.1:8000). Browsers reach it through the frontend's /api/ path, so nothing changes for users. If something else on your network called port 8000 directly, change the mapping back to "8000:8000" in your compose file.
- Every project's Python environment is rebuilt once after the upgrade, on the first open or the first scheduled run. Pythons downloaded by uv now live in git-repos/.dbt-ui/, next to the environments that use them. That keeps environments working when the container is recreated.
- DBT_UI__SCHEDULER_MAX_MEMORY usually doesn't need to be set. It limits address space, not real memory, and dbt can fail with can't start new thread at values like 512m even though it uses far less. The README explains this now.
- The frontend build no longer takes DBT_UI__METADV_ENABLED. MetaDV is still switched on and off at runtime with the same variable.
Security
- Backend settings (DBT_UI__*, including the encryption key and login password) are no longer passed to dbt, git, uv or any other child process.
- Git credentials no longer appear in the askpass helper script. The script now reads them from its environment.
- Behind HTTPS, the credentials and env-var cookies get the Secure flag. nginx passes along the X-Forwarded-Proto header from a TLS proxy in front of it.
- Show data no longer writes query results to the backend log.
- Opening a project subfolder as a worktree can no longer reach outside the repository.
Fixes
- Show data uses the target selected in the toolbar, noviews are cached per target.
- Show data, dbt ls, environment setup, dbt deps and Me safeguards as scheduled runs. They run at lower CPUpriority and are killed first when the server runs out of memory, so a large project can't make the API unresponsive.
- Env vars:
- The scan finds env_var() calls in YAML (escaped quotes) and reads their default values.
- Defaults appear as placeholders instead of being fi
- dbt deps and dbt ls use your saved env vars.
- The dbt version comes from require-dbt-version in all its forms: bare versions (1.8.0), ranges, and lists.
- Editing a job that pulls from a private repository nown git credentials first, if you have none. Before,
saving silently dropped the stored credentials and th - Runs started from the editor use DBT_UI__SCHEDULER_MANUAL_TIMEOUT, also in the setup without the scheduler. The timeout message says
which setting to change. - The test notification links to dbt UI (DBT_UI__FRONTE
- Recent projects reopen from the original git URL or path. Only projects that actually opened are recorded.
- Unsaved changes are confirmed before you switch files, select a folder, or close MetaDV.
- The Git dialog asks before destructive actions such a
- Job timeouts are entered in minutes, up to 7 days, in rerun dialog.
- The MetaDV hint mentions both supported packages (automate_dv and datavault4dbt).
- docker-compose-without-scheduler.yml restarts both costart: unless-stopped).
Improvements
- The code editor (Monaco) is bundled with dbt UI insteCDN, so it works on servers without internet access.
- New docs website: https://dbt-ui.data-diving.com/ covers installation, everyday use, the scheduler, administration and an FAQ. The Scheduler section of the README is now a one-line sum
- Package versions in the README are updated.
Full Changelog: v0.1.6...v0.2.0