Skip to content

Upgrading itertools 0.2 to 0.3

Breaking0.2.9 → 0.3.25Breaking1Deprecated6New18Changed3Fixed2Other1

BreakingUpgrade verdict

1 breaking change.

  • Code that relied on printing the `Format` helper with debug formatting will no longer compile.
  • The method for sorting items has a new name. The old name still works but is deprecated.
  • The icompr!() macro is now marked deprecated and has no replacement.
  • The old method name is being retired; use the new name instead.
Top 4 of 7 that need code or config changes

Adds permutohedron ^0.1, quickcheck ^0.2.21, quickcheck_macros ^0.2.21.

Installs 27 packages in all (was 0).

Breaking1
Removes the Debug impl for Format, which will have a different use later.
FormatDebug
Deprecated6
Renames .sort_by() to .sorted_by() and deprecates the old name.
.sort_by().sorted_by()
Deprecates the icompr!() macro with no replacement.
icompr!()
Deprecates .fn_map() in favor of .map_fn().
map_fn()fn_map()
Deprecates the .dropping_back() method.
dropping_back()
Deprecates the .fold1() method.
fold1()
Deprecates the .is_empty_hint() method.
is_empty_hint()