Skip to content

Releases: supabase-community/postgres-language-server

0.4.0

13 Apr 07:10
d439c36
Compare
Choose a tag to compare

[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

04 Apr 11:43
b978a5a
Compare
Choose a tag to compare

postgrestools 0.3.1

This release fixes a few minor bugs and enables building without an active db connection - a prerequisite for homebrew.

🐛 Bug Fixes

  • Enable sqlx offline mode (#297)
  • Support non timestamp but numeric migrations (#301)
  • Nested () and with check (#307)
  • Log more (#309)

0.3.0

03 Apr 09:32
e869302
Compare
Choose a tag to compare

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.

commands_demo

🚀 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

  • Fix bug in codegen (#256)
  • Add show-logs justfile cmd (#258)
  • Add install docs (#259)
  • Add test (#260)
  • Add demo media (#264)
  • Clean cargo check and cargo clippy (#277)
  • Only deploy docs on release (#285)
  • Upgrade pg_query and both submodules (#294)
  • Update submodules (#295)
  • Improve logs (#266)

0.2.1

20 Mar 20:31
fa0c705
Compare
Choose a tag to compare

This patch fixes a few minor and one major issue with the previous release.

0.2.0

20 Mar 13:21
2834655
Compare
Choose a tag to compare

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!