Skip to content

Releases: smartcontractkit/external-adapters-js

Release v1.52.0

09 Jan 21:19
8dd9256
Compare
Choose a tag to compare

Changelog

Bug Fixes

  • Treat literal "" env var values as empty

Notable Adapter Updates

The framework changes above bumped up the version for all adapters

v1.51.0

05 Jan 12:57
643854b
Compare
Choose a tag to compare

Changelog

Bug Fixes

  • coingecko-test: Fixed override for "ARPA"
  • eth-beacon: Populate results for filtered addresses with 0 balance

Notable Adapter Updates

Adapter Version Description
coingecko-test v1.5.1 Fixed override for "ARPA"
eth-beacon v1.3.1 Populate results for filtered addresses with 0 balance

Release v1.50.0

14 Dec 21:23
4152950
Compare
Choose a tag to compare

Changelog

Breaking Changes

  • bank-frick-test: Dropped
  • bank-frick: Converted into a v3 adapter

Minor changes

  • coingecko-test: Make API_ENDPOINT configurable
  • readme-generator (internal): Fill in endpoint details when generating readmes for v3 adapters

Documentation

  • all v3 adapters: Endpoint details are now populated due to changes w/ the readme generator

Notable Adapter Updates

Adapter Version Description
bank-frick-test Dropped
bank-frick v0.1.1 -> v1.0.0 Converted into a v3 adapter
coingecko-test v1.4.0 -> v1.5.0 Makes API_ENDPOINT configurable

Release v1.49.0

12 Dec 20:51
a91c71c
Compare
Choose a tag to compare

Changelog

Breaking Changes

  • galaxy-test: dropped
  • elwood-test: dropped
  • galaxy: Upgraded framework version from v2 to v3
  • elwood: Upgraded framework version from v2 to v3

Minor changes

  • finage: Allow overriding quote on WS endpoint

Bug Fixes

  • bank-frick-test: URL used to access the Bank Frick API is now consistently API_ENDPOINT
  • coingecko-test: "result" path added to adapter response object

Notable Adapter Updates

Adapter Version Description
galaxy-test Dropped
galaxy v2.0.0 Upgraded to use v3 framework
elwood-test Dropped
elwood v2.0.0 Upgraded to use v3 framework
coingecko-test v1.4.0 result path added to endpoint response
bank-frick-test v1.0.5 URL to bank frick is now API_ENDPOINT, consistent across all calls
finage v1.6.11 Allow overriding quote on WS endpoint

Release v1.48.0

08 Dec 18:10
ac06372
Compare
Choose a tag to compare

Changelog

Breaking Changes

  • gsr: Upgraded EA framework from v2 to v3
  • v3 framework env var restrictions. Currently only affects gsr and -test adapters
    • API_TIMEOUT: min=0, max=60000
    • CACHE_MAX_AGE: min=1000, max=180000
    • CACHE_REDIS_CONNECTION_TIMEOUT: min=3000, max=60000
    • CACHE_REDIS_MAX_RECONNECT_COOLDOWN: min=3000, max=10000
    • CACHE_REDIS_TIMEOUT: min=500, max=10000
    • CACHE_REDIS_URL: URL validation
    • EA_PORT: min=1, max=65535
    • MAX_PAYLOAD_SIZE_LIMIT: min=1048576, max=1073741824
    • METRICS_PORT: min=1, max=65535
    • RATE_LIMIT_CAPACITY: min=0
    • RATE_LIMIT_CAPACITY_MINUTE: min=0
    • RATE_LIMIT_CAPACITY_SECOND: min=0
    • REQUEST_COALESCING_ENTROPY_MAX: min=0, max=10
    • RETRY: min=1, max=10
    • SSE_KEEPALIVE_SLEEP: min=0, max=120000
    • SSE_SUBSCRIPTION_TTL: min=0, max=300000
    • WARMUP_SUBSCRIPTION_TTL: min=0, max=300000
    • WS_SUBSCRIPTION_TTL: min=0, max=120000
    • WS_SUBSCRIPTION_UNRESPONSIVE_TTL: min=1000, max=120000
    • CACHE_POLLING_MAX_RETRIES: min=0, max=20
    • CACHE_POLLING_SLEEP_MS: min=10, max=1000
    • EA_HOST: IPv4/IPv6 validation or localhost
    • MAX_COMMON_KEY_SIZE: min=150, max=500
    • REST_TRANSPORT_MAX_RATE_LIMIT_RETRIES: min=1, max=5
    • REST_TRANSPORT_MS_BETWEEN_RATE_LIMIT_RETRIES: min=200, max=3000

New Adapters

  • dar: New adapter utilizing the v3 framework

Features

  • rocket-pool: Changed rETH endpoint to return hex string of contract exchange rate by default

Minor Changes & Bug Fixes

  • bank-frick-test: Updated to latest v3 framework version
  • cfbenchmarks-test: Updated to latest v3 framework version
  • coingecko-test: Added/fixed static overrides. Ensured the coin ID is always lower-case. Fixed overrides helper. Cache errored responses. Updated to latest v3 framework version
  • coinmetrics-test: Updated to latest v3 framework version
  • elwood-test: Updated to latest v3 framework version
  • galaxy-test: Added crypto alias to price endpoint. Updated to latest v3 framework version
  • ncfx-test: Made forex endpoint env vars optional. Updated to latest v3 framework version

Notable Adapter Updates

Adapter Version Description
bank-frick-test v1.0.3 Updated to latest v3 framework version
cfbenchmarks-test v1.0.5 Updated to latest v3 framework version
coingecko-test v1.3.2 Added/fixed static overrides. Ensured the coin ID is always lower-case. . Fixed overrides helper. Cache errored responses. Updated to latest v3 framework version
coinmetrics-test v1.0.5 Updated to latest v3 framework version
dar v1.0.2 Added crypto alias to price endpoint. Updated to latest v3 framework version
elwood-test v1.1.2 Updated to latest v3 framework version
galaxy-test v1.0.5 Added crypto alias to price endpoint. Updated to latest v3 framework version
gsr v2.0.2 Upgraded EA framework from v2 to v3
ncfx-test v1.0.4 Made forex endpoint env vars optional. Updated to latest v3 framework version
rocket-pool v1.1.0 Changed rETH endpoint to return hex string of contract exchange rate by default

Release v1.47.0

01 Dec 19:03
ae0e234
Compare
Choose a tag to compare

Changelog

Breaking Changes

  • ea-framework/all adapters: Deprecated the METRICS_NAME env var so the app_name label will always use the adapter name. Current users of this env var would notice metric name changes from their unique one.

Features

  • elwood-test: Added error caching for failed subscribe/unsubscribe messages
  • gsr-test: Add "crypto" endpoint alias
  • eth-beacon: Added smarter batching to improve performance
  • ea-framework:
    • Made max payload size configurable with min/max limits
    • Added a warning log when METRICS_ENABLED is set to false.
    • Added a log to show the full metrics endpoint on startup rather than just the port number.

Bug Fixes

  • proof-of-reserves: Updated env vars list in schema
  • ncfx-test: Bumped framework version and fixed breaking changes

Notable Adapter Updates

This release has changes to the framework that changes all adapter versions

v1.46.0

28 Nov 18:40
366184f
Compare
Choose a tag to compare

Changelog

Bug Fixes

  • eth-beacon: When queried with status, invalid validators return a 0 balance instead of erroring
  • coinmarketcap: Add KLAY override

Updated framework version

  • galaxy-test
  • coinmetrics-test
  • elwood-test
  • gsr-test
  • cfbenchmarks-test

Notable Adapter Updates

Adapter Version Description
eth-beacon v1.2.0 When queried with status, invalid validators return a 0 balance instead of erroring
coinmarketcap v1.5.26 Add KLAY override

Release v1.45.0

17 Nov 19:44
b476612
Compare
Choose a tag to compare

Patched adapters

  • stader-address-list 1.2.0, update contract ABI
  • coinmarketcap 1.5.25, add MIM/USD override

New Adapters

  • galaxy-test
  • cfbenchmarks-test
  • cryptocompare-test
  • elwood-test
  • coinmetrics-test (Early version)

Other changes

  • .gitignore updated to ignore VSCode and JetBrains IDE files

Notable Adapter Updates

Adapter Version Description
cfbenchmarks-test v1.0.0 New framework adapter
coinmetrics-test v0.0.0 New framework adapter (early version)
coinmarketcap v1.5.25 Add MIM/USD override
cryptocompare-test v1.0.0 New framework adapter
elwood-test v1.0.0 New framework adapter
galaxy-test v1.0.0 New framework adapter
stader-address-list v1.2.0 Update contract ABI

Release v1.44.0

09 Nov 19:53
35ce73b
Compare
Choose a tag to compare

Features

  • Stader-address-list: Update Görli contract address & change to 0 indexed lookup of validators
  • Added warning logs when using DEBUG and NODE_ENV
  • Bank-frick: Lets users pass PRIVATE_KEY as a base64 string and cleans up artifacts from deprecated ALLOW_INSECURE envvar
  • Show request data when requester.request fails

Bug Fixes

  • Layer2-sequencer-health: Moved missing endpoint log to adapter startup
  • Fluent Finance: do not throw on a balance of 0

Notable Adapter Updates

Adapter Version Description
stader-address-list v1.1.0 Update Görli contract address & change to 0 indexed lookup of validators
bank-frick v0.1.0 Lets users pass PRIVATE_KEY as a base64 string and cleans up artifacts from deprecated ALLOW_INSECURE envvar
layer2-sequencer-health v2.3.4 Moved missing endpoint log to adapter startup
fluent-finance v1.1.0 Allow balances of 0

v1.43.1

08 Nov 17:32
39e87a2
Compare
Choose a tag to compare

Changelog

Bug Fixes

  • Tradingeconomics: Added crypto pair overrides

Notable Adapter Updates

Adapter Version Description
tradingeconomics v2.2.10 Added crypto pair overrides