pypi / tqdm
tqdm
What changed in tqdm 4, from its official release notes, upgrade guides and advisories. Also covers types-tqdm. Sources checked 2026-12-05.
1 breaking1 deprecations13 new APIs and options7 behavior and defaults17 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inittqdm 439 changes
Breaking changes 1
Python 3.14 support is added and Python 3.7 support is dropped.
Deprecations 1
Soft-deprecated tqdm.utils.envwrap in favor of the separate envwrap project.
New APIs and options 13
process_map supports max_tasks_per_child.
process_map supports mp_context.
thread_map supports thread_name_prefix.
Concurrent mapping supports buffersize.
Concurrent mapping supports timeout.
Adds tqdm.concurrent.intepreter_map.
Adds tqdm.asyncio.gather with return_exceptions=False.
Added batched to tqdm.contrib.itertools.
Added chain to tqdm.contrib.itertools.
Added combinations to tqdm.contrib.itertools.
Added combinations_with_replacement to tqdm.contrib.itertools.
Added permutations to tqdm.contrib.itertools.
Added the repeat=1 keyword argument to product.
Behavior and default changes 7
ETA calculation is improved.
Concurrent mapping uses the default max_workers.
Rich integration now supports generators without len.
autonotebook now supports QtConsole, Spyder, and JupyterLite.
The call to os.get_terminal_size is delayed, changing when terminal size is queried.
The monitor thread is now named, which may make it identifiable in thread monitoring or diagnostics.
Adds support for pandas 3 and later.
Fixes and other changes 17
Fixes handling of iterables without a length in contrib.concurrent.
asyncio supports iterables that only implement __aiter__.
as_completed is updated.
reset supports reset(float("inf")).
total is based on the shortest iterable length.
Filters are now preserved by contrib.logging.
Fixes a potential AttributeError on exit in the rich integration.
Fixes handling of total=float('inf').
Fixes a potential AttributeError on exit.
The output is trimmed to ncols even when '{bar}' is not in bar_format.
Fixes tqdm.write when stdout=None.
Reverts an accidental change to the ascii default.
Fixes a deadlock involving the monitor thread at interpreter exit.
Fixed error handling and formatting when total=None.
Fixed formatting when total=None.
Fixes formatting of negative numbers.
Adds support for Python 3.13.