From 7a98a899e04dadb6ce8604ef2a087207cd80971a Mon Sep 17 00:00:00 2001 From: MatejKastak Date: Sat, 30 Mar 2024 11:29:10 +0100 Subject: [PATCH] Release v1.4.2 --- CHANGELOG.md | 8 +++ editors/vscode/package.json | 2 +- plugins/yls-yara/poetry.lock | 105 ++++++++++---------------------- plugins/yls-yara/pyproject.toml | 4 +- pyproject.toml | 2 +- pytest-yls/pyproject.toml | 2 +- yls/version.py | 2 +- 7 files changed, 45 insertions(+), 80 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 111fe3a..cf3f53f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # Changelog All notable changes to this project will be documented in this file. +# 1.4.2 (2024-03-30) + +* fix: Handle the case where samples_dir has no value +* Changed security notice +* chore(deps): Update pygls to v1.3.0 +* chore(deps): Update black to v24.3.0 +* chore(deps): Bump semver from 5.7.1 to 5.7.2 in /editors/vscode + # 1.4.1 (2024-01-11) * chore: Expand python compatibility to ^3.8 diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 83f26b4..983943e 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -4,7 +4,7 @@ "description": "A Visual Studio Code extension for YARA based on YLS (Yara Language Server).", "author": "Matej Kastak", "license": "MIT", - "version": "1.4.1", + "version": "1.4.2", "repository": { "type": "git", "url": "https://github.com/avast/yls" diff --git a/plugins/yls-yara/poetry.lock b/plugins/yls-yara/poetry.lock index 937a41d..5ecb604 100644 --- a/plugins/yls-yara/poetry.lock +++ b/plugins/yls-yara/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "attrs" @@ -19,18 +19,28 @@ tests-no-zope = ["cloudpickle", "coverage[toml] (>=5.0.2)", "hypothesis", "mypy [[package]] name = "cattrs" -version = "22.2.0" +version = "23.1.2" description = "Composable complex class support for attrs and dataclasses." optional = false python-versions = ">=3.7" files = [ - {file = "cattrs-22.2.0-py3-none-any.whl", hash = "sha256:bc12b1f0d000b9f9bee83335887d532a1d3e99a833d1bf0882151c97d3e68c21"}, - {file = "cattrs-22.2.0.tar.gz", hash = "sha256:f0eed5642399423cf656e7b66ce92cdc5b963ecafd041d1b24d136fdde7acf6d"}, + {file = "cattrs-23.1.2-py3-none-any.whl", hash = "sha256:b2bb14311ac17bed0d58785e5a60f022e5431aca3932e3fc5cc8ed8639de50a4"}, + {file = "cattrs-23.1.2.tar.gz", hash = "sha256:db1c821b8c537382b2c7c66678c3790091ca0275ac486c76f3c8f3920e83c657"}, ] [package.dependencies] attrs = ">=20" exceptiongroup = {version = "*", markers = "python_version < \"3.11\""} +typing_extensions = {version = ">=4.1.0", markers = "python_version < \"3.11\""} + +[package.extras] +bson = ["pymongo (>=4.2.0,<5.0.0)"] +cbor2 = ["cbor2 (>=5.4.6,<6.0.0)"] +msgpack = ["msgpack (>=1.0.2,<2.0.0)"] +orjson = ["orjson (>=3.5.2,<4.0.0)"] +pyyaml = ["PyYAML (>=6.0,<7.0)"] +tomlkit = ["tomlkit (>=0.11.4,<0.12.0)"] +ujson = ["ujson (>=5.4.0,<6.0.0)"] [[package]] name = "colorama" @@ -57,25 +67,6 @@ files = [ [package.extras] test = ["pytest (>=6)"] -[[package]] -name = "importlib-metadata" -version = "6.8.0" -description = "Read metadata from Python packages" -optional = false -python-versions = ">=3.8" -files = [ - {file = "importlib_metadata-6.8.0-py3-none-any.whl", hash = "sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb"}, - {file = "importlib_metadata-6.8.0.tar.gz", hash = "sha256:dbace7892d8c0c4ac1ad096662232f831d4e64f4c4545bd53016a3e9d4654743"}, -] - -[package.dependencies] -zipp = ">=0.5" - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -perf = ["ipython"] -testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"] - [[package]] name = "iniconfig" version = "1.1.1" @@ -89,18 +80,18 @@ files = [ [[package]] name = "lsprotocol" -version = "2023.0.0b1" +version = "2023.0.1" description = "Python implementation of the Language Server Protocol." optional = false python-versions = ">=3.7" files = [ - {file = "lsprotocol-2023.0.0b1-py3-none-any.whl", hash = "sha256:ade2cd0fa0ede7965698cb59cd05d3adbd19178fd73e83f72ef57a032fbb9d62"}, - {file = "lsprotocol-2023.0.0b1.tar.gz", hash = "sha256:f7a2d4655cbd5639f373ddd1789807450c543341fa0a32b064ad30dbb9f510d4"}, + {file = "lsprotocol-2023.0.1-py3-none-any.whl", hash = "sha256:c75223c9e4af2f24272b14c6375787438279369236cd568f596d4951052a60f2"}, + {file = "lsprotocol-2023.0.1.tar.gz", hash = "sha256:cc5c15130d2403c18b734304339e51242d3018a05c4f7d0f198ad6e0cd21861d"}, ] [package.dependencies] attrs = ">=21.3.0" -cattrs = "*" +cattrs = "!=23.2.1" [[package]] name = "packaging" @@ -133,21 +124,21 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "pygls" -version = "1.1.2" +version = "1.3.1" description = "A pythonic generic language server (pronounced like 'pie glass')" optional = false -python-versions = ">=3.7.9,<4" +python-versions = ">=3.8" files = [ - {file = "pygls-1.1.2-py3-none-any.whl", hash = "sha256:783d29c93679bb6756772f2de9b9f53b1a6fdf3fba66aeca23e87aa8aab20ecf"}, - {file = "pygls-1.1.2.tar.gz", hash = "sha256:93fe17c01fd03307774290e685e7fa25bc1411cd72f243ff33eef21927fd0ad5"}, + {file = "pygls-1.3.1-py3-none-any.whl", hash = "sha256:6e00f11efc56321bdeb6eac04f6d86131f654c7d49124344a9ebb968da3dd91e"}, + {file = "pygls-1.3.1.tar.gz", hash = "sha256:140edceefa0da0e9b3c533547c892a42a7d2fd9217ae848c330c53d266a55018"}, ] [package.dependencies] -lsprotocol = "2023.0.0b1" -typeguard = ">=3.0.0,<5" +cattrs = ">=23.1.2" +lsprotocol = "2023.0.1" [package.extras] -ws = ["websockets (>=11.0.3,<12.0.0)"] +ws = ["websockets (>=11.0.3)"] [[package]] name = "pyparsing" @@ -196,25 +187,6 @@ files = [ {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, ] -[[package]] -name = "typeguard" -version = "4.1.5" -description = "Run-time type checker for Python" -optional = false -python-versions = ">=3.8" -files = [ - {file = "typeguard-4.1.5-py3-none-any.whl", hash = "sha256:8923e55f8873caec136c892c3bed1f676eae7be57cdb94819281b3d3bc9c0953"}, - {file = "typeguard-4.1.5.tar.gz", hash = "sha256:ea0a113bbc111bcffc90789ebb215625c963411f7096a7e9062d4e4630c155fd"}, -] - -[package.dependencies] -importlib-metadata = {version = ">=3.6", markers = "python_version < \"3.10\""} -typing-extensions = {version = ">=4.7.0", markers = "python_version < \"3.12\""} - -[package.extras] -doc = ["Sphinx (>=7)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)"] -test = ["coverage[toml] (>=7)", "mypy (>=1.2.0)", "pytest (>=7)"] - [[package]] name = "typing-extensions" version = "4.8.0" @@ -289,37 +261,22 @@ files = [ [[package]] name = "yls" -version = "1.4.1" +version = "1.4.2" description = "YARA Language Server" optional = false -python-versions = ">=3.8,<4.0" +python-versions = "<4.0,>=3.8" files = [ - {file = "yls-1.4.1-py3-none-any.whl", hash = "sha256:46c7faace47b99f831d085318c24d805983d051221ac1c0e8d314e0736aa4ca5"}, - {file = "yls-1.4.1.tar.gz", hash = "sha256:b61c1066edd179e2b6edf45bf34f102f31d959ec4fb2039d14e11847500519d4"}, + {file = "yls-1.4.2-py3-none-any.whl", hash = "sha256:2868d5a5d6dfa9973ec6a52b6297db5e47c7d90ca9642fc44b0383d64a131abe"}, + {file = "yls-1.4.2.tar.gz", hash = "sha256:0f7da434451a439701b3aa06056ee71b02ee3289a6a2169b257cb5b48a276b0d"}, ] [package.dependencies] pluggy = ">=1.0.0,<2.0.0" -pygls = ">=1.1.2,<2.0.0" +pygls = ">=1.3.0,<2.0.0" yaramod = ">=3.21.0,<4.0.0" yari-py = ">=0.2.1,<0.3.0" -[[package]] -name = "zipp" -version = "3.17.0" -description = "Backport of pathlib-compatible object wrapper for zip files" -optional = false -python-versions = ">=3.8" -files = [ - {file = "zipp-3.17.0-py3-none-any.whl", hash = "sha256:0e923e726174922dce09c53c59ad483ff7bbb8e572e00c7f7c46b88556409f31"}, - {file = "zipp-3.17.0.tar.gz", hash = "sha256:84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0"}, -] - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"] - [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "3894f5734c212043abe0dba96a4d53d652deae81a92cf41daee4fec2d73047d0" +content-hash = "01228658dede9571368986b54a0306824dfb694b384b6b68947d7531105b3931" diff --git a/plugins/yls-yara/pyproject.toml b/plugins/yls-yara/pyproject.toml index abd37f8..60325d7 100644 --- a/plugins/yls-yara/pyproject.toml +++ b/plugins/yls-yara/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "yls-yara" -version = "1.4.1" +version = "1.4.2" description = "YLS plugin adding linting using yara-python." authors = ["Matej Kastak "] maintainers = ["Matej Kašťák "] @@ -11,7 +11,7 @@ include = ["py.typed", "LICENSE"] [tool.poetry.dependencies] python = "^3.8" yara-python = "^4.2.0" -yls = "^1.4.1" +yls = "^1.4.2" [tool.poetry.group.dev.dependencies] pytest = "^7.2.2" diff --git a/pyproject.toml b/pyproject.toml index 12aedc7..3ad993f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "yls" -version = "1.4.1" +version = "1.4.2" description = "YARA Language Server" authors = ["Matej Kašťák "] maintainers = ["Matej Kašťák "] diff --git a/pytest-yls/pyproject.toml b/pytest-yls/pyproject.toml index dfc6438..043a970 100644 --- a/pytest-yls/pyproject.toml +++ b/pytest-yls/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pytest-yls" -version = "1.4.1" +version = "1.4.2" description = "Pytest plugin to test the YLS as a whole." authors = ["Matej Kastak "] maintainers = ["Matej Kašťák "] diff --git a/yls/version.py b/yls/version.py index bf25615..daa50c7 100644 --- a/yls/version.py +++ b/yls/version.py @@ -1 +1 @@ -__version__ = "1.4.1" +__version__ = "1.4.2"