Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 3.07 KB

CHANGELOG.md

File metadata and controls

53 lines (40 loc) · 3.07 KB

Release(March 9, 2024)

Tag: v0.0.3-developer-preview

New Features and Enhancements:

  • All non-global query configurations have been moved to the request-level params (PR)
    • RPC providers for all chains will now be defined/set at SDK startup
  • Query parameters now use concrete types instead of pointers (PR)
  • Limit orders created within the SDK now support auto-expiration (PR)
  • Permit1 properly supported for limit orders when possible (fallback to Approval if Permit1 does not work) (commit)
  • When creating a limit order, integrators can error out when an approval is needed. This is useful for integrators who want all onchain actions to be performed manually by their users (PR)

Optimizations and Bug Fixes:

  • Tenderly forks are cleaned up automatically at the beginning of each test run (PR)
  • Validation pattern for swagger-generated input params is now fully handled on all endpoints (PR)
  • Project-wide validation scripts added to verify validation logic standards (PR)

Release(January 23, 2024)

Tag: v0.0.2-developer-preview

New Features and Enhancements:

  • Added Tenderly support for e2e swap tests
    • e2e tests will now create forks, apply state overrides, and run simulations when a Tenderly API key is provided.
  • Added approval type selection
    • Users can choose between Approve and Permit1 (Permit2 currently unsupported)
  • Implemented nonce cache to address RPC lag
    • Once a wallet has posted a transaction, the nonce of that transaction is tracked and incremented internally by the SDK.

Optimizations and Bug Fixes:

  • Updated orderbook to use string inputs instead of integers to support all of uint256.
  • Increased gas limit and reduced permit duration to improve transactions success and debugging.
  • Moved Actions into a service within the main client to consolidate SDK structure.
  • Simplified tests and refactored onchain actions to have more uniformity across the library.

Release(January 15, 2024)

Tag: v0.0.1-developer-preview

New Features and Enhancements:

Limit Order support

  • Enables posting orders to the 1inch Limit Order Protocol
  • Enables reading orders from the 1inch Limit Order Protocol
  • Most endpoints from the Limit Order API supported
    • has-active-orders-with-permit REST endpoint still untested

Aggregator Protocol support

  • All REST endpoints supported
  • Get quotes and swap data from the Aggregator Protocol

Onchain execution support

  • Execute swaps onchain from within the SDK