Skip to content

Some changelog updates for 2.0#21413

Merged
JukkaL merged 5 commits intomasterfrom
changelog
May 5, 2026
Merged

Some changelog updates for 2.0#21413
JukkaL merged 5 commits intomasterfrom
changelog

Conversation

@JukkaL
Copy link
Copy Markdown
Collaborator

@JukkaL JukkaL commented May 5, 2026

Add a few sections about major changes, and some minor editing.

Copy link
Copy Markdown
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple optional suggestions for clarifications.

Comment thread CHANGELOG.md

Mypy now supports experimental parallel and incremental type checking. Use `--num-workers N`
or `-nN` to use `N` worker processes to type check in parallel. The speedup depends on the
import structure of your codebase and your environment, but for large projects we've seen
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe specifically mention that large import cycles will significantly limit the parallelism?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I though about this, but we do pretty well even with fairly large import cycles. It starts to be a real problem if half the codebase is in a single import cycle, but I don't want to discourage users with large but not excessively so import cycles.

Comment thread CHANGELOG.md Outdated
```

You can still use `--allow-redefinition-old` to fall back to the old behavior. We have no
plans to remove the legacy behavior.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe say that the new beahviour is recommended, while the old one will be maintained on the best effort basis? (Assuming this is what we want.)

@JukkaL JukkaL merged commit 472d034 into master May 5, 2026
2 checks passed
@JukkaL JukkaL deleted the changelog branch May 5, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants