Releases: mahmoud/boltons
Releases 路 mahmoud/boltons
Release list
26.1.0
- Fixed
strutils.singularizemangling words ending in 'ss' - Fixed
fileutils.AtomicSaverto acceptos.PathLike - Fixed
copy.copy/copy.deepcopycollapsingdictutils.OrderedMultiDictvalues - Sped up
strutils.MultiReplacematch lookup - Fixed
setutils.IndexedSetout-of-range negative indexing wrapping around - Fixed
setutils.IndexedSetslicing after removals
Full Changelog: 26.0.0...26.1.0
26.0.0
- Added
funcutils.oncedecorator for one-time function execution - Added
strutils.human_readable_listfor formatting lists as human-readable strings - Extended
iterutils.partitionto accept multiple predicates - Added
cacheoption toiterutils.remapanditerutils.research - Fixed
iterutils.splitmaxsplit=0wrapping source object instead of its values - Fixed
listutils.BarrelListinsert()raisingIndexErroron large negative indices (now clamps like built-inlist) - Fixed
listutils.BarrelListsort()with multiple internal lists - Fixed
dictutils.OrderedMultiDictequality comparison against plain mappings - Fixed
strutils.bytes2humanrollover at exact powers of 1024 - Fixed
tbutils.ParsedException.from_stringIndexErroron truncated tracebacks - Fixed
tableutils.Table.to_textcolumn sizing - Fixed
strutils.html2texthandling - Added Python 3.14 support
Full Changelog: 25.0.0...26.0.0
25.0.0
24.1.0
(November 1, 2024)
A few enhancements and one subtle bugfix.
- Added
max_depthparameter to fileutils.iter_find_files - Added
enterparameter to iterutils.research to support traversing custom data types - Add optional print tracing for iterutils.remap for easier debugging
- Fixed typeutils.make_sentinel copy behavior to return self
Also Python 3.13 is passing tox locally.
24.0.0
23.0.0
(February 19, 2023)
- Overdue update for Python 3.10 and 3.11 support (#294, #303, #320, #323, #326/#327)
- Add [iterutils.chunk_ranges][iterutils.chunk_ranges] (#312)
- Improvements to
SpooledBytesIO/SpooledStringIO(#305) - Bugfix for infinite daterange issue when start and stop is the same (#302)
- Fix
Bits.as_listbehavior (#315)
21.0.0
(May 16, 2021)
- Fix OMD.addlist when the added list is empty
- Add funcutils.noop, satisfying PEP 559
- Support lists for iterutils.bucketize
- Python 3.9 test fixes for OMD (PEP 584, see #271)
- Make typeutils.make_sentinel more pickleable
- jsonutils.reverse_iter_lines now works on Py3 and Windows
20.0.0
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_dirsparam 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
bytestype (#231) - cacheutils.ThresholdCounter's
get_common_count()
- iterutils.chunked to work with the
19.3.0
- funcutils.format_invocation for formatting simple function calls like
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>
19.2.0
A few small fixes and enhancements.