Releases: supabase-community/postgres-language-server
0.24.0
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
- @lneves12 made their first contribution in #730 π
- @psteinroe
0.23.0
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
- @flvmnt made their first contribution in #707 π
- @psteinroe
0.22.1
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
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
- Upgrade splinter to latest commit (#684)
- Migrate from biome to oxc (#688)
- Naming (#711)
- Naming (#716)
- Naming (#712)
- Update naming (#710)
- Naming (#713)
- Naming (#714)
- Naming (#715)
- Naming (#717)
Contributors
- @reteps made their first contribution in #696 π
- @psteinroe
- @juleswritescode
0.21.0
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
βοΈ Miscellaneous Tasks
- Sync readme with docs index
- Improve readme (#676)
Contributors
0.20.1
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
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
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
π 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
Contributors
- @Raptors65 made their first contribution in #627 π
- @psteinroe
- @juleswritescode
0.18.0
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
πΌ 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
- @StabbarN made their first contribution in #604 π
- @franck-ada made their first contribution in #602 π
- @juleswritescode
- @psteinroe
0.17.2
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.
- 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
π Bug Fixes
- Run cli tests with deterministic log level (#586)
βοΈ Miscellaneous Tasks
- Set SQLX_OFFLINE=true (#587)