Skip to content

Releases: drift-labs/gateway

v1.5.5

15 Jan 02:16

Choose a tag to compare

What's Changed

  • add /titan-swap endpoint by @wphan in #144
  • bump drift-rs for jupiter api key requirement by @wphan in #145

Full Changelog: v1.5.4...v1.5.5

v1.5.4

29 Dec 04:34

Choose a tag to compare

What's Changed

Full Changelog: v1.5.3...v1.5.4

v1.5.3

18 May 17:10
4c96703

Choose a tag to compare

Fixes

  • panic on startup related to new spot market (#134)

Adds

  • swift orders support (no delegated signing support yet, #131 )

v1.5.2

05 May 04:41
7d8afed

Choose a tag to compare

Adds

  • jupiter Swap records now available as WebSocket events and via /transactionEvents endpoint

Fix

  • Fix issue with gRPC mode missing some spot oracle subscriptions

v1.5.1

22 Apr 13:01
b6c76f2

Choose a tag to compare

Fix

  • Resolves issue with jupiter swaps when using delegated signing (#128)

Adds

  • Added /authority endpoint to return the current authority pubkey (#129, thanks @dougEfresh )

Changes

  • Added "authority" pubkey to the /balance response (#129)

v1.5.0

18 Apr 15:39

Choose a tag to compare

Adds

  • gRPC subscription mode
    allows gateway to subscribe using more stable and performant geyser gRPC
    to use, start gateway with --grpc flag and set GRPC_ENDPOINT, GRPC_X_TOKEN envs

  • jupiter token swaps
    new /swap endpoint to perform spot token swaps via jupiter aggregated liquidity & routing

Changes

  • Ws based oracle and market subscriptions now dynamically update based on user positions/deposits/orders (related #109, thanks @LukasDeco)
    this means better latency for those trading dynamic sets of markets

Fix

  • tx sizes should be reduced utilizing more LUTs

v1.4.1

01 Apr 03:54
c7102f4

Choose a tag to compare

Fix

  • Fixes issue where bonk oracle price could lose precision

v1.4.0

28 Mar 08:47
4bc55de

Choose a tag to compare

Adds

  • support trigger orders i.e triggerPrice and triggerCondition can be set (#117, thanks @SRVng)
  • endpoint to set subaccount max initial margin/leverage

Changes

  • added a Ws liveness health check
  • gateway exits on panics

basically prevention for silent failure conditions (which can happen with solana WebSockets)
users should ensure gateway can auto-restart

Fixes

  • fix liq price edge case when spot and perp market oracle (of same asset) had different precisions
  • fix blockhash subscriber could silently fail
  • fix build issue on linux platforms where ldconfig was required to link libdrift. it should just work now

v1.3.6

11 Mar 04:33

Choose a tag to compare

fixes:

  • race condition where spot positions could return mangled values (#115, thanks @0xRango )

changes:

  • remove some unused dependencies (better build times)

v1.3.5 (docker only)

21 Feb 03:45

Choose a tag to compare

fix for v1.3.4 for the docker image only (related #113, #109 )