Skip to content

Releases: supabase-community/postgres-language-server

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 postgrestoolspostgres-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 possiblepostgrestools will be fully deprecated in a future release.

The following changes are part of this migration:

  • Configuration file

    • Renamed from postgrestools.jsoncpostgres-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.devpg-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

0.17.1

29 Oct 06:39
1abf019

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

Important

We are migrating from postgrestoolspostgres-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 possiblepostgrestools will be fully deprecated in a future release.

The following changes are part of this migration:

  • Configuration file

    • Renamed from postgrestools.jsoncpostgres-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.devpg-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

  • Submodule path (#583)

Contributors

0.17.0

28 Oct 18:29
dd6e519

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

Important

We are migrating from postgrestoolspostgres-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 possiblepostgrestools will be fully deprecated in a future release.

The following changes are part of this migration:

  • Configuration file

    • Renamed from postgrestools.jsoncpostgres-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.devpg-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_*.

🚀 Features

  • (analyser) Port remaining eugene rules (#561)
  • (config) Add connectionString (#573)

🐛 Bug Fixes

  • (env) Version env (#578)

🚜 Refactor

  • (treesitter) Rely more on treesitter grammar than business logic (#562)
  • (cli) Simplify abstractions (#574)
  • Rename crates to pgls_* (#581)

⚙️ Miscellaneous Tasks

  • (cli) Add snapshot tests for reporters (#577)
  • Remaining renamings (#582)

Contributors

0.16.1

28 Oct 07:06
c63ff0c

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

Important

We are migrating from postgrestoolspostgres-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 possiblepostgrestools will be fully deprecated in a future release.

🚨 BREAKING CHANGES

The following changes are part of this migration:

  • Configuration file

    • Renamed from postgrestools.jsoncpostgres-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.devpg-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_*.

📚 Documentation

⚙️ Miscellaneous Tasks

  • Make sure we use latest npm
  • Update toolchain and unify publish action (#566)
  • (docs) New binary name (#565)
  • (pgt_query) Support system build (#576)

Contributors

0.16.0

24 Oct 07:13
efe0e2f

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

Important

We are starting the migration from postgrestoolspostgres-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 possiblepostgrestools will be fully deprecated in a future release.

🚨 BREAKING CHANGES

The following changes are part of this migration:

  • Configuration file

    • Renamed from postgrestools.jsoncpostgres-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.devpg-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_*.

🚀 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)

Contributors