Skip to content

Releases: smartcontractkit/external-adapters-js

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

Release v0.2.1-rc.1

08 May 00:12
1756fba
Compare
Choose a tag to compare
Add fake RAI2 symbol to override to Rai Reflex Index (#512)

Release v0.2.0

13 Apr 22:39
418af1b
Compare
Choose a tag to compare
[Master] Release/v0.2.0 (#439)

* coinmarketcap ts refactor

* types & lint & package name

* CHANGELOG

* Requested changes: uses generic execute types, base url from config, splits tests

* add conflux adapter

* Remove adapter.js from merge

* Fix: increase test timeout, move marketcap unknown market to error calls, correct typo in baseURL

* getDefaultConfig takes new parameter for required API key

* Brings back dummy API_KEYs for tests

* Uses verbose env var to determine response data

* update changelog: add conflux adapter

* EA migration - batch #1 (#226)

* 1forge to TS

* Add Config type for recent change to generic types

* Utilize ExecuteWithConfig in 1forge

* Adds example README template & remove 'server' script

* Alphavantage adapter to TS

* Remove alphavantage-sdr folder

* Amberdata-gasprice to TS

* Anyblock-gasprice to TS

* Binance-DEX to TS

* Add note to binance-dex's differing use of API_ENDPOINT env var

* Brave New Coin to TS

* Bring Brave New Coin VWAP into Brave New Coin EA

* Coinapi to TS

* Coinbase to TS

* Coingecko to TS

* Move BNC helpers into BNC adapter

* Increase alphavantage test timeout

* Moves alphavantage APIkey param into endpoint - issue open for improvement

* Clean up leftover bravenewcoin-vwap traces

* Remove 1forge's conflicting and not useful endpoint param

* Requested changes: 1forge balance -> price, alphavantage example output

* Re-add server script & spread response data into endpoint responses

* Uses verbose env var to determine response data

* Gets API_KEY from makeConfig

* Add test dummy API_KEY

* Re-add server script to example

* batch adapter TS refactor (#234)

* batch adapter TS refactor

* satisfy linter

* Uses config in generics, removes non-TS server script

* EA endpoints return their own response & use ExecuteWithConfig type

* Capitalize name property

* Use Config for baseURL and API_KEYS, re-add server script, use verbose env var for data response

Co-authored-by: Justin Kaseman <justinkaseman@live.com>

* README improvements, fix typo with PRICE_ADAPTER

* networkId type fix

* feed tx gas info

* Read dxFeed config correctly with prefix

* Include config change in secondary adapter

* Use "Quote" for WTI

* Fix case-sensitive endpoint params

* batch requests on coingecko

* DPI readme updated

* removed console

* Update Synthetix for new sDEFI pairs

* docs: additiona to 1forge, amberdata-gasprice, anyblock-gasprice, & binance-dex

* Add API_KEY docs & docs from QA for coinapi, coinbase, cmc, coinpaprika, cryptocompare, currencylayer, and poa-gasprice

* Finish TS migrated adapter QA

* Add dummy API keys for tests

* Use Jonas' fix to non-lowercase endpoint param

* Add dummy API key to openexchangerates test

* Add dummy API key to polygon test

* Requested changes: consistent endpoint title capitalization, tweak API_KEY description, add sample input to example EA

* Fix: balance test helper path

* Remove WrappedResponse

* Merge develop

* CHANGELOG

* Requested Change: remove from CHANGELOG

* Change: Only one Middleware type

* Change: revert change to withCache to remove options param

* Remove util.wrapExecute from all EAs

* Revert result being optional

* Makes Middleware a generic type to allow withCache options & fix test with result in mock data response

* wrap response

* returning result on callback

* removed unused imports

* Update KCS slug on CMC synth-index

* Update KCS slug on CMC

* synthx as composite using TA

* removed old synth adapter and its build steps

* base as default input param

* TA default quote as env var

* TA accepts method as param

* validation on TA

* avoid floating numbers on TA

* removed TA reference from Readme

* readme updated

* negative balance checked easier

* prefix preference on TA make config

* updated adapter name

* added cmc slugs

* updated synthx version

* fix synthx version

* tiingo adapter with tests

* misc tiingo fixes

* updated changelog

* updates

* fix import name error

* Remove synthetix dependency from global package

* Update synthetix package

* Prevent scientific notation of balances

* removed google finance

* filter out auth from logging

* Publish Docker images to SDLC Public ECR instead of Prod Public ECR

* remove old js code

* add ts conflux adaptor code

* remove lock file

* comment example test

* added preset ticker on coinpaprika and coingecko

* update config helper

* Include the "result" key on cached responses

* Include jobRunID in cached response

* added ethwrite JS project and its dependencies

* converted to TS

* working with the new structure

* added hardhat and relevant test setup

* default config + naming convention fix

* changed README, added defaults and test

* review changes; need to check tests

* asserting true values written to contract in test

* small change in config

* made dataType optional, altered tests, added helper file

* removed helper files

* installed fresh dependencies

* README changes and required env vars

* moved private key to hardhat helpers

* yarn install

* json for hardhat exported var

* cleaned comments

* update new ea-bootstrap

* fix lint error

* add unit test

* fix lint

* update tests

* Publish adapters to prod when merging to develop

* basic setup

* geoDB adapter

* updated changelog

* Removed other parts of config that include sensitive values. Removed api key warning

* Add "agoric" adapter (#114)

* feat: add Agoric adapter

* fix: use agoric_oracle_query_id

* fix: make more explicit

* test: remove agoric/test

* fix: another attempt to plumb through the 'Task Run Data'

* fix: use the promise-based API

* fix: make request_id numeric

* fix: cast payment from number to string

* fix: properly export the Agoric async adapter and string queryId

* refactor: separate concerns and add tests

* fix: more robust adapter; send errors to the oracleServer

* feat!: surface errors from the oracle backend

* fix: match with actual POST reply from the ag-solo

* fix: use AdapterErrors to surface errors to the node operator

* test: add integration test

* fix: use Requester instead of axios

* chore: rename package to @chainlink/agoric

* ci: add "agoric" to adapters.json

* refactor: clarify implementation according to review comments

* refactor: use the adapter-test-helpers

* ci: fix the Agoric build process

* fix: address review comments

* refactor: standardize code based on example adapter

* fix: import makeConfig

* fix: correct the default agoric adapter parameters

* chore: remove dependency on bn.js

* Kaiko special case for DIGG/BTC (#336)

* Kaiko special case for DIGG/BTC

* Increase timespan for Kaiko requests

* Add changelog item

* updated geodb url

* Update node version in GCP readme

* Add Amberdata case for DIGG/BTC (#345)

* TheRundown adapter

* updated changelog

* updated therundown readme

* TS EAs #4 batch 0 of 3 (#332)

* Add couple more best practices into example adapter

* TrueUSD adapter to TS

* Reverts change to TrueUSD param name

* Rename path param --> field

* Move TE stream adapter to monorepo (#346)

* Move TE stream adapter to monorepo

* Add changelog entry

* Make config optional

* Add tests

* Added LINA preset in coingecko

* CMC should prefer IDs over slugs (#343)

* CMC should prefer IDs over slugs

* Add changelog entry

* Add conversion from AMP to AMP2 for Nomics adapter

* parsing c(close price) according to v3

* Add tradermade support to outlier-detection (#357)

* Add tradermade support to outlier-detection

* Fix outdated tests

* Add changelog entry

* Improve Redis connection cleanup

* AlphaChain adapter to TS

* Add postinstall script

* More best practices in the example EA

* Bitex adapter to TS

* Bitso adapter to TS

* Clean up bravenewcoin-vwap fragment

* Coinlore adapter to TS

* Remove postinstall script until entire build process can be refactored

* TrueUSD adapter to TS

* Reverts change to TrueUSD param name

* COVID-tracker adapter to TS

* Cryptomkt adapter to TS

* Remove google-finance adapter fragment

* Lition adapter to TS

* Add public ecr registry to docker login

* Skip coinlore integration tests

* Add baseurl option (#367)

* Explicitly specify aws region (#370)

* Updated Asset Allocation Interface (#358)

* asset allocation updated

* updated version

* decimals to number

* Fix support for WING on Nomics (#371)

* Add basic prom metrics (#365)

* Messari adapter to TS

* Orchid Bandwidth adapter to TS

* SatoshiTange adapter to TS

* TradingEconomics adapter to TS

* Extra to TradingEconomics README

* Fix to tradingeconomics .eslintrc.js

* Fix: remove no longer relevant test

* Cryptoapis tests and README (#248)

* Update README about metadata (#379)

* Add new ticker conversions

* Overrides Input parameter (#384)

* override format validator. coingecko impl

* price adapter use overrides

* overrides validator test

* override inside validator

* refactor

* more adapters added

* more adapters added

* readmes updated

* lint fix

* preset symbols used

re

* tests updated

* merge with lodash

* fix merge

* Bump elliptic from 3.0.3 to 6.5.4 (#391)

Bumps [elliptic](https://github.com/indutny/elliptic) from 3.0.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v3.0.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove GOOGL override for dxfeed-secondary (#392)

* fix-format-readme-link (#393)

* Set correct response type on metrics

* Add FB support for dxfeed and dxfeed-secondary (#420)

* bitcoin endpoints (#417)

* bitcoin endpoints

* Fix blockstream and blockchain.com adapters

* Fix height result output

* Fix blockstream README

* Update blockstream/package.json

* Update blockstream/README.md

* Condense endpoints to blocks & use field param

* Blockstream doesn't require an API KEY

* Update Blockstream README

* Add blockstream to github workflow

Co-authored-by: Thomas Hodges <thomas@smartcontract.com>
Co-authored-by: Justin Kaseman <justinkaseman@live.com>

* Update Genesis Volatility README (#422)

* add support for RAI to kaiko, nomics (#425)

* add rai, weth (#424)

* add rai, weth

Added handling of RAI/WETH pair using contract addresses

* Fix formatting

Co-authored-by: Jonas Hals <jonas@smartcontract.com>

* update API key url (#428)

* additional fixes for RAI support on kaiko adapter (#431)

* added includes:['weth'] support to kaiko adapter

* Apply suggestions from code review

Co-authored-by: Jonas Hals <contact@jonashals.me>

* v0.0.4

* Preparing v0.2.0 release: version patch bumps

* Tag changelog

* Bump dependency versions

* Additional CHANGELOG items

Co-authored-by: ryan <ryanemmick4@gmail.com>
Co-authored-by: PanaW <wangpan@conflux-chain.org>
Co-authored-by: Kristijan Rebernisak <kristijan.rebernisak@gmail.com>
Co-authored-by: Jonas Hals <jonas@smartcontract.com>
Co-authored-by: Jonas Hals <contact@jonashals.me>
Co-authored-by: RodrigoAD <15104916+RodrigoAD@users.noreply.github.com>
Co-authored-by: Thomas Hodges <thomas@smartcontract.com>
Co-authored-by: christianagnew <christian.agnew@outlook.com>
Co-authored-by: Evangelos Barakos <e.mparakos@gmail.com>
Co-authored-by: Edward Medvedev <edward.medvedev@gmail.com>
Co-authored-by: W <pana.wang@outlook.com>
Co-authored-by: HenryNguyen5 <6404866+HenryNguyen5@users.noreply.github.com>
Co-authored-by: Michael FIG <michael+github@fig.org>
Co-authored-by: Peter van Mourik <tyrion70@users.noreply.github.com>
Co-authored-by: Evangelos Barakos <evangelos@smartcontract.com>
Co-authored-by: Connor Stein <connor.stein@mail.mcgill.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brendon Van Essen <42727620+nzleet@users.noreply.github.com>
Co-authored-by: aalu1418 <50029043+aalu1418@users.noreply.github.com>