Releases: prometheus-community/promql-langserver
Releases · prometheus-community/promql-langserver
v0.5.1
v0.5.0
The main new feature of this release is a experimental REST API to offer some features of the language server without the complexity of the stateful language server protocol. The API can be included in other software using the rest
package in this repo.
Note that this is still experimental and might be subject to changes of any kind.
Other changes include:
- Updated dependencies. Most notably a couple of bugs in the upstream Prometheus parser were fixed.
- Better completion filtering:
- Label completions are only offered for labels that actually occur with the metric name in question.
- Metric name completions employ a fuzzy match algorithm.
- The new metadata endpoint of the Prometheus API is now used to provide better hover information and completions.
- A number of bugfixes, e.g. in parsing YAML files, document synchronisation.
- There exist a new PromQL plugin for Sublime Text 3.
For a full list of changes see here .
Thanks to all the new contributors that made this release possible!
v0.4.3
v0.4.2
v0.4.1
Changes:
- The repository has moved from https://github.com/slrtbtfs/promql-lsp to https://github.com/prometheus-community/promql-langserver .
- Crossbuilds use goreleaser now.
v0.4.0
New Features:
- Sanity checks are performed after connecting to an Prometheus instance.
- Label completions are filtered by metric name.
- Hovertexts provide links to directly evaluate queries.
- Go to definition for recording rules is supported.
- The release now includes binaries built by the CI.
v0.3.0
This release brings the language server to a point where most basic features are implemented.
- The new upstream Prometheus parser is used.
- Completion works now for most cases.
- The parser is far more tolerant against syntax errors and produces better error messages.
- The Prometheus server that is used for meta data can be set by the client.
v0.2.0
First Alpha Release
This is a first pre-release that allows other people to test the Language Server. Don't expect anything to work.
Features at this time:
- Connect to IDEs and text editors over stdio
- Connect to remote clients over websocket or http
- Sync document content with the client
- Support plain PromQL queries
- Support queries inside yaml files
- Connect to a prometheus instance to get label and metric data
- Show error messages for incorrect queries in the client
- Show documentation on hover
- Type information
- Function documentation
- Operator documentation
- Metric and label help strings from a prometheus instance
- Even when the Query has syntax errors
- Completion
- Functions
- Metrics
- Labels
- Context sensitive, i.e respecting function argument types
- Even when the Query has syntax errors
- Signature information for functions (while typing)
- (Linting)
- (Formatting)