Skip to content

Releases: smartcontractkit/external-adapters-js

Release v1.8.0

25 Jan 19:36
Compare
Choose a tag to compare

Release v1.8.0

External Adapters v1.8.0 Release

Changelog Notes

New Adapters

none

Features

  • Add local cache fallback to websockets
  • Added RENFIL -> FIL overrides for coingecko, coinmarketcap, nomics, tiingo, and set override ID for RENFIL on coinpaprika

Bug Fixes

  • Add eod endpoint alias to unibit
  • Switch input parameter market alias in tradermade
  • Fix cryptoapis incorrectly using input parameter

Refactors

none

Updated adapters

Adapter Version
1forge-adapter 1.4.5
amberdata-adapter 1.3.3
binance-adapter 1.2.7
cfbenchmarks-adapter 1.2.7
coinbase-adapter 1.2.7
coingecko-adapter 1.1.8
coinmarketcap-adapter 1.3.8
coinmetrics-adapter 1.2.7
coinpaprika-adapter 1.1.8
cryptoapis-v2-adapter 1.1.7
cryptocompare-adapter 1.2.8
dxfeed-adapter 1.2.8
finage-adapter 1.3.8
intrinio-adapter 1.1.7
ncfx-adapter 1.1.9
nomics-adapter 1.0.23
onchain-gas-adapter 1.1.7
tiingo-adapter 1.6.7
tradermade-adapter 1.6.4
tradingeconomics-adapter 1.1.7
unibit-adapter 1.3.2
wootrade-adapter 1.1.7

Release v1.7.0

19 Jan 19:48
9b0add8
Compare
Choose a tag to compare

External Adapters v1.7.0

Changelog Notes

New Adapters

  • por-indexer-adapter

Features

  • Tiingo WS switched to the crypto-synth endpoint for synthetic cryptocurrency data streams

  • Add the ability to rate limit WS messages for performance reasons. Limit added to the Tiingo adapter.

  • Batching support added to forex adapters (polygon, openexchangerates, 1forge, tradermade, metalsapi, currencylayer, fixer)

  • Redis falls back to using local cache on failures

  • To allow more granular monitoring status code has been changed to reflect the status of the execution of the External Adapter itself. providerStatusCode has been added to show what response the data provider's API returned. In the example where the data provider's API goes down the EA would return statusCode 200 to show that the EA is functioning and providerStatusCode of 500 to show that the provider request failed. The request body will still contain a status of errored.

  • Source maps removed from builds, giving substantial performance improvements. This may affect stack traces of errors, but with logging and metrics issues should still be easy to debug.

  • Allow TLS and the ability to set Ogmios environment variables (HTTP_OGMIOS_URL and WS_OGMIOS_URL) on ADA balance adapter

Bug Fixes

  • Fix NCFX not allowing most input tickers through

  • Security fix to remove an APY-finance adapter's dependency

  • Amendment to Agoric's fees decimal places

Refactors

  • Non-BTC Proof of Reserves adapters changed to have a consistent interface and typing

  • Many more source adapter TypeScript types added for API response structures

Versions

## Composite External Adapters
(Update all downstream adapters)
┌──────────────────────────────────────────────┬──────────┐
│                 Package Name                 │ Version  │
├──────────────────────────────────────────────┼──────────┤
│          @chainlink/anchor-adapter           │  1.1.18  │
│        @chainlink/apy-finance-adapter        │  1.0.29  │
│           @chainlink/augur-adapter           │  1.0.20  │
│     @chainlink/bitcoin-json-rpc-adapter      │  1.0.20  │
│            @chainlink/bob-adapter            │  1.0.20  │
│      @chainlink/circuit-breaker-adapter      │  1.0.19  │
│  @chainlink/crypto-volatility-index-adapter  │  1.0.29  │
│        @chainlink/defi-dozen-adapter         │  1.0.29  │
│        @chainlink/defi-pulse-adapter         │  1.0.29  │
│     @chainlink/dns-record-check-adapter      │  1.0.19  │
│           @chainlink/dxdao-adapter           │  1.0.29  │
│       @chainlink/dydx-rewards-adapter        │  1.0.19  │
│      @chainlink/google-weather-adapter       │  1.0.20  │
│    @chainlink/historical-average-adapter     │  1.0.16  │
│      @chainlink/linear-finance-adapter       │  1.1.26  │
│      @chainlink/market-closure-adapter       │  1.0.19  │
│        @chainlink/medianizer-adapter         │  1.0.19  │
│     @chainlink/outlier-detection-adapter     │  1.0.34  │
│        @chainlink/por-indexer-adapter        │  1.0.1   │
│     @chainlink/proof-of-reserves-adapter     │  1.4.0   │
│    @chainlink/reference-transform-adapter    │  1.0.34  │
│      @chainlink/set-token-index-adapter      │  1.0.29  │
│        @chainlink/synth-index-adapter        │  1.0.29  │
│         @chainlink/the-graph-adapter         │  1.0.19  │
│     @chainlink/token-allocation-adapter      │  1.0.29  │
│          @chainlink/vesper-adapter           │  1.0.29  │
│       @chainlink/xsushi-price-adapter        │  1.0.29  │
└──────────────────────────────────────────────┴──────────┘


## Source and Target External Adapters
┌──────────────────────────────────────────────┬──────────┐
│                 Package Name                 │ Version  │
├──────────────────────────────────────────────┼──────────┤
│          @chainlink/1forge-adapter           │  1.4.2   │
│        @chainlink/accuweather-adapter        │  1.1.4   │
│        @chainlink/ada-balance-adapter        │  2.2.0   │
│          @chainlink/agoric-adapter           │  2.0.4   │
│        @chainlink/alphachain-adapter         │  1.1.4   │
│       @chainlink/alphavantage-adapter        │  1.1.4   │
│          @chainlink/alpine-adapter           │  1.1.4   │
│         @chainlink/amberdata-adapter         │  1.3.0   │
│         @chainlink/anyblock-adapter          │  1.1.4   │
│        @chainlink/ap-election-adapter        │  1.1.4   │
│            @chainlink/bea-adapter            │  1.1.4   │
│          @chainlink/binance-adapter          │  1.2.4   │
│        @chainlink/binance-dex-adapter        │  1.2.4   │
│           @chainlink/bitex-adapter           │  1.3.4   │
│           @chainlink/bitso-adapter           │  1.2.4   │
│      @chainlink/blockchain.com-adapter       │  1.1.4   │
│        @chainlink/blockchair-adapter         │  1.1.4   │
│        @chainlink/blockcypher-adapter        │  1.2.4   │
│        @chainlink/blockstream-adapter        │  1.2.4   │
│       @chainlink/bravenewcoin-adapter        │  1.1.4   │
│          @chainlink/btc.com-adapter          │  1.2.4   │
│        @chainlink/cache.gold-adapter         │  1.2.4   │
│       @chainlink/cfbenchmarks-adapter        │  1.2.4   │
│   @chainlink/chain-reserve-wallet-adapter    │  2.2.0   │
│          @chainlink/coinapi-adapter          │  1.1.5   │
│         @chainlink/coinbase-adapter          │  1.2.4   │
│         @chainlink/coincodex-adapter         │  1.2.4   │
│         @chainlink/coingecko-adapter         │  1.1.5   │
│         @chainlink/coinlore-adapter          │  1.2.4   │
│       @chainlink/coinmarketcap-adapter       │  1.3.5   │
│        @chainlink/coinmetrics-adapter        │  1.2.4   │
│        @chainlink/coinpaprika-adapter        │  1.1.5   │
│        @chainlink/coinranking-adapter        │  1.1.4   │
│          @chainlink/conflux-adapter          │  1.0.19  │
│       @chainlink/covid-tracker-adapter       │  1.2.4   │
│        @chainlink/cryptoapis-adapter         │  1.1.4   │
│       @chainlink/cryptoapis-v2-adapter       │  1.1.4   │
│       @chainlink/cryptocompare-adapter       │  1.2.5   │
│         @chainlink/cryptoid-adapter          │  1.2.4   │
│         @chainlink/cryptomkt-adapter         │  1.2.4   │
│       @chainlink/currencylayer-adapter       │  1.3.2   │
│           @chainlink/curve-adapter           │  1.1.4   │
│          @chainlink/deribit-adapter          │  1.1.4   │
│         @chainlink/dns-query-adapter         │  1.1.4   │
│           @chainlink/durin-adapter           │  1.1.4   │
│          @chainlink/dwolla-adapter           │  1.1.4   │
│          @chainlink/dxfeed-adapter           │  1.2.5   │
│     @chainlink/dxfeed-secondary-adapter      │  1.1.17  │
│        @chainlink/dydx-stark-adapter         │  1.0.19  │
│          @chainlink/enzyme-adapter           │  1.1.4   │
│     @chainlink/eodhistoricaldata-adapter     │  1.2.4   │
│        @chainlink/eth-balance-adapter        │  1.1.4   │
│        @chainlink/etherchain-adapter         │  1.2.4   │
│         @chainlink/etherscan-adapter         │  1.2.4   │
│       @chainlink/ethgasstation-adapter       │  1.2.4   │
│        @chainlink/ethgaswatch-adapter        │  1.2.4   │
│         @chainlink/ethwrite-adapter          │  1.0.19  │
│     @chainlink/expert-car-broker-adapter     │  1.2.4   │
│          @chainlink/fcsapi-adapter           │  1.0.19  │
│          @chainlink/finage-adapter           │  1.3.5   │
│          @chainlink/finnhub-adapter          │  1.0.19  │
│           @chainlink/fixer-adapter           │  1.3.2   │
│        @chainlink/flightaware-adapter        │  1.1.4   │
│         @chainlink/fmpcloud-adapter          │  1.2.4   │
│          @chainlink/gemini-adapter           │  2.1.4   │
│    @chainlink/genesis-volatility-adapter     │  1.2.4   │
│           @chainlink/geodb-adapter           │  1.1.4   │
│      @chainlink/google-bigquery-adapter      │  1.1.4   │
│          @chainlink/graphql-adapter          │  1.1.4   │
│          @chainlink/harmony-adapter          │  1.0.19  │
│         @chainlink/iex-cloud-adapter         │  1.1.4   │
│         @chainlink/intrinio-adapter          │  1.1.4   │
│           @chainlink/ipfs-adapter            │  1.2.0   │
│         @chainlink/json-rpc-adapter          │  1.1.15  │
│           @chainlink/kaiko-adapter           │  1.0.19  │
│  @chainlink/layer2-sequencer-health-adapter  │  1.0.19  │
│            @chainlink/lcx-adapter            │  1.1.15  │
│         @chainlink/linkpool-adapter          │  1.0.19  │
│          @chainlink/lition-adapter           │  1.1.4   │
│           @chainlink/lotus-adapter           │  2.1.4   │
│        @chainlink/marketstack-adapter        │  1.2.4   │
│          @chainlink/messari-adapter          │  1.1.4   │
│         @chainlink/metalsapi-adapter         │  1.6.1   │
│        @chainlink/mycryptoapi-adapter        │  1.2.4   │
│           @chainlink/ncfx-adapter            │  1.1.6   │
│          @chainlink/nikkei-adapter           │  1.1.14  │
│          @chainlink/nomics-adapter           │  1.0.20  │
│        @chainlink/oilpriceapi-adapter        │  2.0.4   │
│          @chainlink/onchain-adapter          │  1.1.4   │
│        @chainlink/onchain-gas-adapter        │  1.1.4   │
│     @chainlink/openexchangerates-adapter     │  1.3.2   │
│     @chainlink/orchid-bandwidth-adapter      │  1.1.4   │
│           @chainlink/paxos-adapter           │  1.2.4   │
│          @chainlink/paypal-adapter           │  1.1.4   │
│            @chainlink/poa-adapter            │  1.2.4   │
│          @chainlink/polygon-adapter          │  1.4.2   │
│          @chainlink/reduce-adapter           │  1.1.15  │
│     @chainlink/renvm-address-set-adapter     │  1.2.0   │
│       @chainlink/satoshitango-adapter        │  1.2.4   │
│         @chainlink/snowflake-adapter         │  1.1.4   │
│          @ch...
Read more

Release v1.6.1

14 Jan 17:27
7ef4dd8
Compare
Choose a tag to compare

Breaking changes:

Proof of Reserves has been refactored to have a consistent interface between adapters.
**NOTE: upgrade all of the following PoR adapters at once

proof-of-reserves-adapter
1.1.10

ada-balance-adapter
2.0.0

chain-reserve-wallet-adapter
2.0.0

gemini-adapter
2.0.0

lotus-adapter
2.0.0

renvm-address-set-adapter
1.1.0

wbtc-address-set-adapter
1.1.0

Release v1.6.0

03 Jan 21:05
0f7190a
Compare
Choose a tag to compare

cfbenchmarks-adapter [v1.0.13]

  • Fix Websockets

cryptocompare-adapter [v1.1.14]

  • Adjust CryptoCompare batch property limits to reflect character limits

ethgasstation-adapter [v1.1.10]

  • Remove hardcoded timeout for API request in ETH Gas Station adapter

Framework wide changes

The changes below bumped up the version for all adapters. Please check ECR for the latest versions.

Changelog

New Adapters

  • N/A

Features

  • N/A

Bug Fixes

  • WebSockets fix for CFBenchmarks adapter
  • Adjust CryptoCompare batch property limits to reflect character limits
  • Remove hardcoded timeout for API request in ETH Gas Station adapter
  • Add provider_status_code to adapter metrics to differentiate from the adapter's status_code. This allows for more detailed insight to where errors originate from.

Release v1.5.0

14 Dec 21:06
Compare
Choose a tag to compare

anchor [v1.1.5]

  • Anchor adapter implementation to pull bETH/USD and bLuna/USD feeds

alpine [v1.0.1]

  • Alpine adapter implementation

coinpaprika [v1.0.13]

  • Add coinpaprika KNC ticker override

finage [v1.2.4]

  • Finage WS crypto endpoint

snowflake [v1.0.4]

  • Snowflake covid adapter implementation

Framework wide changes

The changes below bumped up the version for all adapters. Please check ECR for the latest versions.

Features

  • Upgrade node-redis to v4
  • Cache warmer metric feed ID labelled as cacheWarmer
  • Double amount of allowed entries in local cache

Bug Fixes

  • Cachewarmer count metric no longer goes negative
  • Correction to Redis logging. Issue was that the adapter was not logging expected data but instead logged an object that was not spread.
  • The new Redis client package introduces a maximum amount of items that can be queued to prevent severe backups. This can be controlled with the environment variable CACHE_REDIS_MAX_QUEUED_ITEMS. For adapters with a lot of feeds or that use WS this will likely need to be raised to ~400.

v1.4.1

07 Dec 14:45
89d72bc
Compare
Choose a tag to compare

This release is a hotfix for our WS framework. If you do not have WS enabled on these adapters there is nothing you need to do. Just because the EA supports WS does not mean you should enable it. Please talk to the engops team before enabling WS on new adapters. All EAs with WS support will have a patch version bump:

  • tradermade [v1.2.2]
  • tiingo [v1.2.2]
  • finage [v1.1.5]
  • cfbenchmarks [v1.0.5]
  • 1forge [v1.1.2]
  • cryptocompare [v1.1.5]
  • dxfeed [v1.1.2]
  • amberdata [v1.1.4]
  • intrinio [v1.0.5]
  • coinbase [v1.1.1]
  • coinmetrics [v1.1.5]
  • binance [v1.0.5]
  • coinapi [v1.0.5]
  • ncfx [v1.0.5]
  • wootrade [v1.0.5]

v1.4.0

06 Dec 18:51
46243db
Compare
Choose a tag to compare

historical-average [v1.0.0]

Major Changes

  • b189cfe: Release Historical Average adapter

proof-of-reserves [v1.1.0]

Minor Changes

coingecko [v1.0.5]

Patch Changes

  • b6a7e44: Make sure errors are caught to not keep the socket open

coinmarketcap [v1.2.0]

Minor Changes

  • b189cfe: Update historical endpoint result format and export types

coinpaprika [v1.0.5]

Patch Changes

  • b6a7e44: Make sure errors are caught to not keep the socket open

cryptocompare [v1.1.4]

Patch Changes

  • 89f6d5f: Ensure uppercase symbol overrides

poa [v1.1.0]

Minor Changes

  • 59cc6e4: change default speed parameter to 'average'

synthetix-debt-pool [v1.1.0]

Minor Changes

  • 91d580d: aggregate debt from multiple chains

wrapped [v2.0.0]

Major Changes

v1.3.0

30 Nov 19:00
ac4ddc9
Compare
Choose a tag to compare

New features

  • EAs can take a RATE_LIMIT_CAPACITY_SECOND and RATE_LIMIT_CAPACITY_MINUTE environment variables to override their per second and per minute API tiers.

v1.2.0

29 Nov 17:35
48fa096
Compare
Choose a tag to compare

EA bootstrap

  • Validate empty string required request parameters
  • Ignore empty string environment variables

Coinmarketcap

  • Added historical data endpoint

Tiingo

  • Added Forex/Commodities endpoint
  • Added "WTI" preset

dxFeed

  • Add "commodities" endpoint alias

Tradermade

  • Add "commodities" endpoint alias

1Forge

  • Added WS support

Release v1.1.0

22 Nov 23:50
b0e32f5
Compare
Choose a tag to compare

Fix:

  • Google weather alpha-numberic column name fix

Updated

  • Update linear-finance XBCI & XLCI index.
  • Add express rate limit middleware. New metric for HTTP rate limited requests.
  • Improved error logging consistency and include more information.
  • Add coingecko preset symbols for BCH, LEO, and FIL.
  • Add volume endpoints to amberdata and cryptocompare.
  • Add NBA and MLB support to sportsdataio.
  • Terra View Function refactored to support multiple networks and a data path.

New Adapters

  • accuweather
  • ada_balance
  • ap_election
  • bea
  • chain_reserve_wallet
  • defi-dozen adapter
  • durin
  • eth_balance
  • lotus
  • uniswap_v2
  • uniswap_v3
  • view_function