Skip to content

Releases: supabase-community/postgres-language-server

0.6.0

23 Apr 12:40
dfd40e7
Compare
Choose a tag to compare

Postgres Language Server

A collection of language tools and a Language Server Protocol (LSP) implementation for Postgres, focusing on developer experience and reliable SQL tooling.

0.6.0

🚀 Features

  • (completions) Filter out irrelevant completion items: For example, it does not make sense to suggest columns in a FROM clause.

  • (completions) Insert schema name when selecting non-public tables: If you accept a suggestion from another schema then public, the schema name will be added into the editor.

🐛 Bug Fixes

  • (completions): , does not trigger suggestions anymore (' ' still does)
  • (completions): Fixed a bug where '.' led to invalid completions.
  • (completions): Completion items are now correctly sorted in the editor.

0.5.0

19 Apr 11:08
a5ba9cb
Compare
Choose a tag to compare

Postgres Language Server

A collection of language tools and a Language Server Protocol (LSP) implementation for Postgres, focusing on developer experience and reliable SQL tooling.

Note

We accidentally deleted release 0.4.0 while trying to release 0.5.0. Sorry!

0.5.0

🚀 Features

  • Autocomplete schemas (#340)

🐛 Bug Fixes

  • Comments only (#337)
  • Release changelog (#338)
  • Dont point to 404 in config schema (#339)
  • Plpglsql cmds (#336)
  • Typing comments (#347)
  • Report db connection errors (#348)
  • Split grant stmt properly (#350)
  • Extract sql fn body properly (#346)

⚙️ Miscellaneous Tasks

  • Add double newline comment (#341)
  • Ensure auto fixes are applied (#349)
  • Test fn body content (#351)

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!