Releases: mifeet/pyfluent-iterables
Releases · mifeet/pyfluent-iterables
v2.0.0
Added apply_transformation() as an extension point to be usable with other libraries:
(fluent_of(1,2,3)
.apply_transformation(more_itertools.windowed, 2)
.to_list()) # Produces [(1, 2), (2, 3)]
Breaking changes in version 2.0:
- Minimum required Python version is now 3.10 (up from 3.8)
Full Changelog: 1.2.0...2.0.0
v1.2.0
Fix for #2
Note: behavior of __len__()
has changed: Before version 1.2.0, __len__()
always returned the length of the underlying collection. Due to (undocumented) behavior of list()
and tuple()
which expects the __len__()
method to only be available when size is known up front, __len__()
will now through an error when the underlying collection does not have a known length. The len()
method behavior is unchanged (i.e., it always returns the size).