Releases: safe-global/safe-core-sdk
Releases · safe-global/safe-core-sdk
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
Safe{Core} AA SDK Release 31
New Versions
- account-abstraction-kit-poc:
v1.1.0
- api-kit:
v1.2.0
- auth-kit:
v1.1.0
- onramp-kit:
v1.2.0
- protocol-kit:
v1.1.0
- relay-kit:
v1.1.0
- safe-core-sdk-types:
v2.1.0
- safe-ethers-adapters:
Deprecated
What's Changed
- chore(protocol-kit): update predicted Safe documentation by @germartinez in #423
- chore: update version numbers by @germartinez in #422
- fix(protocol-kit): enable owner resolution for predicted safe by @dasanra in #429
- fix(protocol-kit): safeDeploymentConfig is an optional parameter in PredictedSafeProps by @DaniSomoza in #430
- fix(account-abstraction-kit): use the protocol kit by @DaniSomoza in #431
- feat(onramp-kit): Monerium integration by @yagopv in #372
- chore: set versions by @dasanra in #433
- chore: update playground docs by @germartinez in #437
- fix(protocol-kit): fix standardizeSafeTransactionData for predictedSafe flow by @DaniSomoza in #436
- fix(onramp-kit): Remove onramp-kit peerDeps by @yagopv in #438
- chore: merge
development
tomain
by @dasanra in #434 - chore: fix relay playground types by @germartinez in #441
- fix(protocol-kit): Missing package in readme installation instructions by @yagopv in #440
- doc: Update READMEs by @yagopv in #449
- fix(protocol-kit): add ethers version warning by @germartinez in #453
- refactor: Change SafeAuthKit and SafeOnRampKit classes to base abstract ones by @yagopv in #443
- feat(protocol-kit): Add memoization to the predictSafeAddress util function to enhance its performance by @DaniSomoza in #445
- chore: update Safe{Core} SDK logo by @germartinez in #460
- chore: Update to safe-deployments 1.24 by @octavioamu in #465
- chore(api-kit): Add .env.example file by @germartinez in #461
- chore(safe-ethers-adapters): Remove safe-ethers-adapters package by @germartinez in #471
- feat: Coverage comments by @yagopv in #470
- feature(protocol-kit): Support Safe contracts v1.4.1 by @germartinez in #468
- chore: Update safe-deployments to v1.25.0 by @germartinez in #479
- fix(protocol-kit): Only add executor signature if there are not enough signatures by @schmanu in #472
- chore: Update versions of the packages by @germartinez in #480
- Merge
development
intomain
by @germartinez in #478 - chore: Update cover image by @germartinez in #481
New Contributors
- @octavioamu made their first contribution in #465
- @schmanu made their first contribution in #472
Full Changelog: r30...r31
Safe Core SDK Release 27.2
New Versions
- safe-core-sdk-types v1.9.2
- safe-core-sdk-utils v1.7.4
- safe-core-sdk v3.3.4
- safe-ethers-lib v1.9.4
- safe-service-client v2.0.2
- safe-web3-lib v1.9.4
What's Changed
Full Changelog: r27.1...r27.2
Safe Core SDK Release 30
New Versions
- account-abstraction-kit-poc: v1.0.0
- api-kit: v1.1.0
- auth-kit: v1.0.0
- onramp-kit: v1.0.0
- protocol-kit: v1.0.0
- relay-kit: v1.0.0
- safe-core-sdk-types: v2.0.0
- safe-ethers-adapters: v0.2.0-alpha.0
What's Changed
- docs: update docs and links by @dasanra in #392
- chore: export EthSafeSignature by @germartinez in #405
- chore: update safe-deployments to v1.22.0 by @germartinez in #397
- docs: Add some help for starting the examples by @yagopv in #403
- chore: fix eslint errors by @germartinez in #406
- chore: remove chainId from contracts getters by @germartinez in #402
- fix: TokenInfoListResponse results type by @sirvar in #408
- fix(auth-kit): Remove log causing wallet connection error by @yagopv in #412
- fix!: use type string for uint256 parameters by @dasanra in #404
- feat(protocol-kit): support undeployed Safes by @germartinez in #371
- fix(protocol-kit): relax signer compatible check by @raymondfeng in #373
- feat(auth-kit): Expose the getUserInfo() method from web3auth by @yagopv in #420
- chore: Rename adapters to packs by @yagopv in #416
- Predict safe address util by @DaniSomoza in #415
- docs: update salt nonce param reference in the deploy method by @DaniSomoza in #421
- Merge
development
intomain
by @germartinez in #418 - chore: merge
main
intodevelopment
by @germartinez in #424
New Contributors
- @sirvar made their first contribution in #408
- @raymondfeng made their first contribution in #373
- @DaniSomoza made their first contribution in #415
Full Changelog: r29...r30
Safe Core SDK Release 27.1
New Versions
- safe-core-sdk-types v1.9.1
- safe-core-sdk-utils v1.7.3
- safe-core-sdk v3.3.3
- safe-ethers-adapters v0.1.0-alpha.17
- safe-ethers-lib v1.9.3
- safe-service-client v2.0.1
- safe-web3-lib v1.9.3
What's Changed
Full Changelog: r27...r27.1