Skip to content

Releases: robotcodedev/robotcode

v0.93.0

08 Oct 22:42
v0.93.0
829589c
Compare
Choose a tag to compare

Bug Fixes

  • Logging of measure_time if log is disabled (725c739)
  • Enable supportsANSIStyling in DAP to reeanble colored output in debug console (0d5616c)
  • Corrected highlightning invalid sections for RF7 (d139ff1)

Features

  • cli: New command line interface tool - Robot Framework REPL interpreter (be386d2)

    The new CLI command repl introduces an interactive Robot Framework interpreter. You can install it by running pip install robotcode[repl] and start it via the command line using robotcode repl.

    With this interactive interpreter, you can execute Robot Framework keywords without the need to run a full test suite. By default, all BuiltIn keywords are immediately accessible. To load a library, you can use the import library keyword, and for resources or variable files, you can use the corresponding built-in commands import resource and import variables. The outcome of any keyword execution, along with relevant log details, is displayed directly in the console.

    You can exit the interpreter using the exit keyword or by pressing CTRL+D on Unix-like systems and CTRL+Z followed by ENTER on Windows.

    At this stage, the implementation is fairly basic, but additional features for the REPL command are planned. This also serves as the first step toward an exciting new feature (spoiler alert!): Robot Framework Notebooks.

  • debugger: Increase timeouts for debugger to fit better to python debugger timeouts and introduce environment variables to override these timeouts (63f3e4a)

  • langserver: Resolve variable in hover for documentation settings in testcases and keywords (ffa9bdb)

  • vscode: Introduce RobotCode: Start Terminal REPL command for launching the interactive Robot Framework interpreter directly from VSCode (f4025fb)

  • Improved logging with time information (27d21b5)

    • Operations that take a little longer now have an indication of how long they took
    • 2 new command line switches --log-format and --log-style, see also the Python logging documentation
  • --root command line argument to specify a project root and disable autodetection of project root (add4102)

  • Add --no-vcs command-line option to ignore VCS directories (e.g., .git) when detecting the project root (d7e28f2)

    #closes 201

Performance

  • langserver: Speedup semantic highlightning a lot (567ac72)

Refactor

  • Some performance tweaks (d3b39be)

v0.92.0

01 Oct 23:28
v0.92.0
21f9910
Compare
Choose a tag to compare

Features

  • analyze: Allow shortforms of warning and information, warn and info in diagnostic modifiers (f226091)

  • config: Added posibility to allow different tool configs to robot.toml.json schema (ee256ce)

  • robot.toml: Introduce new settings for analysis in robot.toml (fa37dba)

  • vscode: Introduce setting for modifing the diagnostics severity (5cca59f)

    With these settings, you can override the default configuration for all diagnostic messages. By combining file, block, and line diagnostic modifiers, you can precisely control how specific errors are displayed.

    • robotcode.analysis.diagnosticModifiers.ignore: Suppresses specific diagnostics from being displayed. You can specify one or more error codes, like MultipleKeywords or [multiple-keywords, VariableNotFound]. Use * to ignore all errors and then maybe add specific error codes to other modifiers, such as information, to selectively show them.
    • robotcode.analysis.diagnosticModifiers.error: Treats selected diagnostics as errors.
    • robotcode.analysis.diagnosticModifiers.warning: Displays chosen diagnostics as warnings.
    • robotcode.analysis.diagnosticModifiers.information: Shows specified diagnostics as information
    • robotcode.analysis.diagnosticModifiers.hint: Marks selected diagnostics as hints

    These settings allow you to tailor the diagnostic outputs to meet the specific needs of your project.

  • Introduce Select Python Environment command and deprecate robotcode.python (be0573d)

    See here for an explanation.

v0.91.0

27 Sep 20:51
v0.91.0
f3cd887
Compare
Choose a tag to compare

Bug Fixes

  • vscode: Tool menu stabilized (de774fa)
  • vscode: Correct handling when opening library in keywords view if keyword is loaded twice with a different alias (ac23751)

Features

  • analyze: Show messages for InvalidHeader and DeprecatedHeader for RF7 (518aa12)

  • New command RobotCode: Report Issue (94d1efa)

    with this command you can report an issue directly from vscode to RobotCode's issue tracker

v0.90.0

16 Sep 19:38
v0.90.0
4f77798
Compare
Choose a tag to compare

Features

v0.89.1

11 Sep 20:55
v0.89.1
1eff140
Compare
Choose a tag to compare

Bug Fixes

  • Corrected parsing of OPTION tokens and variable resolving (5a8abf2)
  • Corrected completion of arguments after ... continuation line (377aa9d)
  • Dont show completion right after ... (f24f6a8)

Testing

  • Add some more regression tests (e2b3c4e)

v0.89.0

10 Sep 15:27
v0.89.0
161d8ab
Compare
Choose a tag to compare

Bug Fixes

  • Document highlight should only highlight real references not text references (a0c184a)

Features

  • Enable Robot Framework 7.1 support (6921c9a)
  • Variables start with a _ are no longer beeing reported as unused (afea114)

Refactor

  • Use lambda instead of functools.partial (1518f71)

    functools.partial with method is deprecated in Python 3.13

  • Fix some unused ignores for mypy (575bbff)

v0.88.0

07 Sep 22:08
v0.88.0
03ec286
Compare
Choose a tag to compare

Documentation

  • Introduce a script that generate the doc for cli tools (ecb5ec9)
  • Update some documentation about config and cli (84553c3)
  • Update readme (1e601e3)
  • Add a Tip&Tricks page (dd27480)

Features

  • cli: Disable console links for RF7.1 if running in VSCode terminal (5e83537)
  • config: Add console_links to robot.toml (3902937)
  • langserver: Corrected and generalized semantic tokenizing if OPTION tokens in except and while statements (d5a9339)

Testing

  • Corrected some regression tests (f4a5d41)
  • Add tests for RF 7.1 (cbe9fb2)

v0.87.0

29 Aug 21:43
v0.87.0
269fd4d
Compare
Choose a tag to compare

Bug Fixes

  • Correct installing colorama package (da28477)

    this is somehow lost in the lates version of click..

Features

  • cli: New command discover files (505f473)

    find all relevant robot framework files in a project.

  • discover: Add more colors and infos to discover commands (9e2d6f7)

v0.86.2

29 Aug 03:02
v0.86.2
5b3a96a
Compare
Choose a tag to compare

Bug Fixes

  • Correction of some type hints that prevent robot code from running with older Python versions (37e20e3)

v0.86.1

29 Aug 02:29
v0.86.1
5a0ee39
Compare
Choose a tag to compare

Documentation

  • Update about and remove playground (fd140d0)