---
title: "albumentations 2.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each albumentations release removed, renamed or changed: 790 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/albumentations
last_updated: 2026-12-04
---

# albumentations breaking changes

albumentations 2.0.0 (January 8, 2025) is its newest release with breaking changes, 364 of them. The first: Removed Affine.cval. Every breaking API change we have recorded in albumentations on PyPI: 790 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.0.8`, released May 27, 2025. [Source repository](https://github.com/albumentations-team/albumentations)

Its 0.5.0 release drops Python 3.5. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 364 breaking changes in 1 version.
- From [0.5.0](#v-0-5-0) to [2.0.0](#v-2-0-0): 772 breaking changes in 2 versions.

## albumentations 2.0.0 breaking changes

albumentations 2.0.0, released January 8, 2025: 364 breaking changes.

- **Removed** `Affine.cval`  

Use fill instead of cval. [github.com](https://github.com/albumentations-team/albumentations/releases/tag/2.0.0)
- **Removed** `Affine.cval_mask`  

Use fill_mask instead of cval_mask. [github.com](https://github.com/albumentations-team/albumentations/releases/tag/2.0.0)
- **Removed** `Affine.mode`  

Use border_mode instead of mode. [github.com](https://github.com/albumentations-team/albumentations/releases/tag/2.0.0)
- **Removed** `albumentations.Affine.InitSchema.cval`  

albumentations.Affine.InitSchema.cval was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.Affine.InitSchema.cval_mask`  

albumentations.Affine.InitSchema.cval_mask was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.Affine.InitSchema.mode`  

albumentations.Affine.InitSchema.mode was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.Affine.InitSchema.validate_fill_types`  

albumentations.Affine.InitSchema.validate_fill_types was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.AtLeastOneBBoxRandomCrop.get_params_dependent_on_targets`  

AtLeastOneBBoxRandomCrop.get_params_dependent_on_targets was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.AtLeastOneBBoxRandomCrop.update_params`  

AtLeastOneBBoxRandomCrop.update_params was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.augmentations.dropout.transforms.BaseTransformInitSchema.always_apply`  

Use p=1 to always apply a transform and p=0 to never apply it. [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.AutoContrast.InitSchema.model_config`  

albumentations.AutoContrast.InitSchema.model_config was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.AutoContrast.InitSchema.p`  

albumentations.AutoContrast.InitSchema.p was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.BasicTransform.get_params_dependent_on_targets`  

BasicTransform.get_params_dependent_on_targets was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.BasicTransform.update_params`  

BasicTransform.update_params was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.BBoxSafeRandomCrop.get_params_dependent_on_targets`  

BBoxSafeRandomCrop.get_params_dependent_on_targets was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.BBoxSafeRandomCrop.update_params`  

BBoxSafeRandomCrop.update_params was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CenterCrop.get_params_dependent_on_targets`  

CenterCrop.get_params_dependent_on_targets was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CenterCrop.InitSchema.pad_cval`  

albumentations.CenterCrop.InitSchema.pad_cval was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CenterCrop.InitSchema.pad_cval_mask`  

albumentations.CenterCrop.InitSchema.pad_cval_mask was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CenterCrop.InitSchema.pad_mode`  

albumentations.CenterCrop.InitSchema.pad_mode was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CenterCrop.InitSchema.validate_dimensions`  

albumentations.CenterCrop.InitSchema.validate_dimensions was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CenterCrop.update_params`  

CenterCrop.update_params was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CenterCrop3D.get_params_dependent_on_targets`  

CenterCrop3D.get_params_dependent_on_targets was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CenterCrop3D.update_params`  

CenterCrop3D.update_params was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.ChannelDropout.InitSchema.fill_value`  

albumentations.ChannelDropout.InitSchema.fill_value was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.ChannelDropout.InitSchema.validate_fill`  

albumentations.ChannelDropout.InitSchema.validate_fill was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CoarseDropout.InitSchema.check_num_holes_and_dimensions`  

albumentations.CoarseDropout.InitSchema.check_num_holes_and_dimensions was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CoarseDropout.InitSchema.max_height`  

albumentations.CoarseDropout.InitSchema.max_height was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CoarseDropout.InitSchema.max_holes`  

albumentations.CoarseDropout.InitSchema.max_holes was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CoarseDropout.InitSchema.max_width`  

albumentations.CoarseDropout.InitSchema.max_width was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CoarseDropout.InitSchema.min_height`  

albumentations.CoarseDropout.InitSchema.min_height was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CoarseDropout.InitSchema.min_holes`  

albumentations.CoarseDropout.InitSchema.min_holes was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CoarseDropout.InitSchema.min_width`  

albumentations.CoarseDropout.InitSchema.min_width was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CoarseDropout.InitSchema.update_range`  

albumentations.CoarseDropout.InitSchema.update_range was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CoarseDropout.InitSchema.validate_range`  

albumentations.CoarseDropout.InitSchema.validate_range was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.core.types.ImageMode`  

albumentations.core.types.ImageMode was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.core.types.MIN_UNIT_SIZE`  

albumentations.core.types.MIN_UNIT_SIZE was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.Crop.get_params_dependent_on_targets`  

Crop.get_params_dependent_on_targets was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.Crop.update_params`  

Crop.update_params was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CropNonEmptyMaskIfExists.get_params_dependent_on_targets`  

CropNonEmptyMaskIfExists.get_params_dependent_on_targets was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.CropNonEmptyMaskIfExists.update_params`  

CropNonEmptyMaskIfExists.update_params was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.Downscale.InitSchema.interpolation`  

albumentations.Downscale.InitSchema.interpolation was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.Downscale.InitSchema.scale_max`  

albumentations.Downscale.InitSchema.scale_max was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.Downscale.InitSchema.scale_min`  

albumentations.Downscale.InitSchema.scale_min was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.Downscale.InitSchema.validate_params`  

albumentations.Downscale.InitSchema.validate_params was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.ElasticTransform.get_params_dependent_on_targets`  

ElasticTransform.get_params_dependent_on_targets was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.ElasticTransform.InitSchema.border_mode`  

albumentations.ElasticTransform.InitSchema.border_mode was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.ElasticTransform.InitSchema.mask_value`  

albumentations.ElasticTransform.InitSchema.mask_value was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.ElasticTransform.InitSchema.value`  

albumentations.ElasticTransform.InitSchema.value was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)
- **Removed** `albumentations.ElasticTransform.update_params`  

ElasticTransform.update_params was removed in albumentations 2.0.0 [pypi.org](https://pypi.org/project/albumentations/2.0.0/)

And 314 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## albumentations 1.0.0 breaking changes

albumentations 1.0.0, released June 1, 2021: 408 breaking changes.

- **Removed** `albumentations.augmentations.functional.bbox_center_crop`  

albumentations.augmentations.functional.bbox_center_crop was removed in albumentations 1.0.0 [pypi.org](https://pypi.org/project/albumentations/1.0.0/)
- **Removed** `albumentations.augmentations.functional.bbox_crop`  

albumentations.augmentations.functional.bbox_crop was removed in albumentations 1.0.0 [pypi.org](https://pypi.org/project/albumentations/1.0.0/)
- **Removed** `albumentations.augmentations.functional.bbox_random_crop`  

albumentations.augmentations.functional.bbox_random_crop was removed in albumentations 1.0.0 [pypi.org](https://pypi.org/project/albumentations/1.0.0/)
- **Removed** `albumentations.augmentations.functional.bbox_rot90`  

albumentations.augmentations.functional.bbox_rot90 was removed in albumentations 1.0.0 [pypi.org](https://pypi.org/project/albumentations/1.0.0/)
- **Removed** `albumentations.augmentations.functional.bbox_rotate`  

albumentations.augmentations.functional.bbox_rotate was removed in albumentations 1.0.0 [pypi.org](https://pypi.org/project/albumentations/1.0.0/)
- **Removed** `albumentations.augmentations.functional.bbox_shift_scale_rotate`  

albumentations.augmentations.functional.bbox_shift_scale_rotate was removed in albumentations 1.0.0 [pypi.org](https://pypi.org/project/albumentations/1.0.0/)
- **Removed** `albumentations.augmentations.functional.center_crop`  

albumentations.augmentations.functional.center_crop was removed in albumentations 1.0.0 [pypi.org](https://pypi.org/project/albumentations/1.0.0/)
- **Removed** `albumentations.augmentations.functional.clamping_crop`  

albumentations.augmentations.functional.clamping_crop was removed in albumentations 1.0.0 [pypi.org](https://pypi.org/project/albumentations/1.0.0/)
- **Removed** `albumentations.augmentations.functional.crop`  

albumentations.augmentations.functional.crop was removed in albumentations 1.0.0 [pypi.org](https://pypi.org/project/albumentations/1.0.0/)
- **Removed** `albumentations.augmentations.functional.crop_bbox_by_coords`  

albumentations.augmentations.functional.crop_bbox_by_coords was removed in albumentations 1.0.0 [pypi.org](https://pypi.org/project/albumentations/1.0.0/)

And 398 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## albumentations 0.5.0 breaking changes

albumentations 0.5.0, released October 20, 2020: 18 breaking changes.

- **Removed**  

Python 3.5 is no longer supported; users on Python 3.5 must stay on an earlier release. [github.com](https://github.com/albumentations-team/albumentations/releases/tag/0.5.0)
- **Behavior changed**  

Keypoints and bounding boxes are validated for visibility after every transform, which may filter or alter outputs that previously passed through. [github.com](https://github.com/albumentations-team/albumentations/releases/tag/0.5.0)
- **Behavior changed**  

Augmentations now explicitly check that all inputs are named; calling aug(image) instead of aug(image=image) raises an exception, so callers must pass named arguments. [github.com](https://github.com/albumentations-team/albumentations/releases/tag/0.5.0)
- **Signature changed** `albumentations.augmentations.functional.gaussian_blur`  

Was def gaussian_blur(img, ksize); now def gaussian_blur(img, ksize, sigma=0). [pypi.org](https://pypi.org/project/albumentations/0.5.0/)
- **Signature changed** `albumentations.BasicIAATransform.__call__`  

Was def \_\_call\_\_(self, \*\*kwargs); now def \_\_call\_\_(self, \*args, force_apply=False, \*\*kwargs). [pypi.org](https://pypi.org/project/albumentations/0.5.0/)
- **Signature changed** `albumentations.BasicTransform.__call__`  

Was def \_\_call\_\_(self, force_apply=False, \*\*kwargs); now def \_\_call\_\_(self, \*args, force_apply=False, \*\*kwargs). [pypi.org](https://pypi.org/project/albumentations/0.5.0/)
- **Signature changed** `albumentations.BboxParams.__init__`  

Was def \_\_init\_\_(self, format, label_fields=None, min_area=0.0, min_visibility=0.0); now def \_\_init\_\_(self, format, label_fields=None, min_area=0.0, min_visibility=0.0, check_each_transform=True). [pypi.org](https://pypi.org/project/albumentations/0.5.0/)
- **Signature changed** `albumentations.CoarseDropout`  

Was class CoarseDropout(ImageOnlyTransform); now class CoarseDropout(DualTransform). [pypi.org](https://pypi.org/project/albumentations/0.5.0/)
- **Signature changed** `albumentations.CoarseDropout.__init__`  

Was def \_\_init\_\_(self, max_holes=8, max_height=8, max_width=8, min_holes=None, min_height=None, min_width=None, fill_value=0, always_apply=False, p=0.5); now def \_\_init\_\_(self, max_holes=8, max_height=8, max_width=8, min_holes=None... [pypi.org](https://pypi.org/project/albumentations/0.5.0/)
- **Signature changed** `albumentations.Compose.__call__`  

Was def \_\_call\_\_(self, force_apply=False, \*\*data); now def \_\_call\_\_(self, \*args, force_apply=False, \*\*data). [pypi.org](https://pypi.org/project/albumentations/0.5.0/)

And 8 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
