Skip to content

Version 1.2.0

Compare
Choose a tag to compare
@Erotemic Erotemic released this 03 Aug 03:21
· 257 commits to main since this release

Version 1.2.0 - Released 2022-08-02

Added

  • Added keywords argument to ub.compatible.
  • Added warncls argument to ub.schedule_deprecation.
  • Experimental SetDict, UDict and aliases sdict, udict.

Fixed

  • Race condition on win32 in ubelt.symlink
  • Issue with ubelt.memoize_method where the method name and docstring were
    not wrapped correctly.
  • The timeout argument now works correctly with ub.cmd when tee=True.
  • Added appname to ubelt.download which was supposed to exist as indicated
    by the docs, but didn't.
  • The resources used by ubelt.cmd are now properly closed.

Changed

  • ub.compatible no longer errors on positional only functions, instead it
    returns the keyword-compatible arguments.
  • An issue in ubelt.symlink with unintuitive behavior when an empty string
    was given as the link path. This now raises an error.
  • The main implementations of ubelt.sorted_vals and ubelt.map_vals were
    renamed to ubelt.sorted_values and ubelt.map_values, but the old names
    are still available as aliases.
  • Positional arguments in Path.augment have been modified.
  • In Path.augment, deprecate overloaded suffix and introduce stemsuffix
    as an alternative.
  • Added cls to a lot of util_dict funcs