Skip to content

Release_Notes

Elnaril edited this page Feb 27, 2026 · 2 revisions

Release Notes

v2.1.0

  • 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

v2.0.0

  • 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

v1.2.1

  • Add support for web3 v7
  • Add support for Python 3.12 & 3.13

v1.2.0

  • 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()

v1.1.0

  • 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

v1.0.1

  • fix #35 - SDK fails to decode input data when there is too many commands
  • update README
  • update project configuration

v1.0.0

  • 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

v0.9.1

  • 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.

v0.9.0

  • 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.

v0.8.0

  • Breaking changes because of refactoring
  • Command chaining extension: all supported UR functions can now be chained in a single transaction

v0.7.1

  • Fix issue #1 - v3 path decoding fails for paths starting with 0

v0.7.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

v0.6.0

  • 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

v0.5.5

Backported fix done after v1.0.1

  • Backport fix #35 - SDK fails to decode input data when there is too many commands

v0.5.4

Backported fix done after v1.0.0

  • Backport fix for decoding issue #28

v0.5.3

Backported fix done after v0.7.0

  • Fix issue #1 - v3 path decoding fails for paths starting with 0

v0.5.2

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

v0.5.1

Backported fix done after v0.6.0

  • Fix V3_SWAP_EXACT_OUT ABI on V0.5 branch

v0.5.0

  • Add a public method to encode swaps on V3 (exact in)

v0.4.0

  • Add 2 public methods to encode eth wrapping through the UR, and swap on V2 (exact in): WRAP_ETH & V2_SWAP_EXACT_IN

v0.3.0

  • Add a method to decode Uniswap V3 swap paths

v0.2.0

  • Decode:
    • V2 Swaps
    • V3 Swaps
    • ETH Wrap
    • WETH Unwrap

Clone this wiki locally