Skip to content

Releases

nightly-f8d8ea8

nightly-f8d8ea8 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 20 Nov 08:54

Rolling build of main at f8d8ea8.

Not a stable release: rebuilt on every push to main. Select the
nightly channel in your editor extension to use it.

swls v0.6.2

Choose a tag to compare

@ajuvercr ajuvercr released this 19 Nov 15:59

🚀 New release of LSP! Includes native binaries for Linux, macOS and Windows.

swls v0.6.1

Choose a tag to compare

@ajuvercr ajuvercr released this 19 Nov 13:43

Chore

  • drop the redundant homepage from the manifests
    Cargo 1.100 warns that package.homepage equal to package.repository is
    redundant, once per crate. components-rs keeps its own, different homepage.

New Features

  • document links, outline, folding ranges, workspace symbols (4/4)

  • workspace index, watched files, saved edits, settings changes (3/4)

  • skip git-ignored files in the workspace index
    The workspace walk now uses the ignore crate (ripgrep's), so it skips
    what git would ignore: .gitignore files at every level,
    .git/info/exclude, the global git excludes and .ignore files, also
    outside a git repository. Hidden entries, node_modules and target stay
    skipped regardless.

    Files created after startup follow the same rule: before indexing a new
    file, FsTrait::is_ignored checks the ignore files between the workspace
    folder and the file (util::fs::is_ignored; the global git excludes only
    apply to the startup walk).

  • document links, outline, folding ranges and workspace symbols
    Read-only views of what the server already parsed (core::navigation):

    • textDocument/documentLink: each owl:imports IRI links to the imported
      document, each @prefix IRI to the ontology loaded for it (the cached
      file, a configured ontology, or the namespace itself).
    • textDocument/documentSymbol: one symbol per subject block, with its
      types as detail and its predicates as children. The kind follows the
      types: shapes, classes, properties, ontologies, other resources.
    • textDocument/foldingRange: multi-line subject blocks, multi-line
      [ … ] blank nodes, and the run of prefix declarations (as imports).
    • workspace/symbol: subjects across every known document (open,
      imported, cached, workspace), matched case-insensitively, at most 256.

    Each can be disabled (document_link, document_symbol, folding_range,
    workspace_symbol). Anonymous blank nodes get no symbol of their own.

    Tests over stdio for each.

  • workspace index, watched files, saved edits and settings changes
    Workspace index (core::workspace)

    • At startup, the RDF files of the workspace folders (.ttl, .nt,
      .owl, .trig, .n3) are loaded as background documents, so their
      classes, properties and shapes are known without opening them. Hidden
      folders, node_modules and target are skipped; at most 500 files of
      at most 5 MB per folder; RDF/XML and HTML are skipped. Clients that send
      only a rootUri get it as their workspace. Disable with
      "disabled": ["workspace_index"]. FsTrait::walk provides the bounded
      walk (nothing for file systems without one).

    Files changed on disk (workspace/didChangeWatchedFiles)

    • The server registers a watcher for RDF files when the client supports
      dynamic registration.
    • A changed background document is reloaded from disk, a deleted one is
      dropped (its triples and shapes too), and a new RDF file in the
      workspace is indexed. A file open in the editor keeps the editor's text.

    Saved edits (textDocument/didSave)

    • Saving one of the user's own background documents (not a cache file)
      loads its triples into the shared store, so other documents see the
      saved classes and properties; closing it restores the saved version.
      Unsaved edits still never reach the store.

    Settings changes (workspace/didChangeConfiguration)

    • The settings (either the settings object or { "swls": … }) are applied
      like initializationOptions, combined with the config files. Newly
      configured ontologies and shapes are loaded (the new ConfigChanged
      schedule; loading is idempotent), and open documents are re-checked.
      Invalid settings are reported and the current ones kept.

    Tests over stdio: workspace files are indexed (skipping node_modules
    and hidden folders), watchers are registered, changed / deleted / created
    files update completions, a saved workspace file makes its changes known,
    and a settings change applies without a restart.

Bug Fixes

  • exit on an internal error instead of hanging
    A panic inside a system ended the task that owns the world, and Bevy only
    re-inserts a schedule after it finishes, so the server kept accepting
    requests that were never answered. The world loop now catches the panic,
    reports it on stderr and exits, so the editor restarts the server and shows
    the error in its log. Panics in background fetch tasks are unaffected.

Other

  • fewer completions, single parse, one diagnostics message per pass, shape cache (2/4)
  • fetch timeouts, no panics on I/O, stdio integration tests (1/4)

Performance

  • send each document's diagnostics once per pass
    The publisher sends a document's full, merged diagnostics on every publish,
    once per reason (syntax, prefixes, namespaces, shapes), so one edit sent 8
    publishDiagnostics messages for the document. The server now lets a pass
    finish (10 ms), drains what is queued and sends each document's latest set
    once (diagnostics::coalesce).

Test

  • required shape properties are suggested first over stdio
    A regression test for a reported setup: a mapping that imports its shapes
    with a relative owl:imports <./shape.ttl>, a foaf:Person that already
    has foaf:name, and completion on the empty line after it. The missing
    required foaf:name22 must be the first suggestion, followed by the
    template that adds it, and foaf:name must not be promoted. Checked as
    Turtle and TriG, and at the end of an unfinished file.

    The test fails against the server from before "suggest predicates that
    shapes require first" (the first suggestion is the foaf prefix) and
    passes now.

Commit Statistics

  • 12 commits contributed to the release.
  • 11 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Document links, outline, folding ranges, workspace symbols (4/4) (3a2b949)
    • Workspace index, watched files, saved edits, settings changes (3/4) (d72ae65)
    • Merge branch 'claude/correctness' into claude/cheap-features (0172a18)
    • Skip git-ignored files in the workspace index (ba311f4)
    • Fewer completions, single parse, one diagnostics message per pass, shape cache (2/4) (d0ad037)
    • Fetch timeouts, no panics on I/O, stdio integration tests (1/4) (63fddf1)
    • Document links, outline, folding ranges and workspace symbols (16d398e)
    • Workspace index, watched files, saved edits and settings changes (78ae1d8)
    • Send each document's diagnostics once per pass (0ae7ce3)
    • Drop the redundant homepage from the manifests (3abc6c0)
    • Exit on an internal error instead of hanging (571a91f)
    • Required shape properties are suggested first over stdio (4f6349d)

swls-lov v0.1.5

Choose a tag to compare

@ajuvercr ajuvercr released this 19 Nov 13:10

Chore

  • drop the redundant homepage from the manifests
    Cargo 1.100 warns that package.homepage equal to package.repository is
    redundant, once per crate. components-rs keeps its own, different homepage.

Other

  • fetch timeouts, no panics on I/O, stdio integration tests (1/4)

Commit Statistics

  • 2 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Fetch timeouts, no panics on I/O, stdio integration tests (1/4) (63fddf1)
    • Drop the redundant homepage from the manifests (3abc6c0)

swls-lang-turtle v0.2.5

Choose a tag to compare

@ajuvercr ajuvercr released this 19 Nov 15:51

Bug Fixes

  • complete the term being typed inside blank nodes and collections
    A term ending at the cursor lost to any wider term containing it, so
    typing sh: inside [ … ] resolved to the enclosing blank node in
    subject position and offered no properties. Now the narrowest term wins
    unless another term starts exactly at the cursor, and on equal spans a
    written term beats a collection's list node.

    Adds regression tests for completion in nested, unclosed and subject
    blank nodes, collections and adjacent terms.

Commit Statistics

  • 3 commits contributed to the release.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Adjusting changelogs prior to release of swls-core v0.2.5, swls-lang-turtle v0.2.5, swls v0.6.2 (8e7bfff)
    • Adjusting changelogs prior to release of swls-core v0.2.5, swls-lang-turtle v0.2.5, swls v0.6.2 (7c31888)
    • Complete the term being typed inside blank nodes and collections (7e93b45)

swls-lang-turtle v0.2.4

Choose a tag to compare

@ajuvercr ajuvercr released this 19 Nov 13:10

Chore

  • drop the redundant homepage from the manifests
    Cargo 1.100 warns that package.homepage equal to package.repository is
    redundant, once per crate. components-rs keeps its own, different homepage.

New Features

  • workspace index, watched files, saved edits, settings changes (3/4)

  • workspace index, watched files, saved edits and settings changes
    Workspace index (core::workspace)

    • At startup, the RDF files of the workspace folders (.ttl, .nt,
      .owl, .trig, .n3) are loaded as background documents, so their
      classes, properties and shapes are known without opening them. Hidden
      folders, node_modules and target are skipped; at most 500 files of
      at most 5 MB per folder; RDF/XML and HTML are skipped. Clients that send
      only a rootUri get it as their workspace. Disable with
      "disabled": ["workspace_index"]. FsTrait::walk provides the bounded
      walk (nothing for file systems without one).

    Files changed on disk (workspace/didChangeWatchedFiles)

    • The server registers a watcher for RDF files when the client supports
      dynamic registration.
    • A changed background document is reloaded from disk, a deleted one is
      dropped (its triples and shapes too), and a new RDF file in the
      workspace is indexed. A file open in the editor keeps the editor's text.

    Saved edits (textDocument/didSave)

    • Saving one of the user's own background documents (not a cache file)
      loads its triples into the shared store, so other documents see the
      saved classes and properties; closing it restores the saved version.
      Unsaved edits still never reach the store.

    Settings changes (workspace/didChangeConfiguration)

    • The settings (either the settings object or { "swls": … }) are applied
      like initializationOptions, combined with the config files. Newly
      configured ontologies and shapes are loaded (the new ConfigChanged
      schedule; loading is idempotent), and open documents are re-checked.
      Invalid settings are reported and the current ones kept.

    Tests over stdio: workspace files are indexed (skipping node_modules
    and hidden folders), watchers are registered, changed / deleted / created
    files update completions, a saved workspace file makes its changes known,
    and a settings change applies without a restart.

Other

  • fetch timeouts, no panics on I/O, stdio integration tests (1/4)

Commit Statistics

  • 4 commits contributed to the release.
  • 4 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Workspace index, watched files, saved edits, settings changes (3/4) (d72ae65)
    • Fetch timeouts, no panics on I/O, stdio integration tests (1/4) (63fddf1)
    • Workspace index, watched files, saved edits and settings changes (78ae1d8)
    • Drop the redundant homepage from the manifests (3abc6c0)

swls-lang-trig v0.2.4

Choose a tag to compare

@ajuvercr ajuvercr released this 19 Nov 13:10

Chore

  • drop the redundant homepage from the manifests
    Cargo 1.100 warns that package.homepage equal to package.repository is
    redundant, once per crate. components-rs keeps its own, different homepage.

Other

  • fetch timeouts, no panics on I/O, stdio integration tests (1/4)

Commit Statistics

  • 2 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Fetch timeouts, no panics on I/O, stdio integration tests (1/4) (63fddf1)
    • Drop the redundant homepage from the manifests (3abc6c0)

swls-lang-sparql v0.2.4

Choose a tag to compare

@ajuvercr ajuvercr released this 19 Nov 13:10

Chore

  • drop the redundant homepage from the manifests
    Cargo 1.100 warns that package.homepage equal to package.repository is
    redundant, once per crate. components-rs keeps its own, different homepage.

Other

  • fetch timeouts, no panics on I/O, stdio integration tests (1/4)

Commit Statistics

  • 2 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Fetch timeouts, no panics on I/O, stdio integration tests (1/4) (63fddf1)
    • Drop the redundant homepage from the manifests (3abc6c0)

swls-lang-rdf-base v0.2.4

Choose a tag to compare

Chore

  • drop the redundant homepage from the manifests
    Cargo 1.100 warns that package.homepage equal to package.repository is
    redundant, once per crate. components-rs keeps its own, different homepage.

Other

  • fetch timeouts, no panics on I/O, stdio integration tests (1/4)

Commit Statistics

  • 2 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Fetch timeouts, no panics on I/O, stdio integration tests (1/4) (63fddf1)
    • Drop the redundant homepage from the manifests (3abc6c0)

swls-lang-n3 v0.1.4

Choose a tag to compare

@ajuvercr ajuvercr released this 19 Nov 13:10

Chore

  • drop the redundant homepage from the manifests
    Cargo 1.100 warns that package.homepage equal to package.repository is
    redundant, once per crate. components-rs keeps its own, different homepage.

Other

  • fetch timeouts, no panics on I/O, stdio integration tests (1/4)

Commit Statistics

  • 2 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Fetch timeouts, no panics on I/O, stdio integration tests (1/4) (63fddf1)
    • Drop the redundant homepage from the manifests (3abc6c0)