|
1 | 1 | # Change Log
|
2 | 2 |
|
3 | 3 |
|
| 4 | +## [1.8.0] - 2024-02-25 |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 8 | +- **Add a `non-package` mode for use cases where Poetry is only used for dependency management** ([#8650](https://github.com/python-poetry/poetry/pull/8650)). |
| 9 | +- **Add support for PEP 658 to fetch metadata without having to download wheels** ([#5509](https://github.com/python-poetry/poetry/pull/5509)). |
| 10 | +- **Add a `lazy-wheel` config option (default: `true`) to reduce wheel downloads during dependency resolution** ([#8815](https://github.com/python-poetry/poetry/pull/8815), |
| 11 | +[#8941](https://github.com/python-poetry/poetry/pull/8941)). |
| 12 | +- Improve performance of dependency resolution by using shallow copies instead of deep copies ([#8671](https://github.com/python-poetry/poetry/pull/8671)). |
| 13 | +- `poetry check` validates that no unknown sources are referenced in dependencies ([#8709](https://github.com/python-poetry/poetry/pull/8709)). |
| 14 | +- Add archive validation during installation for further hash algorithms ([#8851](https://github.com/python-poetry/poetry/pull/8851)). |
| 15 | +- Add a `to` key in `tool.poetry.packages` to allow custom subpackage names ([#8791](https://github.com/python-poetry/poetry/pull/8791)). |
| 16 | +- Add a config option to disable `keyring` ([#8910](https://github.com/python-poetry/poetry/pull/8910)). |
| 17 | +- Add a `--sync` option to `poetry update` ([#8931](https://github.com/python-poetry/poetry/pull/8931)). |
| 18 | +- Add an `--output` option to `poetry build` ([#8828](https://github.com/python-poetry/poetry/pull/8828)). |
| 19 | +- Add a `--dist-dir` option to `poetry publish` ([#8828](https://github.com/python-poetry/poetry/pull/8828)). |
| 20 | + |
| 21 | +### Changed |
| 22 | + |
| 23 | +- **The implicit PyPI source is disabled if at least one primary source is configured** ([#8771](https://github.com/python-poetry/poetry/pull/8771)). |
| 24 | +- **Deprecate source priority `default`** ([#8771](https://github.com/python-poetry/poetry/pull/8771)). |
| 25 | +- **Upgrade the warning about an inconsistent lockfile to an error** ([#8737](https://github.com/python-poetry/poetry/pull/8737)). |
| 26 | +- Deprecate setting `installer.modern-installation` to `false` ([#8988](https://github.com/python-poetry/poetry/pull/8988)). |
| 27 | +- Drop support for `pip<19` ([#8894](https://github.com/python-poetry/poetry/pull/8894)). |
| 28 | +- Require `requests-toolbelt>=1` ([#8680](https://github.com/python-poetry/poetry/pull/8680)). |
| 29 | +- Allow `platformdirs` 4.x ([#8668](https://github.com/python-poetry/poetry/pull/8668)). |
| 30 | +- Allow and require `xattr` 1.x on macOS ([#8801](https://github.com/python-poetry/poetry/pull/8801)). |
| 31 | +- Improve venv shell activation in `fish` ([#8804](https://github.com/python-poetry/poetry/pull/8804)). |
| 32 | +- Rename `system` to `base` in output of `poetry env info` ([#8832](https://github.com/python-poetry/poetry/pull/8832)). |
| 33 | +- Use pretty name in output of `poetry version` ([#8849](https://github.com/python-poetry/poetry/pull/8849)). |
| 34 | +- Improve error handling for invalid entries in `tool.poetry.scripts` ([#8898](https://github.com/python-poetry/poetry/pull/8898)). |
| 35 | +- Improve verbose output for dependencies with extras during dependency resolution ([#8834](https://github.com/python-poetry/poetry/pull/8834)). |
| 36 | +- Improve message about an outdated lockfile ([#8962](https://github.com/python-poetry/poetry/pull/8962)). |
| 37 | + |
| 38 | +### Fixed |
| 39 | + |
| 40 | +- Fix an issue where `poetry shell` failed when Python has been installed with MSYS2 ([#8644](https://github.com/python-poetry/poetry/pull/8644)). |
| 41 | +- Fix an issue where Poetry commands failed in a terminal with a non-UTF-8 encoding ([#8608](https://github.com/python-poetry/poetry/pull/8608)). |
| 42 | +- Fix an issue where a missing project name caused an incomprehensible error message ([#8691](https://github.com/python-poetry/poetry/pull/8691)). |
| 43 | +- Fix an issue where Poetry failed to install an `sdist` path dependency ([#8682](https://github.com/python-poetry/poetry/pull/8682)). |
| 44 | +- Fix an issue where `poetry install` failed because an unused extra was not available ([#8548](https://github.com/python-poetry/poetry/pull/8548)). |
| 45 | +- Fix an issue where `poetry install --sync` did not remove an unrequested extra ([#8621](https://github.com/python-poetry/poetry/pull/8621)). |
| 46 | +- Fix an issue where `poetry init` did not allow specific characters in the author field ([#8779](https://github.com/python-poetry/poetry/pull/8779)). |
| 47 | +- Fix an issue where Poetry could not download `sdists` from misconfigured servers ([#8701](https://github.com/python-poetry/poetry/pull/8701)). |
| 48 | +- Fix an issue where metadata of sdists that call CLI tools of their build requirements could not be determined ([#8827](https://github.com/python-poetry/poetry/pull/8827)). |
| 49 | +- Fix an issue where Poetry failed to use the currently activated environment ([#8831](https://github.com/python-poetry/poetry/pull/8831)). |
| 50 | +- Fix an issue where `poetry shell` failed in `zsh` if a space was in the venv path ([#7245](https://github.com/python-poetry/poetry/pull/7245)). |
| 51 | +- Fix an issue where scripts with extras could not be installed ([#8900](https://github.com/python-poetry/poetry/pull/8900)). |
| 52 | +- Fix an issue where explicit sources where not propagated correctly ([#8835](https://github.com/python-poetry/poetry/pull/8835)). |
| 53 | +- Fix an issue where debug prints where swallowed when using a build script ([#8760](https://github.com/python-poetry/poetry/pull/8760)). |
| 54 | +- Fix an issue where explicit sources of locked dependencies where not propagated correctly ([#8948](https://github.com/python-poetry/poetry/pull/8948)). |
| 55 | +- Fix an issue where Poetry's own environment was falsely identified as system environment ([#8970](https://github.com/python-poetry/poetry/pull/8970)). |
| 56 | +- Fix an issue where dependencies from a `setup.py` were ignored silently ([#9000](https://github.com/python-poetry/poetry/pull/9000)). |
| 57 | +- Fix an issue where environment variables for `virtualenv.options` were ignored ([#9015](https://github.com/python-poetry/poetry/pull/9015)). |
| 58 | +- Fix an issue where `virtualenvs.options.no-pip` and `virtualenvs.options.no-setuptools` were not normalized ([#9015](https://github.com/python-poetry/poetry/pull/9015)). |
| 59 | + |
| 60 | +### Docs |
| 61 | + |
| 62 | +- Replace deprecated `--no-dev` with `--without dev` in the FAQ ([#8659](https://github.com/python-poetry/poetry/pull/8659)). |
| 63 | +- Recommend `poetry-check` instead of the deprecated `poetry-lock` pre-commit hook ([#8675](https://github.com/python-poetry/poetry/pull/8675)). |
| 64 | +- Clarify the names of the environment variables to provide credentials for repositories ([#8782](https://github.com/python-poetry/poetry/pull/8782)). |
| 65 | +- Add note how to install several version of Poetry in parallel ([#8814](https://github.com/python-poetry/poetry/pull/8814)). |
| 66 | +- Improve description of `poetry show --why` ([#8817](https://github.com/python-poetry/poetry/pull/8817)). |
| 67 | +- Improve documentation of `poetry update` ([#8706](https://github.com/python-poetry/poetry/pull/8706)). |
| 68 | +- Add a warning about passing variables that may start with a hyphen via command line ([#8850](https://github.com/python-poetry/poetry/pull/8850)). |
| 69 | +- Mention that the virtual environment in which Poetry itself is installed should not be activated ([#8833](https://github.com/python-poetry/poetry/pull/8833)). |
| 70 | +- Add note about `poetry run` and externally managed environments ([#8748](https://github.com/python-poetry/poetry/pull/8748)). |
| 71 | +- Update FAQ entry about `tox` for `tox` 4.x ([#8658](https://github.com/python-poetry/poetry/pull/8658)). |
| 72 | +- Fix documentation for default `format` option for `include` and `exclude` value ([#8852](https://github.com/python-poetry/poetry/pull/8852)). |
| 73 | +- Add note about `tox` and configured credentials ([#8888](https://github.com/python-poetry/poetry/pull/8888)). |
| 74 | +- Add note and link how to install `pipx` ([#8878](https://github.com/python-poetry/poetry/pull/8878)). |
| 75 | +- Fix examples for `poetry add` with git dependencies over ssh ([#8911](https://github.com/python-poetry/poetry/pull/8911)). |
| 76 | +- Remove reference to deprecated scripts extras feature ([#8903](https://github.com/python-poetry/poetry/pull/8903)). |
| 77 | +- Change examples to prefer `--only main` instead of `--without dev` ([#8921](https://github.com/python-poetry/poetry/pull/8921)). |
| 78 | +- Mention that the `develop` attribute is a Poetry-specific feature and not propagated to other tools ([#8971](https://github.com/python-poetry/poetry/pull/8971)). |
| 79 | +- Fix examples for adding supplemental and secondary sources ([#8953](https://github.com/python-poetry/poetry/pull/8953)). |
| 80 | +- Add PyTorch example for explicit sources ([#9006](https://github.com/python-poetry/poetry/pull/9006)). |
| 81 | + |
| 82 | +### poetry-core ([`1.9.0`](https://github.com/python-poetry/poetry-core/releases/tag/1.9.0)) |
| 83 | + |
| 84 | +- **Deprecate scripts that depend on extras** ([#690](https://github.com/python-poetry/poetry-core/pull/690)). |
| 85 | +- Add support for path dependencies that do not define a build system ([#675](https://github.com/python-poetry/poetry-core/pull/675)). |
| 86 | +- Update list of supported licenses ([#659](https://github.com/python-poetry/poetry-core/pull/659), |
| 87 | +[#669](https://github.com/python-poetry/poetry-core/pull/669), |
| 88 | +[#678](https://github.com/python-poetry/poetry-core/pull/678), |
| 89 | +[#694](https://github.com/python-poetry/poetry-core/pull/694)). |
| 90 | +- Rework list of files included in build artifacts ([#666](https://github.com/python-poetry/poetry-core/pull/666)). |
| 91 | +- Fix an issue where insignificant errors were printed if the working directory is not inside a git repository ([#684](https://github.com/python-poetry/poetry-core/pull/684)). |
| 92 | +- Fix an issue where the project's directory was not recognized as git repository on Windows due to an encoding issue ([#685](https://github.com/python-poetry/poetry-core/pull/685)). |
| 93 | + |
| 94 | + |
4 | 95 | ## [1.7.1] - 2023-11-16
|
5 | 96 |
|
6 | 97 | ### Fixed
|
@@ -2035,7 +2126,8 @@ Initial release
|
2035 | 2126 |
|
2036 | 2127 |
|
2037 | 2128 |
|
2038 |
| -[Unreleased]: https://github.com/python-poetry/poetry/compare/1.7.1...master |
| 2129 | +[Unreleased]: https://github.com/python-poetry/poetry/compare/1.8.0...master |
| 2130 | +[1.8.0]: https://github.com/python-poetry/poetry/releases/tag/1.8.0 |
2039 | 2131 | [1.7.1]: https://github.com/python-poetry/poetry/releases/tag/1.7.1
|
2040 | 2132 | [1.7.0]: https://github.com/python-poetry/poetry/releases/tag/1.7.0
|
2041 | 2133 | [1.6.1]: https://github.com/python-poetry/poetry/releases/tag/1.6.1
|
|
0 commit comments