Changelog History
Page 1
-
v21.0.0 Changes
(May 16, 2021)
- ๐ Fix [OMD][dictutils.OrderedMultiDict].addlist when the added list is empty
- โ Add [funcutils.noop][funcutils.noop], satisfying PEP 559
- ๐ Support lists for [iterutils.bucketize][iterutils.bucketize]
- ๐ Python 3.9 test fixes for OMD (PEP 584, see #271)
- Make [typeutils.make_sentinel][typeutils.make_sentinel] more pickleable
- jsonutils.reverse_iter_lines now works on Py3 and Windows
โ [funcutils.noop]: https://boltons.readthedocs.io/en/latest/funcutils.html#boltons.funcutils.noop
-
v20.2.1 Changes
August 12, 2020(August 11, 2020)
- ๐ Improve import time of [iterutils][iterutils] by deferring hashlib/socket imports
- Add custom
repr
parameter to [funcutils.format_invocation][funcutils.format_invocation]
-
v20.2.0 Changes
June 22, 2020(June 21, 2020)
- โ Added [iterutils.lstrip][iterutils.lstrip], [iterutils.rstrip][iterutils.rstrip], [iterutils.strip][iterutils.strip]
- More robust and complete [strutils.strip_ansi][strutils.strip_ansi]
- Add [iterutils.untyped_sorted][iterutils.untyped_sorted]
- ๐ Fixes to [IndexedSet][IndexedSet] rsub and index methods
- ๐ฆ Expose text mode flag in [fileutils.AtomicSaver][fileutils.AtomicSaver]
- Add [strutils.int_list_complement][strutils.int_list_complement] and [strutils.int_list_to_int_tuples][strutils.int_list_to_int_tuples] to the int_list suite.
- ๐ Docs: intersphinx links finally point to Python 3 docs
-
v20.1.0 Changes
March 30, 2020(March 29, 2020)
- โก๏ธ Add [funcutils.update_wrapper][funcutils.update_wrapper], used to make a wrapper function reflect various aspects of the wrapped function's API.
- Fix [FunctionBuilder][FunctionBuilder] handling of functions without
__module__
- โ Add
partial
support to [FunctionBuilder][FunctionBuilder] - ๐ Fix [NetstringSocket][socketutils.NetstringSocket]'s handling of arguments in
read_ns
- ๐ Fix [IndexedSet][IndexedSet]'s
index()
method to account for removals - โ Add
seekable
,readable
, andwritable
to SpooledIOBase - โ Add a special case to
singularize
- ๐ Fix various warnings for Py3.9
-
v20.0.0 Changes
January 08, 2020๐ First release of the year! Also the first release in a while to add a new module,
pathutils
!- ๐ New module pathutils:
- pathutils.augpath augments a path by modifying its components
- pathutils.shrinkuser inverts :func:
os.path.expanduser
. - pathutils.expandpath shell-like environ and tilde expansion
- add
include_dirs
param to fileutils.iter_find_files - โ Make funcutils.format_invocation more deterministic
- โ add strutils.unwrap_text which does what you think to wrapped text
- ๐ Py3 fixes
- iterutils.chunked to work with the
bytes
type (#231) - cacheutils.ThresholdCounter's
get_common_count()
- iterutils.chunked to work with the
- ๐ New module pathutils:
-
v19.4.0 Changes
๐ (Unreleased)
๐ New module [pathutils][pathutils]:
- [pathutils.augpath][pathutils.augpath] augments a path by modifying its components
- [pathutils.shrinkuser][pathutils.shrinkuser] inverts :func:
os.path.expanduser
. - [pathutils.expandpath][pathutils.expandpath] shell-like environ and tilde expansion
โ [pathutils.augpath]: https://boltons.readthedocs.io/en/latest/funcutils.html#boltons.pathutils.augpath โ [pathutils.shrinkuser]: https://boltons.readthedocs.io/en/latest/funcutils.html#boltons.pathutils.shrinkuser โ [pathutils.expandpath]: https://boltons.readthedocs.io/en/latest/funcutils.html#boltons.pathutils.expandpath
-
v19.3.0 Changes
October 29, 2019(October 28, 2019)
Three funcutils:
- [funcutils.format_invocation][funcutils.format_invocation] for formatting simple function calls
func(pos1, pos2, kw_k=kw_v)
- funcutils.format_exp_repr for formatting a repr like
Type(pos, kw_k=kw_v)
- funcutils.format_nonexp_repr for formatting a repr like
<Type k=v>
โ [funcutils.format_invocation]: https://boltons.readthedocs.io/en/latest/funcutils.html#boltons.funcutils.format_invocation
- [funcutils.format_invocation][funcutils.format_invocation] for formatting simple function calls
-
v19.2.0 Changes
October 19, 2019(October 19, 2019)
๐ A bunch of small fixes and enhancements.
- [tbutils.TracebackInfo][tbutils.TracebackInfo]'s from_frame now respects
level
arg - [OrderedMultiDict.sorted()][OrderedMultiDict.sorted] now maintains all items, not just the most recent
- [setutils.complement()][setutils.complement] now supports
__rsub__
for better interop with the builtinset
- โ [FunctionBuilder][FunctionBuilder] fixed a few py3 warnings related to inspect module usage (
formatargspec
) - [iterutils.bucketize][iterutils.bucketize] now takes a string key which works like an attribute getter, similar to other iterutils functions
- ๐ Docstring fixes across the board
- 0๏ธโฃ CI fixes for Travis default dist change
โ [OrderedMultiDict.sorted]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.OrderedMultiDict.sorted
- [tbutils.TracebackInfo][tbutils.TracebackInfo]'s from_frame now respects
-
v19.1.0 Changes
March 01, 2019(February 28, 2019)
Couple of enhancements, couple of cleanups.
- ๐ [queueutils][queueutils] now supports float-based priorities (#204)
- [FunctionBuilder][funcutils.FunctionBuilder] has a new
get_arg_names()
method, and itsget_defaults_dict()
method finally includes kwonly argument defaults. - [strutils.gzip_bytes][strutils.gzip_bytes] arrives to match [strutils.gunzip_bytes][strutils.gunzip_bytes]
-
v19.0.1 Changes
March 01, 2019