Skip to content

Releases: supabase-community/postgres-language-server

0.24.0

11 Apr 09:21
178aa3c

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.24.0

πŸš€ Features

  • Expose new workspace function splitStatements with ranges (#730)

πŸ› Bug Fixes

  • Pin bun version and use bundler resolution for wasm package
  • Build wasm from release assets

βš™οΈ Miscellaneous Tasks

  • Add multi-file pretty print SQL fixtures (#731)

Contributors

0.23.0

08 Apr 14:49
2c7f5a3

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.23.0

πŸš€ Features

  • Add configurable plpgsql_check function arguments (#726)

πŸ› Bug Fixes

  • Handle WITH in ALTER statement splitting (#728)
  • Enable rustls-backed Postgres TLS connections (#729)

πŸ“š Documentation

  • Add Related Work page listing migration safety tools (#707)

Contributors

0.22.1

12 Mar 17:44
064b707

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.22.1

πŸ› Bug Fixes

  • Install Rust and tree-sitter CLI in publish workflow
  • Use Nix for tree-sitter in publish workflow
  • Use Rust toolchain + cached tree-sitter in publish workflow
  • Download prebuilt tree-sitter binary instead of compiling
  • Use tree-sitter/setup-action for tree-sitter CLI install
  • Read tree-sitter version from .tree-sitter-cli-version file
  • Remove Rust/tree-sitter from publish workflow

🚜 Refactor

  • Use registry for splinter rule categories (#722)

Contributors

0.22.0

12 Mar 12:45
f72ce8d

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.22.0

πŸš€ Features

  • (formatter) Allow to skip function bodies (#681)
  • Improved grammar for pg-regress select.sql (#672)
  • (completions) Finish grammar for COPY and INSERT statements (#689)
  • (cli) Implement json, json-pretty, and summary reporters (#695)
  • (wasm) Generate and export schema cache types (#686)
  • Show columns on table hover (#700)
  • (grammar) Partial update statements (#697)

πŸ› Bug Fixes

  • (formatter) Minor fixes (#680)
  • (formatter) Add proper newlines for function bodies (#682)
  • (formatter) Use postgres canolical order to sort function options (#683)
  • Handle AS [NOT] MATERIALIZED in CTE statement splitting (#696)
  • Clean pending transport requests and add leak-check xtask probes (#690)
  • (grammar) Build grammar on CI (#698)
  • Add missing scope boundaries (#709)
  • Docs (#718)
  • Replace deprecated Command::cargo_bin with cargo_bin_cmd! macro
  • Gate current_rss_kb with #[cfg(unix)] to fix Windows build
  • Allow large_enum_variant lint on proc-macro PartialType enum
  • Clippy warnings and add cross-platform clippy to PR workflow

🚜 Refactor

  • Remove all biome dependencies (#677)

πŸ§ͺ Testing

  • Verify all keywords of grammar are available in completions (#701)

βš™οΈ Miscellaneous Tasks

Contributors

0.21.0

12 Feb 08:46
3a58214

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.21.0

πŸš€ Features

  • Support standard postgres env vars for db connection (#674)

πŸ› Bug Fixes

  • (formatter) Properly handle child statements (#678)
  • (dblint) Respect --error-on-warnings (#679)

βš™οΈ Miscellaneous Tasks

  • Sync readme with docs index
  • Improve readme (#676)

Contributors

0.20.1

09 Feb 11:14
69cecc5

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.20.1

🚜 Refactor

  • Move WASM build to dedicated release job (#675)

βš™οΈ Miscellaneous Tasks

  • (docs) Improve docs around after (#673)

Contributors

0.20.0

07 Feb 15:25
e611a41

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.20.0

πŸš€ Features

  • (wasm) WASM bindings for browser use (#638)
  • (completions) Syntax-aware completions for select statement (#654)
  • (dblint) Add pglinter (#632)
  • Initial pretty printer (#546)

πŸ› Bug Fixes

  • Address wasm pr feedback (#666)
  • (cd) Wasm build and release (#667)
  • (config) Strip jsonc comments and trailing commas (#671)
  • Release windows binaries with .exe (#670)

🚜 Refactor

  • Download vendor dir on build if not available (#633)

βš™οΈ Miscellaneous Tasks

  • Minor fixes for dblint + docs (#637)

Contributors

0.19.0

13 Jan 11:10
d9964c1

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.19.0

πŸš€ Features

  • (splinter) Allow ignoring db objects (#634)
  • Add dblint with splinter (#631)

πŸ› Bug Fixes

  • Many completion issues from snapshots (#607)
  • (completions) Replace error node handling with better grammar (#616)
  • Clippy issues (#622)
  • (docs) Links (#635)

🚜 Refactor

  • (analyser) Separate concerns (#617)
  • (configuration) Cleanup codegen and make RuleSelector generic (#623)

πŸ“š Documentation

  • Fix comma and extra space in JSON in configuration.md (#627)

βš™οΈ Miscellaneous Tasks

  • (splinter) Integrate with codegen (#618)
  • (splinter) Integrate runtime (#620)

Contributors

0.18.0

12 Dec 19:01
ec847a4

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.18.0

πŸš€ Features

  • (lsp) Invalidate schema cache (#588)

πŸ› Bug Fixes

  • (analyser) Wrong reference url (#612)
  • (completions) Adjust range for later stmts (#615)

πŸ’Ό Other

  • (splinter) Allow non-supabase rules to run always (#597)

🚜 Refactor

  • Pull diagnostics (#585)
  • Pgls suppressions (#592)
  • Make node identification simpler by updating tree-sitter grammar
  • Config codegen (#598)

πŸ“š Documentation

  • Add Sublime Text setup instructions (#604)

πŸ§ͺ Testing

  • (completions) Add test suite for more coverage (#599)

βš™οΈ Miscellaneous Tasks

  • (docs) Homebrew installation (#589)
  • (diagnostics) Add database object as diagnostics location (#593)
  • (splinter) Initial commit (#594)
  • (docs) Improve getting started (#603)

Contributors

0.17.2

30 Oct 07:51
82d5b38

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.17.2

Important

We are migrating from postgrestools β†’ postgres-language-server.
Both names will continue to work for a few upcoming releases to ensure a smooth transition.
However, please migrate to the new name as soon as possible β€” postgrestools will be fully deprecated in a future release.

The following changes are part of this migration:

  • Configuration file

    • Renamed from postgrestools.jsonc β†’ postgres-language-server.jsonc.
  • NPM package scope

    • Moved from @postgrestools β†’ @postgres-language-server.
    • Package name changes:
      • @postgrestools/postgrestools β†’ @postgres-language-server/cli
      • @postgrestools/backend-jsonrpc β†’ @postgres-language-server/backend-jsonrpc
  • Website and $schema references

    • Domain changed from pgtools.dev β†’ pg-language-server.com.
    • If you reference the hosted $schema in your config file, update it to the new domain.
  • Environment variables

    • Prefix changed from PGT_* β†’ PGLS_*.

πŸ› Bug Fixes

  • Run cli tests with deterministic log level (#586)

βš™οΈ Miscellaneous Tasks

  • Set SQLX_OFFLINE=true (#587)

Contributors