Skip to content

Commit

Permalink
Release 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr committed Nov 4, 2020
1 parent 13d0ea4 commit c62ff88
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
33 changes: 15 additions & 18 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
0.5.2 (2020-11-04)
==================

Bug Fixes
---------

- Fix a performance regression if ``find_matches()`` returns a non-built-in sequence instance.


0.5.1 (2020-10-22)
==================

Features
--------

- ``find_matches()`` now may return a ``Callable[[], Iterator[Candidate]]`` to
avoid needing to provide all candidates eagerly for the resolver. This improves
performance when fetching candidates is costly, but not always required. `#57 <https://github.com/sarugaku/resolvelib/issues/57>`_
- ``find_matches()`` now may return a ``Callable[[], Iterator[Candidate]]`` to avoid needing to provide all candidates eagerly for the resolver. This improves performance when fetching candidates is costly, but not always required. `#57 <https://github.com/sarugaku/resolvelib/issues/57>`_


0.4.0 (2020-04-30)
Expand All @@ -17,9 +24,7 @@ Features

- Add ``parent`` argument to the ``add_requirement()`` reporter hook. `#46 <https://github.com/sarugaku/resolvelib/issues/46>`_

- Redesign ``find_matches()`` to support a requirement "adding" candidates to
the set, and nudge the provider away from implementing ``find_matches()`` and
``is_satisfied_by()`` with incorrect set properties. `#49 <https://github.com/sarugaku/resolvelib/issues/49>`_
- Redesign ``find_matches()`` to support a requirement "adding" candidates to the set, and nudge the provider away from implementing ``find_matches()`` and ``is_satisfied_by()`` with incorrect set properties. `#49 <https://github.com/sarugaku/resolvelib/issues/49>`_


0.3.0 (2020-04-11)
Expand All @@ -28,22 +33,15 @@ Features
Features
--------

- Provide both the requirements and their parents as exceptiondata for the
``ResolutionImpossible`` exception, via a ``causes`` attribute that replaces
the previous ``requirements`` attribute. `#42 <https://github.com/sarugaku/resolvelib/issues/42>`_
- Provide both the requirements and their parents as exceptiondata for the ``ResolutionImpossible`` exception, via a ``causes`` attribute that replaces the previous ``requirements`` attribute. `#42 <https://github.com/sarugaku/resolvelib/issues/42>`_


Bug Fixes
---------

- Make resolver backtrack when none of the candidates requested for a package
are able to resolve due to them requesting unworkable requirements, or a
package has no candidates at all. Previously the resolver would give up on the
spot. `#18 <https://github.com/sarugaku/resolvelib/issues/18>`_
- Make resolver backtrack when none of the candidates requested for a package are able to resolve due to them requesting unworkable requirements, or a package has no candidates at all. Previously the resolver would give up on the spot. `#18 <https://github.com/sarugaku/resolvelib/issues/18>`_

- Ensure the result returned by the resolver only contains candidates that are
actually needed. This is done by tracing the graph after resolution completes,
snipping nodes that don’t have a route to the root. `#4 <https://github.com/sarugaku/resolvelib/issues/4>`_
- Ensure the result returned by the resolver only contains candidates that are actually needed. This is done by tracing the graph after resolution completes, snipping nodes that don’t have a route to the root. `#4 <https://github.com/sarugaku/resolvelib/issues/4>`_


0.2.2 (2018-09-03)
Expand Down Expand Up @@ -73,6 +71,5 @@ Bug Fixes
0.2.0 (2018-08-07)
==================

* ``Resolver.resolve()`` now returns a `namedtuple` with public attributes,
instead of an internal `Resolution` object.
* ``Resolver.resolve()`` now returns a `namedtuple` with public attributes, instead of an internal `Resolution` object.
* Update trove classifiers on PyPI to better reflect the project's intentions.
2 changes: 1 addition & 1 deletion src/resolvelib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"ResolutionTooDeep",
]

__version__ = "0.5.2.dev0"
__version__ = "0.5.2"


from .providers import AbstractProvider, AbstractResolver
Expand Down

0 comments on commit c62ff88

Please sign in to comment.