Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prepare release #990

Merged
merged 16 commits into from
Oct 2, 2024
Merged

chore: prepare release #990

merged 16 commits into from
Oct 2, 2024

Commits on Sep 11, 2024

  1. feat: Viem migration + Passkeys (#931)

    * relay-kit: Add viem dependency
    
    * relay-kit: Migrate 4337 related components to viem
    
    * relay-kit: Remove `ethers` dependency
    
    * fix(api-kit): Adjust e1e tests to 4337 bundler client changes
    
    * Revert uses of `Hash`, `Hex` + `Address` types from viem in interfaces
    
    To avoid breaking changes we keep regular `string` types for now and do type casting whenever necessary for calling viem's functions.
    
    * api-kit: Migrate `signDelegate` to viem
    
    * auth-kit: Migrate to viem
    
    * onramp-kit: Migrate to viem
    
    * api-kit: Use WalletClient type with local account for `signDelegate` function
    
    Fix tests for refactored signDelegate function
    
    * api-kit: Improve Safe Delegates response types
    
    * api-kit: Fix `getSafeDelegates` e2e tests
    
    * Feat/viem migration tests (#894)
    
    * relay-kit: Add viem dependency
    
    * relay-kit: Migrate 4337 related components to viem
    
    * playground: Use `generateTransferCallData` function from relay-kit instead of re-implementing it
    
    * Update contracts tests
    
    * fix(relay-kit): hex string conversion for nonce
    
    * fix(protocol-kit): unit tests
    
    * fix(protocol-kit): tests setup
    
    * Fix external signer function
    
    * Fix encoder types mismatch
    
    * Fix modules manager getAddress
    
    * Fix multiple getAddress tests
    
    * Fix erc20 tests
    
    * Fix chain id issue in the contracts
    
    * Fix general encoding for signature verification
    
    * Fix storage test
    
    * Fix provider isContract function
    
    * Fix safe contract calls
    
    * Fix encoding
    
    * Fix decode multisend data
    
    * Fix safetxerrorresponse
    
    * Fix gaslimit test
    
    * Fix legacy transaction options
    
    * Fix signer conversion
    
    * Fix checksummed address
    
    * Fix provider tests v1.2.0
    
    * Fix gas estimation for 1.2.0
    
    * Fix call parameters
    
    * Fix onramp kit
    
    * Api kit fixes
    
    * Remove heap-size parameter
    
    * Remove ethers from onramp kit
    
    * Add comment on global polyfill
    
    * Change encode type conversion
    
    * Fix build after merge
    
    * api-kit: Move `viem` from devDependencies to dependencies
    
    * api-kit: Add `ethers` to devDependencies because it's still needed for tests
    
    * api-kit: Fix import
    
    * api-kit: Fix tests for `addSafeOperation`
    
    * api-kit: Fix e2e tests for `addSafeOperation`
    
    * api-kit: Add `@safe-global/relay-kit` to devDependencies because it's used by the tests
    
    * api-kit: Fix `BrowserProvider` import
    
    * Fix transaction encode test
    
    * Changed paymasterAndData
    
    * fix(api-kit): `confirmSafeOperation` tests
    
    * Fix gas estimation issue
    
    * chore: remove deprecated ethereum utils lib (#884)
    
    * remove @noble/hashes as direct dependency
    
    * Remove ethers from safe-kit
    
    * playground: Migrate scripts to viem
    
    * onramp-kit: Remove ethers from example app
    
    * Add chain to the external signer
    
    * Fix parsing of SafeTxGas estimation from viem error object
    
    * relay-kit: Fix getNonce call in Safe4337Pack
    
    * fix(api-kit): Fix confirmSafeOperation e2e test by making test transaction unique for each test run
    
    * remove public schema from bundler
    
    * refactor: Improve API Kit interoperability playground
    
    * refactor: Improve relay-kit playground scripts
    
    * refactor: Fix wait for transaction being executed in api-kit playground script
    
    Also update script configs to use viem Chain object
    
    * refactor: Update playground scripts to use viem/accounts for private key to address conversion
    
    * Revert protocol kit playground
    
    * Fix wait for receipt in transaction result
    
    * Add comment for import from relay-kit dist folder
    
    * refactor: Move `asBlockId` function to utils
    
    * refactor: Simplify SafeProvider constructor logic
    
    * Fix custom chain support
    
    * feat: Extend SafeProviders externalClient type (#928)
    
    * Extend SafeProvider's external client type to `PublicClient | WalletClient`
    
    * Introduce `ExternalClient` type alias and use it as type for `#externalProvider` in SafeProvider
    
    * With the extended type we need to use viem methods individually from `viem/actions` instead of calling them directly on the client itself
    
    * chore: align api-kit tests
    
    * fix: delegator address not checksummed
    
    * Fix build
    
    * Fix getCode call
    
    * Fixed isSharedSignerPasskey usage
    
    * Fix a couple more tests on protocol kit
    
    * Fix racing condition on modules test
    
    * Fix api kit
    
    * Add ethers to dev deps on api-kit
    
    * Fix pending deployment info
    
    * Fix sponsored transaction rates
    
    * Fix test amount to approve
    
    * Update signature on signing test
    
    * remove Viem dependency from @safe-global/safe-core-sdk-types
    
    * revert unnecessary Viem changes in api-kit playground
    
    * fix: types in tests
    
    * fix isOwner test for v1.0.0
    
    * add getPasskeyOwnerAddress tests
    
    * Add dinamic addresses to the getPasskeyOwnerAddress tests
    
    * add comment to use external util
    
    * chore: cleanup api-kit tests
    
    * fix: set ExternalClient instead of PublicClient type
    
    ---------
    
    Co-authored-by: Daniel Somoza <[email protected]>
    Co-authored-by: Tim <[email protected]>
    Co-authored-by: Daniel <[email protected]>
    Co-authored-by: Yago Pérez Vázquez <[email protected]>
    5 people authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    a7c0bd5 View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump micromatch from 4.0.7 to 4.0.8 (#960)

    Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.7 to 4.0.8.
    - [Release notes](https://github.com/micromatch/micromatch/releases)
    - [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
    - [Commits](micromatch/micromatch@4.0.7...4.0.8)
    
    ---
    updated-dependencies:
    - dependency-name: micromatch
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 11, 2024
    Configuration menu
    Copy the full SHA
    dcc00cd View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. docs: GetSafeMessage and GetSafeOperation ordering (#951)

    * Add jsdoc reference for ordering value
    leonardotc authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    a54339b View commit details
    Browse the repository at this point in the history
  2. chore(deps): bump path-to-regexp from 1.8.0 to 1.9.0 (#970)

    Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 1.8.0 to 1.9.0.
    - [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
    - [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
    - [Commits](pillarjs/path-to-regexp@v1.8.0...v1.9.0)
    
    ---
    updated-dependencies:
    - dependency-name: path-to-regexp
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    fe623ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d91ac8f View commit details
    Browse the repository at this point in the history
  4. feat: Testing kit (#962)

    yagopv authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    0d03508 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cc14332 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    e4126a1 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. chore: Types kit (#973)

    yagopv authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    526a718 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    27c7a45 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    57d3c99 View commit details
    Browse the repository at this point in the history
  2. chore: code cleanup and improvements (#977)

    * chore: avoid multiple network calls for getChainId
    
    * chore: remove local util and use Viem
    
    * chore: cleanup imports and awaits
    
    * chore: improve getChainId and safeVersion cleanup
    
    * chore: optimize getVersion for Safe
    
    * fix: fallback to DEFAULT_VERSION
    
    * fix: catch undeployed Safes
    
    * chore: align safeVersion to use BaseContract
    
    * chore: remove contract getters from SafeProvider
    
    * fix: zksync address predict
    
    * chore: remove runner as contract parameter
    
    * test: separate getContract tests from SafeProvider tests
    
    * chore: remove contract versions from incompatible ones
    dasanra authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2f60640 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    dc602ed View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. feat(protocol-kit): Add deployment functionality to Safe class (#980)

    * feat(protocol-kit): remove SafeFactory
    
    * add getSafeAddressFromDeploymentTx util fn
    
    * remove throw in getAddress
    
    * Add getProxyCreationEvent util fn
    
    * fix: addresses and non-named event parameters
    
    * fix: transaction type conversion
    
    * fix: restore predictSafe tests
    
    * docs: update Safe deployment readme and playground
    
    ---------
    
    Co-authored-by: Daniel <[email protected]>
    Co-authored-by: Yago Pérez Vázquez <[email protected]>
    3 people authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    a6c49eb View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. chore: set release versions and minor fixes (#992)

    * chore: fix leftovers
    
    * chore: remove missing include
    
    * chore: set release versions
    
    * Fix type not exported
    
    ---------
    
    Co-authored-by: Yago Pérez Vázquez <[email protected]>
    dasanra and yagopv authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    f5a8d3d View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    a737450 View commit details
    Browse the repository at this point in the history