The actual breaking change was the removal of the success() method from Mojo::UserAgent in Mojolicious version v8.05
I don't think that removing it from your code is a backwards-compatible change, though.

On 6.1.2019 21:38, sri wrote:
Please add a versionnumber for Mojo::UserAgent

No.
 

Older versions of Mojo::UserAgent have the method "res" which changed to "result" later. This breaks code in some cases and is hard to debug. I cannot force a moduleversion of Mojo::UserAgent because there is only a version-number in Mojolicious itself.

This is completely wrong. The res and result methods are in Mojo::Transaction::HTTP and both still exist and can be used the same as ever.

 
My wish is to use it like this:

use Mojo::UserAgent 8.11;

Even if we gave every module a version number, you would have to do "use Mojo::Transaction::HTTP X.XX" to use it correctly.

--
sebastian
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to