Skip to content

0.6.0

Latest
Compare
Choose a tag to compare
@daumantas-kavolis-sensmetry daumantas-kavolis-sensmetry released this 15 Mar 13:40
· 2 commits to main since this release

Changes

  • Updated to 2024-02 spec
    • Nearly all changes are to validation
  • VS Code configuration settings now use syside section name instead of
    sysml, existing settings will be automatically migrated

Improvements

  • VSCode extension now works on the web with a few differences:

    • syside.standardLibraryPath is ignored, standard library is fetched directly
      from GitHub
    • syside.plugins is ignored

    Performance on the web may be degraded as the server has to share resources
    with other extensions. In addition, selecting SysML language will now provide
    language server support irrespective of the file extension, KerML files have
    to have .kerml extension to get support

  • Only relevant standard library files will be downloaded instead of the full
    repository, greatly improving download

  • Formatter now uses pretty-printer to format documents which can take line
    width into account through

      "[sysml|kerml]": {
        "syside.formatting.lineWidth": 100
      },
      "syside.formatting.lineWidth": 100

    in VS Code settings. Additional options are available through
    syside.formatting. section which can also control optional keyword formatting.
    Formatting can be disabled by leading notes with syside-format ignore inside
    them which will print the element subtree the note is attached to as-is. Let
    us know about any issues with the new formatter like notes disappearing or
    feedback how the formatting style can be improved.

  • Added pretty-printer for KerML and SysML models

Chores

  • Added methods to add and remove owned child elements
  • Refactored model building and validation to work on internal model elements
    instead
  • Refactored AST and internal model to store order dependent child nodes in
    separate fields/properties to allow for easier runtime modifications without
    having to maintain implicit ordering

Full Changelog: 0.5.2...0.6.0