Releases: drift-labs/protocol-v2
v2.148.0
What's Changed
- pyth lazer zero guard by @moosecat2 in #2023
- add conditional decoding for ConstituentMap by @lowkeynicc in #2022
- dlp admin update fee transfer scalars by @moosecat2 in #2024
Full Changelog: v2.147.0...v2.148.0
verified build hash: 643aad4acd09f4290be8df01a8e5d660a5d711d83be036ebe5fd09e2b555ad27
v2.147.0
What's Changed
- Update swap client type and verbiage by @cha-kos in #2009
- ui: tighten swap types by @cha-kos in #2015
- sdk: update-pyth-lazer-spot-feeds by @0xbigz in #2017
- remove some unused deps by @jordy25519 in #2012
- migrate spot market oracles by @moosecat2 in #2020
- small proram tweaks by @moosecat2 in #2021
Full Changelog: v2.146.0...v2.147.0
verified build hash: 4532e517f1733bf8dfb3696f604ca5cc437952d2b425a168608c2fae2879495e
v2.146.0
What's Changed
- program: add isolated_position_deposit to swift params by @crispheaney in #2002
- sdk: remove launchcoin lazerid by @wphan in #2003
- remove pythid by @wphan in #2004
- lukas/fix grpc multi user smol bugs by @LukasDeco in #1995
- Add backwards compatibility for swap client args by @cha-kos in #2006
- optional status for delisted markets in constants files by @moosecat2 in #2011
- Dlp refactor amm cache by @moosecat2 in #2010
- consolidate some admin funcs by @moosecat2 in #2014
- program: add-market-settle-rev-pool-pause-operation by @0xbigz in #2013
Full Changelog: v2.145.1...v2.146.0
verified build hash: 87df4b247789cfc8fadc9e33d81e699de7f6b2e72e86125372263dc45b3c6355
v2.145.1
What's Changed
- feat: decoding user isolated position fields by @LukasDeco in #1996
- fix: re-add accidentally yeeted ws v2 susbcribers by @LukasDeco in #1997
- amm cache init refactor by @moosecat2 in #1998
- add delete amm cache ix by @moosecat2 in #1999
- remove delete amm cache ixs by @moosecat2 in #2000
- fix tests for amm cache by @wphan in #2001
Full Changelog: v2.145.0...v2.145.1
verified build hash: fea0e173ece006649f95372002b026c4a1860c688f774c4a7f8bdfcb1c3d29e1
v2.145.0
What's Changed
- Implement Unified Swap Client by @cha-kos in #1993
- feat: update getPlaceSignedMsgTakerPerpOrderIxs for iso position deposit by @LukasDeco in #1976
- DLP by @moosecat2 in #1885
Full Changelog: v2.144.0...v2.145.0
verified build hash: 35e9ddbb01e5486233f7ef4acc1bae0825ab7b747592c93109f44061ca915c7e
v2.144.0
What's Changed
- sdk: add to constants spot-plus-market-index-82 by @0xbigz in #1982
- sdk: cap max size fn at max oi by @lowkeynicc in #1983
- sdk: add titan client by @jeremyhwong in #1972
- fix: support fetching initial data for delisted markets, just not being subscribed by @LukasDeco in #1985
- clean up oracle validity logs by @moosecat2 in #1984
- Fix build by @cha-kos in #1987
- Keep oracle data of delisted markets. by @DecentralizedDev in #1988
- Fix build by @cha-kos in #1989
- Multi User GRPC by @LukasDeco in #1970
- program: use-5min-for-target-expiry-price by @0xbigz in #1967
New Contributors
- @jeremyhwong made their first contribution in #1972
- @cha-kos made their first contribution in #1987
Full Changelog: v2.143.0...v2.144.0
verified build hash: 514c7863471ac5dfe757f6ce81b5f169a0f24620651dc0f1ef42deb9814a80c2
v2.143.0
What's Changed
- rm println by @jordy25519 in #1962
- fix: cleanup potential mem leaks on grpc v2 by @LukasDeco in #1963
- sdk: add-max-size-for-target-liability-weight by @0xbigz in #1961
- sdk: add includeOpenOrders option for perp position health by @lowkeynicc in #1966
- Mm oracle sdk patch by @moosecat2 in #1977
- is oracle divergent sdk fix by @moosecat2 in #1978
- use custom msg! macro for drift-rs by @jordy25519 in #1975
- sdk: update jlp oracle to pyth lazer by @wphan in #1980
- program: initial-margin-hlm-imf change by @0xbigz in #1969
- amm available for low risk orders by @moosecat2 in #1968
Full Changelog: v2.142.0...v2.143.0
verified build hash: e1ee95e374f3bd271bed928d26c6bc97643c4c5f47cc7797b05b5814f71eda9e
v2.142.0
What's Changed
- feat: batch accounts for less connects grpc drift client subscriber by @LukasDeco in #1922
- lukas/grpc grouped bugfix by @LukasDeco in #1933
- update RevenueShareOrder ts type by @wphan in #1934
- fix: oracle info wrong on grpc sub v2 by @LukasDeco in #1935
- fix: oracle string map not initted grpc v2 by @LukasDeco in #1936
- refactor(sdk): fallback to false for node-only packages by @ChesterSim in #1931
- v2 simpler types by @DecentralizedDev in #1937
- fix: prettier broken on grpc v2 subscriber by @LukasDeco in #1938
- fix: grpc sub v2/multi not updating data map by @LukasDeco in #1940
- fix: oracle updates not emitting for all sources by @LukasDeco in #1941
- fix: rm inheritance from grpc v2 subscriber and implement everything by @LukasDeco in #1942
- fix: grpc v2 subscriber bug with multiple sources on same oracle by @LukasDeco in #1944
- fix: grpc v2 doing extra subscribes for oracles by @LukasDeco in #1945
- fix: grpc multi acct subscriber missing slot check by @LukasDeco in #1947
- fix: buffer equality check on multi grpc by @LukasDeco in #1949
- chore: dont delete accounts from datamap and buffer map grpcmulti by @LukasDeco in #1950
- sdk: add market index 78 79 80 to constants by @0xbigz in #1956
- sdk: add parseLogsForCuUsage by @wphan in #1953
- program: add titan to whitelisted swap programs by @wphan in #1952
- feat: grpc v2 delisted markets handling better optimized by @LukasDeco in #1960
- ref price offset enhance by @moosecat2 in #1958
- program: allow hot wallet to increase max spread and pause funding by @crispheaney in #1957
- program: allow settling positive pnl expired pos during liquidation by @crispheaney in #1959
Full Changelog: v2.141.0...v2.142.0
verified build hash: e0ae6263c4f3c492c347241df84c41014948f7d5361f0b2bcc872f98712a35dc
v2.141.0
What's Changed
- feat: add margin ratio ix to open orders + swift prop by @LukasDeco in #1864
- remove redundant account in getPlaceAndMakePerpOrderIx by @wphan in #1923
- sdk: add spot-market-index-59 by @0xbigz in #1925
- program: calculate_max_perp_order_size account for max margin ratio by @crispheaney in #1921
- feat: add dflow in whitelisted programs by @0xDeeep in #1924
- update settle pnl take rev share map by @wphan in #1926
- fix maker ix missing escrow detection by @wphan in #1927
- refactor(sdk): add OneShotUserStatsAccountSubscriber by @ChesterSim in #1929
- make working devcontainer and dockerfile by @wphan in #1919
- sdk: add devnet-spot-market-index-8 by @0xbigz in #1920
- dont panic on settle-pnl when no position by @wphan in #1928
- program: disallow builder to be escrow authority by @wphan in #1930
New Contributors
Full Changelog: v2.140.0...v2.141.0
verified build hash: 370bdef9f3f987504c44f5b793bc65de876fc06ce5c651c87bf6ca752d9544f2