Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .changeset/arrow-function-calls.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ensure-wrapper-flag.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/notebook-cell-base-uri.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/wrapper-maven-dependency.md

This file was deleted.

21 changes: 21 additions & 0 deletions packages/language-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# jsoniq-language-server

## 2.21.0

### Minor Changes

- [#145](https://github.com/RumbleDB/language-tools/pull/145) [`75533ed`](https://github.com/RumbleDB/language-tools/commit/75533ede745572765b4893e8beae18dfb2118a3e) - Treat the function after an arrow (`=>`) as a call that receives the left operand as its first argument, as XQuery 3.1 defines it: `$x => f(1)` calls `f($x, 1)`.

- Go to definition, hover, references and rename now work on the function name after `=>`. Renaming a function used to leave its arrow uses unchanged.
- An arrow to an undefined function, or with the wrong number of arguments, is now reported.
- Signature help writes an arrow step the way it is called, `$sourceString => substring($start)`, and starts at the second parameter. Hover on the name says which parameter the operand fills.
- Completing a function name after `=>` inserts the call without the parameter the operand fills, and leaves out functions without parameters.
- File paths complete in the operand of `"data.json" => json-lines()`.
- Completing `concat` inserts two arguments instead of a literal `$...` placeholder.

- [#150](https://github.com/RumbleDB/language-tools/pull/150) [`a34f11f`](https://github.com/RumbleDB/language-tools/commit/a34f11f48b08a9a45e24162a405763c76a601ad3) - Add `--ensure-wrapper` to the server, which downloads the RumbleDB wrapper JAR unless it is cached, prints the command that starts it, and exits. Run it to download the JAR ahead of time, for example when building an image: `node dist/bundled/main.mjs --ensure-wrapper`. It replaces the `dist/integrations/rumble/executable/ensure-wrapper.mjs` script.

### Patch Changes

- [#149](https://github.com/RumbleDB/language-tools/pull/149) [`22ba7e0`](https://github.com/RumbleDB/language-tools/commit/22ba7e09f865b2203e1fb18f437dab554facc760) - Resolve the relative paths of a notebook cell against its notebook, as when the cell runs. RumbleDB was given the cell's `vscode-notebook-cell:` URI as the base URI, so reading a file such as `delta-file("table")` failed with "No file system is configured for scheme vscode-notebook-cell". Module imports, schema locations and file path completion in cells also resolve next to the notebook now.

- [#148](https://github.com/RumbleDB/language-tools/pull/148) [`7ff9827`](https://github.com/RumbleDB/language-tools/commit/7ff98273c3f2caf8154a7762f8fbbc0ebc3fc22f) - Build the wrapper jar with RumbleDB as a regular Maven dependency. The jar now contains a single version of each library: it used to mix classes from two versions of some, such as `jackson-core` 2.18.2 and 2.18.6.

## 2.20.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/language-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsoniq-language-server",
"version": "2.20.2",
"version": "2.21.0",
"private": false,
"license": "Apache-2.0",
"repository": {
Expand Down
6 changes: 6 additions & 0 deletions packages/rumble-lsp-wrapper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# rumble-lsp-wrapper

## 0.16.2

### Patch Changes

- [#148](https://github.com/RumbleDB/language-tools/pull/148) [`7ff9827`](https://github.com/RumbleDB/language-tools/commit/7ff98273c3f2caf8154a7762f8fbbc0ebc3fc22f) - Build the wrapper jar with RumbleDB as a regular Maven dependency. The jar now contains a single version of each library: it used to mix classes from two versions of some, such as `jackson-core` 2.18.2 and 2.18.6.

## 0.16.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rumble-lsp-wrapper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rumble-lsp-wrapper",
"version": "0.16.1",
"version": "0.16.2",
"private": true,
"license": "Apache-2.0",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions packages/vscode-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# jsoniq-vscode

## 1.15.4

### Patch Changes

- Updated dependencies [[`75533ed`](https://github.com/RumbleDB/language-tools/commit/75533ede745572765b4893e8beae18dfb2118a3e), [`a34f11f`](https://github.com/RumbleDB/language-tools/commit/a34f11f48b08a9a45e24162a405763c76a601ad3), [`22ba7e0`](https://github.com/RumbleDB/language-tools/commit/22ba7e09f865b2203e1fb18f437dab554facc760), [`7ff9827`](https://github.com/RumbleDB/language-tools/commit/7ff98273c3f2caf8154a7762f8fbbc0ebc3fc22f)]:
- jsoniq-language-server@2.21.0

## 1.15.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vscode-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jsoniq-vscode",
"displayName": "JSONiq and XQuery Language Support",
"version": "1.15.3",
"version": "1.15.4",
"private": true,
"description": "Language support for JSONiq and XQuery: completion, type checking, inferred types on hover, syntax highlighting, and running queries with RumbleDB.",
"categories": [
Expand Down