Skip to content

Latest commit

 

History

History
351 lines (223 loc) · 19.2 KB

CHANGELOG.md

File metadata and controls

351 lines (223 loc) · 19.2 KB

Change Log

1.1.0b3 - 2022-07-09

Added

  • Added support for valid PEP 517 projects with another build-system than poetry-core as directory dependencies (#368, #377).
  • Added support for yanked files and releases according to PEP 592 (#400).

Changed

  • Relaxed schema validation to allow additional properties (#369).
  • Harmonized string representation of dependencies (#393).
  • Changed wheel name normalization to follow most recent packaging specification (#394).
  • Changed equality check of direct origin dependencies, so that constraints are not considered anymore (#405).
  • Deprecated Dependency.set_constraint() and replaced it by a constraint property for consistency (#370).
  • Removed Package.requires_extras (#374).
  • Improved marker handling (#380, #383, #384, #390, #395).

Fixed

  • Fixed hash method for PackageSpecification, Package, Dependency and their sub classes (#370).
  • Fixed merging of markers python_version and python_full_version (#382, #388).
  • Fixed python version normalization (#385, #407).
  • Fixed an issue where version identifiers with a local version segment allowed non local versions (#396).
  • Fixed an issue where version identifiers without a post release segment allowed post releases (#396).
  • Fixed script definitions that didn't work when extras were not explicitly defined (#404).

1.1.0b2 - 2022-05-24

Fixed

  • Fixed a regression where poetry-core no longer handled improper Python version constraints from package metadata (#371)
  • Fixed missing version bump in poetry.core.__version__ (#367)

Improvements

  • poetry-core generated wheel's now correctly identify Generator metadata as poetry-core instead of poetry (#367)

1.1.0b1 - 2022-05-23

Fixed

  • Fixed an issue where canonicalize package names leads to infinite loops (#328).
  • Fixed an issue where versions wasn't correct normalized to PEP-440 (#344).
  • Fixed an issue with union of multi markers if one marker is a subset of the other marker (#352).
  • Fixed an issue with markers which are not in disjunctive normal form (DNF) (#347).
  • Fixed an issue where stub-only partial namespace packages were not recognized as packages (#221).
  • Fixed an issue where PEP-508 url requirements with extras were not parsed correctly (#345).
  • Fixed an issue where PEP-508 strings with wildcard exclusion constraints were incorrectly exported (#343).
  • Allow hidden directories on Windows bare repos (#341).
  • Fixed an issue where dependencies with an epoch are parsed as empty (#316).
  • Fixed an issue where a package consisting of multiple packages wasn't build correctly (#292).

Added

  • Added support for handling git urls with subdirectory (#288).
  • Added support for metadata files as described in PEP-658 for PEP-503 "simple" API repositories (#333).

Changed

  • Renamed dependency group of runtime dependencies to from default to main (#326).

Improvements

  • poetry-core is now completely type checked.
  • Improved the SemVer constraint parsing (#327).
  • Improved the speed when cloning git repositories (#290).

1.1.0a7 - 2022-03-05

Fixed

  • Fixed an issue when evaluate in/not in markers (#188).
  • Fixed an issue when parsing of caret constraint with leading zero (#201).
  • Respect format for explicit included files when finding excluded files (#228).
  • Fixed an issue where only the last location was used when multiple packages should be included (#108).
  • Ensure that package description contains no new line (#219).
  • Fixed an issue where all default dependencies were removed instead of just the selected one (#220).
  • Ensure that authors and maintainers are normalized (#276).

Added

  • Add support for most of the guaranteed hashes (#207).
  • Add support to declare multiple README files (#248).
  • Add support for git sub directories (#192).
  • Add hooks according to PEP-660 for editable installs (#182).
  • Add support for version epochs (#264).

Changed

  • Drop python3.6 support (#263).
  • Loose the strictness when parsing version constraint to support invalid use of wildcards, e.g. >=3.* (#186).
  • No longer assume a default git branch name (#192).
  • Sort package name in extras to make it reproducible (#280).

Improvements

1.1.0a6 - 2021-07-30

Added

  • Added support for dependency groups. (#183)

1.1.0a5 - 2021-05-21

Added

  • Added support for script files in addition to standard entry points. (#40)

Fixed

  • Fixed an error in the way python markers with a precision >= 3 were handled. (#178)

1.1.0a4 - 2021-04-30

Changed

  • Files in source distributions now have a deterministic time to improve reproducibility. (#142)

Fixed

  • Fixed an error where leading zeros in the local build part of version specifications were discarded. (#167)
  • Fixed the PEP 508 representation of file dependencies. (#153)
  • Fixed the copy of Package instances which led to file hashes not being available. (#159)
  • Fixed an error in the parsing of caret requirements with a pre-release lower bound. (#171)
  • Fixed an error where some pre-release versions were not flagged as pre-releases. (#170)

1.1.0a3 - 2021-04-09

Fixed

  • Fixed dependency markers not being properly copied when changing the constraint (#162).

1.1.0a2 - 2021-04-08

Fixed

  • Fixed performance regressions when parsing version constraints (#152).
  • Fixed how local build versions are handled and compared (#157, #158).
  • Fixed errors when parsing some environment markers (#155).

1.1.0a1 - 2021-03-30

This version is the first to drop support for Python 2.7 and 3.5.

If you are still using these versions you should update the requires property of the build-system section to restrict the version of poetry-core:

[build-system]
requires = ["poetry-core<1.1.0"]
build-backend = "poetry.core.masonry.api"

Changed

  • Dropped support for Python 2.7 and 3.5 (#131).
  • Reorganized imports internally to improve performances (#131).
  • Directory dependencies are now in non-develop mode by default (#98).
  • Improved support for PEP 440 specific versions that do not abide by semantic versioning (#140).

Fixed

  • Fixed path dependencies PEP 508 representation (#141).

1.0.2 - 2021-02-05

Fixed

  • Fixed a missing import causing an error in Poetry (#134).

1.0.1 - 2021-02-05

Fixed

  • Fixed PEP 508 representation of dependency without extras (#102).
  • Fixed an error where development dependencies were being resolved when invoking the PEP-517 backend (#101).
  • Fixed source distribution not being deterministic (#105).
  • Fixed an error where zip files were left open when building wheels (#122).
  • Fixed an error where explicitly included files were still not present in final distributions (#124).
  • Fixed wheel filename matching for recent architecture (#125, #129).
  • Fixed an error where the & character was not accepted for author names (#120).
  • Fixed the PEP-508 representation of some dependencies (#103).
  • Fixed the Requires-Python metadata generation (#127).
  • Fixed an error where pre-release versions were accepted in version constraints (#128).

1.0.0 - 2020-09-30

No changes.

1.0.0rc3 - 2020-09-30

Changed

  • Removed intreehooks build backend in favor of the backend-path mechanism (#90).
  • Directory dependencies will now always use a posix path for their representation (#90).
  • Dependency constraints can now be set directly via a proper setter (#90).

1.0.0rc2 - 2020-09-25

Fixed

  • Fixed python_full_version markers conversion to version constraints (#86).

1.0.0rc1 - 2020-09-25

Fixed

  • Fixed Python constraint propagation when converting a package to a dependency (#84).
  • Fixed VCS ignored files being included in wheel distributions for projects using the src layout (#81)

1.0.0b1 - 2020-09-18

Added

  • Added support for build executable for wheels (#72).

Changed

  • Improved packages with sources equality comparison (#53).
  • Improved licenses handling and packaging in builders (#57).
  • Refactored packages and dependencies classes to improve comparison between bare packages and packages with extras (#78).

Fixed

  • Fixed PEP-508 representation of URL dependencies (#60).
  • Fixed generated RECORD files in some cases by ensuring it's a valid CSV file (#61).
  • Fixed an error when parsing some version constraints if they contained wildcard elements (#56).
  • Fixed errors when using the exclude property (#62).
  • Fixed the way git revisions are retrieved (#69).
  • Fixed dependency constraint PEP-508 compatibility when generating metadata (#79).
  • Fixed potential errors on Python 3.5 when building with the include property set (#75).

1.0.0a9 - 2020-07-24

Added

  • Added support for build scripts without setup.py generation (#45).

Changed

  • Improved the parsing of requirements and environment markers (#44).

Fixed

  • Fixed the default value used for the build.generate-setup-file settings (#43).
  • Fixed error messages when the authors specified in the pyproject.toml file are invalid (#49).
  • Fixed distributions build when using the PEP-517 backend for packages with includes (#47).

1.0.0a8 - 2020-06-26

Fixed

  • Fixed errors in the way Python environment markers were parsed and generated (#36).

1.0.0a7 - 2020-05-06

Added

  • Added support for format-specific includes via the include property (#6).

Changed

  • Allow url dependencies in multiple constraints dependencies (#32).

Fixed

  • Fixed PEP 508 representation and parsing of VCS dependencies (#30).

1.0.0a6 - 2020-04-24

Added

  • Added support for markers inverse (#21).
  • Added support for specifying that git dependencies should be installed in develop mode (#23).
  • Added the ability to specify build settings from the Poetry main configuration file (#26).
  • Added the ability to disable the generation of the setup.py file when building (#26).

Changed

  • Relaxed licence restrictions to support custom licences (#5).
  • Improved support for PEP-440 direct references (#22).
  • Improved dependency vendoring (#25).

Fixed

  • Fixed the inability to make the url dependencies optional (#13).
  • Fixed whitespaces in PEP-440 constraints causing an error (#16).
  • Fixed subpackage check when generating the setup.py file (#17).
  • Fix PEP-517 issues for projects using build scripts (#12).
  • Fixed support for stub-only packages (#28).