Releases: drift-labs/protocol-v2
v2.139.0
What's Changed
- program: init-delegated-if-stake by @0xbigz in #1859
- program: auction-order-params-on-slow-fast-twap-divergence by @0xbigz in #1882
- program: add invariant for max in amount by @crispheaney in #1825
- Jack/add laserstream client by @jackwaller in #1900
- sdk: add market index 76 to constant by @0xbigz in #1901
- sdk: fix ui build by @lowkeynicc in #1902
- sdk: update aster config by @lowkeynicc in #1903
- Revert "Revert "Crispeaney/revert swift max margin ratio"" by @wphan in #1907
- Revert "Revert "Revert "Crispeaney/revert swift max margin ratio""" by @wphan in #1910
- more robust isDelegateSigner for swift orders by @moosecat2 in #1912
- program: update-resolve-perp-pnl-pool-validate by @0xbigz in #1909
- program: add immutable owner support for token 22 vaults by @crispheaney in #1904
- sdk: tweak math for filling triggers by @crispheaney in #1880
- program: allow delegate to update user position max margin ratio by @crispheaney in #1913
- update SwiftOrderMessage type for missing fields by @jordy25519 in #1908
- update devnet market constants by @wphan in #1914
- program: deposit into if stake from admin by @crispheaney in #1899
- program: comment out unused ix by @crispheaney in #1911
Full Changelog: v2.138.0...v2.139.0
verified build hash: 598667b1c2191290d7d2f60e21dee824a2b8fd7acd4ef789a62341e80017526d
v2.138.0
What's Changed
- add hlmm to decodeUser by @lowkeynicc in #1881
- chore: add laserstream client by @jackwaller in #1879
- chore: rename lazer -> laser by @jackwaller in #1886
- Jack/revert laserstream by @jackwaller in #1887
- feat: pin deps away from mal packages by @LukasDeco in #1858
- Revert "Crispeaney/revert swift max margin ratio" by @wphan in #1877
- add lp events for evnet subscriber by @NourAlharithi in #1892
- token 22 scaled ui support by @crispheaney in #1894
- swift depositTrade in subscriber by @jordy25519 in #1844
- program: tweak ResizeSignedMsgUserOrders by @crispheaney in #1898
New Contributors
- @jackwaller made their first contribution in #1879
Full Changelog: v2.137.0...v2.138.0
verified build hash: abe1c418411ec1e3da6a3f3cad30c912b5bf1171093ca8a2cc5791a5d94de45d
v2.137.0
What's Changed
- program: rm lp by @crispheaney in #1755
- program: add updated swift message by @wphan in #1845
- program: add max margin ratio per position by @crispheaney in #1847
- lukas/per market lev by @LukasDeco in #1862
- program: add max margin ratio to swift message by @crispheaney in #1860
- Crispeaney/revert swift max margin ratio by @crispheaney in #1874
- add helper to build swiftDepositTrade tx by @jordy25519 in #1868
- sdk: add optional maintenance arg to disable hlm ix by @lowkeynicc in #1869
- make mm oracle sequence id based by @NourAlharithi in #1834
- program: fix-fee-validate-different-denoms by @0xbigz in #1876
- program: make it easer to fill min order size orders by @crispheaney in #1799
- program: apply reduce only logic for post only orders by @crispheaney in #1878
Full Changelog: v2.136.0...v2.137.0
hash: adf81e3238d1528919d7f3109adfb3e34952d9c546b4f3851b2fbe57dc9e8d0b
v2.136.0
What's Changed
- lukas/websocket improvements by @LukasDeco in #1807
- sdk: while valid tx sender memory leak fix by @NourAlharithi in #1835
- [ FIX ]
posaune0423/fix tx fee payerby @posaune0423 in #1837 - sdk: add constant for spot market index 58 by @0xbigz in #1840
- Revert "[ FIX ]
posaune0423/fix tx fee payer" by @wphan in #1841 - Add buildDepositAndPlaceSignedMsgOrderRequest helper for swift deposi… by @jordy25519 in #1839
- program: update-ref-fee-validate-rules by @0xbigz in #1843
New Contributors
- @posaune0423 made their first contribution in #1837
Full Changelog: v2.135.0...v2.136.0
hash: 7e36f66f00b8b669cb1b9c8e4e3725d29fd7083e28e17ba8b4fd5e4a7426f195
v2.135.0
What's Changed
- refactor(sdk): add zod as dependency by @ChesterSim in #1820
- mm oracle sdk change by @NourAlharithi in #1806
- refactor(sdk): add update delegate ix method, ovrride authority for settle multiple pnl by @ChesterSim in #1822
- mm oracle sdk additions by @NourAlharithi in #1824
- add strict typing for getPrice and new auction trigger function by @NourAlharithi in #1826
- sdk: handle unfillable reduce only orders by @wphan in #1790
- ref price offset amm math fix by @NourAlharithi in #1828
- latest slot as argument to getL2 by @NourAlharithi in #1829
- program: trigger price use 5min mark price by @crispheaney in #1830
Full Changelog: v2.134.0...v2.135.0
verified build: c9430db6e1f9a4084b04aedc6ea00b6c4169432e3f358c1abfdde24420da983e
v2.134.0
What's Changed
- sdk: add spot-market-index-57 to constants by @0xbigz in #1815
- lazer oracle migration by @NourAlharithi in #1813
- feat: option for custom oracle ws subscriber by @LukasDeco in #1814
- program: settle pnl invariants by @crispheaney in #1812
- program: add_update_perp_pnl_pool by @crispheaney in #1810
- program: update-mark-twap-integer-bias by @0xbigz in #1783
- program: update-fee-tier-determine-fix5 by @0xbigz in #1800
- program: update-mark-twap-crank-use-5min-basis by @0xbigz in #1769
- program: update-min-margin-const-limit by @0xbigz in #1802
- program: rm-burn-lp-shares-invariant by @0xbigz in #1816
Full Changelog: v2.133.0...v2.134.0
verified build hash: b9663641229a846e6060b1401eb13dda272f43b0b03b1a75a4ca6432a4b9daed
v2.133.0
What's Changed
- program: amm-spread-inventory-spread-adj-base-spread-lb by @0xbigz in #1803
- program: always fail settle pnl even if try_settle used by @crispheaney in #1809
Full Changelog: v2.132.0...v2.133.0
verified build hash: c80dcb3334ec0d2e975a3733c08e0fe00737c20338d70d2cf6e0f9f0dbb5d3fb
v2.132.0
v2.131.1
What's Changed
- Add lint for index imports by @ChesterSim in #1787
- sdk: revert grpc account subscribers to v2.126.0-beta.0 by @wphan in #1789
- lukas/gill websocket sub by @LukasDeco in #1781
- fix: ws v2 subscriber hangs on async iterable loop by @LukasDeco in #1793
- fix: websocket order subscriber using v2 too soon by @LukasDeco in #1794
- sdk: enter-high-leverage-mode-false by @0xbigz in #1791
- refactor(sdk): allow user client input for cancel orders by @ChesterSim in #1797
- program: relax fill validation for spot/swap by @crispheaney in #1796
- bigz/determine-fee-tier-update by @0xbigz in #1792
- program: update-fee-tier-validates by @0xbigz in #1798
Full Changelog: v2.130.0...v2.131.1_0
verified build: 4bba9ab64f98c55e50c9d4dd8521ee722d70d2069c8eb5e0a3951a4166639c78
v2.130.0
What's Changed
- sdk: add detailed subscription log name by @wphan in #1773
- sdk: add more ws reconnect checks and logs by @wphan in #1774
- program: add-high-leverage-maintenance-mode by @0xbigz in #1759
- Remove barrel imports from SDK by @ChesterSim in #1777
- Nour/mm oracle 2 by @crispheaney in #1767
- Improve circular dependencies 1 by @ChesterSim in #1776
- Improve Circular Dependencies 2 by @ChesterSim in #1778
- Remove Circular Dependencies 3 by @ChesterSim in #1779
- vamm l2 oracle changes by @NourAlharithi in #1780
- program: stop counting reduce only orders to open bids/asks by @crispheaney in #1746
- Nour/validate fill change by @NourAlharithi in #1772
- sdk: revert drift interface by @crispheaney in #1784
- sdk: restore grpc disconnect default behavior by @wphan in #1782
- program: trigger price based on oracle and basis by @crispheaney in #1716
Full Changelog: v2.129.0...v2.130.0
verified build hash: 20e7a51008fd8a015b07a2d7742d52ef1d6866a49a480bfb0749b664fd3873ca