Skip to content

Commit 817ab0c

Browse files
authored
Patch v0.5.3
Prepare patch v0.5.3
2 parents 5184522 + 01d1fd6 commit 817ab0c

File tree

10 files changed

+32
-16
lines changed

10 files changed

+32
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Basic support for `Cheetah` and `reStructuredText` syntax highlighting inside th
105105

106106
![Demo feature auto-generate tests](../assets/feature.generate.tests.gif)
107107

108-
After you define the `<inputs>` and `<outputs>` of the tool, you can press `Ctrl+Alt+t` (or `Cmd+Alt+t` in Mac) to create a `<tests>` section with a basic structure and some test cases. This is especially useful when using conditionals and other nested parameters since you can get right away most of the boilerplate XML.
108+
After you define the `<inputs>` and `<outputs>` of the tool, you can press `Ctrl+Alt+t` (or `Cmd+Alt+t` in Mac) to create a `<tests>` section with a basic structure and some test cases. This is especially useful when using conditionals and other nested parameters since you can get right away most of the boilerplate XML. You can always change the key bindings to your personal preference, see [the documentation](https://code.visualstudio.com/docs/getstarted/keybindings).
109109

110110
## Auto-generate command section
111111

client/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Galaxy Tools (VS Code Extension) Changelog
22

3+
## [0.5.3] - 2021-07-09
4+
5+
### Fixed
6+
7+
- The `galaxy_root` setting validation now checks for the existence of `<galaxy_root>/lib/galaxy` instead of relying on how the root directory is named. ([#158](https://github.com/galaxyproject/galaxy-language-server/pull/158)).
8+
9+
### Changed
10+
11+
- Updated Galaxy Language Server [v0.5.3](./server/CHANGELOG.md#053)
12+
313
## [0.5.2] - 2021-06-08
414

515
### Fixed

client/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Basic support for `Cheetah` and `reStructuredText` syntax highlighting inside th
162162

163163
![Demo feature auto-generate tests](../assets/feature.generate.tests.gif)
164164

165-
After you define the `<inputs>` and `<outputs>` of the tool, you can press `Ctrl+Alt+t` (or `Cmd+Alt+t` in Mac) to create a `<tests>` section with a basic structure and some test cases. This is especially useful when using conditionals and other nested parameters since you can get right away most of the boilerplate XML.
165+
After you define the `<inputs>` and `<outputs>` of the tool, you can press `Ctrl+Alt+t` (or `Cmd+Alt+t` in Mac) to create a `<tests>` section with a basic structure and some test cases. This is especially useful when using conditionals and other nested parameters since you can get right away most of the boilerplate XML. You can always change the key bindings to your personal preference, see [the documentation](https://code.visualstudio.com/docs/getstarted/keybindings).
166166

167167
## Auto-generate command section
168168

client/package-lock.json

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

client/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "davelopez",
66
"publisher": "davelopez",
77
"license": "Apache-2.0",
8-
"version": "0.5.2",
8+
"version": "0.5.3",
99
"preview": true,
1010
"repository": {
1111
"type": "git",
@@ -281,8 +281,8 @@
281281
"webpack-cli": "^4.7.0"
282282
},
283283
"dependencies": {
284-
"iconv-lite": "^0.6.2",
285-
"lookpath": "^1.2.0",
284+
"iconv-lite": "^0.6.3",
285+
"lookpath": "^1.2.1",
286286
"tmp": "^0.2.1",
287287
"vscode-languageclient": "^7.0.0",
288288
"vscode-test-adapter-api": "^1.9.0",

client/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export namespace Constants {
44
export const LS_VENV_NAME = "glsenv";
55
export const GALAXY_LS_PACKAGE = "galaxy-language-server";
66
export const GALAXY_LS = "galaxyls";
7-
export const GALAXY_LS_VERSION = "0.5.2"
7+
export const GALAXY_LS_VERSION = "0.5.3"
88
export const LANGUAGE_ID = "galaxytool"
99
export const TOOL_DOCUMENT_EXTENSION = "xml"
1010

server/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Galaxy Language Server Changelog
22

3+
## [0.5.3] - 2021-07-09
4+
5+
### Fixed
6+
7+
- An error when generating tests from inputs that contained boolean values different than `true` or `false` like `True` or `False` ([#156](https://github.com/galaxyproject/galaxy-language-server/pull/156)).
8+
39
## [0.5.2] - 2021-06-08
410

511
### Fixed

server/galaxyls/services/completion.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,16 @@ def get_attribute_completion(self, context: XmlContext) -> CompletionList:
8686
CompletionList: The completion item with the basic information
8787
about the attributes.
8888
"""
89+
result = []
8990
if (
9091
context.is_empty
9192
or context.is_content
9293
or context.is_attribute_value
9394
or context.is_closing_tag
9495
or not context.node.name
9596
):
96-
return CompletionList(is_incomplete=False)
97+
return CompletionList(items=result, is_incomplete=False)
9798

98-
result = []
9999
if context.xsd_element:
100100
existing_attr_names = context.node.get_attribute_names()
101101
for attr_name in context.xsd_element.attributes:
@@ -143,7 +143,7 @@ def get_attribute_value_completion(self, context: XmlContext) -> CompletionList:
143143
macro_names = self.definitions_provider.macro_definitions_provider.get_macro_names(context.xml_document)
144144
result = [CompletionItem(label=item, kind=CompletionItemKind.Value) for item in macro_names]
145145
return CompletionList(items=result, is_incomplete=False)
146-
return CompletionList(is_incomplete=False)
146+
return CompletionList(items=[], is_incomplete=False)
147147

148148
def get_auto_close_tag(self, context: XmlContext, trigger_character: str) -> Optional[AutoCloseTagResult]:
149149
"""Gets the closing result for the currently opened tag in context.

server/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
pygls==0.10.3
1+
pygls==0.11.1
22
lxml==4.6.3
33
anytree==2.8.0
4-
galaxy-tool-util==21.1.1
4+
galaxy-tool-util==21.1.2
55
pydantic==1.8.2

server/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
PACKAGE_NAME = "galaxy-language-server"
8-
VERSION = "0.5.2"
8+
VERSION = "0.5.3"
99
AUTHOR = "David López"
1010
AUTHOR_EMAIL = "davelopez7391@gmail.com"
1111
DESCRIPTION = "A language server for Galaxy (https://galaxyproject.org) tool wrappers"

0 commit comments

Comments
 (0)