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.16.0
Important
We are starting the migration from postgrestools → postgres-language-server in this release.
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.
🚨 BREAKING CHANGES
The following changes are part of this migration:
-
Configuration file
- Renamed from
postgrestools.jsonc→postgres-language-server.jsonc.
- Renamed from
-
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
- Moved from
-
Website and
$schemareferences- Domain changed from
pgtools.dev→pg-language-server.com. - If you reference the hosted
$schemain your config file, update it to the new domain.
- Domain changed from
-
Environment variables
- Prefix changed from
PGT_*→PGLS_*.
- Prefix changed from
🚀 Features
- (typecheck) Also replace longer type defaults (#541)
- Improved type messages (#551)
- Hover on types (#557)
🐛 Bug Fixes
- Split merge into (#550)
- Duplicate columns in schema cache (#552)
- Infinite recursion with SQL params (#555)
- Do not display hover items when hovering over param (#553)
- (splitter) Improve EOF handling (#556)
- Install tree-sitter cli in release workflow
- (actions) Install ts cli via action
- (actions) Remove tokens to use trusted publisher auth
- Include postgres-language-server in release
🚜 Refactor
- Type replacement tracker supports shortening ranges (#547)
⚡ Performance
- Optimize tables query (#542)
⚙️ Miscellaneous Tasks
- Pgt_flags -> pgt_env, central website url, unify version (#545)
- Postgrestools.jsonc -> postgres-language-server.jsonc (#559)
- Rename env vars (#558)
- Dual publish to npm (#543)