v16.0.0-rc.2
Pre-release
Pre-release
v16.0.0-rc.2
Changed
- Soroban auth defaults back to the legacy
SOROBAN_CREDENTIALS_ADDRESS(V1) credential, with the CAP-71SOROBAN_CREDENTIALS_ADDRESS_V2credential now available behind an opt-in instead of forced on.ADDRESS_V2is only valid on networks that have upgraded to protocol 27, so emitting it before upgrading would fail submission; the opt-in keeps the default safe while letting you exercise V2 against networks that already support it. The default will flip to V2 in protocol 28. (#1450)rpc.Server.simulateTransactiongained a 4th optional argument,authV2(defaultfalse). Whentrue, theauthV2request flag is sent so simulation returnsADDRESS_V2auth entries; otherwise the flag is omitted and legacyADDRESSentries are returned.authorizeInvocationgained an optionalauthV2field on its params object (defaultfalse) selecting betweenADDRESSandADDRESS_V2credentials.contract.Client/AssembledTransactionacceptauthV2inMethodOptions, threaded through to simulation.
Fixed
- Resolved a performance regression in Keypair.random() #1449.
Note: the rpc.Server.simulateTransaction authV2 argument and theMethodOptions.authV2 option were removed before the v16.0.0 final release — authV2 on authorizeInvocation is the supported opt-in. See v16.0.0 above.