Repository navigation
JetstreamBridge v4.3.0
Added
- Connection Diagnostics - Exposed reconnection error tracking for health checks
last_reconnect_errorandlast_reconnect_error_atnow publicly accessible- Enables better monitoring and diagnostics of connection issues
- Added test coverage for diagnostic accessor visibility
Changed
-
Connection Lifecycle - Improved topology management during startup
startup!now explicitly ensures topology is created during initializationconnect_and_ensure_stream!properly ensures topology after connectingfetch_stream_infonow ensures connection is established before querying- More reliable initialization sequence for non-Rails applications
-
Rails Integration - Changed console autostart behavior
- Rails console now autostarts JetStream Bridge by default (previously skipped)
- Simplified autostart logic by removing console detection as skip condition
- Autostart remains disabled only for rake tasks (unless forced with
JETSTREAM_BRIDGE_FORCE_AUTOSTART) - Better developer experience in Rails console for immediate testing
-
Documentation - Clarified connection initialization behavior
- Added notes explaining that
configureonly sets options and does not connect - Documented when connection actually occurs (Rails: after initialization; non-Rails: call
startup!) - Improved explanation of
lazy_connectbehavior in Rails environments - Added guidance for non-Rails applications to call
startup!explicitly
- Added notes explaining that
Fixed
- Test Coverage - Added missing test scenarios
- Added tests for topology ensuring in
startup!andconnect_and_ensure_stream! - Added tests for connection initialization in
stream_info - Updated Rails integration specs to reflect new console behavior
- Added tests for topology ensuring in