Skip to content

2.3.0

Latest

Choose a tag to compare

@gradyzhuo gradyzhuo released this 25 Aug 09:33

✨ Added

  • KurrentDBPool — new library target providing a shared pool of ClientSettings for safely running tests against multiple independent KurrentDB instances. Borrow a client with KurrentDBPool.borrow() / withBorrowedClient(_:); configure pool members via the KURRENTDB_POOL_URLS environment variable (JSON array of connection strings).

🔧 Fixes

  • NodeSelector — resolving a selected node's endpoint no longer guesses intent from whether the gossip-reported address looks like localhost. ClientSettings.endpointResolutionPreference lets callers state it explicitly (.gossipReported, the default for .seeds/.dns; .userConfigured for .standalone), fixing endpoints collapsing onto the same address when multiple local containers share 127.0.0.1 on different ports.

⚠️ Deprecated

  • KurrentDBClient.shutdown() — deprecated. It only releases the client's own EventLoopGroup and doesn't stop in-flight or future RPCs, so it never provided a hard lifecycle boundary; kept for the narrower "clean up a self-owned event loop group" use case it was originally added for.

Full Changelog: 2.2.0...2.3.0