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

# mypy breaking changes

mypy 2.4.0 (October 1, 2026) is its newest release with breaking changes, 39 of them. The first: Signature changed mypy.build.DefaultPlugin.get_function_signature_hook. Every breaking API change we have recorded in mypy on PyPI: 1,757 breaking changes in 21 versions. Below, its 21 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.4.1`, released October 28, 2026. [Source repository](https://github.com/python/mypy)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.20.2](#v-1-20-2) to [2.4.0](#v-2-4-0): 225 breaking changes in 4 versions.
- From [0.931](#v-0-931) to [2.4.0](#v-2-4-0): 1,751 breaking changes in 20 versions.

## mypy 2.4.0 breaking changes

mypy 2.4.0, released October 1, 2026: 39 breaking changes.

- **Signature changed** `mypy.build.DefaultPlugin.get_function_signature_hook`  

Was def get_function_signature_hook(self, fullname: str) -> Callable\[\[FunctionSigContext\], FunctionLike\] | None; now def get_function_signature_hook(self, fullname: str) -> Callable\[\[FunctionSigContext\], CallableType\] | None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.build.DefaultPlugin.get_method_signature_hook`  

Was def get_method_signature_hook(self, fullname: str) -> Callable\[\[MethodSigContext\], FunctionLike\] | None; now def get_method_signature_hook(self, fullname: str) -> Callable\[\[MethodSigContext\], CallableType\] | None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.build.process_stale_scc_implementation`  

Was def process_stale_scc_implementation(graph: Graph, stale: list\[str\], manager: BuildManager, meta_files: list\[str\]) -> dict\[str, ModuleResult\]; now def process_stale_scc_implementation(graph: Graph, stale: list\[str\], manager... [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.build.process_stale_scc_interface`  

Was def process_stale_scc_interface(graph: Graph, ascc: SCC, manager: BuildManager, from_cache: set\[str\]) -> list\[tuple\[str, ModuleResult, str\]\]; now def process_stale_scc_interface(graph: Graph, ascc: SCC, manager: BuildManager... [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.build.TypeChecker.type_requires_usage`  

Was def type_requires_usage(self, typ: Type) -> tuple\[str, ErrorCode\] | None; now def type_requires_usage(self, typ: Type, s: ExpressionStmt) -> tuple\[str, ErrorCode\] | None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.build.write_cache`  

Was def write_cache(id: str, path: str, tree: MypyFile, dependencies: list\[str\], suppressed: list\[str\], suppressed_deps_opts: bytes, imports_ignored: dict\[int, list\[str\]\], dep_prios: list\[int\], dep_lines: list\[int\], old_interface_hash... [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.cache.read_literal`  

Was def read_literal(data: ReadBuffer, tag: Tag) -> int | str | bool | float; now def read_literal(data: ReadBuffer, tag: Tag) -> int | str | bool | float | SentinelValue. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.cache.write_literal`  

Was def write_literal(data: WriteBuffer, value: int | str | bool | float | complex | None) -> None; now def write_literal(data: WriteBuffer, value: int | str | bool | float | complex | SentinelValue | None) -> None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checker.AsPattern.__init__`  

Was def \_\_init\_\_(self, pattern: Pattern | None, name: NameExpr | None) -> None; now def \_\_init\_\_(self, pattern: ConcretePattern | None, name: NameExpr | None) -> None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checker.AsPattern.pattern`  

Was pattern: Pattern | None; now pattern: ConcretePattern | None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checker.MatchStmt.__init__`  

Was def \_\_init\_\_(self, subject: Expression, patterns: list\[Pattern\], guards: list\[Expression | None\], bodies: list\[Block\]) -> None; now def \_\_init\_\_(self, subject: Expression, patterns: list\[ConcretePattern\], guards: list\[Expression |... [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checker.MatchStmt.patterns`  

Was patterns: list\[Pattern\]; now patterns: list\[ConcretePattern\]. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checker.PatternChecker.contract_starred_pattern_types`  

Was def contract_starred_pattern_types(self, types: list\[Type\], star_pos: int | None, num_patterns: int) -> list\[Type\]; now def contract_starred_pattern_types(self, types: list\[Type\], star_pos: int | None, num_required_patterns: int) ->... [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checker.TransformVisitor.pattern`  

Was def pattern(self, pattern: Pattern) -> Pattern; now def pattern(self, pattern: ConcretePattern) -> ConcretePattern. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkexpr.DictionaryComprehension.__init__`  

Was def \_\_init\_\_(self, key: Expression, value: Expression, indices: list\[Lvalue\], sequences: list\[Expression\], condlists: list\[list\[Expression\]\], is_async: list\[bool\]) -> None; now def \_\_init\_\_(self, key: Expression | None, value... [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkexpr.DictionaryComprehension.key`  

Was key: Expression; now key: Expression | None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkexpr.merge_typevars_in_callables_by_name`  

Was def merge_typevars_in_callables_by_name(callables: Sequence\[CallableType\]) -> tuple\[list\[CallableType\], list\[TypeVarType\]\]; now def merge_typevars_in_callables_by_name(callables: Sequence\[CallableType\]) -> tuple\[list\[CallableType\]... [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkpattern.ClassPattern.__init__`  

Was def \_\_init\_\_(self, class_ref: RefExpr, positionals: list\[Pattern\], keyword_keys: list\[str\], keyword_values: list\[Pattern\]) -> None; now def \_\_init\_\_(self, class_ref: RefExpr, positionals: list\[ConcretePattern\], keyword_keys: list\[str\]... [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkpattern.ClassPattern.keyword_values`  

Was keyword_values: list\[Pattern\]; now keyword_values: list\[ConcretePattern\]. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkpattern.ClassPattern.positionals`  

Was positionals: list\[Pattern\]; now positionals: list\[ConcretePattern\]. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkpattern.MappingPattern.__init__`  

Was def \_\_init\_\_(self, keys: list\[Expression\], values: list\[Pattern\], rest: NameExpr | None) -> None; now def \_\_init\_\_(self, keys: list\[Expression\], values: list\[ConcretePattern\], rest: NameExpr | None) -> None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkpattern.MappingPattern.values`  

Was values: list\[Pattern\]; now values: list\[ConcretePattern\]. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkpattern.OrPattern.__init__`  

Was def \_\_init\_\_(self, patterns: list\[Pattern\]) -> None; now def \_\_init\_\_(self, patterns: list\[ConcretePattern\]) -> None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkpattern.OrPattern.patterns`  

Was patterns: list\[Pattern\]; now patterns: list\[ConcretePattern\]. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkpattern.SequencePattern.__init__`  

Was def \_\_init\_\_(self, patterns: list\[Pattern\]) -> None; now def \_\_init\_\_(self, patterns: list\[ConcretePattern\]) -> None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.checkpattern.SequencePattern.patterns`  

Was patterns: list\[Pattern\]; now patterns: list\[ConcretePattern\]. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.exprtotype.parse_type_string`  

Was def parse_type_string(expr_string: str, expr_fallback_name: str, line: int, column: int) -> ProperType; now def parse_type_string(expr: StrExpr, options: Options) -> ProperType. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.nativeparse.build_fstring_join`  

Was def build_fstring_join(data: ReadBuffer, items: list\[Expression\]) -> Expression; now def build_fstring_join(data: ReadBuffer, items: list\[Expression\], set_has_surrogates: bool = False) -> Expression. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.nativeparse.read_pattern`  

Was def read_pattern(state: State, data: ReadBuffer) -> Pattern; now def read_pattern(state: State, data: ReadBuffer) -> ConcretePattern. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.nativeparse.read_type`  

Was def read_type(state: State, data: ReadBuffer) -> Type; now def read_type(state: State, data: ReadBuffer, always_allow_star: bool = False) -> Type. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.nodes.read_literal`  

Was def read_literal(data: ReadBuffer, tag: Tag) -> int | str | bool | float; now def read_literal(data: ReadBuffer, tag: Tag) -> int | str | bool | float | SentinelValue. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.nodes.write_literal`  

Was def write_literal(data: WriteBuffer, value: int | str | bool | float | complex | None) -> None; now def write_literal(data: WriteBuffer, value: int | str | bool | float | complex | SentinelValue | None) -> None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.plugins.default.call_singledispatch_function_callback`  

Was def call_singledispatch_function_callback(ctx: MethodSigContext) -> FunctionLike; now def call_singledispatch_function_callback(ctx: MethodSigContext) -> CallableType. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.plugins.singledispatch.call_singledispatch_function_callback`  

Was def call_singledispatch_function_callback(ctx: MethodSigContext) -> FunctionLike; now def call_singledispatch_function_callback(ctx: MethodSigContext) -> CallableType. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.test.test_nativeparse.temp_source`  

Was def temp_source(text: str) -> Iterator\[str\]; now def temp_source(text: str, encoding: str = 'utf-8') -> Iterator\[str\]. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.test.testcmdline.parse_args`  

Was def parse_args(line: str) -> list\[str\]; now def parse_args(text: str, step: int) -> list\[str\]. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.test.testtypegen.SkippedNodeSearcher.visit_ellipsis`  

Was def visit_ellipsis(self, o: EllipsisExpr, /) -> None; now def visit_ellipsis(self, n: EllipsisExpr) -> None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.types.read_literal`  

Was def read_literal(data: ReadBuffer, tag: Tag) -> int | str | bool | float; now def read_literal(data: ReadBuffer, tag: Tag) -> int | str | bool | float | SentinelValue. [pypi.org](https://pypi.org/project/mypy/2.4.0/)
- **Signature changed** `mypy.types.write_literal`  

Was def write_literal(data: WriteBuffer, value: int | str | bool | float | complex | None) -> None; now def write_literal(data: WriteBuffer, value: int | str | bool | float | complex | SentinelValue | None) -> None. [pypi.org](https://pypi.org/project/mypy/2.4.0/)

## mypy 2.2.0 breaking changes

mypy 2.2.0, released July 8, 2026: 73 breaking changes.

- **Signature changed** `mypy.applytype.CallableType.__init__`  

Was def \_\_init\_\_(self, arg_types: Sequence\[Type\], arg_kinds: list\[ArgKind\], arg_names: Sequence\[str | None\], ret_type: Type, fallback: Instance, name: str | None = None, definition: SymbolNode | None = None, variables... [pypi.org](https://pypi.org/project/mypy/2.2.0/)
- **Signature changed** `mypy.applytype.CallableType.copy_modified`  

Was def copy_modified(self: CT, arg_types: Bogus\[Sequence\[Type\]\] = \_dummy, arg_kinds: Bogus\[list\[ArgKind\]\] = \_dummy, arg_names: Bogus\[Sequence\[str | None\]\] = \_dummy, ret_type: Bogus\[Type\] = \_dummy, fallback: Bogus\[Instance\] = \_dummy, name... [pypi.org](https://pypi.org/project/mypy/2.2.0/)
- **Signature changed** `mypy.applytype.get_target_type`  

Was def get_target_type(tvar: TypeVarLikeType, type: Type, callable: CallableType, report_incompatible_typevar_value: Callable\[\[CallableType, Type, str, Context\], None\], context: Context, skip_unsatisfied: bool) -> Type | None; now def... [pypi.org](https://pypi.org/project/mypy/2.2.0/)
- **Signature changed** `mypy.applytype.UninhabitedType.__init__`  

Was def \_\_init\_\_(self, line: int = -1, column: int = -1) -> None; now def \_\_init\_\_(self, line: int = -1, column: int = -1, \*, ambiguous: bool = False) -> None. [pypi.org](https://pypi.org/project/mypy/2.2.0/)
- **Signature changed** `mypy.argmap.TypedDictType.__init__`  

Was def \_\_init\_\_(self, items: dict\[str, Type\], required_keys: set\[str\], readonly_keys: set\[str\], fallback: Instance, line: int = -1, column: int = -1) -> None; now def \_\_init\_\_(self, items: dict\[str, Type\], required_keys: set\[str\]... [pypi.org](https://pypi.org/project/mypy/2.2.0/)
- **Signature changed** `mypy.argmap.TypedDictType.copy_modified`  

Was def copy_modified(self, \*, fallback: Instance | None = None, item_types: list\[Type\] | None = None, item_names: list\[str\] | None = None, required_keys: set\[str\] | None = None, readonly_keys: set\[str\] | None = None) -> TypedDictType; now... [pypi.org](https://pypi.org/project/mypy/2.2.0/)
- **Signature changed** `mypy.argmap.TypedDictType.zipall`  

Was def zipall(self, right: TypedDictType) -> Iterable\[tuple\[str, Type | None, Type | None\]\]; now def zipall(self, right: TypedDictType) -> Iterable\[tuple\[str, TypedDictItem, TypedDictItem\]\]. [pypi.org](https://pypi.org/project/mypy/2.2.0/)
- **Signature changed** `mypy.build.BuildManager.parse_file`  

Was def parse_file(self, id: str, path: str, source: str, options: Options, raw_data: FileRawData | None = None) -> MypyFile; now def parse_file(self, id: str, path: str, source: str | None, options: Options, raw_data: FileRawData | None =... [pypi.org](https://pypi.org/project/mypy/2.2.0/)
- **Signature changed** `mypy.build.BuildManager.parse_files_threaded_raw`  

Was def parse_files_threaded_raw(self, sequential_states: list\[State\], parallel_states: list\[State\]) -> tuple\[list\[State\], set\[State\]\]; now def parse_files_threaded_raw(self, states: list\[State\]) -> tuple\[list\[State\], set\[State\]\]. [pypi.org](https://pypi.org/project/mypy/2.2.0/)
- **Signature changed** `mypy.build.MessageBuilder.note_defined_here`  

Was def note_defined_here(self, callee: CallableType, context: Context) -> None; now def note_defined_here(self, callee: CallableType, context: Context, code: ErrorCode = codes.CALL_ARG) -> None. [pypi.org](https://pypi.org/project/mypy/2.2.0/)

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

## mypy 2.1.0 breaking changes

mypy 2.1.0, released May 11, 2026: 1 breaking change.

- **Signature changed** `mypy.build.Errors.__init__`  

Was def \_\_init\_\_(self, options: Options, \*, read_source: Callable\[\[str\], list\[str\] | None\] | None = None, hide_error_codes: bool | None = None) -> None; now def \_\_init\_\_(self, options: Options, \*, read_source: Callable\[\[str\], list\[str\] |... [pypi.org](https://pypi.org/project/mypy/2.1.0/)

## mypy 2.0.0 breaking changes

mypy 2.0.0, released May 6, 2026: 112 breaking changes.

- **Signature changed** `mypy.argmap.ArgumentInferContext`  

Was class ArgumentInferContext(NamedTuple); now class ArgumentInferContext. [pypi.org](https://pypi.org/project/mypy/2.0.0/)
- **Signature changed** `mypy.argmap.ArgumentInferContext.iterable_type`  

Was iterable_type: Instance; now iterable_type: Final. [pypi.org](https://pypi.org/project/mypy/2.0.0/)
- **Signature changed** `mypy.argmap.ArgumentInferContext.mapping_type`  

Was mapping_type: Instance; now mapping_type: Final. [pypi.org](https://pypi.org/project/mypy/2.0.0/)
- **Signature changed** `mypy.binder.CurrentType`  

Was class CurrentType(NamedTuple); now class CurrentType. [pypi.org](https://pypi.org/project/mypy/2.0.0/)
- **Signature changed** `mypy.binder.CurrentType.from_assignment`  

Was from_assignment: bool; now from_assignment: Final. [pypi.org](https://pypi.org/project/mypy/2.0.0/)
- **Signature changed** `mypy.binder.CurrentType.type`  

Was type: Type; now type: Final. [pypi.org](https://pypi.org/project/mypy/2.0.0/)
- **Signature changed** `mypy.build_worker.worker.load_states`  

Was def load_states(scc: SCC, graph: Graph, manager: BuildManager, import_errors: dict\[str, list\[ErrorInfo\]\], mod_data: dict\[str, tuple\[bytes, FileRawData | None\]\]) -> None; now def load_states(mod_ids: list\[str\], graph: Graph, manager... [pypi.org](https://pypi.org/project/mypy/2.0.0/)
- **Signature changed** `mypy.build_worker.worker.ServerContext`  

Was class ServerContext(NamedTuple); now class ServerContext. [pypi.org](https://pypi.org/project/mypy/2.0.0/)
- **Signature changed** `mypy.build_worker.worker.ServerContext.disable_error_code`  

Was disable_error_code: list\[str\]; now disable_error_code: Final. [pypi.org](https://pypi.org/project/mypy/2.0.0/)
- **Signature changed** `mypy.build_worker.worker.ServerContext.enable_error_code`  

Was enable_error_code: list\[str\]; now enable_error_code: Final. [pypi.org](https://pypi.org/project/mypy/2.0.0/)

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

## mypy 1.20.2 breaking changes

mypy 1.20.2, released April 21, 2026: 5 breaking changes.

- **Signature changed** `mypy.build.create_metastore`  

Was def create_metastore(options: Options) -> MetadataStore; now def create_metastore(options: Options, parallel_worker: bool) -> MetadataStore. [pypi.org](https://pypi.org/project/mypy/1.20.2/)
- **Signature changed** `mypy.build.SqliteMetadataStore.__init__`  

Was def \_\_init\_\_(self, cache_dir_prefix: str) -> None; now def \_\_init\_\_(self, cache_dir_prefix: str, set_journal_mode: bool = False) -> None. [pypi.org](https://pypi.org/project/mypy/1.20.2/)
- **Signature changed** `mypy.build.TypeChecker.refine_parent_types`  

Was def refine_parent_types(self, expr: Expression, expr_type: Type) -> Mapping\[Expression, Type\]; now def refine_parent_types(self, expr: Expression, expr_type: Type) -> TypeMap. [pypi.org](https://pypi.org/project/mypy/1.20.2/)
- **Signature changed** `mypy.main.run_build`  

Was def run_build(sources: list\[BuildSource\], options: Options, fscache: FileSystemCache, t0: float, stdout: TextIO, stderr: TextIO) -> tuple\[build.BuildResult | None, list\[str\], bool\]; now def run_build(sources: list\[BuildSource\]... [pypi.org](https://pypi.org/project/mypy/1.20.2/)
- **Signature changed** `mypy.metastore.connect_db`  

Was def connect_db(db_file: str) -> sqlite3.Connection; now def connect_db(db_file: str, set_journal_mode: bool) -> sqlite3.Connection. [pypi.org](https://pypi.org/project/mypy/1.20.2/)

## mypy 1.20.1 breaking changes

mypy 1.20.1, released April 13, 2026: 3 breaking changes.

- **Signature changed** `mypy.build.create_metastore`  

Was def create_metastore(options: Options, parallel_worker: bool = False) -> MetadataStore; now def create_metastore(options: Options) -> MetadataStore. [pypi.org](https://pypi.org/project/mypy/1.20.1/)
- **Signature changed** `mypy.build.SqliteMetadataStore.__init__`  

Was def \_\_init\_\_(self, cache_dir_prefix: str, sync_off: bool = False) -> None; now def \_\_init\_\_(self, cache_dir_prefix: str) -> None. [pypi.org](https://pypi.org/project/mypy/1.20.1/)
- **Signature changed** `mypy.metastore.connect_db`  

Was def connect_db(db_file: str, sync_off: bool = False) -> sqlite3.Connection; now def connect_db(db_file: str) -> sqlite3.Connection. [pypi.org](https://pypi.org/project/mypy/1.20.1/)

## Older versions

15 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### mypy 1.20.0 breaking changes

mypy 1.20.0, released March 31, 2026: 115 breaking changes.

- **Signature changed** `mypy.__main__.process_options`  

Was def process_options(args: list\[str\], stdout: TextIO | None = None, stderr: TextIO | None = None, require_targets: bool = True, server_options: bool = False, fscache: FileSystemCache | None = None, program: str = 'mypy', header: str =... [pypi.org](https://pypi.org/project/mypy/1.20.0/)
- **Signature changed** `mypy.applytype.CallableType.copy_modified`  

Was def copy_modified(self: CT, arg_types: Bogus\[Sequence\[Type\]\] = \_dummy, arg_kinds: Bogus\[list\[ArgKind\]\] = \_dummy, arg_names: Bogus\[Sequence\[str | None\]\] = \_dummy, ret_type: Bogus\[Type\] = \_dummy, fallback: Bogus\[Instance\] = \_dummy, name... [pypi.org](https://pypi.org/project/mypy/1.20.0/)

And 113 more in this version.

### mypy 1.19.1 breaking changes

mypy 1.19.1, released December 15, 2025: 5 breaking changes.

- **Signature changed** `mypy.build.CacheMeta.__init__`  

Was def \_\_init\_\_(self, \*, id: str, path: str, mtime: int, size: int, hash: str, dependencies: list\[str\], data_mtime: int, data_file: str, suppressed: list\[str\], options: dict\[str, object\], dep_prios: list\[int\], dep_lines: list\[int\]... [pypi.org](https://pypi.org/project/mypy/1.19.1/)
- **Signature changed** `mypy.build.Errors.file_messages`  

Was def file_messages(self, path: str, formatter: ErrorFormatter | None = None) -> list\[str\]; now def file_messages(self, path: str) -> list\[ErrorTuple\]. [pypi.org](https://pypi.org/project/mypy/1.19.1/)

And 3 more in this version.

### mypy 1.19.0 breaking changes

mypy 1.19.0, released November 28, 2025: 261 breaking changes.

- **Signature changed** `mypy.applytype.AnyType.read`  

Was @classmethod def read(cls, data: Buffer) -> AnyType; now @classmethod def read(cls, data: ReadBuffer) -> AnyType. [pypi.org](https://pypi.org/project/mypy/1.19.0/)
- **Signature changed** `mypy.applytype.CallableType.read`  

Was @classmethod def read(cls, data: Buffer) -> CallableType; now @classmethod def read(cls, data: ReadBuffer) -> CallableType. [pypi.org](https://pypi.org/project/mypy/1.19.0/)

And 259 more in this version.

### mypy 1.18.1 breaking changes

mypy 1.18.1, released September 11, 2025: 104 breaking changes.

- **Signature changed** `mypy.applytype.CallableType.__init__`  

Was def \_\_init\_\_(self, arg_types: Sequence\[Type\], arg_kinds: list\[ArgKind\], arg_names: Sequence\[str | None\], ret_type: Type, fallback: Instance, name: str | None = None, definition: SymbolNode | None = None, variables... [pypi.org](https://pypi.org/project/mypy/1.18.1/)
- **Signature changed** `mypy.applytype.CallableType.copy_modified`  

Was def copy_modified(self: CT, arg_types: Bogus\[Sequence\[Type\]\] = \_dummy, arg_kinds: Bogus\[list\[ArgKind\]\] = \_dummy, arg_names: Bogus\[Sequence\[str | None\]\] = \_dummy, ret_type: Bogus\[Type\] = \_dummy, fallback: Bogus\[Instance\] = \_dummy, name... [pypi.org](https://pypi.org/project/mypy/1.18.1/)

And 102 more in this version.

### mypy 1.0.0 breaking changes

mypy 1.0.0, released February 6, 2023: 317 breaking changes.

- **Removed** `mypy.applytype.ARG_POS`  

mypy.applytype.ARG_POS was removed in mypy 1.0.0 [pypi.org](https://pypi.org/project/mypy/1.0.0/)
- **Removed** `mypy.applytype.Context.get_column`  

Context.get_column was removed in mypy 1.0.0 [pypi.org](https://pypi.org/project/mypy/1.0.0/)

And 315 more in this version.

### mypy 0.991 breaking changes

mypy 0.991, released November 14, 2022: 8 breaking changes.

- **Signature changed** `mypy.build.BuildSource.__init__`  

Was def \_\_init\_\_(self, path: str | None, module: str | None, text: str | None = None, base_dir: str | None = None) -> None; now def \_\_init\_\_(self, path: str | None, module: str | None, text: str | None = None, base_dir: str | None = None... [pypi.org](https://pypi.org/project/mypy/0.991/)
- **Signature changed** `mypy.dmypy_server.FineGrainedBuildManager.update`  

Was def update(self, changed_modules: list\[tuple\[str, str\]\], removed_modules: list\[tuple\[str, str\]\]) -> list\[str\]; now def update(self, changed_modules: list\[tuple\[str, str\]\], removed_modules: list\[tuple\[str, str\]\], followed: bool = False)... [pypi.org](https://pypi.org/project/mypy/0.991/)

And 6 more in this version.

### mypy 0.990 breaking changes

mypy 0.990, released November 7, 2022: 134 breaking changes.

- **Removed** `mypy.__main__.FancyFormatter.show_error_codes`  

FancyFormatter.show_error_codes was removed in mypy 0.990 [pypi.org](https://pypi.org/project/mypy/0.990/)
- **Removed** `mypy.build.Errors.show_error_codes`  

Errors.show_error_codes was removed in mypy 0.990 [pypi.org](https://pypi.org/project/mypy/0.990/)

And 132 more in this version.

### mypy 0.982 breaking changes

mypy 0.982, released October 3, 2022: 42 breaking changes.

- **Renamed** `mypy.checker.CollectArgTypes`  

Use mypy.checker.CollectArgTypeVarTypes instead. [pypi.org](https://pypi.org/project/mypy/0.982/)
- **Renamed** `mypy.checker.is_overlapping_types_no_promote`  

Use mypy.checker.is_overlapping_types_no_promote_no_uninhabited instead. [pypi.org](https://pypi.org/project/mypy/0.982/)

And 40 more in this version.

### mypy 0.981 breaking changes

mypy 0.981, released September 26, 2022: 148 breaking changes.

- **Removed** `mypy.applytype.get_proper_types`  

mypy.applytype.get_proper_types was removed in mypy 0.981 [pypi.org](https://pypi.org/project/mypy/0.981/)
- **Removed** `mypy.applytype.ProperType`  

mypy.applytype.ProperType was removed in mypy 0.981 [pypi.org](https://pypi.org/project/mypy/0.981/)

And 146 more in this version.

### mypy 0.971 breaking changes

mypy 0.971, released July 19, 2022: 115 breaking changes.

- **Removed** `mypy.main.get_site_packages_dirs`  

mypy.main.get_site_packages_dirs was removed in mypy 0.971 [pypi.org](https://pypi.org/project/mypy/0.971/)
- **Removed** `mypy.modulefinder.expand_site_packages`  

mypy.modulefinder.expand_site_packages was removed in mypy 0.971 [pypi.org](https://pypi.org/project/mypy/0.971/)

And 113 more in this version.

### mypy 0.960 breaking changes

mypy 0.960, released May 25, 2022: 119 breaking changes.

- **Removed** `mypy.build.Errors.copy`  

Errors.copy was removed in mypy 0.960 [pypi.org](https://pypi.org/project/mypy/0.960/)
- **Removed** `mypy.build.Errors.is_real_errors`  

Errors.is_real_errors was removed in mypy 0.960 [pypi.org](https://pypi.org/project/mypy/0.960/)

And 117 more in this version.

### mypy 0.950 breaking changes

mypy 0.950, released April 27, 2022: 58 breaking changes.

- **Removed** `mypy.argmap.Instance.erased`  

Instance.erased was removed in mypy 0.950 [pypi.org](https://pypi.org/project/mypy/0.950/)
- **Removed** `mypy.semanal_main.strict_optional_set`  

mypy.semanal_main.strict_optional_set was removed in mypy 0.950 [pypi.org](https://pypi.org/project/mypy/0.950/)

And 56 more in this version.

### mypy 0.942 breaking changes

mypy 0.942, released March 24, 2022: 3 breaking changes.

- **Signature changed** `mypy.plugins.attrs.add_attribute_to_class`  

Was def add_attribute_to_class(api: SemanticAnalyzerPluginInterface, cls: ClassDef, name: str, typ: Type, final: bool = False, no_serialize: bool = False) -> None; now def add_attribute_to_class(api: SemanticAnalyzerPluginInterface, cls... [pypi.org](https://pypi.org/project/mypy/0.942/)
- **Signature changed** `mypy.plugins.common.add_attribute_to_class`  

Was def add_attribute_to_class(api: SemanticAnalyzerPluginInterface, cls: ClassDef, name: str, typ: Type, final: bool = False, no_serialize: bool = False) -> None; now def add_attribute_to_class(api: SemanticAnalyzerPluginInterface, cls... [pypi.org](https://pypi.org/project/mypy/0.942/)

And 1 more in this version.

### mypy 0.940 breaking changes

mypy 0.940, released March 11, 2022: 89 breaking changes.

- **Removed** `mypy.build.SemanticAnalyzer.check_no_global`  

SemanticAnalyzer.check_no_global was removed in mypy 0.940 [pypi.org](https://pypi.org/project/mypy/0.940/)
- **Removed** `mypy.build.SemanticAnalyzer.enum_has_final_values`  

SemanticAnalyzer.enum_has_final_values was removed in mypy 0.940 [pypi.org](https://pypi.org/project/mypy/0.940/)

And 87 more in this version.

### mypy 0.931 breaking changes

mypy 0.931, released January 7, 2022: 6 breaking changes.

- **Removed** `mypy.plugins.default.detach_callable`  

mypy.plugins.default.detach_callable was removed in mypy 0.931 [pypi.org](https://pypi.org/project/mypy/0.931/)
- **Removed** `mypy.semanal.TypeAnalyser.allow_new_syntax`  

TypeAnalyser.allow_new_syntax was removed in mypy 0.931 [pypi.org](https://pypi.org/project/mypy/0.931/)

And 4 more in this version.

## 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.
