github smartcontractkit/external-adapters-js v1.48.0
Release v1.48.0

latest releases: v1.142.0, v1.141.0, v1.140.0...
23 months ago

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

Don't miss a new external-adapters-js release

NewReleases is sending notifications on new releases.