Skip to content

fix: support @-target in {computed} for per-iteration values (#140)#142

Merged
rohal12 merged 6 commits intomainfrom
fix/published-types-sync
Mar 27, 2026
Merged

fix: support @-target in {computed} for per-iteration values (#140)#142
rohal12 merged 6 commits intomainfrom
fix/published-types-sync

Conversation

@rohal12
Copy link
Copy Markdown
Owner

@rohal12 rohal12 commented Mar 27, 2026

Summary

Test plan

  • npx vitest run — 1087 tests pass
  • npx tsc --noEmit — typecheck clean
  • Verify {computed @cls = @item.status == 'ok' ? 'green' : 'red'} inside {for} produces per-iteration values
  • Verify {computed _cls = ...} inside {for} still works (last-write-wins, no hang)
  • Verify {computed @cls = ...} outside a local scope logs an error

🤖 Generated with Claude Code

clem and others added 5 commits March 27, 2026 23:42
…ned)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…for} (#140)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…140)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Release preview: merging this PR will publish v0.43.2 (patch bump from v0.43.1)

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 27, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 77.39% 2831 / 3658
🔵 Statements 76.38% 3093 / 4049
🔵 Functions 69% 512 / 742
🔵 Branches 73.31% 1541 / 2102
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/components/macros/Computed.tsx 78.33% 77.5% 100% 81.13% 13, 14, 17-18, 20, 26-28, 35-37, 48-51, 74-78, 111-115
Generated in workflow #218 for commit d8b27c3 by the Vitest Coverage Report Action

@rohal12 rohal12 enabled auto-merge March 27, 2026 16:13
@rohal12 rohal12 merged commit 3b58cd3 into main Mar 27, 2026
5 checks passed
@rohal12 rohal12 deleted the fix/published-types-sync branch March 27, 2026 16:14
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.

1 participant