moto breaking changes
Updated December 4, 2026
On this page
Latest version 5.2.6, released November 23, 2026. Source repository
Its 3.0.0 release drops Python 3.5. Python end of life dates.
- From 4.0.0 to 5.0.0: 267 breaking changes in 1 version.
- From 3.0.0 to 5.0.0: 649 breaking changes in 2 versions.
moto 5.0.0 breaking changes
- Removed
All decorators were replaced with one decorator, mock_aws. Code using the older per-service decorators must switch to mock_aws. github.com - Removed
moto.acm.acm_backend
moto.acm.acm_backend was removed in moto 5.0.0 pypi.org - Removed
moto.apigateway.apigateway_backend
moto.apigateway.apigateway_backend was removed in moto 5.0.0 pypi.org - Removed
moto.athena.athena_backend
moto.athena.athena_backend was removed in moto 5.0.0 pypi.org - Removed
moto.autoscaling.autoscaling_backend
moto.autoscaling.autoscaling_backend was removed in moto 5.0.0 pypi.org - Removed
moto.autoscaling.responses.amzn_request_id
moto.autoscaling.responses.amzn_request_id was removed in moto 5.0.0 pypi.org - Removed
moto.awslambda_simple.lambda_simple_backend
moto.awslambda_simple.lambda_simple_backend was removed in moto 5.0.0 pypi.org - Removed
moto.awslambda_simple.lambda_simple_backends
moto.awslambda_simple.lambda_simple_backends was removed in moto 5.0.0 pypi.org - Removed
moto.awslambda_simple.models.lambda_backends
moto.awslambda_simple.models.lambda_backends was removed in moto 5.0.0 pypi.org - Removed
moto.awslambda_simple.models.LambdaSimpleBackend.__getattribute__
LambdaSimpleBackend.__getattribute__ was removed in moto 5.0.0 pypi.org - Removed
moto.awslambda_simple.models.LambdaSimpleBackend.backend
LambdaSimpleBackend.backend was removed in moto 5.0.0 pypi.org - Removed
moto.awslambda_simple.urls
moto.awslambda_simple.urls was removed in moto 5.0.0 pypi.org - Removed
moto.awslambda.lambda_backend
moto.awslambda.lambda_backend was removed in moto 5.0.0 pypi.org - Removed
moto.backends.backends
moto.backends.backends was removed in moto 5.0.0 pypi.org - Removed
moto.backends.BACKENDS
moto.backends.BACKENDS was removed in moto 5.0.0 pypi.org - Removed
moto.backends.BaseBackend
moto.backends.BaseBackend was removed in moto 5.0.0 pypi.org - Removed
moto.backends.decorator_functions
moto.backends.decorator_functions was removed in moto 5.0.0 pypi.org - Removed
moto.backends.decorators
moto.backends.decorators was removed in moto 5.0.0 pypi.org - Removed
moto.backends.loaded_backends
moto.backends.loaded_backends was removed in moto 5.0.0 pypi.org - Removed
moto.backends.service_backends
moto.backends.service_backends was removed in moto 5.0.0 pypi.org - Removed
moto.base_decorator
moto.base_decorator was removed in moto 5.0.0 pypi.org - Removed
moto.BaseDecorator
moto.BaseDecorator was removed in moto 5.0.0 pypi.org - Removed
moto.BaseMockAWS
moto.BaseMockAWS was removed in moto 5.0.0 pypi.org - Removed
moto.batch_simple.batch_backend
moto.batch_simple.batch_backend was removed in moto 5.0.0 pypi.org - Removed
moto.batch_simple.batch_simple_backends
moto.batch_simple.batch_simple_backends was removed in moto 5.0.0 pypi.org - Removed
moto.batch_simple.urls
moto.batch_simple.urls was removed in moto 5.0.0 pypi.org - Removed
moto.batch.batch_backend
moto.batch.batch_backend was removed in moto 5.0.0 pypi.org - Removed
moto.cloudformation.cloudformation_backend
moto.cloudformation.cloudformation_backend was removed in moto 5.0.0 pypi.org - Removed
moto.core.botocore_stubber.BotocoreStubber.methods
BotocoreStubber.methods was removed in moto 5.0.0 pypi.org - Removed
moto.core.botocore_stubber.BotocoreStubber.register_response
BotocoreStubber.register_response was removed in moto 5.0.0 pypi.org - Removed
moto.core.botocore_stubber.BotocoreStubber.reset
BotocoreStubber.reset was removed in moto 5.0.0 pypi.org - Removed
moto.core.botocore_stubber.HTTPException
moto.core.botocore_stubber.HTTPException was removed in moto 5.0.0 pypi.org - Removed
moto.core.CloudFormationModel
moto.core.CloudFormationModel was removed in moto 5.0.0 pypi.org - Removed
moto.core.CloudWatchMetricProvider
moto.core.CloudWatchMetricProvider was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.base_decorator
moto.core.models.base_decorator was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.BaseDecorator
moto.core.models.BaseDecorator was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.BaseMockAWS
moto.core.models.BaseMockAWS was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.botocore_mock
moto.core.models.botocore_mock was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.BotocoreEventMockAWS
moto.core.models.BotocoreEventMockAWS was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.BotocoreStubber.methods
BotocoreStubber.methods was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.BotocoreStubber.register_response
BotocoreStubber.register_response was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.BotocoreStubber.reset
BotocoreStubber.reset was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.ProxyModeMockAWS.backends
ProxyModeMockAWS.backends was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.ProxyModeMockAWS.backends_for_urls
ProxyModeMockAWS.backends_for_urls was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.ProxyModeMockAWS.decorate_callable
ProxyModeMockAWS.decorate_callable was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.ProxyModeMockAWS.decorate_class
ProxyModeMockAWS.decorate_class was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.ProxyModeMockAWS.default_session_mock
ProxyModeMockAWS.default_session_mock was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.ProxyModeMockAWS.disable_patching
ProxyModeMockAWS.disable_patching was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.ProxyModeMockAWS.enable_patching
ProxyModeMockAWS.enable_patching was removed in moto 5.0.0 pypi.org - Removed
moto.core.models.ProxyModeMockAWS.FAKE_KEYS
moto.core.models.ProxyModeMockAWS.FAKE_KEYS was removed in moto 5.0.0 pypi.org
And 217 more in this version. Sign up to see every change
moto 4.0.0 breaking changes
- Removed
moto.acm.models.BackendDict.__contains__
BackendDict.__contains__ was removed in moto 4.0.0 pypi.org - Removed
moto.acm.models.BackendDict.get
BackendDict.get was removed in moto 4.0.0 pypi.org - Removed
moto.acm.responses.BaseResponse.get_current_user
BaseResponse.get_current_user was removed in moto 4.0.0 pypi.org - Removed
moto.applicationautoscaling.models.ApplicationAutoscalingBackend.applicationautoscaling_backend
ApplicationAutoscalingBackend.applicationautoscaling_backend was removed in moto 4.0.0 pypi.org - Removed
moto.autoscaling.exceptions.RESTError.to_json
RESTError.to_json was removed in moto 4.0.0 pypi.org - Removed
moto.awslambda.responses.LambdaResponse.lambda_backend
LambdaResponse.lambda_backend was removed in moto 4.0.0 pypi.org - Removed
moto.awslambda.urls.LambdaResponse.lambda_backend
LambdaResponse.lambda_backend was removed in moto 4.0.0 pypi.org - Removed
moto.backends.unique_backends
moto.backends.unique_backends was removed in moto 4.0.0 pypi.org - Removed
moto.core.ACCOUNT_ID
moto.core.ACCOUNT_ID was removed in moto 4.0.0 pypi.org - Removed
moto.core.exceptions.RESTError.to_json
RESTError.to_json was removed in moto 4.0.0 pypi.org
And 372 more in this version. Sign up to see every change
moto 3.0.0 breaking changes
- Removed
All previously deprecated decorators were removed in this major release. Stop using any deprecated decorator before upgrading. github.com - Removed
Python 3.5 is no longer supported. Upgrade to a newer Python version to use this release. github.com - Removed
delete_public_access_block
delete_public_access_block is no longer available through mock_s3; use the new mock_s3control decorator instead. github.com - Removed
moto.apigateway.deprecated_base_decorator
moto.apigateway.deprecated_base_decorator was removed in moto 3.0.0 pypi.org - Removed
moto.athena.mock_athena_deprecated
moto.athena.mock_athena_deprecated was removed in moto 3.0.0 pypi.org - Removed
moto.core.BaseBackend.deprecated_decorator
BaseBackend.deprecated_decorator was removed in moto 3.0.0 pypi.org - Removed
moto.core.models.BaseBackend.deprecated_decorator
BaseBackend.deprecated_decorator was removed in moto 3.0.0 pypi.org - Removed
moto.core.models.convert_httpretty_response
moto.core.models.convert_httpretty_response was removed in moto 3.0.0 pypi.org - Removed
moto.core.models.deprecated_base_decorator
moto.core.models.deprecated_base_decorator was removed in moto 3.0.0 pypi.org - Removed
moto.core.models.HTTPretty
moto.core.models.HTTPretty was removed in moto 3.0.0 pypi.org
And 68 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.