Skip to content

Version Packages#484

Open
opgitgovernance wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#484
opgitgovernance wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@opgitgovernance

@opgitgovernance opgitgovernance commented May 27, 2026

Copy link
Copy Markdown
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@eth-optimism/actions-sdk@0.8.0

Minor Changes

  • #489 eafff2c Thanks @its-everdred! - Add AaveBorrowProvider for Aave V3 borrow markets.

    • Registers aave in BORROW_PROVIDER_NAMES and config.borrow.aave, and
      exports AaveBorrowProvider from the SDK entry point.
    • Adds an aave-v3 variant to BorrowMarketId / BorrowMarketConfig, with a
      synthetic market id derived from (chainId, collateralReserve, debtReserve)
      since Aave has no params-hash market id.
    • Models a borrow market as the synthetic (collateral, debt) reserve pair on a
      shared Aave Pool: reads come from getReserveData / getUserAccountData and
      the specific reserve token balances via multicall; writes build Pool.borrow
      / repay / supply / withdraw calldata, with native ETH routed through the
      WETH gateway and full repays using type(uint256).max.
    • Hoists the shared Aave addresses and Pool ABI to actions/shared/aave/ so
      both the lend and borrow providers consume one cross-domain home.

    Types note: BorrowMarketId and BorrowMarketConfig widen from a single shape
    into a discriminated union over kind (morpho-blue | aave-v3). This is a
    source-level type change for consumers that constructed those types without a
    kind or read marketParams without narrowing first; it ships under a minor
    because the borrow surface is pre-1.0 and still landing incrementally.

  • #490 7cfe1e2 Thanks @its-everdred! - Drop the redundant borrowProvider and lendProvider fields from
    BorrowMarketConfig. The kind discriminant already routes a market to its
    provider, so the provider name no longer needs to be stored on every market
    config. The CLI derives the display provider name from kind via the new
    exported borrowProviderForKind(kind) helper.

  • #458 b07e295 Thanks @its-everdred! - Add SDK borrow namespace with Morpho Blue support.

    • actions.borrow.getMarket/getMarkets/getPosition and
      wallet.borrow.openPosition/closePosition/depositCollateral/withdrawCollateral/repay
      expose a borrow surface mirroring the existing lend and swap namespaces.
    • MorphoBorrowProvider ships the read side via raw multicall against
      Morpho Blue with results passed through Morpho's Market /
      AccrualPosition for health-factor and liquidation-price math, and
      the write side via hand-rolled supplyCollateral / borrow / repay /
      withdrawCollateral calldata.
    • Pre-built BorrowQuote flow mirrors swap's QUOTE_DISCRIMINATOR pattern,
      with recipient binding, expiration, and chain/market id validation
      before dispatch.
    • Standalone computeMorphoMarketId / verifyMorphoMarketId helpers
      enable config-time sanity checks; provider constructor throws
      BorrowMarketParamsMismatchError when configured marketId doesn't
      match the configured MarketParams.
    • New BorrowSettings (default approvalMode: 'exact', default
      quoteExpirationSeconds: 30, default healthBufferPct: 0.05) and
      BorrowConfig types.
    • New MockBorrowProvider for downstream backend/frontend test suites.
  • #466 338f38e Thanks @its-everdred! - Fix Morpho borrow position collateral accounting for pledged vault shares
    and frontend-wallet borrow position reads.

    • BorrowMarketPosition exposes the raw on-chain collateral balance as
      collateralShares (vault shares for vault-wrapped collateral). The SDK no
      longer derives or formats an underlying-asset collateral amount: the
      collateralAmount, collateralAmountFormatted, and collateralSharesFormatted
      fields are removed. Consumers that need an underlying display amount convert
      vault shares themselves via the vault's convertToAssets.
    • WalletBorrowNamespace gains a public getPosition(params) method
      that binds the recipient to the wallet address.
  • #520 287bad7 Thanks @its-everdred! - Pin signing-path dependency ranges and make vendor SDKs optional/lazy.

    Hardens the published manifest so a consumer's fresh install resolves the same
    signing-path graph CI tests against, and so single-vendor consumers stop pulling
    vendor SDKs they never use. No runtime behavior change.

    • viem is now a required peerDependency (>=2.33.0 <2.34.0) instead of a
      bundled dependency. Action required for consumers: install viem@2.33.x
      alongside the SDK.
      This lets the consumer dedupe to a single viem across
      the smart-wallet CREATE2 / UserOp path, where the deterministic
      funds-receiving address is delegated to viem account-abstraction internals.
    • Signing-path runtime deps pinned to the CI-tested band: permissionless,
      @morpho-org/blue-sdk, @morpho-org/blue-sdk-viem, @morpho-org/morpho-ts.
      The tight >=tested <next-minor ranges are deliberate (not the repo's default
      caret style): the Morpho marketId/calldata math and the viem CREATE2 address
      are fund-safety-bearing, and an in-range minor bump can shift them silently.
    • All 10 hosted-wallet vendor SDKs are now peerDependenciesMeta.optional with
      upper-bounded ranges (>=x <next-major), so a Turnkey-only or Local-only
      integrator is no longer told they are missing 9 packages, and a future
      breaking vendor major is no longer silently accepted into the signing path.
    • The node/react wallet barrels re-export PrivyHostedWalletProvider,
      PrivyWallet, and DynamicWallet as type-only exports. Providers are
      still constructed lazily via the hosted-wallet registry with provider type
      privy; only the eager runtime re-export, which pulled
      @privy-io/node / @dynamic-labs/ethereum into every consumer's import graph
      is removed. Direct new PrivyHostedWalletProvider(...) from the SDK root was
      never the supported construction path.

Patch Changes

  • #518 d296846 Thanks @its-everdred! - Consolidate the SDK Anvil fork-test harness behind one network test utility surface.

  • #517 42323a6 Thanks @its-everdred! - Clamp swap slippage validation to finite values in [0, 1) and reuse
    provider-derived slippage bounds when encoding Uniswap calldata.

  • #500 3c554c1 Thanks @its-everdred! - Fix Velodrome universal router swaps to encode the requested output recipient and keep allowance checks bound to the executing wallet.

actions-cli@0.3.1

Patch Changes

@eth-optimism/actions-service@0.2.4

Patch Changes

actions-ui@0.2.4

Patch Changes

@opgitgovernance opgitgovernance requested a review from a team as a code owner May 27, 2026 21:36
@netlify

netlify Bot commented May 27, 2026

Copy link
Copy Markdown

Deploy Preview for actions-ui ready!

Name Link
🔨 Latest commit cea2c15
🔍 Latest deploy log https://app.netlify.com/projects/actions-ui/deploys/6a3f12bb750471000879ddae
😎 Deploy Preview https://deploy-preview-484--actions-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@opgitgovernance opgitgovernance force-pushed the changeset-release/main branch 3 times, most recently from 56a8226 to 4ba5f8f Compare June 3, 2026 21:40
@opgitgovernance opgitgovernance force-pushed the changeset-release/main branch 4 times, most recently from ce21ebf to 37e07b4 Compare June 17, 2026 18:44
@opgitgovernance opgitgovernance force-pushed the changeset-release/main branch 5 times, most recently from 4862d31 to fc8e000 Compare June 26, 2026 22:37
@opgitgovernance opgitgovernance force-pushed the changeset-release/main branch from fc8e000 to cea2c15 Compare June 27, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant