|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
|
4 | 4 |
|
| 5 | +## [1.1.0](https://github.com/robotcodedev/robotcode/compare/v1.0.3..v1.1.0) - 2025-04-29 |
| 6 | + |
| 7 | +### Bug Fixes |
| 8 | + |
| 9 | +- **analyze:** Allow `all` also in `robot.toml` configuration for `exit-code-mask` ([a496714](https://github.com/robotcodedev/robotcode/commit/a496714b88d397b46f4b4192c82336711fccac5a)) |
| 10 | +- **langserver:** Corrected highlightning of embedded arguments if there is a namespace given before the keyword ([0ce5446](https://github.com/robotcodedev/robotcode/commit/0ce5446154b34655bd5db4c6cba91a9a82266440)) |
| 11 | + |
| 12 | + |
| 13 | +### Documentation |
| 14 | + |
| 15 | +- Draft article about variables ([161006e](https://github.com/robotcodedev/robotcode/commit/161006e6a730f52501bdff7dcd1cba9e85300fcd)) |
| 16 | +- Added pycharm link on the robotcode.io homepage ([7686a21](https://github.com/robotcodedev/robotcode/commit/7686a21c76681d2a7321a67c1c872b6c77687000)) |
| 17 | + |
| 18 | + |
| 19 | +### Features |
| 20 | + |
| 21 | +- **analyze:** Exit code mask configuration for code analysis ([4b677ad](https://github.com/robotcodedev/robotcode/commit/4b677add254f88519d950e54ac5ef1f4e499d0e6)) |
| 22 | + |
| 23 | + Configure which message types should **not** influence the exit code of `robotcode analyze code`, allowing granular control over CI/CD pipeline behavior or pre-commit hooks. |
| 24 | + |
| 25 | + **Configuration File (`robot.toml`)** |
| 26 | + |
| 27 | + ```toml |
| 28 | + [tool.robotcode-analyze.code] |
| 29 | + exit-code-mask = ["error", "warn"] |
| 30 | + ``` |
| 31 | + |
| 32 | + **Command Line Options** |
| 33 | + |
| 34 | + ``` |
| 35 | + robotcode analyze code --exit-code-mask error,warn # or -xm |
| 36 | + robotcode analyze code --extend-exit-code-mask info # or -xe |
| 37 | + ``` |
| 38 | + |
| 39 | + - `-xm` (or `--exit-code-mask`) overwrites the configuration in `robot.toml` |
| 40 | + - `-xe` (or `--extend-exit-code-mask`) extends the configuration in `robot.toml` |
| 41 | + - Both options can be specified multiple times or with comma-separated values: |
| 42 | + |
| 43 | + ``` |
| 44 | + robotcode analyze code -xm error -xm warn # multiple options |
| 45 | + robotcode analyze code -xm error,warn # comma-separated |
| 46 | + ``` |
| 47 | +
|
| 48 | + **Behavior** |
| 49 | +
|
| 50 | + - Message types in the mask are ignored when determining exit code |
| 51 | + - Available types: `error`, `warn`/`warning`, `info`/`information`, `hint` |
| 52 | + - Special value `all` ignores all message types (always exit code 0) |
| 53 | + - Without configuration, all message types affect the exit code |
| 54 | +
|
| 55 | + **Example** |
| 56 | +
|
| 57 | + ```toml |
| 58 | + # In robot.toml - Ignore warnings but let errors affect exit code |
| 59 | + [tool.robotcode-analyze.code] |
| 60 | + exit-code-mask = ["warn"] |
| 61 | + ``` |
| 62 | + |
| 63 | + ```bash |
| 64 | + # Using short options |
| 65 | + robotcode analyze code -xm error,hint # Overwrites robot.toml config |
| 66 | + robotcode analyze code -xe info -xe hint # Extends robot.toml config with multiple types |
| 67 | + robotcode analyze code -xm all # Always exit with code 0 |
| 68 | + ``` |
| 69 | + |
| 70 | +- **vscode:** Add configuration for output file display options ([738d7a6](https://github.com/robotcodedev/robotcode/commit/738d7a6129f8e459c0af1961ebedfe320d2a4b9d)) |
| 71 | + |
| 72 | + Add "robotcode.run.openOutputTarget" setting to control how Robot Framework output files are displayed: |
| 73 | + - simpleBrowser: in VSCode's built-in browser |
| 74 | + - externalHttp: in default browser via HTTP protocol |
| 75 | + - externalFile: in default browser via file system |
| 76 | + |
| 77 | + The externalFile options may not run in remote development environments. |
| 78 | + |
| 79 | +- **vscode:** Use short CLI argument versions when calling robotcode ([0987f55](https://github.com/robotcodedev/robotcode/commit/0987f551803f23e2c8342638d2b3bb1e23cc99da)) |
| 80 | + |
| 81 | + |
| 82 | +### Refactor |
| 83 | + |
| 84 | +- **analyze:** Move code analysing to it's own module ([0123a50](https://github.com/robotcodedev/robotcode/commit/0123a507a3b23265676aa8d0c68af322e01f513c)) |
| 85 | + |
| 86 | + |
| 87 | +### Testing |
| 88 | + |
| 89 | +- Fix some unittest ([98e4d5c](https://github.com/robotcodedev/robotcode/commit/98e4d5c2e69e1d2a3a1518456f85ff04b15be920)) |
| 90 | + |
| 91 | + |
5 | 92 | ## [1.0.3](https://github.com/robotcodedev/robotcode/compare/v1.0.2..v1.0.3) - 2025-03-14
|
6 | 93 |
|
7 | 94 | ### Bug Fixes
|
|
0 commit comments