Skip to content

Releases: supabase-community/postgres-language-server

0.9.0

15 Jul 07:21
f6cea4b
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.

This release comes with a few very important under-the-hood refactors that remove the reason why the server crashed sometimes entirely, and unblocks us to work on more advanced features!

Please open an issue if the server still crashes on you.

we also shipped a few features:

  • linter suppression
-- pgt-ignore lint/safety/banDropTable
drop table users;
  • plpgsql syntax errors
Screenshot 2025-07-14 at 20 38 14

0.9.0

๐Ÿš€ Features

  • Customise severity per rule (#430)
  • Linter suppressions (#440)
  • Show plpgsql syntax errors (#452)

๐Ÿ› Bug Fixes

  • (splitter) Do update in INSERT INTO (#436)
  • (analyser) Recognize disabled rules (#438)

๐Ÿšœ Refactor

  • Custom lexer (#437)
  • Drop change.rs (#447)
  • Simplify caches (#448)

๐Ÿ“š Documentation

  • Rule suppressions (#443)

โš™๏ธ Miscellaneous Tasks

  • (docs) Fix schema links (#451)
  • Add Nix development environment (#441)
  • Fix doc command (#450)
  • Update git cliff version

Contributors

@juleswritescode
@psteinroe

0.8.1

17 Jun 06:19
31e6ddf
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.8.1

๐Ÿ› Bug Fixes

  • Batched changes (#428)

Contributors

0.8.0

14 Jun 13:08
a621abc
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.8.0

๐Ÿš€ Features

  • Workspace support (#408)
  • Versioned docs (#414)
  • (schema-cache) Include procedures & aggregates, fix query (#424)
  • (completions) Complete (materialized) views (#409)
  • (completions) Alter/drop/rename column statements (#421)
  • (completions) Complete in (simple) function bodies (#426)
  • (completions) Complete roles (#410)
  • (completions) Complete in WITH CHECK and USING clauses (#422)

๐Ÿ› Bug Fixes

  • (docs) Make latest default after next release (#420)
  • (completions) Convert SQL to lowercase (#416)
  • (splitter) Split grant stmts (#425)
  • Broken text after receiving batched changes (#413)
  • Release pipeline points at correct schema.json (#427)

๐Ÿšœ Refactor

  • (test_db) Use sqlx::test instead (#411)

Contributors

0.7.0

25 May 06:04
f24ddf6
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.7.0

๐Ÿš€ Features

  • (completions) Respect table aliases, complete in JOINs (#388)
  • (completions) Fill in alias for columns in join clauses (#392)
  • Allow configuration through workspace/didChangeConfiguration (#316)
  • (completions) Lower priority of already mentioned columns in SELECT (#399)
  • (completions) Complete policies (#397)
  • (completions) Nicer function completions (#401)
  • (completions) Show data type for columns (#402)
  • (completions) Complete insert, drop/alter table, ignore many situations, improve WHERE (#400)

๐Ÿ› Bug Fixes

  • (splitter) Allow newlines after commas (#380)
  • Properly parse trigger with instead of (#383)
  • (completions) Complete right columns right after JOIN ON (#390)
  • Properly handle multiple changes at once (#389)
  • (completions) Use fuzzy matching for user input (#393)
  • Do not complete right after asterisk (#394)
  • Sql fn params (#366)
  • Nullabe column query (#406)

๐Ÿ“š Documentation

  • Mention Emacs client (#378)

โš™๏ธ Miscellaneous Tasks

  • (schema_cache) Query policies (#379)
  • (completions) Add tree sitter query for table aliases
  • Add contributors to changelog (#387)
  • (schema_cache) Add query for triggers (#398)
  • (schema_cache) Add query for roles (#404)

Contributors

0.6.1

25 Apr 18:20
7b27cdc
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.1

๐Ÿ› Bug Fixes

  • Does not split statements at a WITH TIMEZONE anymore
  • Does not try to connect to postgresql://postgres:[email protected]:5432/postgres if no db section is configured in postgrestools.jsonc anymore

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.