|
1 | 1 | # language_tool_python Changelog |
2 | 2 |
|
| 3 | +## 3.4.0 (2026-05-15) |
| 4 | +- Corrected a bug in `language_tool_python.server.LanguageTool.check` where the LT `/check` endpoint was queried with GET instead of POST. |
| 5 | +- Corrected a bug in `language_tool_python.config_file.LanguageToolConfig` where config keys and values could contain line breaks or end with an odd number of backslashes. |
| 6 | +- Corrected the default LT download version (from `latest` snapshot to release `6.8`). |
| 7 | +- Added SHA-256 verification for downloaded LT zip files. |
| 8 | +- Added a bundled `language_tool_python/integrity.toml` manifest containing SHA-256 checksums for LT release/archive downloads. |
| 9 | +- Added new env variables for LT download verification: |
| 10 | + - `LTP_DOWNLOAD_SHA256_<VERSION>` |
| 11 | + - `LTP_DOWNLOAD_SHA256` |
| 12 | + - `LTP_BYPASS_VERIFIED_DOWNLOADS` |
| 13 | +- Added a maximum download size limit for LT zip files, configurable with `LTP_MAX_DOWNLOAD_BYTES`. |
| 14 | +- Added `language_tool_python.safe_zip.SafeZipExtractor` and `language_tool_python.safe_zip.SafeZipLimits` to extract ZIP files safely. |
| 15 | +- Edited LT ZIP extraction to reject unsafe paths, symlinks, unsupported member types, duplicate paths, file/directory conflicts, oversized archives/members, suspicious compression ratios and overwrites of existing paths. |
| 16 | +- Added new env variables for safe ZIP extraction limits: |
| 17 | + - `LTP_SAFE_ZIP_MAX_ARCHIVE_BYTES` |
| 18 | + - `LTP_SAFE_ZIP_MAX_EXTRACTED_BYTES` |
| 19 | + - `LTP_SAFE_ZIP_MAX_MEMBERS` |
| 20 | + - `LTP_SAFE_ZIP_MAX_MEMBER_EXTRACTED_BYTES` |
| 21 | + - `LTP_SAFE_ZIP_MAX_MEMBER_COMPRESSION_RATIO` |
| 22 | + - `LTP_SAFE_ZIP_MAX_TOTAL_COMPRESSION_RATIO` |
| 23 | +- Added the possibility to download LT releases 6.7 and newer from the new release page. |
| 24 | +- Added `LTP_DOWNLOAD_HOST_NEW_RELEASES` to override the new LT release download host. |
| 25 | +- Added `language_tool_python.utils.get_env_int` and `language_tool_python.utils.get_env_float`. |
| 26 | + |
3 | 27 | ## 3.3.1 (2026-05-10) |
4 | 28 | - Edited the LanguageTool snapshot current version (from 6.8-SNAPSHOT to 6.9-SNAPSHOT) to allow users to retrieve automatically the latest snapshot version of LT. |
5 | 29 |
|
|
0 commit comments