# What changed in @marimo-team/codemirror-sql

> 15 changes in @marimo-team/codemirror-sql 0.2 to 0.3 from its official release notes, upgrade guides and advisories: 3 new APIs and options. Each one cited. Sources checked 2026-11-25. HTML: https://unstale.sh/npm/@marimo-team/codemirror-sql/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @marimo-team/codemirror-sql 0.3

### New APIs and options

- AST-based CTE support adds completion, go-to-definition, highlights, and rename. (0.3.0) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.0)
- Semantic diagnostics now identify unknown tables and columns, as well as ambiguous columns. (0.3.0) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.0)
- A helper registers all completion sources at once. (0.3.0) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.0)

### Behavior and default changes

- Aliases are now resolved for hover and completion. (0.3.0) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.0)
- Linting now operates per statement and provides token-wide error spans. (0.3.0) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.0)
- Unqualified column completion is inferred from the FROM clause. (0.3.0) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.0)

### Fixes and other changes

- Quoted dots are preserved in alias completions. (0.3.1) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.1)
- Alias hovers are shown for quoted table paths. (0.3.1) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.1)
- Quoted table names are distinguished in column diagnostics. (0.3.1) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.1)
- DuckDB dollar variables are highlighted correctly. (0.3.1) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.1)
- Quoted dots no longer cause false schema warnings. (0.3.1) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.1)
- Default SQL hover metadata is rendered as text. (0.3.1) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.1)
- Correctness bugs in the analyzer cache, hover, parser, gutter, and CTE completion were fixed. (0.3.0) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.0)
- Fixed diagnostic offsets when statements contain comments. (0.3.0) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.3.0)

## @marimo-team/codemirror-sql 0.2

### Fixes and other changes

- The published tarball now includes src/data/*.json, so package consumers receive these data files. (0.2.8) — [release notes](https://github.com/marimo-team/codemirror-sql/releases/tag/v0.2.8)
