python-doctr breaking changes
Updated December 4, 2026
On this page
Latest version 1.2.0, released November 24, 2026. Source repository
Its 1.0.0 release requires Python 3.10 or later. Python end of life dates.
- From 0.12.0 to 1.0.0: 215 breaking changes in 1 version.
- From 0.11.0 to 1.0.0: 227 breaking changes in 2 versions.
python-doctr 1.0.0 breaking changes
- Removed
TensorFlow is no longer supported as a backend, and the torch and tf installation options were removed. Install with pip install python-doctr, which uses PyTorch by default. github.com - Removed
docTR 1.0.0 requires Python 3.10 or later, so older Python versions can no longer install it. github.com - Removed
doctr.datasets.DataLoader
doctr.datasets.DataLoader was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.datasets.datasets.tensorflow
doctr.datasets.datasets.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.datasets.generator.tensorflow
doctr.datasets.generator.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.datasets.loader
doctr.datasets.loader was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.file_utils.is_tf_available
doctr.file_utils.is_tf_available was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.file_utils.is_torch_available
doctr.file_utils.is_torch_available was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.io.image.tensorflow
doctr.io.image.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.is_tf_available
doctr.is_tf_available was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.is_torch_available
doctr.is_torch_available was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.classification.magc_resnet.tensorflow
doctr.models.classification.magc_resnet.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.classification.mobilenet.tensorflow
doctr.models.classification.mobilenet.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.classification.predictor.OrientationPredictor.__call__
OrientationPredictor.__call__ was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.classification.predictor.tensorflow
doctr.models.classification.predictor.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.classification.resnet.tensorflow
doctr.models.classification.resnet.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.classification.textnet.tensorflow
doctr.models.classification.textnet.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.classification.vgg.tensorflow
doctr.models.classification.vgg.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.classification.vit.tensorflow
doctr.models.classification.vit.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.CRNN.beam_width
CRNN.beam_width was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.CRNN.call
CRNN.call was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.CRNN.top_paths
CRNN.top_paths was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.DBNet.__repr__
DBNet.__repr__ was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.DBNet.call
DBNet.call was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.DBNet.extra_repr
DBNet.extra_repr was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.DBNet.probability_head
DBNet.probability_head was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.DBNet.threshold_head
DBNet.threshold_head was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.detection.differentiable_binarization.tensorflow
doctr.models.detection.differentiable_binarization.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.detection.fast.tensorflow
doctr.models.detection.fast.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.detection.linknet.tensorflow
doctr.models.detection.linknet.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.detection.predictor.DetectionPredictor.__call__
doctr.models.detection_predictor().__call__() was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.detection.predictor.tensorflow
doctr.models.detection.predictor.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.FAST.call
FAST.call was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.FAST.head
FAST.head was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.kie_predictor.KIEPredictor.__call__
doctr.models.zoo.kie_predictor().__call__() was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.kie_predictor.tensorflow
doctr.models.kie_predictor.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.LinkNet.call
LinkNet.call was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.MASTER.call
doctr.models.recognition.master.master().call() was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.MobileNetV3.__init__
MobileNetV3() was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.MobileNetV3.cfg
MobileNetV3.cfg was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.MobileNetV3.from_pretrained
MobileNetV3.from_pretrained was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.modules.Decoder.call
Decoder.call was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.modules.EncoderBlock.call
EncoderBlock.call was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.modules.FASTConvLayer.call
FASTConvLayer.call was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.modules.FASTConvLayer.conv_pad
FASTConvLayer.conv_pad was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.modules.FASTConvLayer.hor_pad
FASTConvLayer.hor_pad was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.modules.FASTConvLayer.ver_pad
FASTConvLayer.ver_pad was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.modules.layers.tensorflow
doctr.models.modules.layers.tensorflow was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.modules.MultiHeadAttention.call
MultiHeadAttention.call was removed in python-doctr 1.0.0 pypi.org - Removed
doctr.models.modules.PatchEmbedding.call
PatchEmbedding.call was removed in python-doctr 1.0.0 pypi.org
And 165 more in this version. Sign up to see every change
python-doctr 0.12.0 breaking changes
- Removed
docTR 0.12.0 requires Python 3.10 or later, so users on older Python versions must upgrade Python before installing. github.com - Removed
doctr.models.recognition.predictor.pytorch.RecognitionPredictor.dil_factor
doctr.models.recognition_predictor().dil_factor was removed in python-doctr 0.12.0 pypi.org - Removed
doctr.models.recognition.predictor.RecognitionPredictor.dil_factor
doctr.models.recognition_predictor().dil_factor was removed in python-doctr 0.12.0 pypi.org - Behavior changed
Model loading was simplified and unified into a from_pretrained method. Code that loads weights manually per backend, such as load_state_dict or load_weights, may need to switch to it. github.com - Configuration changed
docTR 0.12.0 needs either TensorFlow 2.15.0 or newer, or PyTorch 2.0.0 or newer; older framework versions must be upgraded. github.com - Signature changed
doctr.datasets.ocr.OCRDataset.data
Was data: list[tuple[str, dict[str, Any]]]; now data: list[tuple[Path, dict[str, Any]]]. pypi.org - Signature changed
doctr.datasets.OCRDataset.data
Was data: list[tuple[str, dict[str, Any]]]; now data: list[tuple[Path, dict[str, Any]]]. pypi.org - Signature changed
doctr.models.recognition.utils.merge_multi_strings
Was def merge_multi_strings(seq_list: list[str], dil_factor: float) -> str; now def merge_multi_strings(seq_list: list[str], overlap_ratio: float, last_overlap_ratio: float) -> str. pypi.org - Signature changed
doctr.models.recognition.utils.merge_strings
Was def merge_strings(a: str, b: str, dil_factor: float) -> str; now def merge_strings(a: str, b: str, overlap_ratio: float) -> str. pypi.org - Signature changed
doctr.models.utils.load_pretrained_params
Was def load_pretrained_params(model: Model, url: str | None = None, hash_prefix: str | None = None, skip_mismatch: bool = False, **kwargs: Any) -> None; now def load_pretrained_params(model: Model, path_or_url: str | None = None... pypi.org
And 2 more in this version. Sign up to see every change
python-doctr 0.11.0 breaking changes
- Removed
doctr.models.classification.predictor.OrientationPredictor.forward
OrientationPredictor.forward was removed in python-doctr 0.11.0 pypi.org - Removed
doctr.models.CRNN.forward
CRNN.forward was removed in python-doctr 0.11.0 pypi.org - Removed
doctr.models.CRNN.linear
CRNN.linear was removed in python-doctr 0.11.0 pypi.org - Removed
doctr.models.DBNet.forward
DBNet.forward was removed in python-doctr 0.11.0 pypi.org - Removed
doctr.models.DBNet.prob_head
DBNet.prob_head was removed in python-doctr 0.11.0 pypi.org - Removed
doctr.models.DBNet.thresh_head
DBNet.thresh_head was removed in python-doctr 0.11.0 pypi.org - Removed
doctr.models.detection.predictor.DetectionPredictor.forward
doctr.models.detection_predictor().forward() was removed in python-doctr 0.11.0 pypi.org - Removed
doctr.models.FAST.forward
FAST.forward was removed in python-doctr 0.11.0 pypi.org - Removed
doctr.models.FAST.prob_head
FAST.prob_head was removed in python-doctr 0.11.0 pypi.org - Removed
doctr.models.kie_predictor.KIEPredictor.forward
doctr.models.zoo.kie_predictor().forward() was removed in python-doctr 0.11.0 pypi.org
And 127 more in this version. Sign up to see every change
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.