-
-
Notifications
You must be signed in to change notification settings - Fork 64
Release_Notes
Elnaril edited this page Feb 27, 2026
·
2 revisions
- Add support for PERMIT2_PERMIT_BATCH
- Add support for PERMIT2_TRANSFER_FROM_BATCH
- Refactor all integration tests to use Anvil i/o Ganache
- Replace typing features deprecated since Python 3.9
- Get test coverage back to 100%
- Refactor ABI builder
- Add support for Python 3.14
- Add support for V4 functions and features:
- V4_INITIALIZE_POOL
- V4_POSITION_MANAGER_CALL
- MINT_POSITION
- SETTLE
- SETTLE_PAIR
- CLOSE_CURRENCY
- WRAP
- UNWRAP
- TAKE_PAIR
- CLEAR_OR_TAKE
- TAKE
- V4_SWAP
- SWAP_EXACT_IN_SINGLE
- SWAP_EXACT_IN
- SWAP_EXACT_OUT_SINGLE
- SWAP_EXACT_OUT
- SETTLE
- SETTLE_ALL
- TAKE_ALL
- TAKE_PORTION
- TAKE
- Pool Key, Path and Id encoding
- Add support for PERMIT2_TRANSFER_FROM
- Custom contract error decoding
- Encoding refactoring
- Remove support for Python 3.8
- Update repository picture
- Update default router address to Mainnet's one
- Add integration tests for V4 functions
- Add support for web3 v7
- Add support for Python 3.12 & 3.13
- Add compute_gas_fees(): utility function to compute gas fees
- Add build_transaction() method: It's now possible to build the full transaction i/o just the input data.
- Add fetch_permit2_allowance(): Easy way to check the current Permit2 allowed amount, expiration and nonce.
- Make verifying contract (Permit2) configurable (Thanks to @speedssr and @freereaper)
- Replace deprecated eth_account.encode_structured_data() with eth_account.messages.encode_typed_data()
- Add support for the TRANSFER function
- Add support for decoding the "revert on fail" flag and prepare for encoding on UR functions that support it.
- Add support for encoding the execute() function without deadline
- fix #35 - SDK fails to decode input data when there is too many commands
- update README
- update project configuration
- Add support for SWEEP and PAY_PORTION
- Fix decoding issues
- Remove useless parameter payer_is_sender from v*_swap_exact_in_from_balance() methods
- Update Router ABI
- Add uint48 and uint160 in ABI builder
- Fix lint error
- Change v*_swap_exact_in_from_balance payer_is_sender default to False. This parameter will be removed in the next version.
- Add support for UNWRAP_WETH encoding (close ticket #7)
- Add v2_swap_exact_in_from_balance() and v3_swap_exact_in_from_balance(): 2 convenient methods which are used when the exact in_amount is not known when the transaction is built, typically chained after a V*_SWAP_EXACT_IN.
- Breaking changes because of refactoring
- Command chaining extension: all supported UR functions can now be chained in a single transaction
- Fix issue #1 - v3 path decoding fails for paths starting with 0
- Add support for encoding V2_SWAP_EXACT_OUT
- Add support for encoding V3_SWAP_EXACT_OUT
- Fix V3_SWAP_EXACT_OUT ABI
- Fix typos in README
- Breaking changes: use Web3.py v6 i/o v5
- Add support for the PERMIT2_PERMIT function
- Add support for chaining PERMIT2_PERMIT and V2_SWAP_EXACT_IN in the same transaction
Backported fix done after v1.0.1
- Backport fix #35 - SDK fails to decode input data when there is too many commands
Backported fix done after v1.0.0
- Backport fix for decoding issue #28
Backported fix done after v0.7.0
- Fix issue #1 - v3 path decoding fails for paths starting with 0
Backported features and fixes done after v0.6.0
- Add support for V2_SWAP_EXACT_OUT
- Add support for V3_SWAP_EXACT_OUT
- Fix some typos in README
Backported fix done after v0.6.0
- Fix V3_SWAP_EXACT_OUT ABI on V0.5 branch
- Add a public method to encode swaps on V3 (exact in)
- Add 2 public methods to encode eth wrapping through the UR, and swap on V2 (exact in): WRAP_ETH & V2_SWAP_EXACT_IN
- Add a method to decode Uniswap V3 swap paths
- Decode:
- V2 Swaps
- V3 Swaps
- ETH Wrap
- WETH Unwrap
If you find this library useful, consider a donation and be part of the Supporter Community! :)
- ☕️☕️☕️ https://www.buymeacoffee.com/elnaril ☕️☕️☕️
- Ethereum compatible: 0xe32A121C89121bF8B829D6d88BBEA89e5d88f002
- Sponsoring: https://github.com/sponsors/Elnaril
Thank you to all supporters!! 🙏
Also, consider ⭐ starring ⭐ the repository and following the GitHub account and/or 𝕏 to get the next lib updates!