Skip to content

Commit de74190

Browse files
authored
Merge pull request #245 from galaxyproject/prepare_release_v0.11.0
Prepare release v0.11.0
2 parents 5724a88 + 2817530 commit de74190

File tree

9 files changed

+44
-17
lines changed

9 files changed

+44
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This project has the following main goals:
3939
- [Run planemo tests in the Test Explorer](#run-planemo-tests-in-the-test-explorer)
4040
- [Improved macros support](#improved-macros-support)
4141
- [Extract macro](#extract-macro)
42-
- [Full Galaxy tool linter integration](#document-validation) _New feature!_
42+
- [Full Galaxy tool linter integration](#document-validation)
4343

4444
# Getting Started
4545

client/CHANGELOG.md

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

3+
## [0.11.0] - 2023-08-30
4+
5+
### Added
6+
7+
- Add a few more snippets ([#233](https://github.com/galaxyproject/galaxy-language-server/pull/233)).
8+
9+
### Changed
10+
11+
- Auto-save document before inserting generated snippet ([#242](https://github.com/galaxyproject/galaxy-language-server/pull/242)).
12+
- Relax GLS version checking ([#244](https://github.com/galaxyproject/galaxy-language-server/pull/244)).
13+
- Updated Galaxy Language Server [v0.11.0](./server/CHANGELOG.md#0110)
14+
315
## [0.10.2] - 2023-03-12
416

517
### Changed

client/package.json

Lines changed: 1 addition & 1 deletion
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.10.2",
8+
"version": "0.11.0",
99
"preview": true,
1010
"repository": {
1111
"type": "git",

client/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export namespace Constants {
33
export const LS_VENV_NAME = "glsenv";
44
export const GALAXY_LS_PACKAGE = "galaxy-language-server";
55
export const GALAXY_LS = "galaxyls";
6-
export const GALAXY_LS_VERSION = "0.10.2";
6+
export const GALAXY_LS_VERSION = "0.11.0";
77
export const LANGUAGE_ID = "galaxytool";
88
export const TOOL_DOCUMENT_EXTENSION = "xml";
99

server/CHANGELOG.md

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

3+
## [0.11.0] - 2023-08-30
4+
5+
### Fixed
6+
7+
- Fix macros detection condition ([#239](https://github.com/galaxyproject/galaxy-language-server/pull/239)).
8+
9+
### Added
10+
11+
- Support for links to navigate to test-data files ([#231](https://github.com/galaxyproject/galaxy-language-server/pull/231)).
12+
13+
### Changed
14+
15+
- Improve attribute with enum auto-completion ([#241](https://github.com/galaxyproject/galaxy-language-server/pull/241)).
16+
- Remove dead link ([#238](https://github.com/galaxyproject/galaxy-language-server/pull/238)).
17+
318
## [0.10.2] - 2023-03-12
419

520
### Fixed

server/galaxyls/services/tools/linting.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
from typing import List
1+
from typing import (
2+
cast,
3+
List,
4+
)
25

36
from galaxy.tool_util.lint import (
47
lint_xml_with,
58
LintContext,
69
LintLevel,
10+
LintMessage,
711
XMLLintMessageXPath,
812
)
913
from lsprotocol.types import (
@@ -19,7 +23,7 @@ class GalaxyToolLinter(ToolLinter):
1923
diagnostics_source = "Galaxy Tool Linter"
2024

2125
def lint_document(self, xml_document: XmlDocument) -> List[Diagnostic]:
22-
""" """
26+
"""Lint the given document using the Galaxy linter modules and return a list of Diagnostics."""
2327
result: List[Diagnostic] = []
2428
xml_tree = xml_document.xml_tree_expanded
2529
if not xml_document.is_tool_file or xml_tree is None:
@@ -40,12 +44,8 @@ def lint_document(self, xml_document: XmlDocument) -> List[Diagnostic]:
4044
)
4145
return result
4246

43-
def _to_diagnostic(
44-
self,
45-
lint_message: XMLLintMessageXPath,
46-
xml_document: XmlDocument,
47-
level: DiagnosticSeverity,
48-
) -> Diagnostic:
47+
def _to_diagnostic(self, lint_message: LintMessage, xml_document: XmlDocument, level: DiagnosticSeverity) -> Diagnostic:
48+
lint_message = cast(XMLLintMessageXPath, lint_message)
4949
range = xml_document.get_element_range_from_xpath_or_default(lint_message.xpath)
5050
result = Diagnostic(
5151
range=range,

server/galaxyls/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
GLS_VERSION = "0.10.2"
1+
GLS_VERSION = "0.11.0"

server/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# But imports the runtime ones too
33
-r requirements.txt
44

5-
black==23.1.0
5+
black==22.12.0
66
flake8-bugbear==23.2.13
77
flake8==6.0.0
88
isort==5.12.0

server/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pygls==1.0.1
2-
lxml==4.9.2
3-
anytree==2.8.0
4-
galaxy-tool-util==22.1.5
1+
pygls==1.0.2
2+
lxml==4.9.3
3+
anytree==2.9.0
4+
galaxy-tool-util==23.0.5

0 commit comments

Comments
 (0)