File tree Expand file tree Collapse file tree 4 files changed +27
-3
lines changed
Expand file tree Collapse file tree 4 files changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 4.4.0] - 2025-11-24
9+
10+ ### Changed
11+
12+ - ** RTT Measurement** - Enhanced NATS round-trip time measurement with fallback support
13+ - Added automatic unit normalization (seconds to milliseconds) for RTT values
14+ - Implemented fallback RTT measurement using ` flush ` for NATS clients without native ` rtt ` method
15+ - Supports both nats-pure and other NATS client implementations
16+ - Better compatibility across different NATS client versions
17+
18+ - ** Rails Integration** - Improved Rake task detection reliability
19+ - Changed from ` defined?(::Rake) ` check to ` $PROGRAM_NAME ` inspection
20+ - More reliable detection of Rake execution context
21+ - Prevents false positives when Rake is loaded but not executing
22+
23+ ### Fixed
24+
25+ - ** Test Coverage** - Comprehensive test suite improvements
26+ - Added complete test coverage for Rails integration lifecycle methods
27+ - Added tests for test helper matchers (` have_published ` , ` be_publish_success ` , ` be_publish_failure ` )
28+ - Added tests for fixture builders (` sample_event ` , ` sample_events ` , ` event ` )
29+ - Added test for RTT fallback behavior when client lacks ` rtt ` method
30+ - Added spec file for ` bridge_helpers ` module
31+
832## [ 4.3.0] - 2025-11-24
933
1034### Added
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- jetstream_bridge (4.3 .0 )
4+ jetstream_bridge (4.4 .0 )
55 activerecord (>= 7.1.5.2 , < 8.0 )
66 activesupport (>= 7.1.5.2 , < 8.0 )
77 mutex_m
Original file line number Diff line number Diff line change 44#
55# Version constant for the gem.
66module JetstreamBridge
7- VERSION = '4.3 .0'
7+ VERSION = '4.4 .0'
88end
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ def self.on_load(_name, &block)
178178 . to change { described_class . instance_variable_get ( :@shutdown_hook_registered ) } . from ( nil ) . to ( true )
179179
180180 expect { described_class . register_shutdown_hook! }
181- . not_to change { described_class . instance_variable_get ( :@shutdown_hook_registered ) }
181+ . not_to ( change { described_class . instance_variable_get ( :@shutdown_hook_registered ) } )
182182 end
183183 end
184184
You can’t perform that action at this time.
0 commit comments