Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 04:32

ERD Studio 2.0 is a major release: new projects are stored as DBML. Nothing changes in your project until you run ERD Studio: Convert Project to DBML. Before converting, commit your work: Undo works while VS Code stays open, and git is the safety net. Existing YAML and JSON projects keep loading and stay fully editable. What breaks is for tools that read .erd-studio directly: a new project writes .dbml files under a folder per layer (<layer>/tables/<schema>/<name>.dbml, <layer>/relationships/<file>.dbml and <layer>/diagrams/<name>.dbml, each diagram keeping its table positions inside it) instead of .yml and .json, and erd-studio doctor --json gains erd.storage (dbml, yaml or mixed), which says which kind a project writes.

If you tried a 1.9 pre-release: 2.0 does not read the folder layout 1.9 wrote. Restore your YAML/JSON files from git (the commit before the conversion) and run ERD Studio: Convert Project to DBML again. A 1.9 pre-release cannot read a 2.0 project: update before opening one.

Added

  • Import SQL DDL… reads Oracle, Google BigQuery, Amazon Redshift and SQLite. Each is a dialect of its own in the pick and is detected from the scripts: Oracle SQL*Plus scripts and DBMS_METADATA output (PROMPT, SET, / lines, PL/SQL, q'[…]' strings, identity columns, VARCHAR2 and NUMBER(p,s) kept as written, keys added by ALTER TABLE … ADD ( CONSTRAINT … ), COMMENT ON descriptions; storage, tablespace and partition clauses left out), BigQuery DDL (`project.dataset.table` names, STRUCT<…> and ARRAY<…> columns, OPTIONS(description = …) and SET OPTIONS as descriptions, triple-quoted and raw strings, # comments, NOT ENFORCED keys; PARTITION BY and CLUSTER BY left out), Redshift DDL (ENCODE, DISTKEY, SORTKEY, DISTSTYLE and IDENTITY(…) left out and listed) and SQLite schemas (square-bracket names, AUTOINCREMENT, typeless columns as unknown; virtual tables, SQLite's own sqlite_… tables and triggers left out). The start screen now offers an Oracle script like any other.

  • Context fields: one list of what your team records about each table. A table's grain, purpose and decisions, its owner, how sensitive it is: an optional .erd-studio/fields.yml lists the fields your project records on tables and on columns, in the order the Detail panel shows them. A bare name (- purpose) is a built-in field as ERD Studio ships it; - key: … is a built-in in your own words, or a field of your own with a label, a type (text, value, choice with its values, or yes-no), one sentence of guidance, who fills it in (filled_by: anyone, people, or dbt for a value copied from the dbt model's meta:) and which tables it suits (show_for: dimensions or facts, read from the table's role). Without the file you get the starting set: Grain, Purpose, Decisions, Open questions, Table role, History on dimensions and Measures on facts, and Natural key, SCD type and Additivity on columns. The file is committed with your model, so every teammate's canvas and every AI assistant follow the same list. See Field list.

  • One rule for every field in a .dbml table: <key>: '<value>'. Built-in or your own, on the Table line or on a column (purpose: '…', decisions: '…', owner: 'crm-team', pii: 'true'), with no prefix, so a table file reads like your field list and your assistant has one rule to follow. Names DBML and ERD Studio use themselves (note, default, schema, alias, meta_json, anything starting erd_, rationale_ or meta_) can never be a field. A list or a map copied from dbt still goes into the one meta_json setting.

  • Two new fields on every table: Decisions and Open questions. Decisions holds a choice a later editor might undo, and why, so nobody "fixes" it. Open questions holds what is still undecided: assistants write the question there and ask you, then move your answer into Decisions. Source of truth, Freshness, Known issues and Retention (filled in by people only) for tables, and Business rule for columns, are ready to add to fields.yml.

  • The Detail panel shows your fields, in your order. Each field gets a text box, a one-line box or a dropdown (a choice, a yes or no, the table role), with its guidance as the placeholder and a from dbt or people only hint where it has one. Nothing with a value is hidden: a setting your list does not name shows under Not in your list, and a retired field is marked Retired. + Add field still adds a field of your own. ERD Studio: Customise Fields… (or Customise fields in the panel) opens fields.yml; without one it opens the starting set as an unsaved file, so nothing is written until you save it. A change to fields.yml (a pull, a hand edit or your assistant's) shows on every open diagram straight away. The physical stage shows the design's fields too, read-only.

  • erd-studio doctor checks your fields (erd.fields in --json): a reserved, badly spelt or repeated key in fields.yml is an error with its line (next step fix-fields-file), a name that is not a built-in is a warning ("purpse is not a built-in field. Did you mean purpose?"), and so are a value outside a choice's list and one field written two ways in one table. It also counts tables with older spellings, retired fields and fields your list does not name.

  • fields.yml has a JSON Schema (schemas/fields.schema.json): with Red Hat's YAML extension, VS Code completes the built-in names, types and filled_by, with each built-in's guidance in the list, and flags a reserved key.

  • Your AI assistant follows the field list. The AI helper files (harness v46) replace the fixed design rationale and the team's metadata list with one Fields section: read fields.yml, fill each field the way its type and filled_by say, never write a placeholder, keep every setting the list does not name, and edit an older spelling where it is. /erd-studio-setup proposes a list from your modelling style and the metadata your dbt models already record, saves it with one yes, and leaves out the dbt keys you list under left_out. A ## Metadata table in modelling-approach.md keeps working: the assistant offers once to move it into fields.yml.

  • The safety check now covers GitHub Copilot, Codex and Gemini CLI too. Set Up My AI Helper adds a small hook for each of those assistants it finds (as Claude Code already had) that pauses the first edit to an .erd-studio file in each session until the assistant has loaded ERD Studio's format rules; it then retries and carries on. The hook only ever pauses that one edit and never approves anything. GitHub Copilot's goes in .github/copilot/settings.local.json (read by the Copilot CLI and Copilot sessions in VS Code), Codex's in .codex/hooks.json (Codex asks you to trust it in /hooks first) and Gemini CLI's in .gemini/settings.json; ERD Studio keeps the Copilot and Codex files out of git and leaves your other settings in all three as they are. A settings file with comments in it is left alone, and Set Up My AI Helper says so. On Windows, Claude Code's check needs Git Bash, and GitHub Copilot's and Codex's don't run. Cursor and Antigravity CLI aren't supported yet and keep relying on the always-on skill. See Working with your AI assistant.

  • A Relationships view in the sidebar. Every relationship in the project, under each of its tables: → the tables it points at, ← the tables that point at it, with the columns and the cardinality (customer_sk · N:1). Click one to see it on a diagram: the diagram that shows both tables opens (you pick one when several do) with the relationship's line selected, its columns lit and the view centred on its two tables. When no diagram shows it yet, the click opens where it is written instead, as the row's Open in File icon always does (the Ref line in a DBML project, the table's file or the diagram in an older YAML/JSON project). A relationship that names a table or column the Table Library does not have is listed first, under Needs attention.

  • Projects are stored as DBML, an open format, one folder per layer. Under .erd-studio/, each layer (bronze, silver, gold, …) has three folders: tables/<schema>/ with one .dbml file per table, declared Table <schema>.<name> (the schema folder is the table's schema: a source system, a domain or the warehouse schema), relationships/ with the relationships as Ref lines (one default file per layer, <layer>/relationships/<layer>.dbml, which you can split into more files however you like), and diagrams/ with one .dbml file per diagram: the tables it shows (use lines), the relationships files it needs, its sticky notes, then its Project. A README.md explains the folders. DBML parsers 9.1 and 11+ read the project as it is (10.x too, unless a folder in its path has a space): open a diagram file in another DBML tool and it shows that diagram. ERD Studio edits these files in place: your hand edits, comments and the DBML settings it does not use (not null, defaults, indexes, enums, …) are kept, and saving without a change leaves a file byte for byte as it was. A table file that does not parse is shown as unreadable and never rewritten.

  • Positions live in the diagram file, and Cmd+Z undoes a drag. A diagram keeps where its tables and sticky notes sit as an erd_layout setting in its Project, one line per table (fct_order 400 200), sorted by name, which other DBML tools ignore. Moving a table changes only those lines, as one edit of the diagram, so Cmd+Z (or Edit > Undo) puts it straight back, and the sidebars are not refreshed. When git leaves conflict markers inside erd_layout, only positions differ: the diagram opens with the first copy of each line, ERD Studio saves no move until you keep either side, and doctor says so.

  • Tables keep their schema, and relationships stay where you put them. A table added on a canvas goes into the diagram's layer; its schema folder is dbt's configured schema for a model with one (+schema or config(schema=…)), the same on every machine and never the schema dbt built in your dev target, else the layer's name. Import DBML… keeps a table's Table sales.orders schema, and says when it reuses an existing folder spelled differently in case. A new relationship goes into the relationships file that already holds most of its foreign-key table's relationships, in any layer, else that table's layer's default file; an existing one is always changed where it is, so a file you split by hand stays split. A relationship that any relationships file already holds is refused, with the file and line. Every diagram imports exactly the relationships files it needs, kept up to date in the same edit, so other DBML tools draw the same relationships ERD Studio does.

  • Language modes and icons for DBML files. Under .erd-studio, a diagram, a table and a relationships file open as DBML Diagram, DBML Table and DBML Relationships, each with its own icon in the Explorer, on tabs and in the ERD Studio views, and the same highlighting, comments and Format Document as any .dbml file. The icons show under a file icon theme with no .dbml icon of its own (Seti works), and only in the default .erd-studio folder (a custom erdStudio.semanticDir keeps plain .dbml files).

  • ERD Studio: Convert Project to DBML moves an existing YAML/JSON project to DBML in one step. It shows what it will write first, as a scrollable list in a Convert to DBML tab: a one-line summary, then Handled for you (fixes it makes by itself, such as a diagram that names a table in another case, or a table file with a key written twice with the same value), Left as YAML until fixed (or Left as JSON, for diagrams: a file it cannot read or write as DBML, such as one that does not parse or has a key written twice with different values: it stays exactly as it is, with Open at the file and line, and running Convert again after fixing it finishes the job; Check Again re-reads it straight away), Kept as missing on their diagrams (a table a diagram lists that has no table file stays on the diagram, drawn as missing exactly as before, until you create it with Add from dbt), then the tables, relationships files, diagrams, files removed and notes, with Convert and Cancel always in view (and erd-studio doctor previews the same plan). The same project always gives the same plan, and every converted diagram is checked to draw what it drew before. Everything is applied as one undoable edit, and it lists what it changed on the way: relationships it moved from diagram files into the Table Library, YAML comments and keys ERD Studio does not read (kept as // comment lines), and relationships it cannot write as a live Ref yet because a table has no file (kept as // erd-studio pending: lines and still drawn; they become live once both tables have files, and renaming, moving or deleting a table keeps them in step). An empty table file, a dbt schema file copied into the Table Library and a diagram in a folder layers.json does not list are left as they are, each with what it is. A table file with git merge conflicts or a tab indent, and a diagram in a format that no longer loads, say what to do. A table file named .yaml (or .YML) is left with the name to give it rather than called missing, and doctor's unlinkedTable line says the same. erd-studio doctor lists every file Convert would leave with its problem, and says when Convert fixes one by itself. A composite relationship of one column pair is converted as a single relationship, with a note. Metadata keeps its key order, in Convert and in every later edit of a DBML table. It puts each table under a layer (its library folder when that is a layer, else the layer of the diagrams that show it when they agree, else the first layer in layers.json) and a schema folder (the table's schema, else its library folder, else public), listing every choice in its notes, and writes each relationship to its foreign-key table's layer's default relationships file. It refuses only where leaving a file as it is would not help: a layer named tables, templates or logical-models, files an ERD Studio 1.9 pre-release wrote (it lists them to delete first), an existing DBML table or relationships file it must change but cannot (it names the file to fix), or its own check failing (with Send Feedback). Convert then opens a converted diagram (or file); Edit > Undo straight after, with it in front, puts every file back. It also finishes a half-converted or mixed project. When you open a diagram in a YAML project the editor offers it once, in a dialog you answer (Convert…, Don't Ask Again, or Cancel for not now); Don't Ask Again keeps it quiet.

  • erd-studio doctor reports storage (dbml, yaml or mixed), the DBML problems of every file with their line and severity (and, for a missing or wrong line, the exact line to write; a hand-written Metadata block outside a table's own file, whose values the canvas does not show, is a foreignMetadata warning), and the Convert preview. New next steps: fix-dbml-file, resolve-format-conflicts, finish-dbml-conversion (which also lists the files Convert left as they are until fixed), import-dbml-file and reconvert-dbml-project (files from an ERD Studio 1.9 pre-release, legacyDbmlTree: one error for the project, with the steps); new warnings unlinkedTable (a table on a diagram with no table file, or one still in YAML, named by the file the diagram draws it from), pendingRelationship, missingRelationshipsUse / extraRelationshipsUse (a diagram that lacks, or does not need, a relationships file's use * line), dbmlOutsideKnownFolders (a .dbml where ERD Studio does not read it, with where it belongs; a Silver/ folder gets "layer folders are lower-case ids; rename Silver/ to silver/ and set its label in layers.json"), dbmlLayerNotConfigured, unexpectedFileInDbmlFolder, relationshipsFileHoldsOther, schemaFolderMismatch, unqualifiedTable, schemaProperty and the erd_layout checks (layoutBadLine, layoutDuplicateKey), and new errors duplicateTableName (one name in two table files), layoutBadValue and layoutMergeConflict. Warnings never raise a next step. A diff fix for a DBML relationship names the file that holds it and changes it in place. update-harness now covers every AI helper you installed (Claude Code, .agents, Copilot, Gemini, AGENTS.md), and helper files from a newer ERD Studio are reported ("Update ERD Studio") and never replaced.

  • Opening DBML files. A diagram's .dbml (in a diagrams/ folder) opens on the canvas; a table or relationships file opens as text (their source-control diff and the merge editor work as for any text file). Any other .dbml opened on the canvas, such as a tab restored from a 1.9 pre-release, shows a page saying what it is and how to reopen it as text. A dbdiagram.io single-file .dbml dropped into a diagrams/ folder shows a banner with Import these tables….

  • ERD Studio works in any folder, no dbt needed. Open a folder and the ERD Studio sidebar offers New Diagram (draw your first data model from scratch) and an import (a DBML file from dbdiagram.io or any DBML tool, SQL DDL scripts or a Power BI semantic model). New Diagram creates the .erd-studio/ folder and its layers the first time you use it; opening a folder writes nothing and shows no prompts. Without a dbt_project.yml the canvas shows only your logical design. A folder that already has an .erd-studio/ folder starts ERD Studio by itself, and any dbt project in the workspace is still preferred, as before. To compare your design with what dbt built, open the dbt project's folder.

  • One start screen, one click to a diagram. The Get started with ERD Studio walkthrough and the empty Diagrams view now offer the same starts, and only the ones that fit the folder: New Diagram, Import… (a DBML file, SQL DDL scripts or a Power BI semantic model) and Open an example…; in a dbt project Import from dbt comes first; in a YAML/JSON project from before 2.0, Convert to DBML comes first. Each surface has one main button and the other starts as quiet links. The walkthrough opens by itself on a first install only in an empty window (in a folder, the draft takes its place), on its start step; the ERD Studio Tour tab and the empty sidebar work in an empty window too: there they offer Open Folder and an example. The Diagrams view keeps its start buttons until the project's first diagram exists, rather than showing empty layer rows; after that, each layer ends with a New Diagram… row and the tree with New Layer…, and its + offers Import DBML… and the other ways to start one.

  • The start screen suggests where to begin. ERD Studio takes a quick look at the folder you open, on your machine only (nothing about your files is sent anywhere), and puts the likeliest start first as the one main button on the walkthrough and the empty Diagrams view: Import your Power BI semantic model when the folder holds a Power BI or Fabric semantic model, Import your SQL scripts when it holds CREATE TABLE scripts, Import your DBML file when it holds a DBML file, each going straight to that import (one click less than Import…), with a line saying why ("This folder has CREATE TABLE scripts."), each ending in the draft; Import your DBML file opens the file dialog with that file already chosen, so Import takes it in one press. The look reads only the start of each SQL file, however big, and a report-only Power BI project (one connected to a published semantic model, with no model of its own) is not taken for a semantic model. The empty Diagrams view shows "Loading diagrams…" until the suggestion is ready, so its main button never changes under your cursor. With nothing to import, New Diagram leads and Open an example… comes second. Import… stays as a quieter choice everywhere, and every surface offers at most four starts. In a YAML/JSON project from before 2.0, Convert to DBML is the one main button and the project's other starts sit under it as links.

  • ERD Studio offers your first diagram as soon as it opens the folder. In a folder with no diagram yet, where ERD Studio finds an obvious start (CREATE TABLE scripts, a Power BI or Fabric semantic model, a DBML file, a dbt project, or a project from an older ERD Studio), one notification offers it: "ERD Studio found CREATE TABLE scripts in this folder (24 tables). Show them as a diagram? Nothing is saved until you keep it." with Show Me (the draft, below) and Don't Ask Again for This Folder (then that folder gets no automatic draft and no walkthrough either; one short line confirms it, with Undo). It is shown once per folder: closing it leaves the sidebar's button and the draft on the ERD Studio icon, never another notification. ERD Studio now also starts in a folder that holds .sql, .dbml or semantic-model files, so the offer comes without opening the sidebar first; it stays quiet in a folder of queries. Turn it off for one folder with ERD Studio: Turn Off Start Suggestions for This Folder (on with …Turn On…), or for a whole repository by committing "erdStudio.startSuggestions": false in .vscode/settings.json. The look at the folder happens on your machine only.

  • Your data model as a draft, before anything is saved. The first time you open the ERD Studio sidebar in a folder with no diagram, ERD Studio shows a draft of your logical model in an editor tab, built from what the folder holds (your CREATE TABLE scripts, a Power BI or Fabric semantic model, a DBML file, or your dbt models), as a read-only diagram laid out the way the canvas lays it out. Nothing is written until you press Keep as Diagram: then it is saved as a diagram and opens on the canvas. Change options… picks other files, another dialect, layer or name (or, in a dbt project, the models you want); a Folder (dbt) or Model (several semantic models) list redraws the draft on another choice; Show details lists every table, relationship and what was left out; More ways to start offers New Diagram…, Import…, Bring In Your Data Model… and Open an Example…; Discard closes it. A big draft opens on its biggest schema, with the others in a side panel. With nothing to draw from, the draft is a finished coffee-shop example, once per machine, with New Diagram…, Bring In Your Data Model… and Keep This Example. It opens once per folder, keeps the focus in the sidebar, and when it cannot be drawn it stays quiet and the sidebar's starts remain. Every import (from the start screen, the notification, Import… or the Command Palette) and Import from dbt now end in the same draft instead of a confirmation. If your ERD Studio files change before you keep it (an assistant's edit, a git pull), the draft is redrawn and says "Your ERD Studio files changed" for you to check it again; the scripts or model it was drawn from are read once, when it opens. The drawing happens on your machine only.

  • One click to the draft of an import you have. Show Me and the start screen's Import your SQL scripts, Import your Power BI semantic model and Import your DBML file now choose everything with an obvious answer: every CREATE TABLE script in the folder (and the files that add their keys), the SQL dialect (tried in turn until one reads every file), the layer (the only one, or the one New Diagram would use) and the diagram's name (the tables' schema, else the folder's name). The draft is the one question: Keep as Diagram, or Change options… to go step by step with those answers already filled in, ending in a draft again. The step-by-step imports from the Command Palette and Import… start every question on its default, so Enter just works. Import from dbt draws your best models folder (marts before staging) and names the diagram after it, with no picker; Change options… opens the picker.

  • The draft shows everything an import brings in. Its banner says how many tables and relationships, from what, and where Keep saves them (the layer and the diagram file), what your Table Library already has, and how many notes and left-out items there are; Show details lists every table by schema (its columns and keys), every relationship, what was renamed or left out and why, and every note.

  • Show Me Around: a guide that shows you where to click, with your own tables. The first time ERD Studio shows you a draft, small callouts point at each part of it in turn, with Back, Next and Skip guide (or Esc): what the draft was drawn from and how many tables and relationships it holds, where Import… and Bring In Your Data Model… are when your data model lives somewhere else, and Keep as Diagram, which makes it your first logical model. When the diagram opens, the guide carries on there: one of your tables and how to change its columns and keys, one of your relationships and how to draw another, + Add and Layout, the Logical and Physical tabs (in a dbt project), the ERD Studio sidebar (it opens beside you), where your files live and Set Up My AI Helper, and at the end a gold Star on GitHub button if ERD Studio helps you. It runs once on each computer and never changes your files; ERD Studio: Show Me Around (also in Help & Feedback, the walkthrough and the ERD Studio Tour tab) runs it again; the guide's last card says so, and if you skip it the status bar says so for a few seconds. With no folder open, the guide's Open Folder… opens your folder and shows its draft straight away, with the guide carrying on there. A project that already has diagrams (a teammate's clone, or a project from an older ERD Studio) shows no draft, so its notice "This project has N ERD Studio diagrams" has a Show Me Around button: it opens the newest diagram and the guide starts there.

  • ERD Studio: Bring In Your Data Model… shows how to turn the data model you already have into DBML, an open format: one card each for Databricks (Unity Catalog), Snowflake, Power BI, Microsoft Fabric (a semantic model, or a Warehouse's tables), SQL Server and Azure SQL, PostgreSQL, MySQL and MariaDB, dbdiagram.io and other DBML tools, and other modelling tools, with the exact export step or command (and a Copy button) and a button that runs the right import with the source already chosen: Import Databricks DDL…, for one, reads the scripts as Databricks without asking. What your folder already holds comes first. Live database connections are listed under Not yet, with Send Feedback to ask for yours; Oracle, BigQuery, Redshift and SQLite scripts are named in the other-tools card, whose Import… reads them. It opens from the Command Palette in any window, from a draft's Bring In Your Data Model…, and as the last item of Import… and of More ways to start…. The same steps are in a new guide, Bring in the data model you already have.

  • Import from SQL DDL or a Power BI semantic model. Import… on the start screen asks what to start from: a DBML file, SQL DDL scripts or a Power BI or Fabric semantic model, with the one your folder seems to hold first. ERD Studio: Import SQL DDL… reads CREATE TABLE scripts, or a folder of them, from PostgreSQL, MySQL / MariaDB, SQL Server / Azure SQL, Snowflake or Databricks / Spark SQL (you confirm the dialect; the one the scripts look like is offered first): columns and types, primary keys (composite ones too), foreign keys (also from ALTER TABLE in another file), unique columns, and comments as descriptions; each table keeps its schema. ERD Studio: Import Power BI or Fabric Semantic Model… reads a <Name>.SemanticModel folder saved as TMDL or as model.bim (Power BI Desktop's project format, Fabric Git integration, Tabular Editor): tables, columns and relationships, with names written in snake_case and each Power BI name kept in the table's or column's meta. Pick the folder that holds the model or any folder above it, your whole repository included: only the model's own files are counted. Both then go through the same steps as Import DBML…: you pick the layer, name the diagram and see the draft of what it will create, and what was not imported (views, indexes, grants, DAX measures, calculation groups, auto date/time tables, counted by kind), before anything is written. A script or model that does not read is named with its file and line, with Open File. Both are also in the Diagrams view's + menu. Nothing is sent anywhere: the SQL grammars ship inside the extension and load only when you import SQL.

  • ERD Studio: Open an Example…. Opens a coffee-shop star schema as a draft, with an Example list of eight finished data models to explore, each laid out the way a common warehouse pattern lays it out: an enterprise warehouse with a ten-minute walkthrough (the place to start), a medallion lakehouse, staging/intermediate/marts, a Kimball bus matrix, Data Vault 2.0, a database per stage, layers in the dataset name, and a data mesh. Keep This Example adds the coffee shop to the folder you have open; Save This Example… writes a project into a folder of its own (never into your project), opens it in a new window (or in this one, when no folder is open), and its first diagram opens on the canvas. Save the same example again and ERD Studio offers the copy you already have. Nothing is downloaded: the examples ship inside the extension.

  • A getting-started video for folders without dbt. In a folder without dbt, and in an empty window, the ERD Studio Tour tab plays a tour with its own captions and transcript that never mentions dbt: bring in the data model you already have with Import…, see the DBML files it saves next to your code, edit it by hand or with your AI assistant, review that change and the code that builds it in one pull request, and share it with ERD Studio for Confluence. It never plays by itself: it waits behind Watch the Tour. A dbt project plays the same tour with a short dbt part before the end.

  • The AI guided setup works without dbt. In a folder with no dbt_project.yml, /erd-studio-setup (after Set Up My AI Helper) designs a first diagram with you: describe your business and it proposes the tables, keys, grain and relationships, with the reasons, in a modelling style you agree; or it enriches a diagram you imported with Import DBML… or the tables you already have. It writes the files, checks them, and never asks you to install dbt. The ERD Studio Tour tab shows its Start the guided setup card in a folder without dbt too, and Set Up My AI Helper points you at it there. In such a folder, Set Up My AI Helper and Install AI Helper Files… install files with no dbt instructions: no sync-plan guide and no dbt references, and the guided setup's walkthrough and glossary install as references/walkthrough.md and references/glossary.md. When a folder gains (or loses) dbt_project.yml, ERD Studio offers to update the AI helper files to match; only dbt-only files ERD Studio wrote and nobody edited are removed. The AI helper files are now harness v43. With a dbt project the guided setup and its files work as before.

  • The erd-studio helper works in a folder without dbt, as long as it has an .erd-studio folder. doctor checks your ERD Studio files and suggests no dbt steps, inventory lists the tables you've designed, and export works as usual; their human output does not mention dbt. diff explains that it needs a dbt project. The doctor, inventory and diff --json results gain dbtProject, doctor gains skippedChecks in such a folder, and inventory gains logicalTables (the tables in your ERD Studio files) everywhere. The MCP server accepts such a folder too.

  • New guides: Using ERD Studio with dbt, AI assistants and Choosing the project folder.

  • Modelling patterns, with eight example projects. Modelling patterns shows how the folder tree fits the way your team already works, the four rules that keep any layout tidy, and how several teams share one model. Each pattern is a small DBML project in docs/examples you can open in VS Code: a medallion lakehouse, dbt Labs' staging / intermediate / marts, a Kimball bus matrix, Data Vault 2.0, a database per stage (as GitLab's handbook describes), the stage in the dataset name (as Mozilla's BigQuery warehouse does it), a data mesh, and an enterprise warehouse in Bill Inmon's style (a normalised core, team-owned marts) with a ten-minute walkthrough of where ERD Studio saves a new relationship and why.

  • Move your diagrams to dbdiagram.io. Export Diagram… has a third choice, Rich DBML. It writes ERD Studio's fields (role, grain, warehouse name, rationale, natural keys, SCD and additive types, metadata) as DBML properties that dbdiagram.io and dbdocs show on each table and column, in one file per diagram, with your table and sticky-note positions in its erd_layout for when you import it back. dbdiagram push sales.dbml --name "Sales" (dbdiagram.io's own tool, under your own account) uploads the tables and relationships, and dbdiagram.io lays them out itself. ERD Studio never connects to dbdiagram.io itself. The plain DBML choice is unchanged, for tools that read older DBML.

  • Export All Diagrams… writes every diagram into a folder you choose, one file each (Mermaid, DBML or Rich DBML). It asks once before replacing files already there, and a diagram it can't read is skipped and named at the end.

  • Import DBML… turns a DBML file into a new diagram: one ERD Studio exported, or one from dbdiagram.io or any other DBML tool. Find it in the Command Palette, the ERD Studio view's … menu and the empty sidebar; it needs no dbt and no AI. It places the tables and sticky notes from the file's own erd_layout when it has one (an ERD Studio export does), suggests a layer and a name from the file, and shows what it will create before writing anything (in a DBML project, naming the relationships files the relationships go to). A table whose name is already in your Table Library is used as it is, never overwritten, when it has the same columns; with other columns the file's table is imported as its own (see Fixed). DBML settings ERD Studio has no field for (not null, defaults, checks, indexes, enum values, …) are kept in the table's or column's metadata under dbml (in a DBML project too, as a meta_json property), so the next export carries them back out. A file that isn't valid DBML gets a message naming its first problems by line, and Open File goes to the first one.

  • erd-studio export takes --format dbml-rich (rich DBML, positions included) and --all (every diagram, as a JSON list of file names and contents). It still only prints, and never writes a file.

  • An ERD Studio log, and ERD Studio: Show Logs. ERD Studio now writes what it does to its own ERD Studio channel in VS Code's Output view: the version and what kind of project opened (DBML or YAML, how many tables and diagrams, dbt or not), how long each diagram took to open and how many tables it drew, each table move it saved, each step of Convert Project to DBML with its time, and any file it could not read, with its line. Pick Debug or Trace in the channel's level menu to also see each sidebar refresh and every file change it noticed. Open it with ERD Studio: Show Logs, from the ERD Studio view's … menu, or with the Show Logs button on Convert Project to DBML's errors, on a failed Move Relationships to Table Library from the canvas, in the Convert to DBML tab when Convert stops, on the canvas's load-error screen and on the Canvas disconnected message.

  • Send Feedback can include the recent log. Tick Include the recent ERD Studio log to add its last lines to the report. It is off every time the dialog opens, you see exactly what is added before you send, and file paths are shortened. The log can name your tables, columns and diagrams, and the report is a public GitHub issue, so it stays off unless you tick it.

  • Leaving ERD Studio: how to move every diagram to dbdiagram.io and back, and what goes with it. The AI helper files (harness v43) point your assistant at Import DBML…, the new export and the CLI formats, and tell it to keep the dbml metadata.

  • DBML files are easy to read as text. .dbml files now have syntax highlighting that follows what each part means, with one colour per kind of thing in every file: a table name is the same colour in its table file, in a relationship and in a diagram, and so is a column. The three key flags (pk, natural_key, foreign_key) share a colour, field labels such as grain: or owner: look like YAML keys, coded values (role, scd_type, additive_type, yes / no) stand apart from sentences, and each relationship's arrow is coloured. The schema in front of a table name stays plain, so the name stands out, and a diagram's erd_layout lines read as table, x, y. The colours come from your theme, in light and dark. Format Document (Shift+Alt+F, ⇧⌥F on a Mac, or right-click → Format Document) tidies a .dbml file into the same layout ERD Studio writes: two-space indents, columns lined up (names, then types, then settings), a long list of settings one per line, and use … from lines lined up. It only changes spacing, never a name, a value or a comment, and only the lines that need it. A file with mistakes in it is left as it is, and the status bar says how many to fix first. Format Document works in all four DBML language modes. ERD Studio becomes the default formatter for .dbml files; to keep another one, set "[dbml][dbml-table][dbml-relationships][dbml-diagram]": { "editor.defaultFormatter": "<that extension's id>" } in your settings. With Format on Save on, your own saves of a .dbml are tidied too, but ERD Studio's saves never are: moving tables on the canvas changes only the diagram's erd_layout lines.

  • Move Table… and Move Diagram to Layer… In a DBML project, right-click a table in the Table Library (several at once if you like) or its file in the Explorer and choose Move Table… to move it to another schema folder, in its own layer or another one, or to a new schema folder you name. Every diagram and relationships file that uses it follows in the same step, its schema too (Table crm.fct_order), and it keeps its name and its place on every diagram. When other files change, ERD Studio says how many before it moves anything. Right-click a diagram (in the ERD Studio view or the Explorer) and choose Move Diagram to Layer… to move it to another layer's diagrams/ folder; a tab showing the moved file (a canvas or the text) reopens on it, in the same place. Both are in the Command Palette too, and each move is one step for Edit > Undo. Delete Table in the Table Library deletes every selected table too, after one question that names them.

  • Move or rename .dbml files in the Explorer, and the files that point at them follow. In a DBML project, drag a table file to another schema folder (in its own layer or another one), or a diagram or relationships file to another layer, or rename it, and ERD Studio asks Update the 3 ERD Studio files that point at fct_order.dbml? Choose Update and every use line follows in one step, the table's schema too (Table crm.fct_order) when it lands in another schema folder. Moving a whole folder (a schema folder, or a layer folder) asks once for every file in it. A table file's name is its table's name, so renaming fct_order.dbml to fct_orders.dbml asks "Rename table fct_order to fct_orders everywhere (4 files)? Its file's name is the table's name." and renames it in every diagram, Ref and sticky note, as renaming it on the canvas does; a name that is not a table name, or that another table has, is not renamed, and Rename File Back puts the file back. A file dropped where ERD Studio does not read one of its kind (or into a folder whose name cannot be a layer or a schema, or given an upper-case .DBML) gets a warning saying why, with Move It Back (or Rename Folder Back / Rename File Back); move or rename it on to the right place yourself instead and the files that point at it follow from where they still say it is. Putting a file back by hand, or undoing a move with Edit > Undo, asks nothing. Renaming a layer folder that layers.json lists says that layers.json still has the old id. Always and Never stop the question: the setting erdStudio.dbml.updateReferencesOnMove (prompt, always or never) changes it back. With Never, nothing is updated, but a file left where ERD Studio does not read it is still pointed out. Nothing is asked when nothing points at the moved file, and a YAML/JSON project is never touched. To put a move back, undo it straight away: Edit > Undo on the diagram, then in the Explorer. Once the changed files are closed, VS Code can no longer undo it: move the file back yourself, or use git.

  • Hover a table to see what it connects to. Rest the mouse on a table and it and its related tables stay bright while the rest of the diagram fades, as clicking does; move away and the diagram, or what you clicked, comes back. Click the blank canvas and the selection clears and the lines stop moving at once. The relationship lines of the table you hover or select now move (a selected table's settle after a few seconds): small arrows run from the 1 end to the * end (from a customer out to its orders), arrows run both ways for a many-to-many, and two dots meet in the middle for a one-to-one. The Legend explains it. With your system's reduce-motion setting on, the arrows stand still but still show the direction. Works on the Physical tab and in read-only views too.

  • ERD Studio: Go to Table… finds any table in the project, from the Command Palette or the search icon on the Table Library. Each row shows the table's schema, layer, warehouse name and owner, and which diagrams show it; open it in a diagram, open its file or show its relationships. When the canvas search finds nothing on this diagram but the project has matching tables, a Not on this diagram link opens Go to Table… with your search typed in.

  • Add to Diagram… on a table in the Table Library (or several selected tables) puts them on a diagram you pick, as one change you can undo.

  • Drag tables from the Table Library onto a diagram. Drag a table, a schema or a whole layer from the Table Library, hold Shift and drop it on an open diagram: the tables land where you let go, as one change you can undo, and the first one is selected. A table already on the diagram is selected instead. Shift-dropping a table file from the Explorer works too. While you drag, the diagram reminds you to hold Shift. (VS Code only lets a drop reach a diagram while Shift is held; without it, the table's file opens as any dragged file does.)

  • Right-click a table on the canvas to open its file, show it on other diagrams, move it (DBML), copy its path, reveal it in the Table Library or remove it from the diagram.

  • The table panel shows what is around the table. It names the table's file, with Open, and who reviews changes to it when the repository has a CODEOWNERS file. Not on this diagram lists its relationships to tables the diagram doesn't show (“→ dim_store · store_key · Many-to-one · in Silver”): add one with + Add, or all of them with Add all related. On the canvas, a table with such relationships shows a small +3; hover it to see what it counts.

  • New Table has a Schema field in DBML projects. It fills in the schema most of the diagram's tables in that layer already use (else the layer's name), offers the layer's existing schema folders, and shows the file it will create (“Creates .erd-studio/gold/tables/sales/dim_store.dbml”).

  • See where a new relationship is saved. The New Relationship dialog shows Will be stored in … before you create it, and afterwards the status bar says where it went (“Relationship saved in .erd-studio/gold/relationships/finance.dbml (line 7)”).

  • Choose which relationships file a new relationship is saved in. In a DBML project whose layer has more than one relationships file (one per team, say), New Relationship shows Stored in with the layer's files, the usual one first and marked (default). Pick another, for example the marketing team's file for a new marketing table that shares a schema with finance, and that table's later relationships go to the same file without asking. An existing relationship stays where it is.

  • Filter the sidebar. The Diagrams, Table Library and Relationships views each have a filter icon in their title bar (Filter Diagrams…, Filter Table Library…, Filter Relationships…), and Cmd+F (Ctrl+F on Windows and Linux) while the view has focus opens it too. The view filters as you type: every word must match (case doesn't matter), "order line" keeps a phrase together and -stg leaves rows out. Narrow it with keys: layer:gold, schema:sales, table:dim_customer, and per view owner:finance, type:fact, col:customer_id, diagram:sales and is:unused (Table Library), file:sales, is:problem, is:cross-layer and is:composite (Relationships). Only the matching rows show, under their layers and schemas, expanded; the matched text is highlighted, a row says why it matched when its name didn't (· column customer_id, · has dim_customer), and the view says how many match (Filtered: "cust layer:gold" — 4 of 52 tables). Enter keeps the filter, Escape puts back the one before, and the filled filter icon (Clear Table Library Filter and so on) shows everything again. A filter lasts until you close the window. Go to Table… takes the same keys.

  • Collapse All in Diagrams. The Diagrams view has the same Collapse All button as the Table Library and Relationships, folding every layer to its row.

  • Group the Relationships view by file. A title-bar toggle switches between Group by Relationships File and Group by Table (the default), and the view's title says which is on (27 relationships · by table). Clicking a relationship follows the grouping: grouped by file it opens the file at that relationship's line, grouped by table it shows it on a diagram, and the row's icon and right-click menu offer the other. When several diagrams show it, the list of diagrams ends with Open in File. Grouped by file, it lists each layer's relationships files with their relationships in file order (fct_order → dim_customer). One with a problem is listed and counted in its file too (Relationships file · 4 · 1 problem), as well as under Needs attention, so the count matches the Explorer's. The choice is remembered for the workspace, and the view now starts collapsed.

  • The Explorer explains the .erd-studio folder. Every folder and file in it has a mark on the right of its name: a layer folder shows its stage number and ≡ (2≡ is Layer 2 of 3, in layers.json order), and ⊞ marks a tables/ folder, ◫ a schema folder, ⇄ relationships and ◇ diagrams. The Glossary lists them. Each also has a tooltip in the sidebar's words: a table's schema, warehouse name and how many diagrams use it, how many relationships a relationships file holds, how many tables a diagram has and how many come from other layers. Only the project's own .erd-studio folder is decorated: a folder of the same name in another project of the workspace is left alone.

  • erd-studio changes --base <git-ref> lists how your model changed since a branch, tag or commit: tables added, removed, renamed, moved and changed (columns, types, keys, alias, role, grain), relationships added, removed or with a new cardinality, the tables added to or removed from each diagram, and the Refs added or removed in each relationships file. --format markdown prints it ready to paste as a pull-request comment, and --json gives the same as data. It reads the ref from git and never checks out or writes anything.

  • erd-studio diff and erd-studio export take --diagram <path>. --domain <path> still works as its older name.

  • Parse without your credentials. When dbt has no profile for the project, Run dbt parse can use placeholder connection details kept in ERD Studio's own storage, never in your project; it doesn't read your profiles.yml to do this. Nothing connects to your warehouse. It needs dbt Core with DuckDB, Postgres, Redshift, Snowflake, Databricks, BigQuery, Microsoft Fabric, SQL Server, Trino or Spark. Schema names are left out of the Physical view until dbt parses with your own profile. erd-studio doctor says when the manifest came from it (and --json has placeholderProfile: true).

  • Open Physical view after dbt parse. When the parse writes the manifest, the notification switches your diagram to the Physical view in one click.

  • Choose how relationship lines look: Curved or Hops. A new switch in the diagram's toolbar, on every stage and on read-only diagrams too. Curved (the default) draws soft curves; where two lines cross, the one underneath is cut so you can see which is which, and where a line has no way round a table, a faint dashed line shows where it runs underneath. Hops draws square lines with a small hop where two lines cross. Your choice is saved in your user settings (erdStudio.canvas.lineStyle), so every diagram in every project follows it.

  • See what an import brought in: Show Import Report. After an import (SQL scripts, a Power BI or Fabric semantic model, a DBML file, or Import from dbt), ERD Studio: Show Import Report opens a read-only tab of what it did: what it imported, what it repaired so it would read, what it could not import and what it skipped, grouped by why, with counts. Each line says where it comes from (the file and line, or the table or dbt model), and a line with a file and line opens the file there when you click it. ERD Studio: Show Logs has the same lines, every one of a long list included. The draft's banner links to it, and so do the message after you keep a diagram that left tables out and the message when nothing could be imported (SQL scripts or a semantic model that do not read, a DBML file with errors, or dbt models none of which could be drawn); a message that already says everything, such as a DBML file with no tables, has no link. Each draft and message opens its own import's report, even after another import has run. Reports stay in memory for your last few imports and change nothing in your files.

Changed

  • Imported columns keep NOT NULL as DBML writes it. In a DBML project, a column imported as not null, unique, increment or with a default now reads [not null, default: 'new'] in its table file, as dbdiagram.io and every DBML tool read it, instead of meta_json: '{"dbml":{"not_null":true}}'. Tables from an earlier 2.0 build read as before and keep their meta_json until that value changes; a default such as 0 stays there. The AI helper files (harness v47) say so.
  • Watch the Tour is re-recorded for 2.0 (2:48; 2:25 in a folder without dbt). It opens on every source the import reads (dbt, Databricks, Snowflake, Power BI, Microsoft Fabric, PostgreSQL, SQL Server, MySQL, Oracle, BigQuery, Redshift, MariaDB, SQLite and DBML), gets a PostgreSQL database's DDL out with one pg_dump (and names Snowflake's one GET_DDL query), imports it through Import SQL DDL… with its dialect detected among the nine, and adds a 2,000-table diagram whose lines are routed around its tables in the background, with a hovered table's arrows flowing along its relationships.
  • Bring In Your Data Model… shows one step to get your DDL out, for a whole schema or database. Each source's card now has a single step, with no "1." in front of it, and alternatives sit in a short note under it instead of reading like a second step: Databricks shows only the notebook cell that writes a whole schema (the one-table SHOW CREATE TABLE step is gone), Snowflake shows GET_DDL('SCHEMA', …) with a note for a whole database, and Power BI's "No such option?" is a note. Bring in the data model you already have follows suit, and its BigQuery query now returns every table's DDL in a dataset as one value.
  • Import SQL DDL… stays responsive on large scripts, and you can stop it. Reading the scripts now runs in the background with a progress notification (statements and tables read so far) and a Cancel button, so VS Code keeps working while thousands of tables are read. Press Cancel, or let the new time limit (erdStudio.import.timeLimitSeconds, 120 seconds by default, 0 for none) run out, and the tables read so far are imported: the draft says where reading stopped, its Not imported list counts the statements left unread, and Show Import Report lists them at the file and line where each file's unread part starts. Cancel while the scripts are read as each dialect imports what the best dialect read, without asking for one. Once every statement has been read, neither Cancel nor the time limit cuts short turning them into the diagram. When it stops before any table is read, the message links to the report too; when the time limit stops the dialect check after other dialects read the whole script without a table, the dialect pick says why instead. A single step that keeps running more than 10 seconds after Cancel or the time limit is ended, and the message says how many tables it had read were lost. When several dialects are tried, each gets its own progress bar.
  • Dragging tables on very large diagrams is about twice as fast. On a 2,000-table diagram a drag frame went from about 350 ms to about 150 ms.
  • Relationship lines go around tables instead of under them. Every line is routed around the tables in its way, lines that share a gap are spaced apart, and a line may leave a table from whichever side is best. A self-loop is drawn as before. On a large diagram the routing happens in the background, so the diagram never pauses: the lines appear straight away and move around the tables a moment later (a little over two seconds for 2,000 tables), and the lines of a table you drag take the simple path while you drag, finding their way round again when you let go. Diagrams of any size get the new lines.
  • In a project without dbt, lines are grey until you look at them. Hover over a table or select one, and its relationship lines, their * / 1 labels and the moving arrows light up in the diagram's layer colour. Tables keep their grey border. Diagrams in a dbt project keep their stage colours.
  • Design is retired: Decisions takes its place. The old Design field mostly repeated the grain, the role or the history. It, Role choice and Grain choice are still read and shown, marked Retired, and never offered again; doctor counts the tables that still have them, and your assistant offers once to move the text into Decisions, showing you the result first. SCD Strategy is now called History and shows on dimensions, and Measures on facts, read from the table's role (a table with no role shows both, and a field with a value always shows); before, they needed a role and a grain.
  • Fields written by a 2.0 pre-release keep working. rationale_purpose, meta_owner and an entry inside meta_json are the same fields as purpose and owner. Changing one changes it where it is, so the Git diff is one line; a new value is always written bare, so a table can hold both spellings for a while; doctor counts the old ones and your assistant renames them in one change when you agree. Metadata named like a built-in field (meta_retention) stays as it is, separate from the field.
  • A setting ERD Studio did not know now shows. Another tool's property on a table or a column, or a field someone took off the list, appears under Not in your list instead of being hidden, and is still kept byte for byte. DBML's own settings (not null, default, headercolor, …) are still left as they are.
  • Teammates on older versions. A 2.0 pre-release from before context fields ignores the new bare settings (it still keeps them byte for byte). In a YAML project from before 2.0, an older ERD Studio that clears the last of a table's old design rationale fields removes the whole rationale: block, Decisions and Open questions included; upgrade together.
  • The Mermaid and DBML exports print the new fields in each table's note: Decisions and Open questions after Purpose, and Source of truth, Freshness, Known issues and Retention after Measures. The fields they already printed keep their labels and their order. Rich DBML writes them as rationale_decisions, rationale_open_questions, …, and Import DBML… reads them back.
  • Convert Project to DBML converts every field. A YAML table's Decisions, Open questions, Source of truth, Freshness, Known issues and Retention become settings of the new .dbml table like Purpose, instead of // comment lines, and every field is written bare (purpose: '…', owner: '…').
  • The example projects (ERD Studio: Open an Example…) spell every field the new way, keep their Design text as Decisions, and the data mesh example lists its owner field in a fields.yml.
  • Draw from dbt is now Import from dbt, so it reads like the other ways to bring in a model (Import DBML…, Import SQL DDL…, Import…). It still needs a dbt project and does the same thing: your dbt models and their relationship tests become a diagram. The command palette, the Diagrams view's New… menu, the start screen, the walkthrough and the docs all use the new name. The command ID is unchanged, so your keybindings keep working.
  • In ERD Studio's first week on a computer, and on a day Show Me Around runs, the anonymous daily usage report also lists that day's events in the order they happened, with the seconds between them: the same fixed keys the report already counts, plus when a window opened, closed or lost the focus for 5 seconds or more, and when a diagram opened, closed or went behind another tab. It shows how long each step of the guide takes and what happens when someone stops. At most 100 events a day; no name, path, text or time of day is sent. Every value is listed in telemetry.json, and switching telemetry off stops it.
  • The ERD Studio Tour tab is the tour, the AI assistant set-up and Show Me Around. Its short per-start videos gave way to Show Me Around, which walks you through the same starts on your own files.
  • A quieter, simpler start. Every start surface (the walkthrough and the empty Diagrams view) now shows one sentence, one button for the start that fits your folder, and one More ways to start… link to the rest (an example, an import, a blank diagram and Bring In Your Data Model…). Each action has one name everywhere: New Diagram…, Import…, Open an Example…, Import your SQL scripts (and its Power BI and DBML twins), Import from dbt, Convert to DBML…, Bring In Your Data Model… and Watch the Tour. A first run gets at most one thing you did not ask for; the start suggestion is shown once per folder; no AI helper offer or other prompt appears over a draft, an example or the first diagram you make, and "This project has 1 diagram" never names a diagram you just made. The AI helper offer waits until a folder has diagrams, and the upgrade notice is one line.
  • The tour has one name and its own tab. The getting-started tab is now ERD Studio Tour (no longer a second tab called Welcome), opened by ERD Studio: Watch the Tour. The tour never plays by itself; its poster is the tour's opening scene.
  • Canvas polish. A diagram's first table no longer jumps the canvas to 200% (fitting never zooms past 100%), and a large diagram (60 tables or more, such as a 257-table import) first opens on its biggest group of related tables at a readable zoom instead of a thin strip. The Import from dbt picker no longer says "pick up to 15 of 9", the example descriptions are plain words, and an import's notes no longer say both that indexes are left out and that they are kept.
  • A project from before 2.0 is offered Convert where you look. Opening one that already has diagrams now says "This project has 1 ERD Studio diagram, from an older ERD Studio" with Convert to DBML… first and Open second, and the Diagrams view lists Convert to DBML… above its layers until the project is converted (or you choose Don't Ask Again, or turn off erdStudio.dbml.offerConvert). The Convert panel's buttons now sit at its bottom left, clear of VS Code's notifications.
  • One main button in the empty Diagrams view. The Get started button beside the start is gone: the view shows the start that fits your folder and a More ways to start… link. With no folder open, the Diagrams view's title bar has a ▶ button that opens the ERD Studio Tour tab (in a project, Help & Feedback has the same row, Watch the Tour).
  • Name a diagram the way you write it, everywhere. Import DBML…, Import SQL DDL…, Import Power BI or Fabric Semantic Model… and Import from dbt now take "Sales" or "Customer 360" and save it as sales or customer-360, as New Diagram does, instead of asking for lowercase letters.
  • Better suggested names for imports. SQL scripts in a folder called database/, ddl/, scripts/ or similar suggest the schema their tables share (sales), else your project folder's name; a Power BI semantic model called AdventureSales suggests adventure-sales.
  • A schema can keep its relationships in a file of its own. A new relationship still goes to the relationships file that already holds most of its table's relationships. For a table with none yet, it now goes to <layer>/relationships/<schema>.dbml when that file exists, and to the layer's shared <layer>/relationships/<layer>.dbml otherwise. ERD Studio never creates a schema's file for you: create one (it can hold just a comment) to keep that schema's relationships apart, for example so a team's CODEOWNERS rule covers them. New Relationship says so when a relationship is about to go into the layer's shared file. Convert Project to DBML follows the same rule, and the AI helper files (harness v43) describe it.
  • The sidebar and the canvas show where every table lives: its layer, then its schema. Each layer row (in Diagrams, the Table Library and Relationships) has an icon in its own layers.json colour and says Layer (its tooltip says what it holds); the label keeps your theme's text colour, so a bronze or purple layer reads clearly in any theme. The Table Library is grouped as the files are, layer → schema → table, each schema row saying Schema (a layer whose only schema has its own name, gold/tables/gold/, lists its tables directly). Each table says its warehouse name when it differs (as orders) and on no diagram when no diagram uses it (no longer a warning, in YAML/JSON projects too); its tooltip gives the diagrams that use it, its owner (owner in its metadata, meta_owner in DBML), schema.name, its layer and its file, and who reviews changes to the file when the repository has a CODEOWNERS file. Diagrams are listed by name and say how many tables they borrow from other layers (5 from Raw Vault). Relationships are grouped by layer, a relationship to another layer says so first (in Raw Vault · customer_hk · N:1), and its tooltip names the relationships file and line that store it. On the canvas each table's badge always shows the layer the table lives in (its own, else the diagram's), striped in that layer's colour, so a table from another layer stands out, and hovering the badge names the layer and the schema; its name reads as in the sidebar (sales.fct_order, the schema shown when it is not the layer's own name, then as orders for a warehouse name), the toolbar says which layer the diagram belongs to ([GLD] Gold layer, the abbreviation beside the label wherever a layer is named), and the status bar adds a key to the layers its tables come from ([GLD] Gold 4). In a project with only one layer the badge, colour strip, status bar key and toolbar chip are left out, since there is nothing to tell apart. A YAML/JSON project from before 2.0 is shown as before.
  • A tidier ERD Studio sidebar. It has four sections: Diagrams (it was called ERD Studio), Table Library, Relationships and Help & Feedback. The row of small buttons across the top is gone: the Diagrams view has one + for everything you can create (New Diagram…, Import from dbt…, Import DBML… and New Layer…, which was Layer +), and everything else is a labelled row or in a view's … menu. Creating stays in plain sight: a layer with no diagram yet ends with a New Diagram… row ("none in this layer yet"), every layer row has a + for it, the tree ends with a New Layer… row, and adding a layer offers New Diagram in It… straight away. Help & Feedback lists Set Up My AI Helper, Watch the Tour, Send Feedback, your reports (My Reports, no longer a view of its own) and Show Logs; Install AI Helper Files… is in the Command Palette. The Table Library's and the Relationships view's Collapse All are in their title bars.
  • Quieter sidebar rows, with the details a click away. Beside each name, Diagrams, the Table Library and Relationships now show only what is unusual or tells a row apart: a warehouse name that differs (as orders), on no diagram, tables from other layers (5 from Silver), the DBML/YAML tag in a mixed project, a problem, and why a row matched while you filter. Layer rows just say Layer and schema rows Schema, and a table or relationships file in Relationships shows only its number (2, 2 · 1 problem). Everything left out — how many diagrams, tables and relationships a row holds, a table's owner, which diagrams show it — is in the row's tooltip. New Diagram… is a row only in a layer with no diagrams; elsewhere, hover the layer and click its +. To have every count and owner beside the names again, choose Show Row Details from the … menu of any of the three views (Hide Row Details goes back), or set erdStudio.sidebar.rowDetails to full.
  • Each sidebar section is easy to tell apart, and says how much it holds. In the sidebar, colour means one thing: the layer. Every layer row, in all three sections, has the same layer icon in the layer's own colour, and the rows under it show what the section holds: diagrams, tables, or relationships. A table in the Relationships view has the relationships icon (it had the Table Library's table icon), so that section no longer looks like the Table Library. Beside each section's title is its total (5 diagrams, 17 tables, 11 relationships); while you filter a view, the filter shows there instead. A Table Library of more than 30 tables opens with its layers collapsed, and VS Code remembers the ones you open.
  • Starting a diagram or a layer takes fewer questions. New Diagram… asks which layer (each with how many diagrams it holds, and New Layer… at the end, which makes the layer and carries straight on) and the name, written as you like: "Customer 360" is saved as customer-360, and the box says so. It no longer asks for a description or a dbt folder filter, and a project with one layer skips the layer question. So does the first diagram of a project with no diagrams yet: it goes in the last layer (for example Gold), and the name box says so (Move Diagram to Layer… changes it later). New Layer… asks one thing, the layer's name ("Sales Mart" gets the folder sales-mart/); it picks a colour no other layer uses (change it with Edit Layer), and its message offers New Diagram in It….
  • Open in Diagram… from the Table Library. Hover a table (or right-click it) to open a diagram that shows it, with the table selected and its details open. When no diagram shows it, it offers Add to Diagram….
  • Rename Diagram… and Delete Diagram work from the Command Palette: they act on the diagram open on the canvas, or ask which one, where they used to stop with "No subject area selected". Removing a table from a diagram now says it stays in the Table Library for other diagrams, and asks whether to delete its file too.
  • A new project without dbt starts with one layer, Main, instead of Silver and Gold, so your first diagram (or Import DBML, or the example) asks no layer question. Add more with New Layer… whenever you want stages. Projects with dbt, and any project that already has an .erd-studio/ folder, keep their layers.
  • Opening a project that already has diagrams (a teammate's repo you just cloned, say) offers to open one of them ("This project has N ERD Studio diagrams") instead of starting the Get Started walkthrough, which gets an Open a diagram from this project step there and hides the first-diagram steps. The AI helper offer waits for the next window. That offer is now a notification with Set Up My AI Helper instead of a list of assistants that opened over the window; Install AI Helper Files… is still in the Command Palette.
  • Find a diagram by its tables. The diagram pickers (Open Diagram, Export Diagram…, Rename and Delete from the Command Palette) show each diagram's layer, table count and tables: type a table's name to find every diagram that shows it.
  • Table Library folders read better: a DBML schema folder named after its layer shows the layer's name (Gold, not "gold (gold)"); any other shows calendar · Silver.
  • Relating tables on the canvas is easier. New Relationship fills in the target table's primary key (when it has one key column) and the source table's column of the same name, without ever replacing what you picked or what a drag filled in; it is greyed out on a diagram with no tables. A diagram with two or more tables and no relationships shows a one-time tip: press and hold a column, then drag it onto a column of another table.
  • The New Relationship dialog asks "Which way does this relationship point?" instead of "Which side holds the foreign key?", which read as a question about where the relationship is saved. It is asked only when neither table marks the columns as its key and dbt has no test to tell. Once you answer, Mark … as primary key is ticked for the table being pointed at, so the next relationship to that table is worked out without asking. Untick it to leave the table's key unmarked.
  • Reusing tables is one click away. An empty diagram offers Add Existing Tables (first, when the Table Library has tables it doesn't show). When New Table refuses a name the Table Library already has, a button adds that table instead, with the search filled in; and Add Existing Tables with nothing to add (no dbt) offers New Table.
  • The commands on a diagram say diagram. New Subject Area, Open Subject Area, Rename Subject Area and Delete Subject Area are now New Diagram…, Open Diagram, Rename Diagram… and Delete Diagram, in the Command Palette and the right-click menus; their command ids (erdStudio.createDomain, …) are unchanged, so keybindings keep working. Naming a diagram asks in plain words ("Name the diagram: lowercase letters, numbers, - and _") and shows the layer it goes in. The rest of the editor says diagram too: the details panel's Remove from Diagram, error messages and prompts, and the erd-studio CLI ("3 diagrams", "Diagram file not found"). Only the two commands for older projects keep "Subject Areas" in their names.
  • Add Layer now also refuses templates and logical-models (it already refused tables), in any case, in every project, YAML/JSON included: "<name> is reserved for ERD Studio's own folders; pick another name." Existing layers with those names keep working. relationships and diagrams are allowed layer names. A layer folder is the layer's lower-case id; its display name is its label in layers.json.
  • DBML files under .erd-studio now have their own language modes, so third-party DBML extensions keyed on dbml and your own "[dbml]" settings no longer apply to them: add "[dbml-diagram]", "[dbml-table]" and "[dbml-relationships]" keys (for example "[dbml][dbml-table][dbml-relationships][dbml-diagram]"). A .dbml anywhere else is plain dbml, as before.
  • Every DBML file ERD Studio writes is laid out the same, easy-to-read way. A table's description (its Note) comes first, then a blank line, then the columns, lined up. A column's settings come in one order: pk, then DBML's own (not null, default, …), then ERD Studio's (natural_key, scd_type, additive_type, foreign_key), then the fields (business_rule, your own), then its note last; when a column's line would pass 100 characters, its settings go one per line. A relationships file has a blank line between each table's relationships. A diagram's Project comes last, so the file opens on what the diagram shows and its erd_layout is at the bottom (a diagram you wrote with the Project first keeps it there). A file you wrote by hand, or one an earlier ERD Studio wrote, keeps the order of its lines and settings, and is tidied the first time ERD Studio changes it; opening it, saving without a change and moving tables on the canvas never touch it. The AI helper files (harness v43) describe the layout, so your assistant writes it too.
  • The offer to convert to DBML says first that converting is optional: your project keeps working as YAML and JSON. It now says that afterwards everyone who opens the project needs ERD Studio 2.0 or later, and after converting, that teammates and other VS Code windows on an older ERD Studio (a 1.9 pre-release or 1.7.x) can't open it until they update to 2.0 or later. The offer stays a dialog you answer. A new setting, erdStudio.dbml.offerConvert, turns it off in every workspace (Don't Ask Again still turns it off for one).
  • New projects write DBML. A folder with no .erd-studio yet, and every new diagram and table in a DBML project, is written as .dbml. Existing YAML/JSON projects keep loading and stay fully editable, and keep writing YAML and JSON; nothing converts unless you ask. In a mixed project (some tables already DBML) new files are DBML, an existing file keeps its format, and a DBML diagram or relationship can only name DBML tables: run Convert Project to DBML to finish the move.
  • The erd-studio CLI and the MCP server read DBML projects as well as YAML/JSON ones. export --domain and diff --domain take a .dbml diagram; inventory entries gain format; diff sends DBML fixes to the right .dbml file and gains the fix kind fix-dbml-file and the error codes dbml-invalid and not-a-diagram. The MCP tools list_domains and list_models gain file_format.
  • The bundled DBML parser is @dbml/parse 11.0.0 (was 10.3.1). Import DBML… now also reads files with unquoted number and boolean values (scd_type: 2, natural_key: true). ERD Studio's own files still quote every value, so DBML 9 and 10 tools read them; doctor warns about an unquoted value someone else wrote.
  • Deleting a table in a DBML project also removes its relationships and its place in diagrams, in one edit, so no other DBML tool is left with a broken use or Ref line. Edit > Undo in a file that edit changed puts it all back; undoing an older edit of a diagram after the delete can bring back a use line for the deleted table, which doctor reports. Renaming a table, or moving it to another layer with Organise Table Library by Layer, updates every use line, Ref, position and sticky-note link that names it; its relationships stay in the files that hold them. A table that moves to a schema folder spelled differently has its schema re-spelled everywhere, and Organise lists those tables before it starts.
  • Remove Layer refuses a layer that still holds DBML tables or relationships files, saying how many, so it never deletes them with the folder.
  • The AI helper files are harness v43. The guide your assistant reads is split into SKILL.md, DBML.md (the DBML format in full) and LEGACY.md (the YAML/JSON rules for projects from before 2.0, complete). It reads erd.storage from doctor to decide which to write, and never converts a project by hand. It describes the folder per layer, Table <schema>.<name>, where a new relationship goes, which files a diagram imports, and erd_layout (never hand-merge it; keep either side of a conflict). Codex's AGENTS.md section carries the first part only and points at the other two in .agents/skills/erd-studio/, which installing the Codex instructions now writes too, because Codex reads only the first 32 KiB of AGENTS.md. It gives the canvas's rule for a new table's schema folder (the one you name, else the schema most of the diagram's tables in that layer use, else the layer's name), says "diagram", and knows erd-studio changes. When a .yml table or .json diagram appears in a DBML project (most likely an AI helper set up before 2.0), ERD Studio says so once, with Update AI Helper Files; it never converts or deletes that file.
  • The physical stage is unchanged. Export Diagram… (Rich DBML) is still the way to dbdiagram.io: the split project is not one file dbdiagram push reads. A Save As inside .erd-studio/ is refused, so an export is never mistaken for a diagram.
  • The Physical tab is hidden when the open folder has no dbt_project.yml, instead of showing an empty stage, and so are Compare with dbt and Refresh manifest data; Alt+2 does nothing. dbt-only commands (Import from dbt…, Regenerate dbt selectors.yml, Select dbt Project…, Refresh Manifest, Strip Legacy Domain Tags from dbt Model YAMLs) are left out of the Command Palette there. An empty diagram offers New Table rather than Add Tables from dbt, and the first-open "two stages" introduction waits until you open a dbt project.
  • The "no project" message now shows only in a window with no folder open: "ERD Studio: Open a folder first. Any folder works."
  • The README is rewritten around one idea: logical data modelling in Git, stored as DBML. It is about half its old length, in this order: what ERD Studio is, the ways to start (the same starts, in the same words, as the start screen), what's in your repo, your AI assistant, and a short Using dbt? section that links Using ERD Studio with dbt. The questions about upgrading to 2.0 (you don't have to convert: YAML/JSON projects keep working and keep writing YAML and JSON, and only new projects start as DBML; how to go back after converting; which ERD Studio teammates need to open a converted project) and the everyday ones (moving a table, Show Logs) are now on a Common questions page. The Marketplace description now reads: "Logical data modeling in Git, stored as DBML, an open format. Draw ERDs in VS Code as files your AI assistant reads and writes. Import DBML, SQL or Power BI; compare with dbt."
  • For when clauses and keybindings: the new context key erdStudio.hasProject is true whenever ERD Studio has a folder open, and erdStudio.hasDbtProject is now true only when that folder is a dbt project.
  • For when clauses: the new context key erdStudio.tablesLoading is true while the Table Library view is loading its tables (from startup until its first list is ready, and while it lists the library again after a large change).
  • For when clauses: the new context key erdStudio.diagramsLoading is true while the ERD Studio view is loading its diagrams (from startup until its first list is ready).
  • In a DBML project, the commands for YAML/JSON projects are hidden from the Command Palette and the view menus: Move Relationships to Table Library, Migrate to the New File Naming, Organise Table Library by Layer, Initialize Layer Configuration and Set Up Subject Areas Directory (still shown in a folder with no .erd-studio yet). Convert Project to DBML stays in the Command Palette in a DBML project too, where it settles pending relationships and diagram members whose tables have files now (the Table Library's menu shows it only in a YAML/JSON or mixed project). For when clauses, the new context key erdStudio.storage is dbml, yaml or mixed.
  • Migrate to the New File Naming and Turn Round say whose problem a failure is, and offer the next step (#219). Their errors no longer show the raw error. Unsaved edits in a file the migration would change get Show File and Save and Try Again. A project that changed while the dialog was open gets Try Again. A file move VS Code doesn't accept is explained (usually a file another program has open, or a folder you can't write to), with Try Again and Send Feedback. A folder ERD Studio isn't allowed to create is said in plain words. A migrated file that didn't save gets Save All and Show File. Anything else is ERD Studio's own problem: the message says so, says whether anything changed, and offers Send Feedback with the error already filled in, paths removed. A Turn Round that fails for the same reason does the same, in a notification; one refused because of your files (an unsaved table file, say) still says why.
  • New Diagram, Delete and Rename Diagram, the layer commands, Set Up and Regenerate dbt selectors.yml say whose problem a failure is, and offer the next step (#229). They no longer show the raw error or a full path. A folder ERD Studio isn't allowed to write to is named, with Show Folder and Try Again; a full disk says so, with Try Again. Try Again on New Diagram writes the diagram you already described, without asking again. A diagram name already taken offers Open It; no layers offers Add Layer. A diagram that can't be deleted stays where it was, and is no longer treated as deleted; one that can't be renamed because of a mistake in its file says where the mistake is, with Open File. A layers.json with a mistake in it is said in words, with Open File, and a layer the sidebar showed that is no longer in layers.json refreshes the sidebar. The same goes for a DBML diagram: a name taken by a diagram in the other format (.json or .dbml) counts as taken. Anything else is ERD Studio's own problem: the message says so and offers Send Feedback with the error already filled in, paths removed. Open canvas on the ERD Studio Tour tab with no folder open now offers Open Folder….
  • The anonymous daily usage report now also says which import source was picked (or that the picker was closed), how Import SQL DDL… and Import Power BI or Fabric Semantic Model… went (finished, cancelled, the files could not be read, or failed) and which SQL dialect was used; whether it was ERD Studio's first run on this machine, whether that first run opened a project that already had diagrams, whether the "This project has N ERD Studio diagrams" notice was shown and its Open button pressed, and whether the walkthrough had to wait for another window. Each is a fixed key listed in telemetry.json; no file, table or measure name is sent.
  • The anonymous daily usage report now says why a diagram edit could not save a file: the editor refused the save (usually because the file changed on disk), the file could not be re-opened to save it, or saving failed outright; whether a table file was among the unsaved files; and whether it was the duplicate-table rename or an undo/redo. Each is a fixed key listed in telemetry.json; no file name or path is sent.
  • The walkthrough's Enrich it with your AI assistant step no longer says the guided setup needs a dbt project, and the sentence to type in Gemini CLI is now Set up ERD Studio for this project.
  • The anonymous daily usage report now also says whether ERD Studio opened a folder without dbt, whether Open Example Diagram was used, and whether New Diagram was used in a folder without dbt. Opening the example is counted as the example, not as an Import DBML…. Each is a fixed key listed in telemetry.json; no name or path is sent.
  • The tour now starts with the data model you already have. In a dbt project, the ERD Studio Tour tab's video (and the README's) is a recording of the real VS Code, in its light theme: Import… bringing in the CREATE TABLE script exported from Snowflake (it reads SQL from Snowflake, Databricks, PostgreSQL, MySQL and SQL Server, DBML and Power BI or Fabric semantic models), its draft and Keep as Diagram, the .dbml files next to your code, an edit by hand, the same kind of edit by Claude Code after Set Up My AI Helper (its skill loaded by itself, the diagram updating as the files change, then held on what it changed: the lines it wrote and the new table on the canvas), that change in a pull request (its DBML lines beside the SQL that builds the new table, so the design and the code are reviewed together), Import from dbt (how a dbt project becomes a diagram), Run dbt parse, the Physical tab and Compare with dbt, and ERD Studio for Confluence showing the diagram from your GitHub repo, ending on a short card: free to use in VS Code. It runs about two and a quarter minutes, voice only, filmed sharp at 2x, and replaces the tour that started from a blank New Diagram…. In a folder without dbt, and in an empty window, the tab plays the same recording without the dbt part (about two minutes), in place of the drawn tour that started from New Diagram… and said "No AI needed". Watch the One-Minute Tour is now Watch the Tour, and its walkthrough steps describe the new tour. The Import from dbt walkthrough step, the README and Using ERD Studio with dbt no longer say "No AI needed": a diagram is yours to edit by hand or with your AI assistant.
  • New pictures and videos for the README and the dbt guide. The README's moving picture shows a plain folder: a diagram beside its .dbml files in the Explorer, a table file's DBML, and a draft imported from a .dbml file. The technical tour in Using ERD Studio with dbt (now 3:07, voice only) makes the case for keeping your data model as DBML files next to the code that builds it, then walks through the files, the ways to bring in a model you already have, with product logos (Import… with its DBML file, SQL DDL scripts and Power BI or Fabric semantic model, Import from dbt and Bring In Your Data Model…), the skill Set Up My AI Helper adds for your assistant, shown where it is in the ERD Studio sidebar (plain markdown files for Claude Code, GitHub Copilot, Codex, Gemini CLI or Cursor, and the pre-tool hook that has your assistant load the skill before its first edit), then, if you use dbt, Run dbt parse and the manifest.json it writes, the Physical tab and Compare with dbt, then ERD Studio for Confluence on the Atlassian Marketplace, which reads the diagrams from your GitHub repo so people without VS Code can view them, and ends on a short card: free to use in VS Code. The guide's how-it-works picture shows DBML files and the Compare with dbt and Stop comparing buttons.
  • The anonymous daily usage report now also says whether a DBML project was open, how the Convert Project to DBML offer and command went (used, offered, declined, cancelled, refused or failed), whether ERD Studio warned about a YAML or JSON file in a DBML project, and why a .dbml table or diagram could not be read (a syntax error, an invalid value or an unsupported structure). Each is a fixed key listed in telemetry.json; no name or path is sent.
  • An undo or redo on the canvas that cannot save a file now says so, as any other canvas edit does, instead of leaving the file silently unsaved.
  • Install AI Coding Harness is now called Install AI Helper Files… (same command, so keybindings keep working), and its messages say "AI helper files". The AI helper files (harness v43) name the new title.
  • Migrate Subject Areas to the Central Table Library is hidden from the Command Palette in a DBML project, where there is nothing for it to do, and its messages now say what it does in plain words.
  • Plain labels on the canvas. ⊕ Diff is now Compare with dbt (Compare with design on the Physical tab, Stop comparing while it compares), + Add → New Design Table is New Table, and Add Existing Table is Add Existing Tables. An empty diagram offers Add Tables from dbt. The layout popover's “Max per layer” is Max per column (left to right) or Max per row (top to bottom). The stage tabs read Logical · your design and Physical · read from dbt.
  • The New Relationship dialog asks How many?, with options in words named after the tables (“Many fct_order rows → one dim_customer”); the N:1 notation is in the tooltip. The relationship menu says Many-to-one, One-to-many, One-to-one and Many-to-many.
  • A table's role picker is Table type, with plain names: Pre-joined fact, Flattened dimension and Local dimension (the stored values are unchanged). The New Table dialog asks for the name first, then Starter columns (optional), with Blank first and a one-line hint on each template.
  • The table panel puts the everyday fields first: description, columns and relationships. Table role, grain and the other fields sit under Modelling detail (optional), which opens on its own when any of them is set, and Remove from Diagram is at the bottom.
  • Removing a table from a DBML diagram no longer says its relationships go too: “The table and its relationships stay in the Table Library.” A YAML/JSON diagram that holds relationships of its own still warns about those, and counts only those.
  • Without a dbt project, the layer colour is the only colour on the canvas. Tables, relationship lines and the selection ring use your theme's neutral colours instead of the logical blue, and the legend leaves out the Physical stage, ghost tables, the Physical source chips and the comparison colours. The legend also says what the badge means (“The layer the table lives in”), explains the schema prefix, and calls notes Notes.
  • Every prompt that explains a layer gives one definition: a stage of your warehouse, such as Staging or Gold. It holds tables and the diagrams drawn from them, and a diagram can show tables from any layer.
  • At most one start-up notification per window: the most useful one (your project's diagrams, the walkthrough, an update for old AI helper files, and so on). The rest wait for a later window, and Don't Ask Again works as before.
  • The README.md that ERD Studio creates in a new .erd-studio folder lists the project's layers in order, with their labels and folders.
  • dbt shows up only in dbt projects. In a folder without dbt_project.yml, and in an empty window, ERD Studio no longer shows dbt controls or dbt wording; in a dbt project every dbt control and message is where it was.
    • The walkthrough's description is "Design your data model in Git, from scratch or from DBML, then let your AI assistant fill in the detail.", the Open the folder your data model lives in step and its picture show a plain project with .erd-studio/, and the Diagrams view's welcome text for an empty window and a plain folder no longer mention dbt.
    • The ERD Studio Tour tab no longer shows the "Using dbt?" card, "No dbt needed" or the dbt line in the plain-folder headline; "New to dbt? How to install it" shows only in a dbt project. With no folder open it no longer offers the sample project, which is a dbt project; dbt projects keep "New to this? Try it on the sample project first".
    • Set Up My AI Helper's result describes the checking tool without dbt, and the Open Claude Code / Open Copilot Chat note for a project in a subfolder says "your project".
    • Give Duplicate Table Its Own Name (its prompt and confirmation) and the duplicate row's tooltip in the Table Library say "Table names are unique across the library", without "as dbt model names are".
    • Convert Project to DBML's "Kept as missing" note, and erd-studio doctor's preview of it, say to give the tables a table file later or remove them, instead of pointing at Add from dbt.
    • Help & Feedback's Watch the Tour tooltip no longer mentions dbt.
    • Set Up My AI Helper and Update AI Helper Files in a folder without dbt remove the dbt-only AI helper files an earlier version left there (the sync guide SYNC.md and the setup skill's dbt guides), and until then the files read as needing an update. Only files ERD Studio wrote and nobody has edited are removed; your own files are never touched.
    • Opening a diagram from a dbt project elsewhere on disk, in a window without dbt, says it is in another project and offers Open as Text, instead of naming dbt and showing a Switch button that could not work there.
    • erd-studio doctor, inventory, export and changes, run in a folder with neither dbt_project.yml nor .erd-studio/, say only that no .erd-studio/ folder was found. erd-studio diff, and doctor with --no-dbt, --dbt or --trust-venv, still say where they looked for dbt_project.yml.
    • Adding several tables from the Table Library when a table's file has gone meanwhile names it "not in the Table Library" instead of "not found in dbt".
    • The read-only diagram viewer used outside VS Code no longer mentions dbt: the Warehouse name tooltip, the legend and table hover text use neutral wording.
  • erdStudio.claudeSync.skipPermissions is now read from your user settings only: a workspace's .vscode/settings.json can no longer make Execute with Claude skip Claude Code's permission prompts.
  • Usage telemetry counts how Run dbt parse and Run dbt compile go: whether dbt was found, was the dbt Cloud CLI or was already running, whether the project's own dbt was declined, and whether there was no dbt profile; whether dbt started, refreshed an existing manifest, finished, failed (and its fixed cause) or was stopped; which next step was picked (Show output, Run dbt deps and its result, the adapter guide, Open Physical view); Parse without your credentials with the adapter it used; and ERD Studio's own errors writing the placeholder profile or following up a run. Each is a fixed key listed in telemetry.json. dbt's output, paths and names are never sent.
  • The anonymous daily usage report can now also send an interim copy the same day during an install's first week or after an error (at most three a day). The final report the next day replaces it, and turning telemetry off stops any further sends.
  • The anonymous daily usage report now also counts how each import ended — read as written, read after a repair, read with something left out, nothing imported, cancelled or timed out — for Import SQL DDL… (also by SQL dialect), Import Power BI or Fabric Semantic Model…, Import DBML… and Import from dbt, and which kinds of thing each import could not bring across as written (an unknown type, a reserved word, a template placeholder, a physical setting…). Each is a fixed key listed in telemetry.json, counted once per import: no file, table, column or statement, and no count of tables, is sent.
  • The anonymous onboarding trail, and the same-day interim copies, are also kept for the 7 days after a major ERD Studio update (such as 1.x to 2.x), with the same fixed codes and limits as an install's first week. A minor or patch update never does, and turning telemetry off forgets it.
  • Imports keep a count of everything they could not bring across as written. The draft's Notes and Not imported list, and the ERD Studio log, are written from it: what was changed on the way (a type rewritten, a key inferred, a date-only column), and what was left out with its table, column and line — for SQL, generated expressions, ON UPDATE, foreign key names, domains' base types, partitions, and physical settings and table options (COLLATE, ENGINE, ON [filegroup], CLUSTER BY…) counted on each file's skipped line; for a semantic model, hierarchies, security roles with their row filters, perspectives, translations, Q&A metadata, data sources, Power Query expressions and parameters, KPIs, variations, Mark as date table and report settings such as formatString and sortByColumn. Skipped ALTER TABLE statements are named for what they are (ownership, settings, partitions). Foreign key ON DELETE / ON UPDATE actions are listed in the reference-settings report.

These notes are cut short to fit on GitHub. The full list is in CHANGELOG.md.


Install from the VS Code Marketplace, Open VSX (VSCodium, Cursor, Windsurf), or from the .vsix below with Extensions: Install from VSIX….