Skip to content
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

Release v0.12.0 #249

Merged
merged 6 commits into from
Oct 14, 2023
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
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.12.0] - 2023-10-14

### Added

- Support for Document Outline via Document Symbols Provider ([#247](https://github.com/galaxyproject/galaxy-language-server/pull/247)).

### Changed

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

## [0.11.0] - 2023-08-30

### Added
Expand Down
9 changes: 8 additions & 1 deletion client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ Since version `0.4.0` you can use some of the cool features of [planemo](https:/
- [Run planemo tests in the Test Explorer](#run-planemo-tests-in-the-test-explorer)
- [Improved macros support](#improved-macros-support)
- [Extract macro](#extract-macro)
- [Full Galaxy tool linter integration](#document-validation) _New feature!_ ✨
- [Full Galaxy tool linter integration](#document-validation)
- [Document Outline](#document-outline) _New feature!_ ✨

# Installation

Expand Down Expand Up @@ -188,3 +189,9 @@ There are also a lot of features around macros auto-completion. You can now navi
You can select (a complete) XML element and then extract it to a local macro (directly in the tool wrapper) or into an external macro file. If there are several imported macro files, you can choose where to put them or if there is no imported file it will be created and imported directly.

![Demo feature expanded macros](../assets/feature.extract.macro.gif)

## Document Outline

You can now see a document outline of the currently opened tool document. This is especially useful when working with large tool documents. You can navigate to the different sections of the document in a quick and convenient way.

![Demo feature document outline](../assets/feature.document.outline.gif)
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.11.0",
"version": "0.12.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.11.0";
export const GALAXY_LS_VERSION = "0.12.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.12.0] - 2023-10-14

### Added

- Document Symbol provider ([#247](https://github.com/galaxyproject/galaxy-language-server/pull/247)).

## [0.11.0] - 2023-08-30

### Fixed
Expand Down
6 changes: 4 additions & 2 deletions server/galaxyls/services/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
Optional,
)

from lsprotocol.types import Range
from pygls.workspace import Position
from lsprotocol.types import (
Position,
Range,
)

from galaxyls.services.tools.constants import MACROS
from galaxyls.services.xml.constants import UNDEFINED_OFFSET
Expand Down
2 changes: 1 addition & 1 deletion server/galaxyls/tests/unit/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
)

import pytest
from pygls.workspace import (
from lsprotocol.types import (
Position,
Range,
)
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.11.0"
GLS_VERSION = "0.12.0"
4 changes: 2 additions & 2 deletions server/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pygls==1.0.2
pygls==1.1.1
lxml==4.9.3
anytree==2.9.0
anytree==2.10.0
galaxy-tool-util==23.0.5