You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run rails test in an app running the edge version of Rails, I receive the following warning:
DEPRECATION WARNING: Bolding log text with a positional boolean is deprecated and will be removed in Rails 7.2. Use an option hash instead (eg. color("my text", :red, bold: true)). (called from formatted_in at /usr/local/lib/ruby/gems/3.2.0/gems/kredis-1.3.0.1/lib/kredis/log_subscriber.rb:18)
This stems from the use of the color function in log_subscriber.rb:
I appreciate that this won't be an issue for most people yet but it feels better to report it now and get ahead of the curve.
The text was updated successfully, but these errors were encountered:
connorgurney-personal
changed the title
Color function to be deprecated in Rails 7.2
Bolding log text with positional boolean to be deprecated in Rails 7.2
Apr 12, 2023
When I run
rails test
in an app running the edge version of Rails, I receive the following warning:This stems from the use of the
color
function inlog_subscriber.rb
:kredis/lib/kredis/log_subscriber.rb
Line 18 in 6297ad5
I appreciate that this won't be an issue for most people yet but it feels better to report it now and get ahead of the curve.
The text was updated successfully, but these errors were encountered: