|
1 | 1 | # Change Log |
2 | 2 |
|
3 | 3 |
|
| 4 | +## [1.5.0] - 2023-05-19 |
| 5 | + |
| 6 | +### Added |
| 7 | + |
| 8 | +- **Introduce the new source priorities `explicit` and `supplemental`** ([#7658](https://github.com/python-poetry/poetry/pull/7658), |
| 9 | +[#6879](https://github.com/python-poetry/poetry/pull/6879)). |
| 10 | +- **Introduce the option to configure the priority of the implicit PyPI source** ([#7801](https://github.com/python-poetry/poetry/pull/7801)). |
| 11 | +- Add handling for corrupt cache files ([#7453](https://github.com/python-poetry/poetry/pull/7453)). |
| 12 | +- Improve caching of URL and git dependencies ([#7693](https://github.com/python-poetry/poetry/pull/7693), |
| 13 | +[#7473](https://github.com/python-poetry/poetry/pull/7473)). |
| 14 | +- Add option to skip installing directory dependencies ([#6845](https://github.com/python-poetry/poetry/pull/6845), |
| 15 | +[#7923](https://github.com/python-poetry/poetry/pull/7923)). |
| 16 | +- Add `--executable` option to `poetry env info` ([#7547](https://github.com/python-poetry/poetry/pull/7547)). |
| 17 | +- Add `--top-level` option to `poetry show` ([#7415](https://github.com/python-poetry/poetry/pull/7415)). |
| 18 | +- Add `--lock` option to `poetry remove` ([#7917](https://github.com/python-poetry/poetry/pull/7917)). |
| 19 | +- Add experimental `POETRY_REQUESTS_TIMEOUT` option ([#7081](https://github.com/python-poetry/poetry/pull/7081)). |
| 20 | +- Improve performance of wheel inspection by avoiding unnecessary file copy operations ([#7916](https://github.com/python-poetry/poetry/pull/7916)). |
| 21 | + |
| 22 | +### Changed |
| 23 | + |
| 24 | +- **Remove the old deprecated installer and the corresponding setting `experimental.new-installer`** ([#7356](https://github.com/python-poetry/poetry/pull/7356)). |
| 25 | +- **Introduce `priority` key for sources and deprecate flags `default` and `secondary`** ([#7658](https://github.com/python-poetry/poetry/pull/7658)). |
| 26 | +- Deprecate `poetry run <script>` if the script was not previously installed via `poetry install` ([#7606](https://github.com/python-poetry/poetry/pull/7606)). |
| 27 | +- Only write the lock file if the installation succeeds ([#7498](https://github.com/python-poetry/poetry/pull/7498)). |
| 28 | +- Do not write the unused package category into the lock file ([#7637](https://github.com/python-poetry/poetry/pull/7637)). |
| 29 | + |
| 30 | +### Fixed |
| 31 | + |
| 32 | +- Fix an issue where Poetry's internal pyproject.toml continually grows larger with empty lines ([#7705](https://github.com/python-poetry/poetry/pull/7705)). |
| 33 | +- Fix an issue where Poetry crashes due to corrupt cache files ([#7453](https://github.com/python-poetry/poetry/pull/7453)). |
| 34 | +- Fix an issue where the `Retry-After` in HTTP responses was not respected and retries were handled inconsistently ([#7072](https://github.com/python-poetry/poetry/pull/7072)). |
| 35 | +- Fix an issue where Poetry silently ignored invalid groups ([#7529](https://github.com/python-poetry/poetry/pull/7529)). |
| 36 | +- Fix an issue where Poetry does not find a compatible Python version if not given explicitly ([#7771](https://github.com/python-poetry/poetry/pull/7771)). |
| 37 | +- Fix an issue where the `direct_url.json` of an editable install from a git dependency was invalid ([#7473](https://github.com/python-poetry/poetry/pull/7473)). |
| 38 | +- Fix an issue where error messages from build backends were not decoded correctly ([#7781](https://github.com/python-poetry/poetry/pull/7781)). |
| 39 | +- Fix an infinite loop when adding certain dependencies ([#7405](https://github.com/python-poetry/poetry/pull/7405)). |
| 40 | +- Fix an issue where pre-commit hooks skip pyproject.toml files in subdirectories ([#7239](https://github.com/python-poetry/poetry/pull/7239)). |
| 41 | +- Fix an issue where pre-commit hooks do not use the expected Python version ([#6989](https://github.com/python-poetry/poetry/pull/6989)). |
| 42 | +- Fix an issue where an unclear error message is printed if the project name is the same as one of its dependencies ([#7757](https://github.com/python-poetry/poetry/pull/7757)). |
| 43 | +- Fix an issue where `poetry install` returns a zero exit status even though the build script failed ([#7812](https://github.com/python-poetry/poetry/pull/7812)). |
| 44 | +- Fix an issue where an existing `.venv` was not used if `in-project` was not set ([#7792](https://github.com/python-poetry/poetry/pull/7792)). |
| 45 | +- Fix an issue where multiple extras passed to `poetry add` were not parsed correctly ([#7836](https://github.com/python-poetry/poetry/pull/7836)). |
| 46 | +- Fix an issue where `poetry shell` did not send a newline to `fish` ([#7884](https://github.com/python-poetry/poetry/pull/7884)). |
| 47 | +- Fix an issue where `poetry update --lock` printed operations that were not executed ([#7915](https://github.com/python-poetry/poetry/pull/7915)). |
| 48 | +- Fix an issue where `poetry add --lock` did perform a full update of all dependencies ([#7920](https://github.com/python-poetry/poetry/pull/7920)). |
| 49 | +- Fix an issue where `poetry shell` did not work with `nushell` ([#7919](https://github.com/python-poetry/poetry/pull/7919)). |
| 50 | +- Fix an issue where subprocess calls failed on Python 3.7 ([#7932](https://github.com/python-poetry/poetry/pull/7932)). |
| 51 | +- Fix an issue where keyring was called even though the password was stored in an environment variable ([#7928](https://github.com/python-poetry/poetry/pull/7928)). |
| 52 | + |
| 53 | +### Docs |
| 54 | + |
| 55 | +- Add information about what to use instead of `--dev` ([#7647](https://github.com/python-poetry/poetry/pull/7647)). |
| 56 | +- Promote semantic versioning less aggressively ([#7517](https://github.com/python-poetry/poetry/pull/7517)). |
| 57 | +- Explain Poetry's own versioning scheme in the FAQ ([#7517](https://github.com/python-poetry/poetry/pull/7517)). |
| 58 | +- Update documentation for configuration with environment variables ([#6711](https://github.com/python-poetry/poetry/pull/6711)). |
| 59 | +- Add details how to disable the virtualenv prompt ([#7874](https://github.com/python-poetry/poetry/pull/7874)). |
| 60 | +- Improve documentation on whether to commit `poetry.lock` ([#7506](https://github.com/python-poetry/poetry/pull/7506)). |
| 61 | +- Improve documentation of `virtualenv.create` ([#7608](https://github.com/python-poetry/poetry/pull/7608)). |
| 62 | + |
| 63 | +### poetry-core ([`1.6.0`](https://github.com/python-poetry/poetry-core/releases/tag/1.6.0)) |
| 64 | + |
| 65 | +- Improve error message for invalid markers ([#569](https://github.com/python-poetry/poetry-core/pull/569)). |
| 66 | +- Increase robustness when deleting temporary directories on Windows ([#460](https://github.com/python-poetry/poetry-core/pull/460)). |
| 67 | +- Replace `tomlkit` with `tomli`, which changes the interface of some _internal_ classes ([#483](https://github.com/python-poetry/poetry-core/pull/483)). |
| 68 | +- Deprecate `Package.category` ([#561](https://github.com/python-poetry/poetry-core/pull/561)). |
| 69 | +- Fix a performance regression in marker handling ([#568](https://github.com/python-poetry/poetry-core/pull/568)). |
| 70 | +- Fix an issue where wildcard version constraints were not handled correctly ([#402](https://github.com/python-poetry/poetry-core/pull/402)). |
| 71 | +- Fix an issue where `poetry build` created duplicate Python classifiers if they were specified manually ([#578](https://github.com/python-poetry/poetry-core/pull/578)). |
| 72 | +- Fix an issue where local versions where not handled correctly ([#579](https://github.com/python-poetry/poetry-core/pull/579)). |
| 73 | + |
| 74 | + |
4 | 75 | ## [1.4.2] - 2023-04-02 |
5 | 76 |
|
6 | 77 | ### Changed |
@@ -1799,7 +1870,8 @@ Initial release |
1799 | 1870 |
|
1800 | 1871 |
|
1801 | 1872 |
|
1802 | | -[Unreleased]: https://github.com/python-poetry/poetry/compare/1.4.2...master |
| 1873 | +[Unreleased]: https://github.com/python-poetry/poetry/compare/1.5.0...master |
| 1874 | +[1.5.0]: https://github.com/python-poetry/poetry/releases/tag/1.5.0 |
1803 | 1875 | [1.4.2]: https://github.com/python-poetry/poetry/releases/tag/1.4.2 |
1804 | 1876 | [1.4.1]: https://github.com/python-poetry/poetry/releases/tag/1.4.1 |
1805 | 1877 | [1.4.0]: https://github.com/python-poetry/poetry/releases/tag/1.4.0 |
|
0 commit comments