Releases: supabase-community/postgres-language-server
0.4.0
[0.4.0] - 2025-04-13
🚀 Features
-
We added basic support for annotations. Soon, you can annotate statements with comments to change the behavior of the linter. This isn't fully fleshed out yet.
-
We improved the autocompletion behavior. You should now get completions after an incomplete statement:
select * from |
. We'll improve the suggestions in the future.
🐛 Bug Fixes
- We now correctly parse UNION queries.
- We now correctly parse C-style comments.
- Various bug fixes regarding EOF and statement trimming.
- We downgraded the runners that build the binary. This should make the LSP run on platforms with
glibc >= 2.35
.
📚 Documentation
- Added zed installation instructions.
0.3.1
0.3.0
Changelog
This release fixes all bugs reported by early users since the public announcement. And includes a new feature!
You can now execute a statement directly within your IDE using Code Actions. This is very useful if you want to quickly iterate on a function.
To enable the feature, you must first set a db.allowStatementExecutionAgainst
property in your postgrestools.jsonc
. It should be an array of <hostGlobPattern>/<databaseNameGlobPatterns>
strings.
See docs for examples.
🚀 Features
- Execute stmt under cursor (#257)
🐛 Bug Fixes
- Cte (#263)
- Typo on docs/index.md (#283)
- Tree-sitter edit_from_change crash (#273)
- View with options (#288)
- Version (#289)
- Run ci for workflows (#290)
- Use byte indices (#286)
- Execute statement reliable (#291)
🚜 Refactor
- Move lsp converters to lsp crate (#275)
- Move workspace features to own mod (#276)
- Move get_cursor_position to adapters (#278)
⚙️ Miscellaneous Tasks
0.2.1
This patch fixes a few minor and one major issue with the previous release.
0.2.0
We have been busy fixing critical bugs and setting up distribution channels like a VSCode extension and NPM packages for both the CLI and a JS-Binding for the Workspace API. An official announcement will follow during the next Supabase Launch Week in 2-3 weeks!