Skip to content

Releases: RumbleDB/language-tools

rumble-lsp-wrapper@0.13.0

Choose a tag to compare

Minor Changes

  • #89 0e6fc03 - feat(completion): suggest the child elements and attributes that the XML Schema declares in schema-typed paths, with the type each step selects, attributes labelled with @ (e.g. @id): after /, below each descendant after //, and for the context item inside predicates (e.g. $order/o:item[o:pr) and on the right of !; they are ranked before other suggestions, such as functions like data(), which may also follow /, and they appear as soon as /, @ or [ is typed

  • #93 6d83e05 - feat: upgrade RumbleDB to RumbleDB/rumble@4f5981f for static typing of schema-validated XML: validate results, child, attribute and descendant steps, and their atomized values get their XML Schema types, and steps that the schema does not declare are reported as errors (XPST0005) with the names it does declare (e.g. The schema declares no child element o:prices for schema-element(o:order). It declares o:price.)

  • d0728da - feat: upgrade RumbleDB to RumbleDB/rumble@367d9a8 with better support of XML in JSONiq and collation support

Patch Changes

  • #91 6eb79a6 - fix: describe arrays in query result types by their members (e.g. [xs:string]) instead of [item]

  • df1f2a6 - fix: describe nested objects in query result types by their fields (e.g. { order: { id: xs:integer } }) instead of an empty { }

  • 041fba6 - fix: resolve the same library versions as RumbleDB by dropping the hadoop-common 3.3.6 dependency, which downgraded Gson, Guava, protobuf, Avro and others (e.g. json-to-xml failed with NoClassDefFoundError)

  • 86a44c8 - chore: upgrade Java dependencies

    Upgrade Jackson Databind to 2.22.4 and JUnit Jupiter to 6.1.3. Update Maven build plugins, including the jar, dependency, Surefire, antrun, and shade plugins, and Spotless.

  • #92 6b95550 - fix(results): sort numeric table columns by value, so 1.5 sorts after 1.25 and negative numbers sort before positive ones; query results report the exact lexical value of numeric items as number

  • #90 efba2c7 - fix: pin RumbleDB to master commit 8b72292, as the previously pinned commit no longer exists upstream

jsoniq-vscode@1.12.1

Choose a tag to compare

Patch Changes

jsoniq-vscode@1.12.0

Choose a tag to compare

Minor Changes

  • #89 0e6fc03 - feat(completion): suggest the child elements and attributes that the XML Schema declares in schema-typed paths, with the type each step selects, attributes labelled with @ (e.g. @id): after /, below each descendant after //, and for the context item inside predicates (e.g. $order/o:item[o:pr) and on the right of !; they are ranked before other suggestions, such as functions like data(), which may also follow /, and they appear as soon as /, @ or [ is typed

  • #93 6d83e05 - feat: upgrade RumbleDB to RumbleDB/rumble@4f5981f for static typing of schema-validated XML: validate results, child, attribute and descendant steps, and their atomized values get their XML Schema types, and steps that the schema does not declare are reported as errors (XPST0005) with the names it does declare (e.g. The schema declares no child element o:prices for schema-element(o:order). It declares o:price.)

  • d0728da - feat: upgrade RumbleDB to RumbleDB/rumble@367d9a8 with better support of XML in JSONiq and collation support

Patch Changes

  • 883969f - chore: upgrade node dependencies

    Upgrade pidusage to 4.1.0, and the results view's Solid to 1.9.17 and TanStack Table to 9.3.1. Update build and test tooling, including Rolldown, Vite, Vitest, tsdown, tsc-alias, UnoCSS, Node.js types, oxfmt, and oxlint, and refresh the dependency lockfile.

  • #92 6b95550 - fix(results): sort numeric table columns by value, so 1.5 sorts after 1.25 and negative numbers sort before positive ones; query results report the exact lexical value of numeric items as number

  • Updated dependencies [efba2c7, 4f2f0ae, 883969f, 6b95550, cf2cf65, e3f252e, 0e6fc03, 6d83e05, d0728da]:

    • jsoniq-language-server@2.17.0

jsoniq-language-server@2.17.1

Choose a tag to compare

Patch Changes

  • 87daf79 - fix(completion): suggest variables and object fields inside function call arguments, such as $a in fn:abs($), where only functions were offered

  • e128734 - fix(formatter): write path steps and type tests without inner spaces, such as $doc/book[@id = 1]/child::title and element(a, xs:string), which were formatted as $doc / book [@ id = 1] / child : : title and element ( a , xs:string )

  • 8d37a6f - Sync grammar change from RumbleDB

    See RumbleDB/rumble#1947, RumbleDB/rumble#1961 and RumbleDB/rumble#1962

    JSONiq direct constructors now accept dotted tag and attribute names, such as <a.b x.y="1"/>, and the formatter reads them from the new directConstructorQName rule.

  • b5dfbb0 - fix(formatter): drop whitespace before > in XML closing tags, such as </a >, which was kept as written

jsoniq-language-server@2.17.0

Choose a tag to compare

Minor Changes

  • #89 0e6fc03 - feat(completion): suggest the child elements and attributes that the XML Schema declares in schema-typed paths, with the type each step selects, attributes labelled with @ (e.g. @id): after /, below each descendant after //, and for the context item inside predicates (e.g. $order/o:item[o:pr) and on the right of !; they are ranked before other suggestions, such as functions like data(), which may also follow /, and they appear as soon as /, @ or [ is typed

  • #93 6d83e05 - feat: upgrade RumbleDB to RumbleDB/rumble@4f5981f for static typing of schema-validated XML: validate results, child, attribute and descendant steps, and their atomized values get their XML Schema types, and steps that the schema does not declare are reported as errors (XPST0005) with the names it does declare (e.g. The schema declares no child element o:prices for schema-element(o:order). It declares o:price.)

  • d0728da - feat: upgrade RumbleDB to RumbleDB/rumble@367d9a8 with better support of XML in JSONiq and collation support

Patch Changes

  • #90 efba2c7 - fix: stop reporting the context item ($$ in JSONiq, . in XQuery) as an undefined variable; inside predicates, simple maps, path steps and function bodies it no longer links to declare context item, it cannot be renamed, and JSONiq variable completion offers $$

  • #95 4f2f0ae - fix(completion): suggest nothing inside string literals and comments, where keywords were offered because they may contain any token, such as a . typed in a domain name or a sentence

  • 883969f - chore: upgrade node dependencies

    Upgrade pidusage to 4.1.0, and the results view's Solid to 1.9.17 and TanStack Table to 9.3.1. Update build and test tooling, including Rolldown, Vite, Vitest, tsdown, tsc-alias, UnoCSS, Node.js types, oxfmt, and oxlint, and refresh the dependency lockfile.

  • #92 6b95550 - fix(results): sort numeric table columns by value, so 1.5 sorts after 1.25 and negative numbers sort before positive ones; query results report the exact lexical value of numeric items as number

  • cf2cf65 - fix(completion): suggest object fields when an enclosing expression ends at the dot, as in if ($c) then 1 else $o. or 1, $o.

  • #94 e3f252e - fix: when the cursor is at the end of a name or keyword, collect completion candidates where the word starts, so a keyword typed in full (such as order, offering order by) is still suggested; after a prefix such as fn:, functions are only suggested where the grammar allows a function call and no longer in catch targets such as catch err:

rumble-lsp-wrapper@0.12.0

Choose a tag to compare

Minor Changes

  • e6c5c22 - feat(run-query): report the engine-computed itemType of query results and use it for table column headers

    Breaking: object type fields now map each name to { type, required } instead of a type, so optional fields are marked (shown as name?: type).

  • 2399c74 - feat: add XML indentation to output

Patch Changes

  • d3e75f7 - fix(hover): show schema constructor return types with their import prefix (e.g. demo:Count? instead of Count?)

  • 4c24637 - fix: show readable names for anonymous array types (e.g. [] for an empty array result, [xs:integer]) instead of the engine's internal JSON

  • bdd48f8 - fix(hover): show empty-sequence() for empty sequence types instead of the engine's internal item<void>

  • c0cbe2e - feat: update RumbleDB to commit 29cd8ed for improved schema constructor support

jsoniq-vscode@1.11.0

Choose a tag to compare

Minor Changes

  • bc6e48c - feat(webview): display type of each value in the result

  • e6c5c22 - feat(run-query): report the engine-computed itemType of query results and use it for table column headers

    Breaking: object type fields now map each name to { type, required } instead of a type, so optional fields are marked (shown as name?: type).

  • 69e5b23 - feat(webview): show item types in list view and column types in table headers

  • 8a4caaa - feat: add syntax highlighting for item preview using Shinki

Patch Changes

  • e767080 - refactor(webview): remove unnecessary transition classes from various components

  • 95fb38b - chore: include the Apache-2.0 LICENSE file in the VS Code extension and npm package, and third-party licence notices for bundled dependencies and attribute the W3C-derived function and error documentation

  • Updated dependencies [e6c5c22, d3e75f7, 772dc75, 95fb38b, 886f03a]:

    • jsoniq-language-server@2.16.0

jsoniq-language-server@2.16.0

Choose a tag to compare

Minor Changes

  • e6c5c22 - feat(run-query): report the engine-computed itemType of query results and use it for table column headers

    Breaking: object type fields now map each name to { type, required } instead of a type, so optional fields are marked (shown as name?: type).

  • 886f03a - feat(hover): enhance semantic hover functionality and improve type inference handling

Patch Changes

  • d3e75f7 - fix(hover): show schema constructor return types with their import prefix (e.g. demo:Count? instead of Count?)

  • 772dc75 - refactor: unify item type handling in JSONiq and XQuery AST builders

  • 95fb38b - chore: include the Apache-2.0 LICENSE file in the VS Code extension and npm package, and third-party licence notices for bundled dependencies and attribute the W3C-derived function and error documentation

rumble-lsp-wrapper@0.11.1

Choose a tag to compare

Patch Changes

jsoniq-vscode@1.10.2

Choose a tag to compare

Patch Changes

  • Updated dependencies [239d275]:
    • jsoniq-language-server@2.15.1