robotcode 2.0.4__tar.gz → 2.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {robotcode-2.0.4 → robotcode-2.2.0}/CHANGELOG.md +83 -0
- {robotcode-2.0.4 → robotcode-2.2.0}/PKG-INFO +17 -17
- {robotcode-2.0.4 → robotcode-2.2.0}/hatch.toml +13 -7
- {robotcode-2.0.4 → robotcode-2.2.0}/pyproject.toml +57 -40
- robotcode-2.2.0/src/robotcode/cli/__version__.py +1 -0
- robotcode-2.0.4/src/robotcode/cli/__version__.py +0 -1
- {robotcode-2.0.4 → robotcode-2.2.0}/.gitignore +0 -0
- {robotcode-2.0.4 → robotcode-2.2.0}/LICENSE.txt +0 -0
- {robotcode-2.0.4 → robotcode-2.2.0}/README.md +0 -0
- {robotcode-2.0.4 → robotcode-2.2.0}/src/robotcode/cli/__init__.py +0 -0
- {robotcode-2.0.4 → robotcode-2.2.0}/src/robotcode/cli/__main__.py +0 -0
- {robotcode-2.0.4 → robotcode-2.2.0}/src/robotcode/cli/commands/__init__.py +0 -0
- {robotcode-2.0.4 → robotcode-2.2.0}/src/robotcode/cli/commands/config.py +0 -0
- {robotcode-2.0.4 → robotcode-2.2.0}/src/robotcode/cli/commands/profiles.py +0 -0
- {robotcode-2.0.4 → robotcode-2.2.0}/src/robotcode/cli/py.typed +0 -0
|
@@ -2,6 +2,89 @@
|
|
|
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
|
+
## [2.2.0](https://github.com/robotcodedev/robotcode/compare/v2.1.0..v2.2.0) - 2026-01-02
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **intellij:** Add missing language method in RobotCodeCodeStyleSettingsProvider ([90673bf](https://github.com/robotcodedev/robotcode/commit/90673bf16393ff317079059c870c97340229f0e7))
|
|
10
|
+
- **langserver:** Default to folding ranges to character-based ([6cbefe2](https://github.com/robotcodedev/robotcode/commit/6cbefe2901890930a89ce7e53bcd1a26b51ba4e1))
|
|
11
|
+
|
|
12
|
+
Use character-based folding ranges by default when client capabilities are unknown.
|
|
13
|
+
|
|
14
|
+
- **robocop:** Update robocop documentation urls ([c15bdfa](https://github.com/robotcodedev/robotcode/commit/c15bdfa27713ed68959a8ccbf5a2d61469a8fa06))
|
|
15
|
+
- **robot:** Use explicit class reference for super() in VariablesDoc to allow slots ([8af05a9](https://github.com/robotcodedev/robotcode/commit/8af05a9756bd957c7cba03c0ca9ac91a691ab598))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Documentation
|
|
19
|
+
|
|
20
|
+
- Add some funny random hero images ([f62e1bd](https://github.com/robotcodedev/robotcode/commit/f62e1bd8cfe621414c1a45f318f687407731a401))
|
|
21
|
+
- Back to normal hero image ([57633b5](https://github.com/robotcodedev/robotcode/commit/57633b5a1271c5383a548234108ece0aa86be88d))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
- Add support for Robot Framework 7.4 ([3e140c9](https://github.com/robotcodedev/robotcode/commit/3e140c9a18fbe563f0f4c7a7fdee306fdcf97225))
|
|
27
|
+
- Enhance diagnostics and analysis features with progress indicators in verbose mode and performance improvements ([1ac9247](https://github.com/robotcodedev/robotcode/commit/1ac9247fa820605e66d6dc61f24732edab662f12))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Performance
|
|
31
|
+
|
|
32
|
+
- **lsp:** Use dataclass slots for protocol types ([82012e8](https://github.com/robotcodedev/robotcode/commit/82012e8c478b75e1781b3eb3ac9f9c3a4ce0c29a))
|
|
33
|
+
|
|
34
|
+
use @dataclass(slots=True) for LSP model classes to reduce per-instance memory overhead and speed up attribute access in LSP hot paths
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Refactor
|
|
39
|
+
|
|
40
|
+
- **core:** Simplify casing caches and add support for PEP 604 unions ([428226a](https://github.com/robotcodedev/robotcode/commit/428226a8d393e7f650e5b7caa43feb090587490c))
|
|
41
|
+
- Reduce lru_cache maxsize for performance optimization across multiple modules ([f715d32](https://github.com/robotcodedev/robotcode/commit/f715d3239ba19b6eaa9f8a346ab61bf524aa5dc8))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Testing
|
|
45
|
+
|
|
46
|
+
- Real pyproject file for test project ([c3e17b2](https://github.com/robotcodedev/robotcode/commit/c3e17b2203e1a23d7b7373d4b618f7039063a5cc))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## [2.1.0](https://github.com/robotcodedev/robotcode/compare/v2.0.4..v2.1.0) - 2025-12-02
|
|
50
|
+
|
|
51
|
+
### Documentation
|
|
52
|
+
|
|
53
|
+
- Correct some stylings ([5edb90c](https://github.com/robotcodedev/robotcode/commit/5edb90c90700bb0fea5773f102171e14da8f6abd))
|
|
54
|
+
- Make the hero image a bit more christmassy ([4fd8412](https://github.com/robotcodedev/robotcode/commit/4fd841257ed6f9297799a7b9ab1ce829c6837266))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Features
|
|
58
|
+
|
|
59
|
+
- **vscode:** Add option to control extension activation per scope ([7af4583](https://github.com/robotcodedev/robotcode/commit/7af4583367c1746bb089eedb085fcb6d5f9fe966))
|
|
60
|
+
|
|
61
|
+
Add new `robotcode.disableExtension` configuration setting that allows
|
|
62
|
+
users to disable or enable the RobotCode extension at any scope level.
|
|
63
|
+
|
|
64
|
+
With resource scope, users can:
|
|
65
|
+
- Disable the extension globally (user settings) and enable it for
|
|
66
|
+
specific workspaces or folders
|
|
67
|
+
- Disable the extension for a workspace and enable it for specific
|
|
68
|
+
folders within
|
|
69
|
+
- Disable the extension only for specific folders in multi-root
|
|
70
|
+
workspaces
|
|
71
|
+
|
|
72
|
+
This is useful in:
|
|
73
|
+
- Large workspaces where RobotCode is not needed everywhere
|
|
74
|
+
- Multi-root workspaces with mixed project types
|
|
75
|
+
- Environments where users want opt-in rather than opt-out behavior
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### Performance
|
|
80
|
+
|
|
81
|
+
- **vscode:** Cache getRobotCodeProfiles results ([8aa6db5](https://github.com/robotcodedev/robotcode/commit/8aa6db5f39252106d138d49a40f8050dbe00da81))
|
|
82
|
+
|
|
83
|
+
Add caching for robot.toml profiles to avoid spawning a new process
|
|
84
|
+
on every call. Cache is invalidated on language client state changes.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
5
88
|
## [2.0.4](https://github.com/robotcodedev/robotcode/compare/v2.0.3..v2.0.4) - 2025-11-25
|
|
6
89
|
|
|
7
90
|
### Documentation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: robotcode
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Command line interface for RobotCode
|
|
5
5
|
Project-URL: Homepage, https://robotcode.io
|
|
6
6
|
Project-URL: Donate, https://opencollective.com/robotcode
|
|
@@ -33,38 +33,38 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
|
|
|
33
33
|
Classifier: Topic :: Utilities
|
|
34
34
|
Classifier: Typing :: Typed
|
|
35
35
|
Requires-Python: >=3.10
|
|
36
|
-
Requires-Dist: robotcode-core
|
|
37
|
-
Requires-Dist: robotcode-plugin
|
|
38
|
-
Requires-Dist: robotcode-robot
|
|
36
|
+
Requires-Dist: robotcode-core
|
|
37
|
+
Requires-Dist: robotcode-plugin
|
|
38
|
+
Requires-Dist: robotcode-robot
|
|
39
39
|
Provides-Extra: all
|
|
40
40
|
Requires-Dist: docutils; extra == 'all'
|
|
41
41
|
Requires-Dist: pyyaml>=5.4; extra == 'all'
|
|
42
42
|
Requires-Dist: rich; extra == 'all'
|
|
43
|
-
Requires-Dist: robotcode-analyze
|
|
44
|
-
Requires-Dist: robotcode-debugger
|
|
45
|
-
Requires-Dist: robotcode-language-server
|
|
46
|
-
Requires-Dist: robotcode-repl
|
|
47
|
-
Requires-Dist: robotcode-repl
|
|
48
|
-
Requires-Dist: robotcode-runner
|
|
49
|
-
Requires-Dist: robotframework-robocop>=
|
|
43
|
+
Requires-Dist: robotcode-analyze; extra == 'all'
|
|
44
|
+
Requires-Dist: robotcode-debugger; extra == 'all'
|
|
45
|
+
Requires-Dist: robotcode-language-server; extra == 'all'
|
|
46
|
+
Requires-Dist: robotcode-repl; extra == 'all'
|
|
47
|
+
Requires-Dist: robotcode-repl-server; extra == 'all'
|
|
48
|
+
Requires-Dist: robotcode-runner; extra == 'all'
|
|
49
|
+
Requires-Dist: robotframework-robocop>=6.0.0; extra == 'all'
|
|
50
50
|
Provides-Extra: analyze
|
|
51
|
-
Requires-Dist: robotcode-analyze==2.0
|
|
51
|
+
Requires-Dist: robotcode-analyze==2.2.0; extra == 'analyze'
|
|
52
52
|
Provides-Extra: colored
|
|
53
53
|
Requires-Dist: rich; extra == 'colored'
|
|
54
54
|
Provides-Extra: debugger
|
|
55
|
-
Requires-Dist: robotcode-debugger==2.0
|
|
55
|
+
Requires-Dist: robotcode-debugger==2.2.0; extra == 'debugger'
|
|
56
56
|
Provides-Extra: languageserver
|
|
57
|
-
Requires-Dist: robotcode-language-server==2.0
|
|
57
|
+
Requires-Dist: robotcode-language-server==2.2.0; extra == 'languageserver'
|
|
58
58
|
Provides-Extra: lint
|
|
59
59
|
Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
|
|
60
60
|
Provides-Extra: repl
|
|
61
|
-
Requires-Dist: robotcode-repl==2.0
|
|
61
|
+
Requires-Dist: robotcode-repl==2.2.0; extra == 'repl'
|
|
62
62
|
Provides-Extra: replserver
|
|
63
|
-
Requires-Dist: robotcode-repl-server==2.0
|
|
63
|
+
Requires-Dist: robotcode-repl-server==2.2.0; extra == 'replserver'
|
|
64
64
|
Provides-Extra: rest
|
|
65
65
|
Requires-Dist: docutils; extra == 'rest'
|
|
66
66
|
Provides-Extra: runner
|
|
67
|
-
Requires-Dist: robotcode-runner==2.0
|
|
67
|
+
Requires-Dist: robotcode-runner==2.2.0; extra == 'runner'
|
|
68
68
|
Provides-Extra: yaml
|
|
69
69
|
Requires-Dist: pyyaml>=5.4; extra == 'yaml'
|
|
70
70
|
Description-Content-Type: text/markdown
|
|
@@ -28,9 +28,10 @@ dependencies = [
|
|
|
28
28
|
"robotremoteserver",
|
|
29
29
|
"apischema",
|
|
30
30
|
]
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
dependency-groups = ["all"]
|
|
32
|
+
workspace.members = [
|
|
33
|
+
"packages/*",
|
|
34
|
+
]
|
|
34
35
|
|
|
35
36
|
[envs.default.scripts]
|
|
36
37
|
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=robotcode --cov=tests {args}"
|
|
@@ -39,7 +40,6 @@ test = "pytest {args}"
|
|
|
39
40
|
test-reset = "pytest --regtest2-reset {args}"
|
|
40
41
|
create-json-schema = "python ./scripts/create_robot_toml_json_schema.py"
|
|
41
42
|
generate-rf-options = "python ./scripts/generate_rf_options.py"
|
|
42
|
-
install-packages = "python ./scripts/install_packages.py"
|
|
43
43
|
generate-tmlanguage = "python ./scripts/generate_tmlanguage.py"
|
|
44
44
|
|
|
45
45
|
[envs.rfbeta]
|
|
@@ -61,7 +61,7 @@ python = "3.10"
|
|
|
61
61
|
|
|
62
62
|
[[envs.devel.matrix]]
|
|
63
63
|
python = ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
64
|
-
rf = ["rf50", "rf60", "rf61", "rf70", "rf71", "rf72", "rf73"]
|
|
64
|
+
rf = ["rf50", "rf60", "rf61", "rf70", "rf71", "rf72", "rf73", "rf74"]
|
|
65
65
|
|
|
66
66
|
[envs.devel.overrides]
|
|
67
67
|
matrix.rf.dependencies = [
|
|
@@ -86,6 +86,9 @@ matrix.rf.dependencies = [
|
|
|
86
86
|
{ value = "robotframework~=7.3.0", if = [
|
|
87
87
|
"rf73",
|
|
88
88
|
] },
|
|
89
|
+
{ value = "robotframework~=7.4.0", if = [
|
|
90
|
+
"rf74",
|
|
91
|
+
] },
|
|
89
92
|
]
|
|
90
93
|
|
|
91
94
|
[envs.hatch-test]
|
|
@@ -93,7 +96,7 @@ dependencies = ["pytest", "pytest-html", "pytest_asyncio>=0.23", "pyyaml"]
|
|
|
93
96
|
pre-install-commands = ["python ./scripts/install_packages.py"]
|
|
94
97
|
|
|
95
98
|
[[envs.test.matrix]]
|
|
96
|
-
rf = ["rf50", "rf60", "rf61", "rf70", "rf71", "rf72", "rf73"]
|
|
99
|
+
rf = ["rf50", "rf60", "rf61", "rf70", "rf71", "rf72", "rf73", "rf74"]
|
|
97
100
|
|
|
98
101
|
[envs.test.overrides]
|
|
99
102
|
matrix.rf.dependencies = [
|
|
@@ -118,6 +121,9 @@ matrix.rf.dependencies = [
|
|
|
118
121
|
{ value = "robotframework~=7.3.0", if = [
|
|
119
122
|
"rf73",
|
|
120
123
|
] },
|
|
124
|
+
{ value = "robotframework~=7.4.0", if = [
|
|
125
|
+
"rf74",
|
|
126
|
+
] },
|
|
121
127
|
]
|
|
122
128
|
|
|
123
129
|
[envs.lint]
|
|
@@ -131,7 +137,7 @@ extra-dependencies = [
|
|
|
131
137
|
"types-docutils",
|
|
132
138
|
"types-setuptools",
|
|
133
139
|
]
|
|
134
|
-
|
|
140
|
+
dependency-groups = ["all"]
|
|
135
141
|
|
|
136
142
|
|
|
137
143
|
[envs.lint.scripts]
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["hatchling>=1.
|
|
2
|
+
requires = ["hatchling>=1.28.0"]
|
|
3
3
|
build-backend = "hatchling.build"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
[project]
|
|
7
6
|
name = "robotcode"
|
|
8
7
|
description = "Command line interface for RobotCode"
|
|
@@ -49,13 +48,56 @@ classifiers = [
|
|
|
49
48
|
"Framework :: Robot Framework :: Tool",
|
|
50
49
|
]
|
|
51
50
|
requires-python = ">=3.10"
|
|
52
|
-
dependencies = [
|
|
53
|
-
"robotcode-core==2.0.4",
|
|
54
|
-
"robotcode-plugin==2.0.4",
|
|
55
|
-
"robotcode-robot==2.0.4",
|
|
56
|
-
]
|
|
51
|
+
dependencies = ["robotcode-core", "robotcode-plugin", "robotcode-robot"]
|
|
57
52
|
dynamic = ["version"]
|
|
58
53
|
|
|
54
|
+
[project.optional-dependencies]
|
|
55
|
+
debugger = ["robotcode-debugger==2.2.0"]
|
|
56
|
+
languageserver = ["robotcode-language-server==2.2.0"]
|
|
57
|
+
runner = ["robotcode-runner==2.2.0"]
|
|
58
|
+
analyze = ["robotcode-analyze==2.2.0"]
|
|
59
|
+
yaml = ["PyYAML>=5.4"]
|
|
60
|
+
lint = ["robotframework-robocop>=2.0.0"]
|
|
61
|
+
rest = ["docutils"]
|
|
62
|
+
repl = ["robotcode-repl==2.2.0"]
|
|
63
|
+
replserver = ["robotcode-repl-server==2.2.0"]
|
|
64
|
+
colored = ["rich"]
|
|
65
|
+
all = [
|
|
66
|
+
"robotcode-debugger",
|
|
67
|
+
"robotcode-language-server",
|
|
68
|
+
"robotcode-runner",
|
|
69
|
+
"robotcode-analyze",
|
|
70
|
+
"robotcode-repl",
|
|
71
|
+
"robotcode-repl-server",
|
|
72
|
+
"PyYAML>=5.4",
|
|
73
|
+
"robotframework-robocop>=6.0.0",
|
|
74
|
+
"docutils",
|
|
75
|
+
"rich",
|
|
76
|
+
]
|
|
77
|
+
|
|
78
|
+
[dependency-groups]
|
|
79
|
+
debugger = ["robotcode-debugger"]
|
|
80
|
+
languageserver = ["robotcode-language-server"]
|
|
81
|
+
runner = ["robotcode-runner"]
|
|
82
|
+
analyze = ["robotcode-analyze"]
|
|
83
|
+
replserver = ["robotcode-repl-server"]
|
|
84
|
+
repl = ["robotcode-repl"]
|
|
85
|
+
yaml = ["PyYAML>=5.4"]
|
|
86
|
+
lint = ["robotframework-robocop>=6.0.0"]
|
|
87
|
+
rest = ["docutils"]
|
|
88
|
+
colored = ["rich"]
|
|
89
|
+
all = [
|
|
90
|
+
{ "include-group" = "debugger" },
|
|
91
|
+
{ "include-group" = "languageserver" },
|
|
92
|
+
{ "include-group" = "runner" },
|
|
93
|
+
{ "include-group" = "analyze" },
|
|
94
|
+
{ "include-group" = "repl" },
|
|
95
|
+
{ "include-group" = "replserver" },
|
|
96
|
+
{ "include-group" = "yaml" },
|
|
97
|
+
{ "include-group" = "lint" },
|
|
98
|
+
{ "include-group" = "rest" },
|
|
99
|
+
{ "include-group" = "colored" },
|
|
100
|
+
]
|
|
59
101
|
|
|
60
102
|
[project.urls]
|
|
61
103
|
Homepage = "https://robotcode.io"
|
|
@@ -69,31 +111,6 @@ Source = "https://github.com/robotcodedev/robotcode"
|
|
|
69
111
|
robotcode = "robotcode.cli.__main__:main"
|
|
70
112
|
|
|
71
113
|
|
|
72
|
-
[project.optional-dependencies]
|
|
73
|
-
debugger = ["robotcode-debugger==2.0.4"]
|
|
74
|
-
languageserver = ["robotcode-language-server==2.0.4"]
|
|
75
|
-
runner = ["robotcode-runner==2.0.4"]
|
|
76
|
-
analyze = ["robotcode-analyze==2.0.4"]
|
|
77
|
-
yaml = ["PyYAML>=5.4"]
|
|
78
|
-
lint = ["robotframework-robocop>=2.0.0"]
|
|
79
|
-
rest = ["docutils"]
|
|
80
|
-
repl = ["robotcode-repl==2.0.4"]
|
|
81
|
-
replserver = ["robotcode-repl-server==2.0.4"]
|
|
82
|
-
colored = ["rich"]
|
|
83
|
-
all = [
|
|
84
|
-
"robotcode-debugger==2.0.4",
|
|
85
|
-
"robotcode-language-server==2.0.4",
|
|
86
|
-
"robotcode-runner==2.0.4",
|
|
87
|
-
"robotcode-analyze==2.0.4",
|
|
88
|
-
"robotcode-repl==2.0.4",
|
|
89
|
-
"robotcode-repl-server==2.0.4",
|
|
90
|
-
"PyYAML>=5.4",
|
|
91
|
-
"robotframework-robocop>=2.0.0",
|
|
92
|
-
"docutils",
|
|
93
|
-
"rich",
|
|
94
|
-
]
|
|
95
|
-
|
|
96
|
-
|
|
97
114
|
[tool.semantic_release]
|
|
98
115
|
version_variable = [
|
|
99
116
|
"src/robotcode/cli/__version__.py:__version__",
|
|
@@ -257,13 +274,7 @@ mypy_path = [
|
|
|
257
274
|
|
|
258
275
|
|
|
259
276
|
[[tool.mypy.overrides]]
|
|
260
|
-
module = [
|
|
261
|
-
"robot.*",
|
|
262
|
-
"robotremoteserver.*",
|
|
263
|
-
"debugpy.*",
|
|
264
|
-
"robocop.*",
|
|
265
|
-
"pluggy",
|
|
266
|
-
]
|
|
277
|
+
module = ["robot.*", "robotremoteserver.*", "debugpy.*", "robocop.*", "pluggy"]
|
|
267
278
|
ignore_missing_imports = true
|
|
268
279
|
no_implicit_reexport = false
|
|
269
280
|
|
|
@@ -287,7 +298,13 @@ no_implicit_reexport = false
|
|
|
287
298
|
#include_runtime_files = false
|
|
288
299
|
|
|
289
300
|
[tool.pyright]
|
|
290
|
-
exclude = [
|
|
301
|
+
exclude = [
|
|
302
|
+
"**/.hatch",
|
|
303
|
+
"**/node_modules",
|
|
304
|
+
"**/__pycache__",
|
|
305
|
+
"bundled/libs",
|
|
306
|
+
"intellij-client/build",
|
|
307
|
+
]
|
|
291
308
|
typeCheckingMode = "off"
|
|
292
309
|
pythonVersion = "3.10"
|
|
293
310
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.2.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.0.4"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|