All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning starting with the v1.0.0-beta.1 release.
- Classic Swap updated to use V6 API
- Added examples for all Classic Swap endpoints
- When using TransactionBuilder, if no
gas
value is specified in the transaction config,eth_estimateGas
will be used by default
Note: This changelog summarizes all changes since the last changelog version of v0.0.3-developer-preview
- Web3 API added
- Fusion SDK added
- Portfolio API added
- Permit1 support added for Orderbook orders and Aggregator Swaps
- Readme updated to link to all API docs and examples
- Updating Geth version
- Types generation script updated to handle Web3 API spec design
- Normalized and improved SDK examples
- Improved code generation to make optional parameters pointers
- 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)
- 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)
- 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
andPermit1
(Permit2
currently unsupported)
- Users can choose between
- 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.
- 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.
- 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
- All REST endpoints supported
- Get quotes and swap data from the Aggregator Protocol
- Execute swaps onchain from within the SDK