Releases: drift-labs/protocol-v2
v2.160.0
What's Changed
- feat(pyth): add optional feedProperties constructor param to PythLazerSubscriber by @LukasDeco in #2141
- feat: default include feedUpdateTimestamp pyth lazer sub by @LukasDeco in #2149
- v2.159.0 by @LukasDeco in #2147
- program: filter out stink bids/asks from perp twap crank by @lowkeynicc in #2124
- program: withdraw from if vaults by @cha-kos in #2120
- chore: bump yellowstone grpc by @LukasDeco in #2152
- Remove grpc-js and fix types by @DecentralizedDev in #2153
- fix: prettier on grpc node by @LukasDeco in #2154
- Add bit flag to disable formulaic update k by @0xahzam in #2136
- Release v2.160.0 by @lowkeynicc in #2151
Full Changelog: v2.158.0...v2.160.0
Verified Build hash: 9e6e08834c50001539b0d729e588ef93724ded14181e2f7bd2a5b345d28ef7af
v2.159.0
What's Changed
- fix: bug where maintenance req not checked during enabling hlm by @LukasDeco in #2116
- refactor(program): allow for swap-involved ATA closures by @ChesterSim in #2118
- program: fix stuck in liquidation status by @lowkeynicc in #2122
- program: exclude isolated perp positions in is_cross_margin_bankrupt by @lowkeynicc in #2123
- [program] Pyth Lazer Feed Update Timestamp by @LukasDeco in #2125
v2.158.0
What's Changed
- fix cargo fmt by @lowkeynicc in #2113
- add coderabbit yaml by @lowkeynicc in #2114
- fix: bug where maintenance req not checked during enabling hlm by @LukasDeco in #2116
- refactor(program): allow for swap-involved ATA closures by @ChesterSim in #2118
- fix: settle before full withdraw isolated position by @LukasDeco in #2129
- sdk: list NVDA perp on devnet by @lowkeynicc in #2132
- refactor(program): enforce escrow account loading by @ChesterSim in #2135
Full Changelog: v2.157.0...v2.158.0
v2.157.0
What's Changed
- sdk: make laserstream optionalDep, and handle in isomorphic code for … by @wphan in #2087
- fix: bug with perp buying power isolated pos by @LukasDeco in #2094
- yellowstone-grpc:5.0.1 by @jackwaller in #2072
- chore: fix grpc client by @jackwaller in #2097
- fix: lint by @jackwaller in #2098
- fix: error with filters by @jackwaller in #2099
- feat: update syrupUSDC oracle source to pyth lazer by @LukasDeco in #2096
- fix: syrupUSDC wrong oracle pubkey by @LukasDeco in #2100
- program: rm should_expire_order_before_fill by @crispheaney in #2103
- remove same slot matching restriction by @0xahzam in #2104
- block amm fills when paused_operations set by @0xahzam in #2108
- feat: grpcs options for triton better resiliency by @LukasDeco in #2111
- Nick/add scale orders ix by @lowkeynicc in #2093
- program: add auto cancel reduce only tpsl by @crispheaney in #1889
New Contributors
Full Changelog: v2.156.0...v2.157.0
Verified Hash: 55b4294265e1b5bf5b0c50a40a2dedd0ead5c7b53f8122bd44281509ad6154f0
v2.156.0
What's Changed
- fix: buggy getHealth for iso positions by @LukasDeco in #2083
- feat: pyth lazer subscriber with better resiliency by @LukasDeco in #2073
- fix: ci jobs missing node 24 by @LukasDeco in #2084
- fix: sdk version tag release error by @LukasDeco in #2085
- sdk: support jupiter api key by @wphan in #2086
- program: add other funxyz address by @lowkeynicc in #2089
- lukas/fix npm publish latest as beta fix by @LukasDeco in #2090
- feat: more pyth type exports by @LukasDeco in #2091
Full Changelog: v2.155.0...v2.156.0
verified build hash: 65c3b4f26fb56446208bf5b21bb6e62ea2c37cb28a0bed527b56ee4c43e2a376
v2.155.0
What's Changed
- Jack/updated triton grpc by @jackwaller in #2070
- Revert "Jack/updated triton grpc" by @jackwaller in #2071
- refactor: replace pyth-solana-receiver with copied over code by @LukasDeco in #2068
- ui: reduce param checking for titan swaps by @cha-kos in #2074
- lukas/isolated positions sdk by @LukasDeco in #1965
- migrate spot assets by @moosecat2 in #2057
- more logging for amm trading by @crispheaney in #2078
- program: allow delegate to transfer isolated pos deposit in sub account by @crispheaney in #2079
- program: use load_maps in update_amms by @crispheaney in #2081
Full Changelog: v2.154.0...v2.155.0
verified build hash: c6b321d95b2835f1ea00c84e5b2f37e3db196bf850d7f9e1df3ec3c1570280a0
v2.154.0
What's Changed
- fix: many null checks fixed by @LukasDeco in #2059
- feat: make is perp position isolated a public method by @LukasDeco in #2060
- program: allow whitelisted signer to init user by @crispheaney in #2054
- program: isolated position by @crispheaney in #1757
- sdk: add-const-market-index-84 by @0xbigz in #2062
- Revert "fix: many null checks fixed (#2059)" by @LukasDeco in #2065
- program: delete sereum/ob configs ix by @crispheaney in #2066
- Nick/external init account support by @lowkeynicc in #2067
- chore: update yellowstone to rust bindings version by @jackwaller in #2063
- Revert "chore: update yellowstone to rust bindings version" by @jackwaller in #2069
Full Changelog: v2.153.0...v2.154.0
verified build hash: c472fb438725f526c2d20c0ec10a3ffed2a360588cab36a5558233ec3aa16f21
v2.153.0
What's Changed
- ui: save titan tx when quoted and reuse on swap by @cha-kos in #2055
- feat: minified with esbuild by @LukasDeco in #2056
- ui: fix falsely failing quotes from titan by @cha-kos in #2058
- security patch: check feed id after pyth pull atomic update 84b5011
Full Changelog: v2.152.0...v2.153.0
verified build hash: e484c03da4abc10fc6e57927f2125d5ea9fe814ed3dff2dc1d0bd6c33bc58ba9
v2.152.0
What's Changed
- ui: support proxy url in titan client by @cha-kos in #2048
- sdk: add ix for token 2022 init account deposits by @lowkeynicc in #2050
- program: add bit_flags in preparation for iso pos by @crispheaney in #2053
- program: base-spread-validate-buffer by @0xbigz in #2052
Full Changelog: v2.151.0...v2.152.0
verified build hash: 4aac0cfcd83d788b07e5c33a1be65036d3cc995851f105e5308df45245975a35
v2.151.0
What's Changed
- sdk: add spot 62 to constants file by @0xbigz in #2045
- fix: decoding isolated position fields correctly by @LukasDeco in #2046
- program: add paused operations to user stats by @crispheaney in #2037
Full Changelog: v2.150.0...v2.151.0
verified build hash: 5bb1577ca22ec687ca11d10b9a69f19cbff99c4232f3dc89d56ff20912c2390b