Skip to content

v1.1.2

Latest

Choose a tag to compare

@bennyhodl bennyhodl released this 29 Jun 17:14
e0ead55

I have everything I need. Here are the release notes:


DLC DevKit (DDK) v1.1.2

This is a maintenance release focused on operational robustness. It makes the Postgres connection pool and Esplora client timeout configurable for production deployments, and hardens the release automation against incidental Cargo.lock drift. No breaking changes — this is a drop-in upgrade from 1.1.1.

Breaking Changes

None. v1.1.2 is fully backwards-compatible with v1.1.1. All new configuration is opt-in via environment variables with sensible defaults that preserve existing behavior.

New Features

No new public features in this release.

Bug Fixes

  • Configurable Postgres connection pool & Esplora timeout (#167) — The Postgres connection pool size and the Esplora request timeout were previously hardcoded, which could lead to connection exhaustion or premature chain-query timeouts under production load. Both are now resolved from the environment at startup:

    • DATABASE_MAX_CONNECTIONS — maximum size of the Postgres pool (default: 5; raise to 20+ for production).
    • ESPLORA_TIMEOUT_SECONDS — Esplora client request timeout in seconds (default: 5).

    Each value falls back to its default when the variable is unset, unparseable, or zero, and the chosen pool size is now logged when the pool is created. New public constants DEFAULT_MAX_CONNECTIONS and DEFAULT_ESPLORA_TIMEOUT_SECS are exported for reference.

  • Release script no longer fails on incidental Cargo.lock driftcargo's per-crate publish verification can re-resolve dependencies and rewrite Cargo.lock after the release commit is made, dirtying the working tree and aborting the final switch back to master. The release script now discards this non-release drift and performs the branch switch best-effort, warning instead of failing once all crates are already published and pushed.

Other Notable Changes

  • .env.sample updated to document the new DATABASE_MAX_CONNECTIONS and ESPLORA_TIMEOUT_SECONDS settings.
  • Dependency updatesCargo.lock refreshed with updated transitive dependencies.

Installation

Add DDK to your Cargo.toml:

[dependencies]
ddk = "1.1.2"

Or via the command line:

cargo add ddk@1.1.2

All workspace crates are published at 1.1.2: ddk, ddk-manager, ddk-messages, ddk-dlc, ddk-trie, ddk-payouts, ddk-node, and kormir.


Let me know if you'd like me to tag/draft this as an actual GitHub release, or adjust the tone/detail level.