Upgrading solana-program 3 to 4
Breaking3.0.0 → 4.1.0Breaking1New3
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Code that matches on these enums must now handle unknown future variants.
Must act 1 item needs code or config changes
Rust requirement changed in 4.1.0: 1.81.0 → 1.89.0.
What you must change
Breaking1
Marks enums non-exhaustive, so downstream matches must add a wildcard arm.