Skip to content

Releases: safe-global/safe-core-sdk

r39

15 May 16:34
98ccbdf
Compare
Choose a tag to compare

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

  • chore: bump safe-deployments to v1.36.0 by @dasanra in #817

Full Changelog: r38...r39

r38

30 Apr 15:31
0bc0515
Compare
Choose a tag to compare
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

New Contributors

Full Changelog: r37...r38

r37

30 Apr 15:29
afd53e8
Compare
Choose a tag to compare
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

28 Feb 14:59
d6e2fe9
Compare
Choose a tag to compare
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

Full Changelog: r35...r36

Safe{Core} A A SDK Release 35

06 Feb 09:44
6bb692d
Compare
Choose a tag to compare

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() to signHash() as the parameter is a hash that is not exclusive for transactions.

auth-kit

  • Expose an AuthKitEthereumProvider instead the Eip1193Provider coming from ethers.

safe-core-sdk-types

  • Rename SafeTransactionEIP712Args to SafeEIP712Args 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 to SafeMultisigTransactionWithTransfersResponse 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

Full Changelog: r34...r35

Safe{Core} A A SDK Release 34

27 Nov 15:10
e587f6c
Compare
Choose a tag to compare

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

⚠️ 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 to SafeSingletonResponse
  • Rename method getServiceMasterCopiesInfo() to getServiceSingletonsInfo()

protocol-kit

  • Rename isL1SafeMasterCopy to isL1SafeSingleton
// 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 a protocolKit instance with the predicted or current safe address
//old:
async init(options: AccountAbstractionConfig)

//new:
async init()
  • We removed the getSignerAddress(), getNonce(), getSafeAddress() and isSafeDeployed() methods as they can be accessed from the new protocolKit property
  • The relayTransaction() method now returns and unknown type instead an string as we don't know what the relayer pack returns on advance. We were currently assuming the Gelato taskId
async relayTransaction(
    transactions: MetaTransactionData[],
    options?: MetaTransactionOptions
  ): Promise<unknown>

relay-kit

  • The GelatoRelayPack constructor now includes a mandatory protocolKit parameter as we made it required for any new pack extending the RelayKitBasePack
constructor({ apiKey, protocolKit }: GelatoOptions)
  • We removed the protocolKit parameter from the createTransactionWithHandlePayment(), createTransactionWithTransfer() and executeRelayTransaction() methods in the GelatoRelayPack 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

30 Nov 10:56
4d1c0e1
Compare
Choose a tag to compare

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

17 Aug 14:54
725f473
Compare
Choose a tag to compare

New Versions

  • safe-ethers-adapters v0.1.0-alpha.19
  • safe-core-sdk v3.3.5
  • safe-service-client v2.0.3

What's Changed

Safe{Core} A A SDK Release 32

13 Jul 12:16
12924e5
Compare
Choose a tag to compare

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

Full Changelog: r31...r32

Safe{Core} AA SDK Release 31

12 Jul 20:07
9abeac6
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: r30...r31