Releases: thirdweb-dev/unity
v4.16.4
What's Changed
- [Cross-Platform] User-passed Transaction Type fixes.
- [WebGL] Fixed parsing error when explicitly setting a Type.
- [Native] The Transaction builder now respects the Type variable. (Priority: explicit gas price or gas fees > type > chain support for 1559.)
v4.16.3
What's Changed
- [Cross-Platform] Added support for ZkCandy Sepolia Smart Wallets, similar to ZkSync support introduced previously.
v4.16.2
What's Changed
- [WebGL] Fixed edge case where passing a single chain with
WalletConnect
in WebGL would sometimes create a session that did not proposeeth_signTypedData_v4
when using certain wallets, potentially causingmethod does not exist
errors. - [Cross-Platform] Added support for new chains.
v4.16.1
What's Changed
- [WebGL] Added support for ZkSync Native Account Abstraction through Smart Wallets.
This feature was introduced for Desktop and Mobile platforms in 4.15.0 and is now available on all platforms!
v4.16.0
What's Changed
- [Native] MetaMask SDK upgraded to 2.0.1, thank you @ecp4224 !
This is a minor update, meaning some structural or api-breaking changes occured. When upgrading, it is best to remove previous SDK files for a smooth importing process, backing up any prefab copies or scripts extending or overriding thirdweb prefabs and scripts.
v4.15.3
v4.15.2
v4.15.1
What's Changed
- [WebGL] Greatly improved contract interaction performance/speed when passed a custom ABI.
- [Native] Fixed edge case where interacting with a contract that has two or more functions of the same name would result in the first function being called or throw.
v4.15.0
What's Changed
Removed all ThirdwebManager
Instance references from internal code, meaning you can now instantiate the ThirdwebSDK
or wrap it more easily in your own scripts.
The above change comes with a few breaking changes, as some code was rewritten and cleaned up to be more efficient and stable as we move towards Unity v5 which will mostly make use of our .NET SDK once cross-platform feature parity is achieved.
Breaking changes include:
Wallet.AuthenticateAndLoginServerSide
is now justAuthenticate
.- The old
Wallet.Authenticate
andWallet.Verify
methods no longer exist as they were not useful client-side. Nethereum.SIWE
,Nethereum.SIWE.Core
andNethereum.GnosisSafe
DLLs have been removed.
- The old
Pay
is no longer static, you must now go throughSDK.Pay.*
Blocks
is no longer static, you must now go throughSDK.Blocks.*
- Raw
Transaction
constructor (not throughContract.Prepare
) now takes in aThirdwebSDK
reference. - Most other raw constructors take in
ThirdwebSDK
or new parameters. - Some
Utils
now require additional parameters.
We still recommend using the ThirdwebManager
if you are not familiar enough with the SDK and the values it expects for different use cases.
Additional Updates
- [Cross-Platform] Added support for new chains.
- [WebGL] Updated bridge.
- [Native] Improved 1559 gas estimation for various chains, and added logic to handle edge cases and fallback gracefully.
- 1559 estimations were previously overriden on some chains, all chains now properly estimate 1559 fees with the exception of Celo.
- This should increase consistency with transaction submission speed and potentially reduce gas costs.
- Added a ceiling for RPC providers that may return overestimate priority fees, making sure to avoid overpaying in such cases.
- [Native] Smart Wallets now "just work" on ZkSync Sepolia and ZkSync Mainnet, all you need is to connect and set
gasless
totrue
.- Unlike other chains, ZkSync Smart Wallets simply "upgrade" your EOA and preserve their address.
- All EOA wallets are supported.
- You may transact gaslessly using ZkSync Smart Wallets on Mainnet and Sepolia using thirdweb infrastructure.
- A client id is needed to enable this feature, make sure you set it in your ThirdwebManager!
This is a minor update, meaning some structural or api-breaking changes occured. When upgrading, it is best to remove previous SDK files for a smooth importing process, backing up any prefab copies or scripts extending or overriding thirdweb prefabs and scripts.
v4.14.1
What's Changed
- [Cross-Platform] Added support for new chains.
- [Cross-Platform] Improved SDK initialization speed when multiple chains are supported.