ODK Collect 2026.4.0 beta 5 : digest returns "XPath evaluation: unsupported construct"

1. What is the issue? Please be detailed.

Regression: digest() returns "XPath evaluation: unsupported construct"
ODK Collect 2026.4.0 beta 5
Previously working form now fails
Minimal expression: digest('abc', 'SHA-256', 'hex')

2. What steps can we take to reproduce this issue?

calculate with digest('abc', 'SHA-256', 'hex’)

3. What have you tried to fix the issue?

Reverted to last clean version

**4. Upload any forms or screenshots you can share publicly below.
**

Thanks so much for beta testing and reporting this! We modernized how Collect does code shrinking so that's my primary suspicion. We can reproduce and will hold the release until it's fixed.