torchdata breaking changes
torchdata 0.11.0 (February 20, 2025) is its newest release with breaking changes, 9 of them. The first: Removed torchdata.stateful_dataloader.sampler.BatchSampler.load_state_dict. Every breaking API change we have recorded in torchdata on PyPI: 12 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.11.0, released February 20, 2025.
Packages on PyPI run on Python. Python end of life dates.
torchdata 0.11.0 breaking changes
- Removed
torchdata.stateful_dataloader.sampler.BatchSampler.load_state_dict
BatchSampler.load_state_dict was removed in torchdata 0.11.0 pypi.org - Removed
torchdata.stateful_dataloader.sampler.BatchSampler.next_yielded
BatchSampler.next_yielded was removed in torchdata 0.11.0 pypi.org - Removed
torchdata.stateful_dataloader.sampler.BatchSampler.sampler_iter
BatchSampler.sampler_iter was removed in torchdata 0.11.0 pypi.org - Removed
torchdata.stateful_dataloader.sampler.BatchSampler.samples_yielded
BatchSampler.samples_yielded was removed in torchdata 0.11.0 pypi.org - Removed
torchdata.stateful_dataloader.sampler.BatchSampler.state_dict
BatchSampler.state_dict was removed in torchdata 0.11.0 pypi.org - Signature changed
torchdata.nodes.ParallelMapper.__init__
Was def __init__(self, source: BaseNode[X], map_fn: Callable[[X], T], num_workers: int, in_order: bool = True, method: Literal['thread', 'process'] = 'thread', multiprocessing_context: Optional[str] = None, max_concurrent: Optional[int] =... pypi.org - Signature changed
torchdata.stateful_dataloader.sampler.BatchSampler
Was class BatchSampler(torch.utils.data.sampler.BatchSampler, Stateful); now class BatchSampler(torch.utils.data.sampler.BatchSampler). pypi.org - Signature changed
torchdata.stateful_dataloader.sampler.RandomSampler
Was class RandomSampler(torch.utils.data.sampler.RandomSampler); now class RandomSampler(Sampler[int]). pypi.org - Signature changed
torchdata.stateful_dataloader.StatefulDataLoader.__init__
Was def __init__(self, dataset: Dataset[_T_co], batch_size: Optional[int] = 1, shuffle: Optional[bool] = None, sampler: Union[Sampler, Iterable, None] = None, batch_sampler: Union[Sampler[List], Iterable[List], None] = None, num_workers... pypi.org
torchdata 0.10.0 breaking changes
- Removed
torchdata.dataloader2
torchdata.dataloader2 was removed in torchdata 0.10.0 pypi.org - Removed
torchdata.datapipes
torchdata.datapipes was removed in torchdata 0.10.0 pypi.org - Removed
torchdata.janitor
torchdata.janitor was removed in torchdata 0.10.0 pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.