Releases: safe-global/safe-core-sdk
Releases · safe-global/safe-core-sdk
r40
New Versions
- account-abstraction-kit-poc:
v3.0.0
- api-kit:
v2.4.0
- auth-kit:
v2.0.6
- onramp-kit:
v3.0.5
- protocol-kit:
v4.0.0
- relay-kit:
v3.0.0
- safe-core-sdk-types:
v5.0.0
⚠️ Breaking Changes
protocol-kit
relay-kit
What's Changed
- replace
callsOnly
byonlyCalls
in README by @clemsos in #802 - chore(deps): bump ejs from 3.1.9 to 3.1.10 by @dependabot in #801
- [api kit] Update delegates endpoint to v2 by @leonardotc in #804
- fix(relay-kit): User Operation gas estimation ignored by @yagopv in #812
- Mergeback release to
development
by @dasanra in #818 - feat(protocol-kit): Add Abitype for contract types and use EIP-1193 by @DaniSomoza in #604
- feat(api-kit): 4337 API functions by @tmjssz in #777
New Contributors
Full Changelog: r39...r40
r39
New Versions
- @safe-global/account-abstraction-kit-poc: v2.1.1
- @safe-global/api-kit: v2.3.2
- @safe-global/auth-kit: v2.0.5
- @safe-global/protocol-kit: v3.1.1
- @safe-global/onramp-kit: v3.0.4
- @safe-global/relay-kit: v2.1.1
- @safe-global/safe-core-sdk-types: v4.1.1
What's Changed
Full Changelog: r38...r39
r38
New Versions
- @safe-global/account-abstraction-kit-poc: v2.1.0
- @safe-global/api-kit: v2.3.1
- @safe-global/auth-kit: v2.0.3
- @safe-global/protocol-kit: v3.1.0
- @safe-global/onramp-kit: v3.0.3
- @safe-global/relay-kit: v2.1.0
- @safe-global/safe-core-sdk-types: v4.1.0
What's Changed
- feat: 4337 integration by @yagopv in #693
- fix: migrate api kit tests to sepolia by @leonardotc in #762
- feat(protocol-kit): get modules paginated by @leonardotc in #774
New Contributors
- @leonardotc made their first contribution in #762
Full Changelog: r37...r38
r37
New versions
- @safe-global/account-abstraction-kit-poc: v2.0.3
- @safe-global/api-kit: v2.3.0
- @safe-global/auth-kit: v2.0.3
- @safe-global/protocol-kit: v3.0.2
- @safe-global/onramp-kit: v3.0.2
- @safe-global/relay-kit: v2.0.3
- @safe-global/safe-core-sdk-types: v4.0.2
What's Changed
- feat(api-kit): add ZkSync and ZkEvm service links by @dasanra in #730
- chore: bump safe-deployments by @dasanra in #752
Full Changelog: r36...r37
r36
New Versions
- account-abstraction-kit-poc:
v2.0.2
- api-kit:
v2.2.0
- auth-kit:
v2.0.2
- onramp-kit:
v3.0.1
- protocol-kit:
v3.0.1
- relay-kit:
v2.0.2
- safe-core-sdk-types:
v4.0.1
What's Changed
- chore(deps): bump ip from 2.0.0 to 2.0.1 by @dependabot in #704
- chore(deps): bump undici from 5.28.1 to 5.28.3 by @dependabot in #702
- chore(api-kit): Add Base Sepolia support by @yagopv in #708
- chore: bump safe deployments to v1.33.0 by @dasanra in #716
- Publish release by @dasanra in #717
Full Changelog: r35...r36
Safe{Core} A A SDK Release 35
New Versions
- account-abstraction-kit-poc:
v2.0.1
- api-kit:
v2.1.0
- auth-kit:
v2.0.1
- onramp-kit:
v3.0.0
- protocol-kit:
v3.0.0
- relay-kit:
v2.0.1
- safe-core-sdk-types:
v4.0.0
⚠️ Breaking Changes
protocol-kit
- Rename
signTransactionHash()
tosignHash()
as the parameter is a hash that is not exclusive for transactions.
auth-kit
- Expose an
AuthKitEthereumProvider
instead theEip1193Provider
coming from ethers.
safe-core-sdk-types
- Rename
SafeTransactionEIP712Args
toSafeEIP712Args
as the Args are not exclusive for transactions.
What's Changed
- chore(deps): bump word-wrap from 1.2.3 to 1.2.5 by @dependabot in #618
- feat: add missing
proposer
field toSafeMultisigTransactionWithTransfersResponse
by @pradel in #622 - feat(auth-kit): SafeAuthPack by @yagopv in #575
- Prepare release by @dasanra in #629
- Publish: by @dasanra in #630
- Adjust MoneriumPack to v2.7.2 of @monerium/sdk by @einaralex in #591
- fix(onramp-kit): Some improvement to Monerium PR by @yagopv in #639
- fix(onramp-kit): monerium/sdk now accepts chainId by @einaralex in #642
- chore: Remove test INFURA_KEY by @yagopv in #641
- fix(protocol-kit): Fix memoization issue across different chains in the predict Safe address util by @DaniSomoza in #640
- Update dependencies by @dasanra in #645
- fix(api-kit): pending INFURA_KEY by @dasanra in #646
- fix: use one push for all coverage reports by @dasanra in #648
- feat(protocol-kit): EIP-1271 integration by @yagopv in #556
- chore(deps): bump follow-redirects from 1.15.3 to 1.15.4 by @dependabot in #659
- chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /packages/onramp-kit/example/server by @dependabot in #658
- chore: bump safe-deployments to latest version by @dasanra in #660
- chore: Rename protocol-kit in onramp-kit by @dasanra in #669
- feat(protocol-kit): Improve EIP1271 tests by @yagopv in #668
- chore(deps-dev): bump vite from 4.5.0 to 4.5.2 in /packages/onramp-kit/example/client by @dependabot in #671
- chore(deps-dev): bump vite from 4.5.0 to 4.5.2 in /packages/auth-kit/example by @dependabot in #672
- chore: bump safe deployments to latest version by @dasanra in #675
- chore: bump safe deployments to add base sepolia compatibility by @dasanra in #677
- Prepare release by @dasanra in #667
- Merge release to development by @dasanra in #688
New Contributors
- @pradel made their first contribution in #622
- @einaralex made their first contribution in #591
Full Changelog: r34...r35
Safe{Core} A A SDK Release 34
New Versions
- account-abstraction-kit-poc:
v2.0.0
- api-kit:
v2.0.0
- onramp-kit:
v2.0.0
- protocol-kit:
v2.0.0
- relay-kit:
v2.0.0
- safe-core-sdk-types:
v3.0.0
What's Changed
- refactor(auth-kit): Reduce bundle size
- refactor(protocol-kit): Rename MasterCopy to singleton
- feat(relay-kit): Improve general structure and follow other packs style
- feat: Ethers v6 Migration
- refactor(protocol-kit): createTransaction accepts only array of transactions
- chore: bump safe-deployments to v1.27.0 by @dasanra in #533
- chore(deps): bump get-func-name from 2.0.0 to 2.0.2 by @dependabot in #563
- chore(deps): bump @babel/traverse from 7.21.4 to 7.23.2 by @dependabot in #562
- Chain-specific Safe addresses by @tmjssz in #560
- feat(account-abstraction-kit): unit tests by @tmjssz in #571
- feat: chainId as a BigInt by @DaniSomoza in #570
- feat: upgrade dependencies by @tmjssz in #576
- chore(deps): bump axios from 1.3.3 to 1.6.0 in /packages/onramp-kit/example/server by @dependabot in #580
- fix: safeTxGas estimation parse for Ethers v6 by @DaniSomoza in #584
- chore: cleanup unused dependencies by @dasanra in #585
- fix:
parseSafeTxGasErrorResponse
to improve error handling across providers by @DaniSomoza in #587 - Update parseSafeTxGasErrorResponse for Enhanced Provider Error Handling by @DaniSomoza in #589
- fix decodeSafeTxGas by @DaniSomoza in #592
- fix encodedSafeTxGas by @DaniSomoza in #595
- fix: createTransaction to accept only transactions array by @dasanra in #590
- fix exception handling in signature decoding for Monerium Pack by @DaniSomoza in #599
⚠️ Breaking Changes
api-kit
SafeApiKit
instantiation
// old:
constructor({ txServiceUrl, ethAdapter }: SafeApiKitConfig)
// new:
constructor({ chainId, txServiceUrl? }: SafeApiKitConfig)
- '/api' is not added to the txServiceUrl prop
- Rename type
MasterCopyResponse
toSafeSingletonResponse
- Rename method
getServiceMasterCopiesInfo()
togetServiceSingletonsInfo()
protocol-kit
- Rename
isL1SafeMasterCopy
toisL1SafeSingleton
// old:
SafeFactory.create({ ethAdapter, isL1SafeMasterCopy: true })
// new:
SafeFactory.create({ ethAdapter, isL1SafeSingleton: true })
- EthersAdapter now it's only compatible with ethers v6.
- createTransaction now only accepts array of transactions
// old:
const safeTransactionData = {
to: '',
data: '',
value: '',
nonce: '',
safeTxGas: ''
}
const safeTransaction = protocolKit.createTransaction({ safeTransactionData })
// new:
const safeTransactionData = {
to: '',
data: '',
value: ''
}
const options = {
nonce: '',
safeTxGas: ''
}
const safeTransaction = protocolKit.createTransaction({ [safeTransactionData], options })
account-abstraction-kit (AccountAbstraction class)
- The constructor signer is changed to an
EthAdapter
//old:
const safeAccountAbstraction = new AccountAbstraction(signer)
// new:
const ethAdapter = new EthersAdapter({ ethers, signerOrProvider: signer })
const safeAccountAbstraction = new AccountAbstraction(ethAdapter)
- The
init()
method now is parameterless and creates aprotocolKit
instance with the predicted or current safe address
//old:
async init(options: AccountAbstractionConfig)
//new:
async init()
- We removed the
getSignerAddress()
,getNonce()
,getSafeAddress()
andisSafeDeployed()
methods as they can be accessed from the newprotocolKit
property - The
relayTransaction()
method now returns andunknown
type instead anstring
as we don't know what the relayer pack returns on advance. We were currently assuming the GelatotaskId
async relayTransaction(
transactions: MetaTransactionData[],
options?: MetaTransactionOptions
): Promise<unknown>
relay-kit
- The
GelatoRelayPack
constructor now includes a mandatoryprotocolKit
parameter as we made it required for any new pack extending theRelayKitBasePack
constructor({ apiKey, protocolKit }: GelatoOptions)
-
We removed the
protocolKit
parameter from thecreateTransactionWithHandlePayment()
,createTransactionWithTransfer()
andexecuteRelayTransaction()
methods in theGelatoRelayPack
as we now include it in the constructor -
Removed the type
export interface RelayPack
as we use now an abstract class
New Contributors
Full Changelog: r33...r34
Safe{Core} A A SDK Release 33
New Versions
- account-abstraction-kit-poc:
v1.3.0
- api-kit:
v1.3.1
- auth-kit:
v1.2.1
- onramp-kit:
v1.4.0
- protocol-kit:
v1.3.0
- relay-kit:
v1.3.0
- safe-core-sdk-types:
v2.3.0
What's Changed
- chore: Update links pointing to the Safe docs by @germartinez in #489
- chre: update links pointing to the Safe docs (#489) by @dasanra in #490
- chore: Update onramp example by @yagopv in #488
- feat(relay-kit): make gas limit optional by @dasanra in #414
- feature(onramp-kit): Make
SafeMoneriumClient
public by @yagopv in #493 - chore: Add a README file for the playground by @germartinez in #498
- Improve playground README file (#498) by @dasanra in #499
- fix(protocol-kit): zksync deployment address predict by @dasanra in #509
- feat(relay-kit): Add separate ERC20 transfer for fee payment with non-standard ERC20 tokens by @DaniSomoza in #496
- chore: fix CLA link not working by @dasanra in #513
- fix: Add script to execute the tests by @yagopv in #515
- feat(onramp-kit): Reduce bundle size removing ethers complete package by @yagopv in #518
- Set packages versions by @dasanra in #525
Full Changelog: r32...r33
r27.3
Safe{Core} A A SDK Release 32
New Versions
- account-abstraction-kit-poc:
v1.2.0
- api-kit:
v1.3.0
- auth-kit:
v1.2.0
- onramp-kit:
v1.3.0
- protocol-kit:
v1.2.0
- relay-kit:
v1.2.0
- safe-core-sdk-types:
v2.2.0
What's Changed
- chore: Update safe-deployments v1.26.0 by @germartinez in #482
- Set default Safe version to 1.3.0 by @germartinez in #484
- chore: Update package versions by @germartinez in #485
- Merge
development
intomain
by @germartinez in #483
Full Changelog: r31...r32