diff --git a/doc/api/more/types_linq.more.more_enumerable.md b/doc/api/more/types_linq.more.more_enumerable.md index 1a2fe42..6144452 100644 --- a/doc/api/more/types_linq.more.more_enumerable.md +++ b/doc/api/more/types_linq.more.more_enumerable.md @@ -434,7 +434,7 @@ Example ``` Revisions - ~ main: Added method parameter to support more ranking methods. + ~ v1.2.1: Added method parameter to support more ranking methods. ~ v1.0.0: New. --- @@ -455,7 +455,7 @@ Such comparer takes two values and return positive ints when lhs > rhs, negative if lhs < rhs, and 0 if they are equal. Revisions - ~ main: Added method parameter to support more ranking methods. + ~ v1.2.1: Added method parameter to support more ranking methods. ~ v1.0.0: New. --- @@ -489,7 +489,7 @@ Example ``` Revisions - ~ main: Added method parameter to support more ranking methods. + ~ v1.2.1: Added method parameter to support more ranking methods. ~ v1.0.0: New. --- @@ -511,7 +511,7 @@ Such comparer takes two values and return positive ints when lhs > rhs, negative if lhs < rhs, and 0 if they are equal. Revisions - ~ main: Added method parameter to support more ranking methods. + ~ v1.2.1: Added method parameter to support more ranking methods. ~ v1.0.0: New. --- @@ -818,7 +818,7 @@ Example ``` Revisions - ~ main: New. + ~ v1.2.1: New. --- @@ -843,5 +843,5 @@ Raises [`DirectedGraphNotAcyclicError`](apiref.DirectedGraphNotAcyclicError) if topological ordering cannot be produced. Revisions - ~ main: New. + ~ v1.2.1: New. diff --git a/doc/api/more/types_linq.more.more_enums.md b/doc/api/more/types_linq.more.more_enums.md index 83896e5..ccb9ab3 100644 --- a/doc/api/more/types_linq.more.more_enums.md +++ b/doc/api/more/types_linq.more.more_enums.md @@ -11,7 +11,7 @@ Enumeration to select different methods of assigning rankings when breaking [ties](https://en.wikipedia.org/wiki/Ranking#Strategies_for_assigning_rankings). Revisions - ~ main: New. + ~ v1.2.1: New. ### Bases diff --git a/doc/api/more/types_linq.more.more_error.md b/doc/api/more/types_linq.more.more_error.md index 1b4603b..96f1e2b 100644 --- a/doc/api/more/types_linq.more.more_error.md +++ b/doc/api/more/types_linq.more.more_error.md @@ -10,7 +10,7 @@ from types_linq.more import DirectedGraphNotAcyclicError Exception raised when a cycle exists in a graph. Revisions - ~ main: New. + ~ v1.2.1: New. ### Bases diff --git a/doc/conf.py b/doc/conf.py index fefa92a..8dd832b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -18,7 +18,7 @@ # -- Project information ----------------------------------------------------- project = 'types-linq' -copyright = '2022, cleoold' +copyright = '2023, cleoold' author = 'cleoold' diff --git a/doc/to-start/changelog.rst b/doc/to-start/changelog.rst index 7560e33..16af353 100644 --- a/doc/to-start/changelog.rst +++ b/doc/to-start/changelog.rst @@ -3,6 +3,14 @@ Changelog `GitHub Releases `_ +v1.2.1 +******** + +- Fix CachedEnumerable buffering bug when capacity is zero +- Add traverse_topological() to MoreEnumerable class +- Add ranking methods MoreEnumerable.rank() and rank_by() methods +- The documentation page now has hyperlinks for some terminologies in this release + v1.2.0 ******** diff --git a/setup.py b/setup.py index 55befd8..1f6a4bf 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='types-linq', - version='v1.2.0', + version='v1.2.1', url='https://github.com/cleoold/types-linq', license='BSD 2-Clause License', author='cleoold', diff --git a/types_linq/more/more_enumerable.pyi b/types_linq/more/more_enumerable.pyi index 7565065..0eacd59 100644 --- a/types_linq/more/more_enumerable.pyi +++ b/types_linq/more/more_enumerable.pyi @@ -330,7 +330,7 @@ class MoreEnumerable(Enumerable[TSource_co]): ``` Revisions - ~ main: Added method parameter to support more ranking methods. + ~ v1.2.1: Added method parameter to support more ranking methods. ~ v1.0.0: New. ''' @@ -348,7 +348,7 @@ class MoreEnumerable(Enumerable[TSource_co]): if lhs < rhs, and 0 if they are equal. Revisions - ~ main: Added method parameter to support more ranking methods. + ~ v1.2.1: Added method parameter to support more ranking methods. ~ v1.0.0: New. ''' @@ -379,7 +379,7 @@ class MoreEnumerable(Enumerable[TSource_co]): ``` Revisions - ~ main: Added method parameter to support more ranking methods. + ~ v1.2.1: Added method parameter to support more ranking methods. ~ v1.0.0: New. ''' @@ -398,7 +398,7 @@ class MoreEnumerable(Enumerable[TSource_co]): if lhs < rhs, and 0 if they are equal. Revisions - ~ main: Added method parameter to support more ranking methods. + ~ v1.2.1: Added method parameter to support more ranking methods. ~ v1.0.0: New. ''' @@ -655,7 +655,7 @@ class MoreEnumerable(Enumerable[TSource_co]): ``` Revisions - ~ main: New. + ~ v1.2.1: New. ''' def traverse_topological2(self, @@ -675,5 +675,5 @@ class MoreEnumerable(Enumerable[TSource_co]): topological ordering cannot be produced. Revisions - ~ main: New. + ~ v1.2.1: New. ''' diff --git a/types_linq/more/more_enums.py b/types_linq/more/more_enums.py index 868034d..f11a1af 100644 --- a/types_linq/more/more_enums.py +++ b/types_linq/more/more_enums.py @@ -11,7 +11,7 @@ class RankMethods(Enum): [ties](https://en.wikipedia.org/wiki/Ranking#Strategies_for_assigning_rankings). Revisions - ~ main: New. + ~ v1.2.1: New. ''' dense = auto() ''' diff --git a/types_linq/more/more_error.py b/types_linq/more/more_error.py index acf6942..6fe5fc1 100644 --- a/types_linq/more/more_error.py +++ b/types_linq/more/more_error.py @@ -14,7 +14,7 @@ class DirectedGraphNotAcyclicError(InvalidOperationError): Exception raised when a cycle exists in a graph. Revisions - ~ main: New. + ~ v1.2.1: New. ''' def __init__(self, cycle: Tuple[object, object]) -> None: