<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-mypy-blog-mypy-1-1-1-released-y9p1rk0ej" -->

---
title: The Mypy Blog: Mypy 1.1.1 Released | daily.dev
description: Mypy 1.1.1 adds full support for the dataclass_transform decorator from PEP 681, introduces a dedicated method-assign error code to simplify ignoring...
canonical: https://daily.dev/posts/the-mypy-blog-mypy-1-1-1-released-y9p1rk0ej
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Mypy Blog: Mypy 1.1.1 Released | daily.dev
og:description: Mypy 1.1.1 adds full support for the dataclass_transform decorator from PEP 681, introduces a dedicated method-assign error code to simplify ignoring...
og:url: https://daily.dev/posts/the-mypy-blog-mypy-1-1-1-released-y9p1rk0ej
og:image: https://api.daily.dev/og/posts/y9P1rk0eJ.png
og:image:alt: The Mypy Blog: Mypy 1.1.1 Released
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Mypy Blog: Mypy 1.1.1 Released

**[mypy - Optional Static Typing for Python](https://daily.dev/sources/mypy-lang)** · 4 min read · 0 upvotes · 0 comments

## Summary

Mypy 1.1.1 adds full support for the dataclass_transform decorator from PEP 681, introduces a dedicated method-assign error code to simplify ignoring monkey-patching warnings, and fixes several crashes including issues with walrus operators in comprehensions and value-constrained TypeVars. The release also brings mypyc performance improvements (faster bool comparisons, optimized enter/exit for native classes), new dunder support (__pow__, __divmod__), stubgen and stubtest improvements, and various error message clarifications.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://mypy-lang.blogspot.com/2023/03/mypy-111-released.html>

## Questions this post answers

### Does mypy 1.1.1 support the dataclass_transform decorator from PEP 681?

Yes, mypy 1.1.1 adds full support for the dataclass_transform decorator defined in PEP 681. This lets decorators, base classes, and metaclasses that generate an __init__ method or similar methods, similar to dataclasses, be properly recognized and type-checked by mypy. The feature was contributed by Wesley Collin Wright.

_Track type-checker updates like this one on daily.dev while adopting new typing features in Python projects._

### How do I suppress mypy errors when assigning to a method (monkey patching)?

Disable the method-assign error code, introduced in mypy 1.1.1, either globally or per file. Mypy previously flagged all method assignments under the generic assignment error code, which is still supported for backward compatibility, but method-assign now lets you selectively silence warnings for compatible method signature reassignments.

_Developers tuning mypy error codes can follow release changes like this on daily.dev._

## Similar posts on daily.dev

- [The Mypy Blog: Mypy 2.4 Released](https://daily.dev/posts/the-mypy-blog-mypy-2-4-released-frfrx4bzr) · mypy - Optional Static Typing for Python · 1 upvotes · 0 comments
- [PyCoder’s Weekly](https://daily.dev/posts/pycoder-s-weekly-jt1mjxtie) · Planet Python · 1 upvotes · 0 comments
- [From Scripts to Scale](https://daily.dev/posts/from-scripts-to-scale-z15peccf4) · Simple Thread · 0 upvotes · 0 comments
- [Supercharge your programming skills with Python superpowers](https://daily.dev/posts/supercharge-your-programming-skills-with-python-superpowers-hgoyiiyt7) · InfoWorld · 0 upvotes · 0 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#python](https://daily.dev/tags/python)

[View this post on daily.dev](https://daily.dev/posts/the-mypy-blog-mypy-1-1-1-released-y9p1rk0ej)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Mypy Blog: Mypy 1.1.1 Released","url":"https://daily.dev/posts/the-mypy-blog-mypy-1-1-1-released-y9p1rk0ej","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-mypy-blog-mypy-1-1-1-released-y9p1rk0ej"},"datePublished":"2026-08-23T12:17:25.978Z","dateModified":"2026-08-23T12:24:15.267Z","description":"Mypy 1.1.1 adds full support for the dataclass_transform decorator from PEP 681, introduces a dedicated method-assign error code to simplify ignoring...","image":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","thumbnailUrl":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","isAccessibleForFree":true,"articleSection":"mypy - Optional Static Typing for Python","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"mypy - Optional Static Typing for Python","logo":"https://media.daily.dev/image/upload/logos/placeholder.jpg","url":"https://daily.dev/sources/mypy-lang"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-mypy-blog-mypy-1-1-1-released-y9p1rk0ej","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"general-programming,python","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"mypy - Optional Static Typing for Python","item":"https://daily.dev/sources/mypy-lang"},{"@type":"ListItem","position":3,"name":"The Mypy Blog: Mypy 1.1.1 Released"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/the-mypy-blog-mypy-1-1-1-released-y9p1rk0ej#faq","mainEntity":[{"@type":"Question","name":"Does mypy 1.1.1 support the dataclass_transform decorator from PEP 681?","acceptedAnswer":{"@type":"Answer","text":"Yes, mypy 1.1.1 adds full support for the dataclass_transform decorator defined in PEP 681. This lets decorators, base classes, and metaclasses that generate an __init__ method or similar methods, similar to dataclasses, be properly recognized and type-checked by mypy. The feature was contributed by Wesley Collin Wright. Track type-checker updates like this one on daily.dev while adopting new typing features in Python projects."}},{"@type":"Question","name":"How do I suppress mypy errors when assigning to a method (monkey patching)?","acceptedAnswer":{"@type":"Answer","text":"Disable the method-assign error code, introduced in mypy 1.1.1, either globally or per file. Mypy previously flagged all method assignments under the generic assignment error code, which is still supported for backward compatibility, but method-assign now lets you selectively silence warnings for compatible method signature reassignments. Developers tuning mypy error codes can follow release changes like this on daily.dev."}}]}
```

