jhthorsen / mojolicious-plugin-openapi

OpenAPI / Swagger plugin for Mojolicious
54 stars 44 forks source link

delay helper is DEPRECATED (Mojolicious::Controller) #77

Closed rage311 closed 6 years ago

rage311 commented 6 years ago

It looks like as of Mojolicious 7.78, the delay helper is deprecated. It's being used in Security.pm: https://github.com/jhthorsen/mojolicious-plugin-openapi/blob/3316aab0b358b39c2d7e579a9673e876dc950a08/lib/Mojolicious/Plugin/OpenAPI/Security.pm#L28

Here's the message showing up in the running app:

delay helper is DEPRECATED at /home/me/perl5/perlbrew/perls/perl-5.26.2/lib/site_perl/5.26.2/Mojolicious/Controller.pm line 32.

References:

https://github.com/kraih/mojo/blob/b2088054d4db9d72409cb365dda6d6bacbd015e1/lib/Mojolicious/Plugin/DefaultHelpers.pm#L35

https://github.com/kraih/mojo/blob/b2088054d4db9d72409cb365dda6d6bacbd015e1/Changes#L41

jhthorsen commented 6 years ago

Thanks for reporting in! 👍

rage311 commented 6 years ago

Awesome. Thanks for the plugin itself and the quick fix. It's been very useful for me.

jhthorsen commented 6 years ago

Thanks! Happy to hear :)