github ipfs/rainbow v1.18.0

latest releases: v1.25.0, v1.24.1, v1.24.0...
14 months ago

What's Changed

  • Release v1.17.0 by @hsanjuan in #281
  • feat: retrieval-timeout & max-concurrent-requests by @lidel in #285
  • chore: boxo master with final boxo#994 by @lidel in #287
  • Always upgrade pebble data format to latest by @gammazero in #288
  • chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #290
  • feat(config): AutoConf with "auto" placeholders by @lidel in #286

Added

  • --bootstrap / RAINBOW_BOOTSTRAP: Configure bootstrap peer multiaddrs (default: auto)
  • AutoConf support with auto placeholders for bootstrap peers, DNS resolvers, and HTTP routers (ipfs/boxo#997)
    • Configuration flags:
      • --autoconf / RAINBOW_AUTOCONF: Enable/disable automatic configuration expansion (default: true)
      • --autoconf-url / RAINBOW_AUTOCONF_URL: URL to fetch autoconf data from (default: https://conf.ipfs-mainnet.org/autoconf.json)
      • --autoconf-refresh / RAINBOW_AUTOCONF_REFRESH: Interval for refreshing autoconf data (default: 24h)
    • When autoconf is disabled, auto placeholders will cause an error, requiring explicit values
  • Added configurable gateway rate limiting and timeout controls via new CLI flags:
    • --max-concurrent-requests (env: RAINBOW_MAX_CONCURRENT_REQUESTS): Limits concurrent HTTP requests to protect against resource exhaustion (default: 4096). Returns 429 Too Many Requests with Retry-After header when exceeded.
    • --retrieval-timeout (env: RAINBOW_RETRIEVAL_TIMEOUT): Enforces maximum duration for content retrieval (default: 30s). Returns 504 Gateway Timeout when content cannot be retrieved within this period - both for initial retrieval (time to first byte) and between subsequent writes.

Changed

  • Default values now use auto placeholder that expands to IPFS Mainnet configuration via autoconf:
    • --http-routers default changed to auto (was https://cid.contact)
    • --dnslink-resolvers default changed to . : auto (was specific resolver list)
    • --bootstrap default is auto (new flag)
  • Always upgrade pebble data format to latest #288
    • This ensures:
      • Get all the latest features and improvements offered by the latest data format
      • The next pebble update is compatible with, and can upgrade, you data format
    • Possible issues:
      • Startup of new pebble version may take longer the first time.
      • Unable to revert to the previous version of pebble if the newest data format is not supported by the previous pebble. Reverting will require removing the datastore and reinitializing.
  • Update to boxo/v0.34.0

Full Changelog: v1.17.0...v1.18.0

Note

This release was brought to you by the Shipyard team.

Don't miss a new rainbow release

NewReleases is sending notifications on new releases.