Add release notes for 2.4.0 release#1145
Merged
Merged
Conversation
hoxbro
reviewed
May 21, 2026
maximlt
reviewed
May 21, 2026
hoxbro
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Param 2.4.0 brings first-class static typing support to the entire Param ecosystem — all major parameter types now carry precise type information that flows through to your IDE and type checker, with types inferred directly from your existing parameter declarations. The release also adds a
lazymode to reactive expressions (rx) and includes performance optimizations that speed up parameter initialization in large class hierarchies.Many thanks to @philippjfr, @hoxbro and @camriddell for their contributions to this release.
🚀 Features
Parametergenerics (Parameter[_T]) and add typed overloads for all major Parameter subclasses and add typing for public APIs (#1066, #1112, #1130, #1131, #1132, #1134, #1136, #1137, #1141)py.typedPEP 561 marker so type checkers automatically recognize Param's inline annotations without requiring separate stubs (#1066)rx(..., lazy=)argument (#1106)⚡ Performance
Parameterinitialization (#1124)Parameterinstantiation (#1122)__copy__forParameterto speed up instanceParametercreation (#1128)🐛 Bug Fixes
re.searchforparam.Stringregex check (#1142)📚 Documentation
🧪 Tests & CI
tests/assert_types.pywithassert_type()assertions verified in CI (#1066)mypy,pyright,pyrefly, andty(#1066, #1140)zizmorfor GitHub Actions security scanning (#1143)