Skip to content

Releases: drift-labs/protocol-v2

v2.123.0

18 Jun 22:49

Choose a tag to compare

What's Changed

  • sdk: constants-spot-market-index-53 by @0xbigz in #1655
  • fix: protocol test prettier fix by @LukasDeco in #1658
  • sdk: fix vamm l2 generator base swapped by @0xbigz in #1626
  • program: allow all limit orders to go through swift by @crispheaney in #1661
  • sdk: add optional initSwiftAccount on existing account deposits by @lowkeynicc in #1660
  • program: tests-fee-adjustment-neg-100 by @0xbigz in #1656
  • program: simplify user can skip duration by @0xbigz in #1668
  • program: add taker_speed_bump_override and amm_spread_adjustment by @crispheaney in #1665
  • program: update-amm-spread-and-availability-constraints by @0xbigz in #1663
  • nour/indic-quotes-sender-v2 by @NourAlharithi in #1667
  • sdk: pass margin category into calculateEntriesEffectOnFreeCollateral by @lowkeynicc in #1669

Full Changelog: v2.122.0...v2.123.0

verified build: ddd086dcda5f8009ca19f9d1edbd9959db6199ad3c329638544ce14fff2bcb4a

v2.122.0

06 Jun 17:59

Choose a tag to compare

What's Changed

  • sdk: add filterByPoolId to UserMapConfig by @wphan in #1599
  • swift: check 'will_sanitized' flag on swiftOrderSubscriber by @jordy25519 in #1594
  • Fixed incorrect exponent market symbols by @lukecaan in #1601
  • sdk: fix adminDeposit sdk function by @wphan in #1600
  • sdK: update market index 33 oracle rr by @0xbigz in #1606
  • sdk: high leverage mode updates by @lowkeynicc in #1605
  • getPlaceSignedMsgTakerPerpOrderIxs infer HLM mode from bitflags by @jordy25519 in #1608
  • fix: dehexify in getPlaceSignedMsgTakerPerpOrderIxs by @jordy25519 in #1610
  • sdk: round tick/step size for getVammL2Generateor by @0xbigz in #1612
  • refactor(sdk): update jupiter's api url by @ChesterSim in #1575
  • sdk: constants market-index-45-46 by @0xbigz in #1618
  • robustness check for indicative quotes sender by @NourAlharithi in #1621
  • sdk: bigz/fix-vamm-l2-generator-baseSwapped var assign by @0xbigz in #1622
  • sdk: fix vamm l2 generator base swapped by @0xbigz in #1623
  • sdk: revert vamm l2 gen by @0xbigz in #1624
  • sdk: show protected-asset have zero-borrow-limit by @0xbigz in #1603
  • sdk: market-constants-index-74 by @0xbigz in #1629
  • program: use saturating_sub for number_of_users by @0xbigz in #1616
  • program: allow fixing hlm num users by @crispheaney in #1630
  • sdk: spot-market-poolid-4 constants by @0xbigz in #1631
  • sdk: fix high lev mode liq price by @lowkeynicc in #1632
  • replace deprecated solana install scripts by @wphan in #1634
  • SDK: init swift user orders on user account creation if needed by @LukasDeco in #1448
  • refactor(sdk): use ReturnType for Timeout types by @ChesterSim in #1637
  • auction price sdk fix by @NourAlharithi in #1639
  • program: multi-piecewise-interest-rate-curve by @0xbigz in #1560
  • program: allow hot admin to update market fuel params by @wphan in #1640
  • sdk: check free collateral change in maxTradeSizeUsdcForPerp by @lowkeynicc in #1645
  • refactor(sdk): emit newSlot event on initial subscribe call by @ChesterSim in #1646
  • sdk: spot-market-constants-pool-id-2 by @0xbigz in #1647
  • sdk: add-spot-market-index-52-constants by @0xbigz in #1649
  • program: add existing position fields to order records by @crispheaney in #1614
  • program: check limit price after applying buffer in trigger limit ord… by @crispheaney in #1648
  • program: check limit price when setting auction for limit order by @crispheaney in #1650
  • program: try to fix binary search for max order size by @crispheaney in #1651

Full Changelog: v2.120.0...v2.122.0

verified build hash: 38d6ca86f7e6fcad3b2cb3c0907e01a4a5a5d5f98f1d73d5d4ed0cc4539c3135

v2.120.0

29 Apr 19:12

Choose a tag to compare

What's Changed

Full Changelog: v2.119.0...v2.120.0

v2.119.0

21 Apr 23:31

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.118.0...v2.119.0

v2.118.0

11 Apr 17:10

Choose a tag to compare

What's Changed

  • bitflags idl update by @NourAlharithi in #1556
  • sdk: add-market-constants-market-index-72 by @0xbigz in #1561
  • return bool to represent sanitizing auction params by @NourAlharithi in #1554
  • program: maker trigger market oracle offset and fill with amm faster by @crispheaney in #1564
  • program: improve-perp-validate-check-ref-price-offset by @0xbigz in #1563
  • sdk: deprecate switchboard update function by @wphan in #1567
  • program: add-crossing-start-buffer-auction-to-end-price by @0xbigz in #1568

hash: d3c3b5e7fe075b67f4ad902ce54e3ecd405a52d8472ad278868c1b933a0d7ac5

Full Changelog: v2.117.0...v2.118.0

v2.117.0

31 Mar 23:59

Choose a tag to compare

What's Changed

  • add bitflags to order action records by @NourAlharithi in #1550
  • decode delegate messages by @NourAlharithi in #1548
  • sdk: add-constants-market-index-71 by @0xbigz in #1552
  • more less logs by @jordy25519 in #1551
  • program: add-ref-acct-check-pool-id by @0xbigz in #1553
  • program: fix user stats check for transfer perp pos by @crispheaney in #1557

Full Changelog: v2.116.0...v2.117.0

Hash: 7a968a59d34293880a79e16e2b9d54cd31f7f54a89d7e155d04c31aa8ced25a3

v2.116.0

21 Mar 23:26

Choose a tag to compare

What's Changed

Full Changelog: v2.115.0...v2.116.0

hash: 3d1cf79dbc156f8a4e7b0b77b13014ea0a8204c91006bb012dcbed5f57de99d3

v2.115.0

21 Mar 15:30

Choose a tag to compare

hash: aa7cc2eb9f8be3deb6be9db289293365b9d3ca4fadd50f8c52b365bc55c914bc

What's Changed

  • getPlaceAndTakePerpOrderIx Fix for passing a subAccountId by @AlexRubik in #1532
  • double check array size in getRemainingAccounts by @wphan in #1534
  • Pass Sub Acc Ids by @AlexRubik in #1535
  • Add a crate local msg! macro that can compile out by @jordy25519 in #1523
  • using light sb crank ix by @NourAlharithi in #1536
  • fix: SignedMsgOrderParamsMessage uses OrderParms for property by @LukasDeco in #1513
  • permissionless resize and init signed msg user orders by @NourAlharithi in #1533
  • use proper BN conversion for phoenix + openbook by @NourAlharithi in #1539
  • sdk: account for authority when useMarketLastSlotCache by @wphan in #1541
  • program: new order status logic to make tracking fills easier by @crispheaney in #1512
  • program: init dynamic offset for pmm by @crispheaney in #1524
  • program: force lst pool oracle updates into same slot for liquidations by @crispheaney in #1537
  • program: allow delegate to transfer perp position by @crispheaney in #1538
  • pyth lazer migration by @NourAlharithi in #1540
  • handle ws error and unexpected response by @NourAlharithi in #1544
  • program: correct-reference-price-offset-reserves by @0xbigz in #1516
  • program: minor-user-skip-auction-duration-change by @0xbigz in #1545
  • swift upgrade for delegates by @NourAlharithi in #1546

New Contributors

Full Changelog: v2.114.0...v2.115.0

v2.114.0

20 Mar 23:54

Choose a tag to compare

hash: c3cf50ca5785e8f2fb0eb41f43d738bd5d5cbcb5ce9a727323b2e28adcd6cf07

v2.113.0

07 Mar 01:06

Choose a tag to compare

hash: 512657b250f28c775d89aa7adcd80c281d1fd0200d56f6559f4b9ff91a119cf7