From 6c736753e2a281e772fbafe97f83eb97e1c16556 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Mon, 18 Mar 2024 14:29:44 +0100 Subject: [PATCH] docs(changelog): add 0.14.1 release notes (#614) --- CHANGELOG.md | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ec7e810..00e815b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,29 +1,45 @@ # Changelog +## 0.14.1 - 2024-03-18 + +This release improves runtime performance of built wheels by about 5%, and reduces their size ([#594](https://github.com/fpgmaas/deptry/pull/594)). + +PyPy wheels are now also published on PyPI ([#612](https://github.com/fpgmaas/deptry/pull/612)). + +### Bug Fixes + +* Improve handling of comments in `requirements.txt` files ([#588](https://github.com/fpgmaas/deptry/pull/588)) +* Avoid process hanging on error when parsing Python files ([#619](https://github.com/fpgmaas/deptry/pull/619)) + +### Full Changelog + +https://github.com/fpgmaas/deptry/compare/0.14.0...0.14.1 + + ## 0.14.0 - 2024-03-14 This release significantly improves the speed of `deptry`, particularly for large projects, by utilizing Rust to manage the parsing of Abstract Syntax Trees (AST) from `.py` files and to extract the import statements. For some benchmarks, see below: -### Changes - Since the changes are all in the back-end, little has changed for the user other than the execution speed. The two minor notable changes are: -- Improved identification of `column` identifier in imports detection. Where earlier the column identifier for an imported module `foo` in the line `import foo` would be `0`, it now points to column `8`. -- When a file can not be read, the error will be slightly more verbose and include the source file and line pointing to the location in deptry's source code responsible for logging the warning. So instead of `Warning: File file1.py could not be read. Skipping...`, the error will now read `WARNING deptry.imports:imports.rs:66 Warning: File file1.py could not be read. Skipping...`. This will likely be reverted in the future. +* Improved identification of `column` identifier in imports detection. Where earlier the column identifier for an imported module `foo` in the line `import foo` would be `0`, it now points to column `8`. -### Available wheels on PyPi +### Available wheels on PyPI -Where earlier releases published a single `.whl` file to PyPi, with the move to Rust we now build and publish wheels for a variety of platforms and architectures. More specifically, wheel files for the following combinations are now available on PyPi: +Where earlier releases published a single `.whl` file to PyPI, with the move to Rust we now build and publish wheels for a variety of platforms and architectures. More specifically, wheel files for the following combinations are now available on PyPI: - - Linux: ABI3 wheels for `x86_64` and `aarch64` architectures. - - Windows: ABI3 wheels for the `x64` architecture. - - macOS: ABI3 wheels for `x86_64` and `aarch64` (Apple Silicon) architectures. +- Linux: ABI3 wheels for `x86_64` and `aarch64` architectures. +- Windows: ABI3 wheels for the `x64` architecture. +- macOS: ABI3 wheels for `x86_64` and `aarch64` (Apple Silicon) architectures. Alongside the ABI3 wheels, we provide a source distribution (sdist) package. -**Full Changelog**: https://github.com/fpgmaas/deptry/compare/0.13.0...0.14.0 +### Full Changelog + +https://github.com/fpgmaas/deptry/compare/0.13.0...0.14.0 + ## 0.13.0 - 2024-03-12