Skip to content

v2.6.0

Compare
Choose a tag to compare
@cyrossignol cyrossignol released this 12 Dec 19:26
· 8 commits to 2.x since this release
  • Add support for Laravel and Lumen version 6.x
  • Implement package provider auto-boot option (#20, @dave-lang)

The auto-boot configuration option provides a workaround for applications that use other packages which depend on Sentinel services during the service provider registration phase before the boot phase (#17). When set to true, this option will initialize the package's broadcasting, cache, session, and queue services without waiting for the application to call the service provider's boot() method. This fixes compatibility with third-party packages that do not respect Laravel's service provider initialization conventions.

To enable this option, set the REDIS_SENTINEL_AUTO_BOOT environment variable or the redis-sentinel.auto_boot configuration directive to true.