Skip to content

fix: complain when filter is used on undefined in strict and semi-strict mode#877

Merged
mitsuhiko merged 3 commits intomitsuhiko:mainfrom
wolfv:undefined-filter
Mar 3, 2026
Merged

fix: complain when filter is used on undefined in strict and semi-strict mode#877
mitsuhiko merged 3 commits intomitsuhiko:mainfrom
wolfv:undefined-filter

Conversation

@wolfv
Copy link
Contributor

@wolfv wolfv commented Mar 2, 2026

This fixes #876

AI Disclaimer: Code entirely written by Claude.

wolfv and others added 2 commits March 2, 2026 19:29
Recent maturin versions fail on develop when strip=true is set in pyproject.toml because develop uses debuginfo.

Remove the global strip setting and pass --strip explicitly in wheel release jobs so tests and local development work with latest maturin while keeping release artifacts stripped.
Propagate state-aware argument conversion through Rest<T> and Vec<T>
so undefined values inside nested string conversions no longer coerce
silently under SemiStrict/Strict modes.

Add regression tests for Rest<String> and Vec<String> filter arguments
in strict and semi-strict undefined behavior tests.
@mitsuhiko mitsuhiko merged commit 243bc28 into mitsuhiko:main Mar 3, 2026
21 checks passed
@wolfv
Copy link
Contributor Author

wolfv commented Mar 3, 2026

Thanks! A release would be amazing :)

@wolfv wolfv deleted the undefined-filter branch March 3, 2026 09:30
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.

Error on undefined variables that are the input of a filter

2 participants