Skip to content

Releases: jup-ag/jupiter-swap-api

v6.0.16

01 May 01:59
70a4973
Compare
Choose a tag to compare

Changelog

chore: Bump sanctum-lst-list for hSOL (Make it read from CDN soon please)
feat: quote multiple output mints add field to restrict intermediate tokens
chore: Openbook v2 increase remaining accounts from 0 to 3, to crank the order book
feat: Integrate Clone
chore: move most warn log to debug log
feat: add market at runtime hot loading endpoint along with Europa client (streaming of new markets not public yet)
feat: add get token endpoint to check if a token is tradable
fix: Bump stakedex sdk to remove unnecessary repeated PDA derivation on quote
fix: Remove invariant PDA derivation in quote added by recent fix
feat: Auto slippage dynamic range
feat: AMM to use clock ref to reduce repeated account deserializations
feat: Increase default snapshot poll interval to 1 minute to reduce overall RPC load
feat: Add max auto slippage bps quote query param
fix: sync invariant fix to limit panics
feat: Error with code, add errorCode to the error json payload for error handling
fix: Drop unidirectional for token mint permutations, for correct routing when using limited set of AMMs or unidirectional isolated token pools
chore: Add Juicing Jup SOL
fix: Raydium CLMM quote to use timestamp instead of slot
chore: Stakedex bump for new sanctum LST list format and sanctum spl multi
feat: add a way to add jito tip lamports

Commit 3a5ced9c936e83ec4fc989ca80d4a285160361ce

v6.0.15

04 Apr 11:07
70a4973
Compare
Choose a tag to compare

Changelog

fix: Do not use deactivated or deactivating address lookup tables
feat: lower CU margin to 25%
chore: Monitor chunked stream slot monitoring by warning about delta
fix: update invariant SDK to attempt to eliminate crashes
feat: Single edge shortcut for fast quote on new tokens
chore: Bump sanctum lst list for new lsts
feat: Use Dashmap for amms usage to reduce lock contentions
chore: reduce max auto slippage bps to 400
feat: integrate dexlab
feat: Price tracker use top tokens as intermediate first for more stable pricing

Commit 8ac4ccf9d5ec64bd5486219c55dbc1ca647eb1f1

v6.0.14

19 Mar 05:12
70a4973
Compare
Choose a tag to compare

Changelog

chore: Move Openbook V2 out of new dexes, Openbook V2 is enabled by default
chore: refactor prepare add market at runtime
fix: Phoenix monitor Market status
feat: Stakedex new swap via stake approach, reenable 100% of Sanctum router

Commit 7de76482860aad749b8ddaf9926e92bb524b25c6

v6.0.13

14 Mar 12:16
70a4973
Compare
Choose a tag to compare

Changelog:

  • chore: Stakedex PrefundSwapViaStake, disable PrefundSwapViaStake entirely due to impossible CPI, only Deposit SOL remains functional
  • fix: FluxBeam missing clone failed quote intermittently, causing quote, swap and pricing failures
  • fix: Serum dex set referrer
  • feat: Compute auto slippage to share in quote response
  • feat: Auto exclude dexes quote query param
  • fix: Arrange locking and massive clones
  • feat: auto slippage experimental feature
  • feat: Disable Balansol due to swap program interface breaking change

Commit 87f4b01f02fea1898a3c280365f776562a0bd64a

v6.0.12

03 Mar 23:14
70a4973
Compare
Choose a tag to compare

Raydium CLMM program breaking changes by supporting Token2022

Changelog

  • fix: JupiterError (error 400) on missing AMM and /swap /swap-instructions support
  • feat: Price tracker improve locking
  • feat: Every jupiter-swap-api arg can be an env var (#643)
  • feat: Raydium CLMM V2 add support for token2022 (market cache not including yet)
  • fix: Same token mints is an error 400 and other spam user input based errors
  • feat: Bellman ford supports exact out
  • feat: Tracking account "trackingAccount" transaction config
  • fix: ACCESS_CONTROL_MAX_AGE to max, to avoid unnecessary round trip on subsequent requests

Commit a84cc55adfdd6f52acf9ca413ae5b102c07ced4d (release fork from d10812fbc2ffe4749e4d6d83ba790bf1c4a10ce0)

v6.0.11

19 Feb 04:34
70a4973
Compare
Choose a tag to compare

The /indexed-route-map endpoint no longer returns the indexed-route-map by default, its usage is deprecated and not recommended but can be enabled with --enable-deprecated-indexed-route-maps

Changelog

  • feat: on startup dex and tokens filtering:
    --dexes and --exclude-dexes flag to control dexes loaded, usage identical to the /quote params. All by default.
    --filter-markets-with-mints to filter markets which do not have at least 2 mints from this set.
    New integrations are now behind --enable-new-dexes until stabilized.
  • chore: Valentine cleanup, remove Jupiter limit order...
  • fix: Prevent max accounts usage with ExactOut
  • feat: add support for ExactOutRoute
  • feat: raydium exact out
  • feat: Token not tradable error, return error early and more meaningful than "No routes found"
  • feat: enable deprecated indexed route maps cli arg and disable computing indexed-route-maps by default, use --enable-deprecated-indexed-route-maps
  • fix: no routes found, typo
  • chore: Stakedex-sdk update for lst list, for more flexible new LSTs inclusion
  • feat: OpenBook V2 integration
  • fix: SplTokenSwapAmm support only cp and stable curve types
  • fix: anchor extension to deserialize zero copy accounts using slice of the account struct size, to match on-chain code and avoid client crashes
  • feat: get tokens /tokens endpoint to fetch all tradable tokens
  • fix: Mercurial fix stable curve by using precision multiplier for fee amount
  • fix: --allow-circular-arbitrage to enable input outputs mints for self hosted
  • fix: Fetch unique ALT instead of one per AMM (mass duplicated work)

Commit 52c22bfa1e2ce509190f3dea6e6973f0f8c07816

v6.0.10

30 Jan 12:35
70a4973
Compare
Choose a tag to compare

Changelog:
chore: Update Meteora DLMM disallow partial fill

Commit 6f7c40617fd05b0b7135af75d5d093621d0e5bb8

v6.0.9

26 Jan 00:55
70a4973
Compare
Choose a tag to compare

Changelog:
feat: Add enable ping flag, to disable yellowstone grpc ping by default and allow enabling it
feat: Do not use shared accounts if non-openbook single swap, no additional account write contention, less CU consumption.
fix: fetch with sleep for stability, for caches such as address lookup tables
feat: Market endpoint HTTP GET /market?address=<pubkey>
chore: Meteora DLMM add max swapped amount update
chore: Sync stakedex SDK to disable esol and lido deposit
feat: implement Yellowstone grpc ping, see rpcpool/yellowstone-grpc#225

Commit b8347e26f878c14f8a0345211c9fb6d5550c5125

v6.0.8

21 Jan 04:50
70a4973
Compare
Choose a tag to compare

Changelog:

  • fix: Upgrade h2 due to sec advisory https://rustsec.org/advisories/RUSTSEC-2024-0003
  • fix: raydium CLMM remove dangerous unwraps in swap math
  • fix: update to support dynamic accounts and accounts len for GooseFX
  • feat: Meteora DLMM slot activation support
  • chore: update GooseFX
  • fix: Optimize route map, only a few seconds
  • fix: Remove pointless price impact warning when it cannot be computed
  • fix: get_program_failure_consumed_units correct logic for multi instructions
  • chore: BalanceSol updates their algorithm
  • fix: Meteora DLMM find next bin array indices fix loop, a bug was limiting to 2 bin arrays instead of 3
  • feat: reduce auto to 0.001 SOL and auto multiplier based on that and remove cap on auto multiplier
  • fix: Fluxbeam token2022 fix handling for mint that get closed
  • fix: onlyDirectRoutes bellman-ford constraints to be 1 maxhop, 1 totalhops

Commit c93e3d50a91b6ea0ee279896cde2a47d35b7de7b

v6.0.7

02 Jan 20:44
70a4973
Compare
Choose a tag to compare
  • fix: docker image

binary from 6.0.6