Skip to content

logger slated to be removed from default gems in ruby 3.5 (deprecation warning on ruby 3.4) #51

Open
@blowfishpro

Description

@blowfishpro

This gem depends on logger, but it's not declared as a runtime dependency, meaning it is loaded from the standard library. It will move from a default gem to a bundled gem on Ruby 3.5, meaning that it needs to be explicitly declared as a runtime dependency.

Run on Ruby 3.4:

ruby -r aws_lambda_ric -e true

Results in

aws_lambda_ric-3.1.3/lib/aws_lambda_ric/lambda_log_formatter.rb:3: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.

This can be resolved by adding logger as a runtime dependency in the gemspec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions