Skip to content

Commit 721bcdc

Browse files
committed
chore(release): bump version 0.84.0 → 0.85.0
1 parent 1670e10 commit 721bcdc

File tree

20 files changed

+175
-38
lines changed

20 files changed

+175
-38
lines changed

CHANGELOG.md

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,163 @@
22

33
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
44

5+
## [0.85.0](https://github.com/robotcodedev/robotcode/compare/v0.84.0..v0.85.0) - 2024-08-18
6+
7+
### Bug Fixes
8+
9+
- **langserver:** Corrected coloring of test case/keyword names if names contains line continuations `...` ([a848a93](https://github.com/robotcodedev/robotcode/commit/a848a935567a41804fa20879a5da6016b5a68f0d))
10+
11+
12+
### Documentation
13+
14+
- Some reorganizations ([a49829b](https://github.com/robotcodedev/robotcode/commit/a49829b80b2e0f35eb4c70772bcff0af720fffeb))
15+
- Some more restrucuting ([5b2752f](https://github.com/robotcodedev/robotcode/commit/5b2752f66f2791da51e5d2cc7b063ec8b50fd247))
16+
- Correct RF versions in README ([da0af7b](https://github.com/robotcodedev/robotcode/commit/da0af7b82064304c7ed7c1290bb081eb4b38dde6))
17+
- "Get Started" improved ([c9954ad](https://github.com/robotcodedev/robotcode/commit/c9954ad394069f71eeac23c4b3453588227834ae))
18+
19+
20+
### Features
21+
22+
- **langserver:** Send full completion info if language client does not support `completionItem/resolve` ([4cf0127](https://github.com/robotcodedev/robotcode/commit/4cf01274e70070b3c9eb9e630afe08be57035e37))
23+
24+
525
## [0.84.0](https://github.com/robotcodedev/robotcode/compare/v0.83.3..v0.84.0) - 2024-08-08
626

727
### Bug Fixes
828

929
- **debugger:** Corrected handling of local variables in variables inspector ([12ecdd4](https://github.com/robotcodedev/robotcode/commit/12ecdd43376484a40b6cdeb2bca752bc09178fad))
30+
- **debugger:** Corrected start debuggin in internalConsole ([b5124c8](https://github.com/robotcodedev/robotcode/commit/b5124c87265aac26f30ec535ec72770bf258cfbd))
1031
- **debugger:** Corrected start debuggin in internalConsole ([f3fbf20](https://github.com/robotcodedev/robotcode/commit/f3fbf20d01d75264d86c0af4575e98b0cfa7ec5b))
1132
- **robot:** Use casefold for normalizing and remove some local imports in VariableMatcher ([04e12a7](https://github.com/robotcodedev/robotcode/commit/04e12a7ee262177f5bede595baa14e283c3ef4e7))
33+
- **vscode:** Remove `attachPython` from default `launch.json` config ([217653b](https://github.com/robotcodedev/robotcode/commit/217653b6a6c3e78dbbead659880c12c1d5fb4a54))
34+
- **vscode:** Only test cases are reported as queued, started and completed ([1d01f43](https://github.com/robotcodedev/robotcode/commit/1d01f43687a1b2f8428982cadcee7e72e1764738))
35+
36+
this corrects the number of successful/executed test cases in the upper area of the test explorer
37+
1238
- **vscode:** Remove `attachPython` from default `launch.json` config ([8052f8d](https://github.com/robotcodedev/robotcode/commit/8052f8dfc4e83a8d7e26ef8049c3631881e0dd34))
1339
- **vscode:** Only test cases are reported as queued, started and completed ([f68b8e3](https://github.com/robotcodedev/robotcode/commit/f68b8e34161b4ec977fcae04d891399a53f951fc))
1440

1541
this corrects the number of successful/executed test cases in the upper area of the test explorer
1642

1743

1844

45+
### Documentation
46+
47+
- **quickstart:** Add quickstart documentation page ([1fdb966](https://github.com/robotcodedev/robotcode/commit/1fdb966038595b79b7081ee94a735a8d76f3098e))
48+
- **quickstart:** Improve quickstart documentation ([a5dd60a](https://github.com/robotcodedev/robotcode/commit/a5dd60a0d1da7fd85cb781eaaaf530e5d8f30e8a))
49+
- Updated config page ([b230689](https://github.com/robotcodedev/robotcode/commit/b23068989da3aaff5ed8dce3b3c6653dceb88eb5))
50+
- Fix some formatting and spelling things ([99d18fe](https://github.com/robotcodedev/robotcode/commit/99d18fe2ffa3f754b125b7ae5f501ae90144c561))
51+
52+
1953
### Features
2054

2155
- **debugger:** Added support for disabling the hiding of debugger threads/tasks. ([049c905](https://github.com/robotcodedev/robotcode/commit/049c90517d36035e3bc86d0271e219e744c5dc7c))
2256

2357
By setting the ROBOTCODE_DISABLE_HIDDEN_TASKS environment variable to a value not equal to 0, the Robot Code debugger will not be hidden from the Debugpy debugger, allowing you to debug the Robot Code debugger itself.
2458

59+
- Diagnostics modifiers ([d1e5f3f](https://github.com/robotcodedev/robotcode/commit/d1e5f3f5781ba50416fdd3e39c8416978dffc5c7))
60+
61+
62+
Implement functionality to configure diagnostic error messages during source code analysis. Lines in the code with the `# robotcode:` marker are now interpreted as modifiers. The full structure of a modifier is `# robotcode: <action>[code(,code)*]*`.
63+
64+
**Allowed actions:**
65+
66+
- `ignore`: Ignore specified diagnostic codes.
67+
- `hint`: Treat specified diagnostic codes as hints.
68+
- `warn`: Treat specified diagnostic codes as warnings.
69+
- `error`: Treat specified diagnostic codes as errors.
70+
- `reset`: Reset the diagnostic codes to their default state.
71+
72+
**This implementation allows for the following:**
73+
74+
- Custom actions to be performed on specified diagnostic codes.
75+
- Enhanced control over which diagnostic messages are shown, ignored, or modified.
76+
- Flexibility in managing diagnostic outputs for better code quality and debugging experience.
77+
78+
**Usage details:**
79+
80+
- A diagnostic modifier can be placed at the end of a line. It modifies only the errors occurring in that line.
81+
- A modifier can be placed at the very beginning of a line. It applies from that line to the end of the file.
82+
- If a modifier is within a block (e.g., Testcase, Keyword, IF, FOR) and is indented, it applies only to the current block.
83+
84+
**Example usage:**
85+
86+
- `# robotcode: ignore[variable-not-found, keyword-not-found]` - Ignores the errors for variable not found and keyword not found.
87+
- `# robotcode: hint[MultipleKeywords]` - Treats the MultipleKeywords error as a hint.
88+
- `# robotcode: warn[variable-not-found]` - Treats the variable-not-found error as a warning.
89+
- `# robotcode: error[keyword-not-found]` - Treats the keyword-not-found error as an error.
90+
- `# robotcode: reset[MultipleKeywords]` - Resets the MultipleKeywords error to its default state.
91+
- `# robotcode: ignore` - Ignores all diagnostic messages .
92+
- `# robotcode: reset` - Resets all diagnostic messages to their default.
93+
94+
**Example scenarios:**
95+
96+
*Modifier at the end of a line:*
97+
98+
```robot
99+
*** Keywords ***
100+
Keyword Name
101+
Log ${arg1} # robotcode: ignore[variable-not-found]
102+
```
103+
This modifier will ignore the `variable-not-found` error for the `Log` keyword in this line only.
104+
105+
*Modifier at the beginning of a line:*
106+
107+
```robot
108+
# robotcode: ignore[keyword-not-found]
109+
*** Test Cases ***
110+
Example Test
111+
Log Hello
112+
Some Undefined Keyword
113+
```
114+
This modifier will ignore `keyword-not-found` errors from the point it is declared to the end of the file.
115+
116+
*Modifier within a block:*
117+
118+
```robot
119+
*** Keywords ***
120+
Example Keyword
121+
# robotcode: warn[variable-not-found]
122+
Log ${arg1}
123+
Another Keyword
124+
```
125+
This modifier will treat `variable-not-found` errors as warnings within the `Example Keyword` block.
126+
127+
*Modifier using reset:*
128+
129+
```robot
130+
# robotcode: error[variable-not-found]
131+
*** Test Cases ***
132+
Example Test
133+
Log ${undefined_variable}
134+
# robotcode: reset[variable-not-found]
135+
Log ${undefined_variable}
136+
```
137+
In this example, the `variable-not-found` error is treated as an error until it is reset in the `Another Test` block, where it will return to its default state.
138+
139+
*Modifier to ignore all diagnostic messages:*
140+
141+
```robot
142+
# robotcode: ignore
143+
*** Test Cases ***
144+
Example Test
145+
Log ${undefined_variable}
146+
Some Undefined Keyword
147+
```
148+
This modifier will ignore all diagnostic messages from the point it is declared to the end of the file.
149+
150+
*Modifier to reset all diagnostic messages:*
151+
152+
```robot
153+
# robotcode: ignore
154+
*** Test Cases ***
155+
Example Test
156+
Log ${undefined_variable}
157+
# robotcode: reset
158+
Another Test
159+
Some Undefined Keyword
160+
```
161+
In this example, all diagnostic messages are ignored until the `reset` modifier, which returns all messages to their default state from that point onward.
25162
- Diagnostics modifiers ([223ec13](https://github.com/robotcodedev/robotcode/commit/223ec134a9a947db50aebba0d10ad290ab3bffb5))
26163

27164

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Robot Framework IntelliSense, linting, test execution and debugging, code formatting, refactoring, and many more",
55
"icon": "images/icon.png",
66
"publisher": "d-biehl",
7-
"version": "0.84.0",
7+
"version": "0.85.0",
88
"author": {
99
"name": "Daniel Biehl",
1010
"url": "https://github.com/robotcodedev/"

packages/analyze/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ classifiers = [
2727
]
2828
dependencies = [
2929
"robotframework>=4.1.0",
30-
"robotcode-plugin==0.84.0",
31-
"robotcode-robot==0.84.0",
32-
"robotcode==0.84.0",
30+
"robotcode-plugin==0.85.0",
31+
"robotcode-robot==0.85.0",
32+
"robotcode==0.85.0",
3333
]
3434
dynamic = ["version"]
3535

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.84.0"
1+
__version__ = "0.85.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.84.0"
1+
__version__ = "0.85.0"

packages/debugger/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ classifiers = [
2828
dynamic = ["version"]
2929
dependencies = [
3030
"robotframework>=4.1.0",
31-
"robotcode-jsonrpc2==0.84.0",
32-
"robotcode-runner==0.84.0",
31+
"robotcode-jsonrpc2==0.85.0",
32+
"robotcode-runner==0.85.0",
3333
]
3434

3535
[project.optional-dependencies]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.84.0"
1+
__version__ = "0.85.0"

packages/jsonrpc2/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ classifiers = [
2525
"Framework :: Robot Framework",
2626
"Framework :: Robot Framework :: Tool",
2727
]
28-
dependencies = ["robotcode-core==0.84.0"]
28+
dependencies = ["robotcode-core==0.85.0"]
2929
dynamic = ["version"]
3030

3131
[project.urls]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.84.0"
1+
__version__ = "0.85.0"

0 commit comments

Comments
 (0)