Skip to content

Prepare version v0.14.0 #279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Apr 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ This project has the following main goals:
- [Extract macro](#extract-macro)
- [Full Galaxy tool linter integration](#document-validation)
- [Document Outline](#document-outline)
- [Insert param reference](#insert-param-reference) _New feature!_ ✨
- [Insert param reference](#insert-param-reference)
- [Automatically update tests to comply with 24.2 profile validation](#automatically-update-tests-to-comply-with-242-profile-validation) _New feature!_ ✨

# Getting Started

Expand Down Expand Up @@ -171,3 +172,13 @@ Now you can use new commands to insert input parameter references into your wrap
In a similar way, you can also invoke a command but for inserting a param reference that can be used inside an output filter. The default key binding for that is `ctrl+alt+i ctrl+alt+f`.

![Demo feature insert param filter](../assets/feature.insert.param.filter.png)

## Automatically Update Tests to Comply with 24.2 Profile Validation

A new command is available to update old tests to comply with the 24.2 profile validation. If you encounter this linting warning in your tool:

> Test #: failed to validate test parameters against inputs - tests won't run on a modern Galaxy tool profile version.

You can use this command to automatically update the tests to meet the new validation rules. The command is accessible from the command palette as `Galaxy Tools: Update existing test cases to comply with 24.2 profile validation`, or you can use the default key binding `ctrl+alt+u`.

For more details about how this command works, you can check an example in this [Pull Request](https://github.com/galaxyproject/galaxy-language-server/pull/278).
10 changes: 10 additions & 0 deletions client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Galaxy Tools (VS Code Extension) Changelog

## [0.14.0] - 2025-04-12

### Added

- Add command to upgrade tests to comply with profile 24.2 validation ([#278](https://github.com/galaxyproject/galaxy-language-server/pull/278)).

### Changed

- Updated Galaxy Language Server [v0.14.0](./server/CHANGELOG.md#0140)

## [0.13.3] - 2025-03-15

### Changed
Expand Down
13 changes: 12 additions & 1 deletion client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ Since version `0.4.0` you can use some of the cool features of [planemo](https:/
- [Extract macro](#extract-macro)
- [Full Galaxy tool linter integration](#document-validation)
- [Document Outline](#document-outline)
- [Insert param reference](#insert-param-reference) _New feature!_ ✨
- [Insert param reference](#insert-param-reference)
- [Automatically update tests to comply with 24.2 profile validation](#automatically-update-tests-to-comply-with-242-profile-validation) _New feature!_ ✨

# Installation

Expand Down Expand Up @@ -206,3 +207,13 @@ Now you can use new commands to insert input parameter references into your wrap
In a similar way, you can also invoke a command but for inserting a param reference that can be used inside an output filter. The default key binding for that is `ctrl+alt+i ctrl+alt+f`.

![Demo feature insert param filter](../assets/feature.insert.param.filter.png)

## Automatically Update Tests to Comply with 24.2 Profile Validation

A new command is available to update old tests to comply with the 24.2 profile validation. If you encounter this linting warning in your tool:

> Test #: failed to validate test parameters against inputs - tests won't run on a modern Galaxy tool profile version.

You can use this command to automatically update the tests to meet the new validation rules. The command is accessible from the command palette as `Galaxy Tools: Update existing test cases to comply with 24.2 profile validation`, or you can use the default key binding `ctrl+alt+u`.

For more details about how this command works, you can check an example in this [Pull Request](https://github.com/galaxyproject/galaxy-language-server/pull/278).
4 changes: 2 additions & 2 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "davelopez",
"publisher": "davelopez",
"license": "Apache-2.0",
"version": "0.13.3",
"version": "0.14.0",
"preview": true,
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion client/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export namespace Constants {
export const LS_VENV_NAME = "glsenv";
export const GALAXY_LS_PACKAGE = "galaxy-language-server";
export const GALAXY_LS = "galaxyls";
export const GALAXY_LS_VERSION = "0.13.3";
export const GALAXY_LS_VERSION = "0.14.0";
export const LANGUAGE_ID = "galaxytool";
export const TOOL_DOCUMENT_EXTENSION = "xml";

Expand Down
6 changes: 6 additions & 0 deletions server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Galaxy Language Server Changelog

## [0.14.0] - 2025-04-12

### Added

- Add command to upgrade tests to comply with profile 24.2 validation ([#278](https://github.com/galaxyproject/galaxy-language-server/pull/278)).

## [0.13.3] - 2025-03-15

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion server/galaxyls/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
GLS_VERSION = "0.13.3"
GLS_VERSION = "0.14.0"
7 changes: 4 additions & 3 deletions server/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
# But imports the runtime ones too
-r requirements.txt

ruff==0.6.1
ruff==0.11.5
lxml-stubs==0.5.1
mypy==1.11.1
mypy==1.14.1
pytest-cov==5.0.0
pytest-mock==3.14.0
pytest==8.3.2
types-setuptools==69.5.0.20240518
setuptools==75.3.2
types-setuptools==75.3.0.20241112
4 changes: 2 additions & 2 deletions server/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pygls==1.3.1
lxml==5.3.1
lxml==5.3.2
anytree==2.12.1
galaxy-tool-util==24.2.2
galaxy-tool-util==24.2.3
edam-ontology==1.25.2
2 changes: 1 addition & 1 deletion server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
AUTHOR_EMAIL = "davelopez7391@gmail.com"
DESCRIPTION = "A language server for Galaxy (https://galaxyproject.org) tool wrappers"
KEYWORDS = ["galaxy", "python", "language server"]
LICENSE = "Apache License 2.0"
LICENSE = "Apache-2.0"
URL = "https://github.com/davelopez/galaxy-language-server/tree/main/server"

base_directory = pathlib.Path(__file__).parent
Expand Down