Skip to content

JetstreamBridge v4.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 02:14

Changed

  • RTT Measurement - Enhanced NATS round-trip time measurement with fallback support

    • Added automatic unit normalization (seconds to milliseconds) for RTT values
    • Implemented fallback RTT measurement using flush for NATS clients without native rtt method
    • Supports both nats-pure and other NATS client implementations
    • Better compatibility across different NATS client versions
  • Rails Integration - Improved Rake task detection reliability

    • Changed from defined?(::Rake) check to $PROGRAM_NAME inspection
    • More reliable detection of Rake execution context
    • Prevents false positives when Rake is loaded but not executing

Fixed

  • Test Coverage - Comprehensive test suite improvements
    • Added complete test coverage for Rails integration lifecycle methods
    • Added tests for test helper matchers (have_published, be_publish_success, be_publish_failure)
    • Added tests for fixture builders (sample_event, sample_events, event)
    • Added test for RTT fallback behavior when client lacks rtt method
    • Added spec file for bridge_helpers module