Skip to content

Releases: supabase-community/postgres-language-server

0.11.0

20 Aug 12:06
7cca8f4
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.11.0

This release brings basic hover support, support for named parameters such as @name, and a plpgsql_check integration for better PL/pgSQL support. make sure to enable the extension in your development database!

๐Ÿš€ Features

  • Plpgsql check (#469)
  • Basic hover (#463)

๐Ÿ› Bug Fixes

  • Splitter crash (#464)
  • files.ignore setting should work (#462)
  • Add support for named param type $name (#475)
  • Positional params (#473)

๐Ÿšœ Refactor

  • Extract completions context into pgt_treesitter crate (#466)

๐Ÿ“š Documentation

  • Fix links to rules (#467)

โš™๏ธ Miscellaneous Tasks

  • Add custom libpg_query binding (#465)
  • Add extensions to schema cache (#468)
  • Pglpgsql docs (#478)
  • Run tests on macos in ci (#479)

Contributors

0.10.0

18 Jul 07:39
36a3c52
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.10.0

This release fixes a deadlock that w as introduced earlier and adds support for named parameters in the lexer.

๐Ÿš€ Features

  • Add support for named params (#458)

๐Ÿ› Bug Fixes

  • Revoke split (#459)
  • Deadlock (#460)
  • Syntax error regression (#461)

โš™๏ธ Miscellaneous Tasks

  • Expose schema_cache & file_context in lint rules (#449)

Contributors

@juleswritescode
@psteinroe

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)