Added * Timerit now has 3 new properties `measures`, `rankings`, and `consistency`. These keep track of and analyze differences in timings between labeled timerit runs. * `ub.take` now accepts `default=NoParam` keyword argument.
Changed * Substantially improved documentation. * The following functions are now officially deprecated: `dict_take`
0.8.4
Changed * The following functions are now officially deprecated: `startfile`, `truepath`, `compressuser`, `editfile`, `platform_resource_dir`, `get_app_resource_dir`, and `ensure_app_resource_dir`, `dict_take` * Improve docs * `Timerit` and `ProgIter` are back, remove dependency on the external modules.
0.8.3
Changed * `PythonPathContext` now works in more corner cases, although some rarer corner cases will now break. This trade-off should be a net positive.
0.8.2
Added * Added `dpath` as an argument to `ub.augpath`
Fixed * Custom extensions for `ub.hash_data` are fixed. Previously they were not passed down more than a single level. * The `convert` option for `ub.hash_data` was previously not hooked up. * Correctly expose `dict_diff` * Fixed issue in `ub.augpath` where `multidot` did not preserve the original extension
Changed * `ub.Cacher` no longer ensures that the `dpath` exists on construction. This check is delayed until `save` is called. * `ub.CacheStamp` now accepts the `enabled` keyword. * `modpath_to_modname` now properly handles compiled modules with ABI tags.
0.8.0
Added * Add `ub.dict_diff`, which removes keys from a dictionary similar to `set` difference. * Add `ub.paragraph`, which helps with writing log messages * Add some benchmarks * Add lots more documentation.
Changed * `ub.identity` now accepts `*args` and `**kwargs` and defaults the first argument to `None`, but still only returns the first argument. * The `sort` kwarg of `ub.repr2` can now accept a callable, which will act as a key to the `sorted` function * `ub.hash_data` now accepts the `extensions` kwarg, which allows the user to define how particular types are hashed.
Fixed * Fix GH 53 * the `index` argument in `import_module_from_path` is now correctly used.
0.7.1
Fixed
* Fixed bug in `ub.dict_hist` when `ordered=True`. (half of the keys would be lost). Also effected `dict_take`. * `platform_data_dir` now correctly raises an exception when the operating system is unknown.